:root,
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7fb;
  --card: #ffffff;
  --card-alt: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --border: #dbe3f0;
  --primary: #2f6af6;
  --primary-dark: #2455cc;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 8px 16px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --pill-bg: #e6efff;
  --pill-text: #2455cc;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1216;
  --card: #151a20;
  --card-alt: #10131a;
  --text: #e8eef6;
  --muted: #a7b3c3;
  --border: #273142;
  --primary: #2f6af6;
  --primary-dark: #2455cc;
  --pill-bg: rgba(47, 106, 246, 0.22);
  --pill-text: #c7e0ff;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 8px 16px rgba(0, 0, 0, 0.25);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0f1216;
    --card: #151a20;
    --card-alt: #10131a;
    --text: #e8eef6;
    --muted: #a7b3c3;
    --border: #273142;
    --primary: #2f6af6;
    --primary-dark: #2455cc;
    --pill-bg: rgba(47, 106, 246, 0.22);
    --pill-text: #c7e0ff;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 8px 16px rgba(0, 0, 0, 0.25);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47, 106, 246, 0.35);
  outline-offset: 2px;
  border-radius: 999px;
}

.site-header {
  padding: 20px 48px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.brand-logo {
  width: 20px;
  height: 20px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav-links a:not(.button) {
  color: var(--text);
  font-weight: 500;
}

.nav-links a:not(.button):hover {
  color: var(--primary);
}


.theme-toggle {
  border: 1px solid var(--border);
  background: var(--card-alt);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.theme-toggle:hover {
  color: var(--primary);
  border-color: rgba(47, 106, 246, 0.45);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  appearance: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.button:not(:disabled):not([aria-disabled="true"]):hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:disabled,
.button[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(47, 106, 246, 0.25);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  background: var(--card);
  border-color: var(--border);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.button-secondary:hover {
  border-color: color-mix(in srgb, var(--primary) 24%, var(--border));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.button-secondary[aria-pressed="true"]:not(.button-primary) {
  background: var(--pill-bg);
  color: var(--pill-text);
  border-color: transparent;
}

main {
  padding: 60px 48px 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
}

.hero-content h1 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  margin: 8px 0 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.subtext {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.hero-note a {
  color: inherit;
}

.hero-preview {
  display: flex;
  justify-content: center;
}

.tour {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  width: min(720px, 100%);
  display: grid;
  gap: 16px;
}

.tour-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tour-tab {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--card-alt);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tour-tab[aria-selected="true"] {
  background: var(--pill-bg);
  border-color: rgba(47, 106, 246, 0.45);
  color: var(--pill-text);
}

.tour-panel {
  margin: 0;
}

.tour-panel picture {
  display: block;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card-alt);
}



.tour-image-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 14px;
  cursor: pointer;
}

.tour-image-button:focus-visible {
  outline: 3px solid rgba(47, 106, 246, 0.45);
  outline-offset: 2px;
}

.tour-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.tour-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.tour-modal__content {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100vw - 32px));
  margin: min(6vh, 48px) auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 32px 56px;
}

.tour-modal__image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.tour-modal__close,
.tour-modal__nav {
  position: absolute;
  border: 1px solid var(--border);
  background: var(--card-alt);
  color: var(--text);
  cursor: pointer;
}

.tour-modal__close {
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
}

.tour-modal__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 56px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.tour-modal__nav--prev {
  left: 10px;
}

.tour-modal__nav--next {
  right: 10px;
}

body.tour-modal-open {
  overflow: hidden;
}
.tour-panel img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
}

.tour-caption {
  margin-top: 12px;
}

.tour-caption h3 {
  margin: 0;
  font-size: 16px;
}

.tour-caption-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.tour-caption p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.feature-card {
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.feature-card h3 {
  margin: 12px 0 8px;
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-icon {
  font-size: 20px;
  color: var(--primary);
}


.pro-preview {
  margin-top: 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.pro-preview h2 {
  margin: 8px 0 12px;
  font-size: 32px;
}

.pro-preview ul {
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.pricing-section {
  margin-top: 64px;
}

.pricing-page {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.pricing-hero {
  max-width: 640px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-card .button {
  margin-top: auto;
}

.pricing-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricing-card__header h3 {
  margin: 0;
  font-size: 18px;
}

.pricing-card__price {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.pricing-card__features {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.pricing-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-text);
  font-size: 12px;
  font-weight: 600;
}

.pricing-tag--soon {
  background: rgba(250, 204, 21, 0.18);
  color: #b45309;
}

.pricing-tag--internal {
  background: rgba(16, 185, 129, 0.2);
  color: #047857;
}

.pricing-card--featured {
  border-color: rgba(47, 106, 246, 0.4);
  box-shadow: var(--shadow);
}

.pricing-card--internal {
  display: none;
}

.internal-view .pricing-card--internal {
  display: flex;
}

.faq-section {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  scroll-margin-top: 120px;
}

.faq-hero {
  max-width: 640px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 18px 20px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
}

.faq-item summary::after {
  content: "⌄";
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item summary::marker {
  display: none;
}

.faq-answer {
  margin-top: 12px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.faq-answer a,
.faq-cta a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-cta {
  color: var(--muted);
  margin: 0;
}


.site-footer {
  padding: 24px 48px 48px;
  color: var(--muted);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

.site-footer__col h2 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
}

.site-footer__col p {
  margin: 0.5rem 0;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer__col a {
  color: inherit;
}

.site-footer__col a:hover {
  color: var(--primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .pricing-hero h2 {
    font-size: clamp(28px, 7vw, 40px);
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 16px 24px;
  }

  main {
    padding: 40px 24px 64px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .tour {
    padding: 16px;
  }

  .tour-tabs {
    gap: 8px;
  }

  .site-footer {
    padding: 24px 24px 40px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}





@media (max-width: 700px) {
  .tour-modal__content {
    width: calc(100vw - 20px);
    margin: 20px auto;
    padding: 40px 20px;
  }

  .tour-modal__nav {
    width: 34px;
    height: 48px;
    font-size: 24px;
  }

  .tour-modal__nav--prev {
    left: 6px;
  }

  .tour-modal__nav--next {
    right: 6px;
  }
}

@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .tour-tab,
  .faq-item summary::after {
    transition: none;
  }

  .button:not(:disabled):not([aria-disabled="true"]):hover,
  .button:active {
    transform: none;
  }
}
