*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --brand-orange: #F29C2A;
  --brand-pink: #EC4899;
  --ink: #010214;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: 1180px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: var(--weight-extra);
  letter-spacing: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #010214;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.brand-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text span:first-child {
  font-size: 1rem;
}

.brand-text span:last-child {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--muted);
  letter-spacing: var(--tracking-wide);
}

.nav-links,
.footer-links,
.legal-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-link,
.footer-links a,
.legal-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
}

.nav-link:hover,
.nav-link[aria-current="page"],
.footer-links a:hover,
.legal-links a:hover {
  color: var(--navy);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lang-switcher {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.lang-switcher button {
  border: 0;
  border-radius: 6px;
  padding: 5px 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
}

.lang-switcher button.is-active {
  color: var(--navy);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0.72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

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

.button-dark {
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow-sm);
}

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

.button-ghost {
  color: var(--navy);
  background: var(--white);
  border-color: var(--border);
}

.button-ghost:hover {
  border-color: var(--border-strong);
}

.button-outline-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.button-outline-dark:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero::after {
  content: none;
}

.hero-inner,
.section-inner,
.footer-inner,
.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 72px);
  max-height: 880px;
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: var(--space-16);
  align-items: center;
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1,
.page-hero h1 {
  margin: var(--space-6) 0 var(--space-5);
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: var(--lh-tight);
  letter-spacing: 0;
}

.hero h1 em {
  font-style: normal;
  color: #93c5fd;
}

.hero-sub {
  max-width: 640px;
  margin: 0 0 var(--space-8);
  color: var(--text-faint-on-dark);
  font-size: 1.08rem;
  line-height: var(--lh-relax);
}

.hero-actions,
.section-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-note {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  color: var(--text-dim-on-dark);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  color: var(--chip-fg-dark);
  background: var(--chip-bg-dark);
  border: 1px solid var(--border-on-dark);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.pill-accent::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.hero-panel {
  position: relative;
}

.hero-panel::before {
  content: none;
}

@keyframes floatGlow {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.75; }
  50% { transform: translate3d(-12px, 10px, 0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.product-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.product-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.product-caption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4);
  color: var(--text-faint-on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-sm);
}

.section {
  padding: var(--space-20) 0;
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-header {
  max-width: 720px;
  margin-bottom: var(--space-10);
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2,
.page-hero h1 {
  letter-spacing: 0;
}

.section-header p,
.page-hero p {
  margin: var(--space-4) 0 0;
}

.framework-row,
.feature-grid,
.pricing-grid,
.legal-grid {
  display: grid;
  gap: var(--space-5);
}

.framework-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.framework-card,
.feature-card,
.pricing-card,
.faq-item,
.contact-card,
.legal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.framework-card {
  padding: var(--space-5);
  text-align: center;
  color: var(--navy);
  font-weight: var(--weight-semibold);
}

.framework-wheel-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(480px, 1fr);
  gap: var(--space-12);
  align-items: center;
}

.framework-wheel-copy {
  max-width: 420px;
}

.framework-wheel-copy h3 {
  margin: var(--space-4) 0 var(--space-3);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  line-height: var(--lh-snug);
  letter-spacing: 0;
}

.framework-wheel-copy p {
  color: var(--muted);
  line-height: var(--lh-relax);
}

.framework-legend {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
  color: var(--muted);
  font-size: var(--text-sm);
}

.framework-legend span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.legend-dot {
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 50%;
}

.legend-dot.supported {
  background: var(--navy);
}

.legend-dot.active {
  background: var(--white);
  border: 3px solid var(--blue);
}

.framework-wheel {
  position: relative;
  width: min(100%, 680px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.wheel-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed #cbd5e1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.wheel-ring-inner {
  width: 46%;
  height: 46%;
}

.wheel-ring-outer {
  width: 78%;
  height: 78%;
}

.wheel-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 24%;
  min-width: 112px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: var(--space-4);
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-xl);
  transform: translate(-50%, -50%);
  text-align: center;
}

.wheel-hub span,
.wheel-hub strong {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--weight-extra);
  line-height: 1;
  letter-spacing: 0;
}

.wheel-hub span {
  font-size: clamp(0.74rem, 1.8vw, 1rem);
}

.wheel-hub strong {
  color: var(--blue);
  font-size: clamp(0.95rem, 2.4vw, 1.35rem);
}

.wheel-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: clamp(58px, 10.5vw, 82px);
  height: clamp(58px, 10.5vw, 82px);
  display: grid;
  place-items: center;
  align-content: center;
  padding: 0 var(--space-2);
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(15, 31, 61, 0.12);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(15, 31, 61, 0.16);
  text-align: center;
  font-size: clamp(0.58rem, 1.3vw, 0.72rem);
  font-weight: var(--weight-semibold);
  line-height: 1.12;
  transform: translate(-50%, -50%);
  transition: transform var(--t-med), box-shadow var(--t-med);
}

.wheel-chip strong,
.wheel-chip small {
  display: block;
  line-height: 1.05;
}

.wheel-chip strong {
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.5vw, 0.96rem);
  font-weight: var(--weight-extra);
}

.wheel-chip small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: var(--weight-semibold);
}

.wheel-chip.is-active {
  color: var(--navy);
  background: var(--white);
  border: 3px solid var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11), var(--shadow-lg);
}

.wheel-chip:hover {
  box-shadow: 0 10px 28px rgba(15, 31, 61, 0.22);
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.pricing-card,
.legal-card {
  padding: var(--space-6);
}

.icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-5);
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
}

.feature-card p,
.pricing-card p,
.legal-card p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: var(--space-12);
  align-items: center;
}

.split.reverse > :first-child {
  order: 2;
}

.screenshot-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-xl);
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.screenshot-card figcaption {
  padding: var(--space-4);
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
}

.bullet-list {
  padding: 0;
  margin: var(--space-5) 0 0;
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.bullet-list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: var(--space-3);
  align-items: start;
  color: var(--text);
}

.bullet-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.58em;
  border-radius: 50%;
  background: var(--blue);
}

.accent-band {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--navy);
}

.accent-band h2,
.accent-band p {
  color: var(--white);
}

.placeholder {
  border: 1px dashed var(--border-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
}

.page-hero {
  background: var(--navy);
  color: var(--white);
}

.page-hero-inner {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.page-hero p {
  max-width: 760px;
  color: var(--text-faint-on-dark);
  font-size: 1.05rem;
  line-height: var(--lh-relax);
}

.tour-list {
  display: grid;
  gap: var(--space-20);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pricing-card.is-featured {
  border-color: var(--blue);
  box-shadow: 0 18px 52px rgba(37, 99, 235, 0.16);
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  color: var(--blue);
  background: var(--blue-pale);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
}

.price {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: var(--text-4xl);
  font-weight: var(--weight-extra);
}

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

.faq-list {
  display: grid;
  gap: var(--space-3);
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 58px;
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border: 0;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  font-weight: var(--weight-semibold);
}

.faq-answer {
  display: none;
  padding: 0 var(--space-5) var(--space-5);
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: var(--space-12);
  align-items: start;
}

.contact-card {
  padding: var(--space-6);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.78rem 0.85rem;
  color: var(--text);
  background: var(--white);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: var(--text-sm);
}

.form-status {
  min-height: 22px;
}

.legal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-10);
}

.footer-brand img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.footer-brand p {
  max-width: 420px;
  color: var(--text-dim-on-dark);
}

.footer-links,
.legal-links {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links a,
.legal-links a {
  color: var(--text-faint-on-dark);
}

.footer-links a:hover,
.legal-links a:hover {
  color: var(--white);
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: var(--space-5);
  color: var(--text-dim-on-dark);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-5) var(--space-6);
  text-align: center;
  color: var(--text-dim-on-dark);
  font-size: var(--text-sm);
}

@media (max-width: 960px) {
  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-5) var(--space-6) var(--space-6);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-link {
    display: block;
    padding: var(--space-4) 0;
    color: var(--navy);
  }

  .nav-actions .button {
    display: none;
  }

  .hero-inner,
  .split,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    gap: var(--space-10);
  }

  .split.reverse > :first-child {
    order: initial;
  }

  .framework-row,
  .feature-grid,
  .pricing-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .framework-wheel-layout {
    grid-template-columns: 1fr;
  }

  .framework-wheel-copy {
    max-width: none;
    text-align: center;
  }

  .framework-legend {
    justify-content: center;
  }

  .footer-links,
  .legal-links,
  .footer-meta {
    justify-content: flex-start;
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .nav {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .brand-text span:last-child,
  .lang-switcher {
    display: none;
  }

  .hero-inner,
  .section-inner,
  .footer-inner,
  .page-hero-inner {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .hero-inner {
    padding-top: var(--space-12);
  }

  .section {
    padding: var(--space-16) 0;
  }

  .framework-row,
  .feature-grid,
  .pricing-grid,
  .legal-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .framework-wheel {
    width: min(100%, 430px);
  }

  .wheel-chip {
    width: 52px;
    height: 52px;
  }

  .hero-actions,
  .section-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

.feature-grid.feature-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.soon-card{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-3,12px)}
.soon-card .sm-h3{margin:0}
@media (max-width:960px){.feature-grid.feature-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.feature-grid.feature-grid-4{grid-template-columns:1fr}}

.legal-doc{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:var(--space-4,16px);line-height:1.65}
.legal-doc h2{font-size:1.25rem;font-weight:700;margin:var(--space-6,24px) 0 0}
.legal-doc p,.legal-doc li{color:var(--muted);text-wrap:pretty}
.legal-doc strong{color:var(--ink,inherit)}
.legal-doc ul{margin:0;padding-left:1.25rem;display:flex;flex-direction:column;gap:var(--space-2,8px)}
.legal-doc a{color:var(--accent,#2563eb);text-decoration:underline}
.legal-doc mark{background:#fff3c4;color:inherit;padding:0 .2em;border-radius:3px}
