/* ============================================================
   Fonts — self-hosted (bundled with the app already; see
   assets/fonts/LICENSE.txt for the SIL OFL notice).
   ============================================================ */

@font-face {
  font-family: "Inter Variable";
  src: url("../assets/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Variable";
  src: url("../assets/fonts/Inter-Italic-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Manrope Variable";
  src: url("../assets/fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   Tokens
   ============================================================ */

:root {
  --font-body: "Inter Variable", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-heading: "Manrope Variable", "Inter Variable", -apple-system, system-ui, sans-serif;

  /* Deep navy dark surface */
  --navy-950: #06090f;
  --navy-900: #0a0f1a;
  --navy-800: #0f1626;
  --navy-700: #161f33;
  --navy-600: #202b45;
  --navy-border: #232e47;

  --white: #f6f8f9;
  --muted: #9fabc0;
  --muted-2: #778499;

  /* Turquoise accent */
  --teal-300: #7ceee0;
  --teal-400: #45ddca;
  --teal-500: #26c2ae;
  --teal-600: #189a8c;
  --teal-glow: rgba(69, 221, 202, 0.18);

  /* Light contrast sections */
  --paper: #f4f7f6;
  --paper-elevated: #ffffff;
  --ink-900: #0b1420;
  --ink-600: #485563;
  --line-light: #dde5e3;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -16px rgba(0, 0, 0, 0.55);
  --shadow-light: 0 1px 2px rgba(15, 30, 40, 0.06), 0 12px 28px -18px rgba(15, 30, 40, 0.18);

  --max-width: 1120px;
  --nav-height: 80px;

  color-scheme: dark;
}

/* ============================================================
   Reset
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 12px);
}

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--teal-400);
  color: var(--navy-950);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 200;
  transition: top 0.15s ease;
}

.skip-link:focus-visible {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--teal-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Typography
   ============================================================ */

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--white);
}

.light-section h1,
.light-section h2,
.light-section h3,
.light-section h4 {
  color: var(--ink-900);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-400);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.light-section .section-head p {
  color: var(--ink-600);
}

.section {
  padding: 88px 0;
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }
}

.light-section {
  background: var(--paper);
  color: var(--ink-900);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  color: #06231f;
  box-shadow: 0 8px 24px -8px var(--teal-glow);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-secondary {
  background: transparent;
  border-color: var(--navy-border);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: var(--teal-500);
  color: var(--teal-300);
}

.light-section .btn-secondary {
  border-color: var(--line-light);
  color: var(--ink-900);
}

.light-section .btn-secondary:hover {
  border-color: var(--teal-600);
  color: var(--teal-600);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

/* ============================================================
   Nav
   ============================================================ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(10, 15, 26, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--navy-border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

.brand img {
  height: 54px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta-mobile {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  padding: 8px;
  color: var(--white);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--navy-900);
    border-bottom: 1px solid var(--navy-border);
    padding: 12px 20px 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid var(--navy-border);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-cta-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-top: 14px;
  }

  .nav-actions .btn-secondary,
  .nav-actions .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 76px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(closest-side, var(--teal-glow), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.6vw, 3.75rem);
  line-height: 1.08;
}

.hero h1 span {
  background: linear-gradient(100deg, var(--teal-300), var(--teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.1875rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

.hero-note {
  color: var(--muted-2);
  font-size: 0.85rem;
}

/* ---- App mockup frame ---- */

.app-frame-wrap {
  position: relative;
  margin: 56px auto 0;
  max-width: 980px;
  padding: 0 24px;
}

.app-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-border);
  background: var(--navy-800);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.app-frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--navy-border);
  background: var(--navy-700);
}

.app-frame-bar .dots {
  display: flex;
  gap: 7px;
}

.app-frame-bar .dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--navy-600);
}

.app-frame-bar .filename {
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--muted-2);
  font-family: var(--font-body);
}

.app-frame-body {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 380px;
  text-align: left;
}

.app-sidebar {
  border-right: 1px solid var(--navy-border);
  padding: 18px 14px;
  background: var(--navy-800);
}

.app-sidebar .sidebar-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  padding: 0 8px 10px;
}

.app-sidebar ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-sidebar li {
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-sidebar li.active {
  background: var(--navy-700);
  color: var(--white);
}

.app-sidebar li .file-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-2);
  flex-shrink: 0;
}

.app-sidebar li.active .file-dot {
  background: var(--teal-400);
}

.app-editor {
  padding: 34px 44px;
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.75;
}

.app-editor h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.app-editor p {
  color: #d7dee8;
  margin-bottom: 12px;
}

.app-editor strong {
  color: var(--white);
}

.app-editor code,
.faq-answer code {
  background: var(--navy-700);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.85em;
  color: var(--teal-300);
  font-family: "SF Mono", "JetBrains Mono", Menlo, monospace;
}

.app-editor ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 4px;
  margin-bottom: 12px;
}

.app-editor ul li {
  color: #d7dee8;
  display: flex;
  gap: 10px;
}

.app-editor ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-500);
  margin-top: 9px;
  flex-shrink: 0;
}

.app-editor blockquote {
  margin: 0 0 12px;
  padding-left: 14px;
  border-left: 2px solid var(--teal-600);
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 720px) {
  .app-frame-body {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }

  .app-editor {
    padding: 24px;
  }
}

/* ============================================================
   Trust strip
   ============================================================ */

.trust-strip {
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  padding: 28px 0;
}

.trust-strip ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  row-gap: 14px;
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.trust-strip svg {
  width: 17px;
  height: 17px;
  color: var(--teal-400);
  flex-shrink: 0;
}

/* ============================================================
   Live formatting demo
   ============================================================ */

.demo-frame {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-border);
  background: var(--navy-800);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.demo-frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--navy-border);
  background: var(--navy-700);
}

.demo-frame-bar .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy-600);
  display: inline-block;
  margin-right: 6px;
}

.demo-frame-bar .filename {
  margin: 0 auto;
  font-size: 0.78rem;
  color: var(--muted-2);
}

.demo-body {
  padding: 40px 44px 48px;
  min-height: 220px;
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: left;
}

.demo-body .demo-line {
  min-height: 1.8em;
}

.demo-caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--teal-400);
  vertical-align: -0.15em;
  margin-left: 1px;
  animation: caret-blink 1s step-end infinite;
}

@keyframes caret-blink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}

.demo-body strong {
  color: var(--white);
}

.demo-body em {
  color: var(--teal-300);
}

.demo-body code {
  background: var(--navy-700);
  color: var(--teal-300);
  padding: 2px 6px;
  border-radius: 5px;
  font-family: "SF Mono", "JetBrains Mono", Menlo, monospace;
  font-size: 0.9em;
}

.demo-body h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.demo-body ul {
  padding-left: 2px;
}

.demo-body ul li {
  display: flex;
  gap: 10px;
  color: var(--white);
}

.demo-body ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--teal-500);
  flex-shrink: 0;
}

/* Static before/after pairs are the no-JS / reduced-motion baseline;
   JS swaps to the typed animation only when it can run one responsibly. */
.demo-static-pair {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-static-pair p {
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.demo-static-pair .arrow {
  color: var(--muted-2);
}

.demo-line {
  display: none;
}

.demo-body.is-animated .demo-static-pair {
  display: none;
}

.demo-body.is-animated .demo-line {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .demo-caret {
    display: none;
  }
}

/* ============================================================
   Benefit cards (3-up)
   ============================================================ */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.benefit-card {
  padding: 30px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--navy-border);
  background: var(--navy-800);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(69, 221, 202, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-400);
}

.benefit-card .icon svg {
  width: 22px;
  height: 22px;
}

.benefit-card h3 {
  font-size: 1.125rem;
}

.benefit-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   Why TypeBreeze (light section, two-column)
   ============================================================ */

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.why-copy h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  margin-bottom: 18px;
}

.why-copy p {
  color: var(--ink-600);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.why-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-900);
  font-weight: 500;
  font-size: 0.98rem;
}

.why-list svg {
  width: 19px;
  height: 19px;
  color: var(--teal-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-panel {
  border-radius: var(--radius-lg);
  background: var(--paper-elevated);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-light);
  padding: 30px;
}

.why-panel .panel-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
}

.why-panel .panel-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.why-panel .panel-row .k {
  min-width: 108px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-600);
  font-weight: 700;
}

.why-panel .panel-row .v {
  color: var(--ink-900);
  font-size: 0.95rem;
}

/* ============================================================
   Feature grid
   ============================================================ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--navy-border);
  background: var(--navy-900);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-card h3 {
  font-size: 1rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.feature-card .tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-400);
}

/* ============================================================
   Early access
   ============================================================ */

.early-access {
  border-top: 1px solid var(--navy-border);
}

.early-access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 860px) {
  .early-access-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.early-access-copy h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  margin-bottom: 16px;
}

.early-access-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.honest-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.honest-list li {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--navy-800);
  border: 1px solid var(--navy-border);
}

.honest-list .icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(69, 221, 202, 0.12);
  color: var(--teal-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.honest-list svg {
  width: 18px;
  height: 18px;
}

.honest-list h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.honest-list p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

/* ============================================================
   Roadmap
   ============================================================ */

.roadmap-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(69, 221, 202, 0.1);
  border: 1px solid rgba(69, 221, 202, 0.3);
  color: var(--teal-300);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 960px) {
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.roadmap-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--navy-border);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roadmap-card h4 {
  font-size: 0.95rem;
  color: var(--white);
}

.roadmap-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.roadmap-disclaimer {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted-2);
  text-align: center;
}

/* ============================================================
   Final CTA
   ============================================================ */

.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 50% 100%, var(--teal-glow), transparent 70%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.final-cta h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
}

.final-cta p {
  color: var(--muted);
  font-size: 1.0625rem;
}

.platform-note {
  max-width: 480px;
  margin: 6px auto 0;
  text-align: center;
  color: var(--muted-2);
  font-size: 0.85rem;
  line-height: 1.6;
}

.platform-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.platform-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--navy-border);
  background: var(--navy-800);
  color: var(--muted);
  cursor: not-allowed;
  min-width: 140px;
}

.platform-btn .platform-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.platform-btn .coming-soon {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-400);
}

.platform-btn.is-live {
  cursor: pointer;
  border-color: var(--teal-500);
  background: rgba(69, 221, 202, 0.08);
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.platform-btn.is-live:hover {
  border-color: var(--teal-400);
  background: rgba(69, 221, 202, 0.14);
  transform: translateY(-1px);
}

.platform-btn.is-live .version-tag {
  font-size: 0.72rem;
  color: var(--teal-300);
}

/* ============================================================
   FAQ (accordion)
   ============================================================ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  background: var(--navy-800);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--white);
  list-style: none;
}

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

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--teal-400);
  transition: transform 0.2s ease;
}

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

.faq-answer {
  padding: 0 24px 22px;
  color: var(--muted);
}

.faq-answer p {
  font-size: 0.975rem;
  line-height: 1.7;
}

.faq-answer p + p {
  margin-top: 12px;
}

.faq-answer strong {
  color: var(--white);
}

.faq-steps {
  padding-left: 1.4em;
}

.faq-steps li {
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 10px;
}

.faq-steps li:last-child {
  margin-bottom: 0;
}

.faq-steps li::marker {
  color: var(--teal-400);
  font-weight: 700;
}

.faq-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--navy-border);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted-2);
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--navy-border);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-brand img {
  height: 36px;
  width: auto;
}

.footer-tagline {
  color: var(--muted-2);
  font-size: 0.85rem;
  max-width: 220px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col-title {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--teal-300);
}

.footer-disabled {
  color: var(--muted-2);
  font-size: 0.875rem;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--navy-border);
}

.footer-bottom p {
  color: var(--muted-2);
  font-size: 0.8125rem;
}

/* ============================================================
   Legal pages (License Agreement, etc.)
   ============================================================ */

.legal-main {
  padding: 64px 0 96px;
}

.legal-container {
  max-width: 720px;
}

.legal-container h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--muted-2);
  font-size: 0.875rem;
  margin-bottom: 36px;
}

.legal-container h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 14px;
}

.legal-container p {
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-container ul {
  margin-bottom: 14px;
  padding-left: 1.4em;
}

.legal-container li {
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.7;
  list-style: disc;
  margin-bottom: 6px;
}

.legal-container li::marker {
  color: var(--teal-400);
}

.legal-container strong {
  color: var(--white);
}

.legal-container a,
.faq-answer a,
.platform-note a {
  color: var(--teal-300);
  text-decoration: underline;
  text-decoration-color: rgba(124, 238, 224, 0.35);
}

.legal-container a:hover,
.faq-answer a:hover,
.platform-note a:hover {
  color: var(--teal-400);
}

p.legal-address {
  background: var(--navy-800);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--muted);
}

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
