/* Modo42 website — shared styles. Dark-only by design (matches the app). */

@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/space-grotesk-latin-wght.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #141619;
  --bg-deep: #0a0c0e;
  --bg-nav: #070809;
  --surface: #0f1215;
  --surface-raised: #171a1e;
  --line: #23272c;
  --line-strong: #343a41;

  --text: #f3f4f1;
  --text-muted: #a1a6ad;
  --text-faint: #7d838b;

  --accent: #d4ff1f;
  --accent-hover: #e2ff5c;
  --accent-ink: #0b0d05;
  --accent-tint: #1f2508;
  --accent-tint-strong: #283010;
  --accent-line: #4c5a12;

  --font-sans: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);

  --focus: 0 0 0 3px var(--bg-deep), 0 0 0 5px var(--accent);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Sprite icons: <svg class="i"><use href="/assets/icons.svg#name"/></svg> */
.i {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
}

h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}
.skip-link:focus-visible {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.eyebrow--accent {
  color: var(--accent);
}

.lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.dot {
  color: var(--accent);
}

.mono-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- Buttons & links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}
.button svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.button--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.button--primary:hover {
  background: var(--accent-hover);
}
.button--secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--text);
}
.button--secondary:hover {
  border-color: var(--text-faint);
}
.button--block {
  width: 100%;
}
.button--small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.875rem;
}
.button[aria-disabled='true'],
.button:disabled {
  cursor: progress;
  opacity: 0.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 160ms ease;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link:hover svg {
  transform: translateX(3px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg-nav) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--text);
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.brand b {
  font-weight: 500;
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 160ms ease;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a[aria-current='page'] {
  color: var(--accent);
}
.nav-cta {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded='true'] .icon-open {
  display: none;
}
.nav-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    min-height: 0;
  }
  .brand,
  .nav-toggle {
    margin-block: 12px;
  }
  .brand {
    min-height: 44px;
  }
  /* Without JS the links stay visible as a second row. */
  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 4px 0 16px;
  }
  .nav-links {
    flex-direction: column;
  }
  .nav-links a {
    padding: 12px 4px;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-cta {
    margin-left: 0;
  }
  .js .nav-toggle {
    display: inline-flex;
  }
  .js .site-nav {
    display: none;
  }
  .js .site-nav.is-open {
    display: flex;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.section--deep {
  background: var(--bg-deep);
}
.section--glow {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(212, 255, 31, 0.07), transparent 70%),
    var(--bg-deep);
}
.section--glow-left {
  background:
    radial-gradient(60% 70% at 22% 45%, rgba(212, 255, 31, 0.07), transparent 70%),
    var(--bg-deep);
}
/* Carries straight on from the page hero, so its heading leads into the cards. */
.section--after-hero {
  padding-top: 0;
  border-top: 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.section-head .lead,
.facts h2 + .lead {
  margin-top: 16px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 104px);
  background:
    radial-gradient(48% 62% at 76% 42%, rgba(212, 255, 31, 0.06), transparent 70%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.hero h1 {
  margin-bottom: 24px;
}
.hero .lead {
  max-width: 560px;
}
.hero .actions {
  margin-top: 32px;
}
.hero .mono-meta {
  margin-top: 28px;
}
.page-hero {
  padding-block: clamp(56px, 8vw, 96px) clamp(48px, 6vw, 72px);
}
.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 5.6vw, 3.75rem);
  margin-bottom: 20px;
}
.page-hero .lead {
  max-width: 680px;
}

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

/* ---------- Phone placeholder (swap for real screenshots later) ---------- */

.phone {
  margin: 0;
}
.phone-frame {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 9 / 19.5;
  margin-inline: auto;
  padding: 10px;
  background: #0b0d0f;
  border: 2px solid #2b3036;
  border-radius: 40px;
  box-shadow:
    0 0 0 1px #050607,
    0 30px 80px -20px rgba(0, 0, 0, 0.75),
    0 0 120px -30px rgba(212, 255, 31, 0.18);
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 84px;
  height: 22px;
  background: #050607;
  border-radius: 999px;
  transform: translateX(-50%);
}
.phone-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  padding: 24px;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, 0.018) 14px 15px),
    var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 31px;
}
.phone-screen strong {
  font-size: 1.125rem;
  font-weight: 600;
}
.phone-screen span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.phone-screen:has(img) {
  padding: 0;
  overflow: hidden;
  background: #05070a;
  border: 0;
}
.phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: inherit;
}
/* Watch frames: Apple Watch (rounded square) and Wear OS (round) */
.watches {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 44px);
}
.watch {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}
.watch--round {
  margin-top: 72px;
}
.watch-strap {
  display: block;
  width: 64%;
  height: 72px;
  background: linear-gradient(90deg, #121518, #1b1f23 50%, #121518);
  border: 1px solid #262b31;
}
.watch-strap--top {
  border-bottom: 0;
  border-radius: 16px 16px 4px 4px;
  -webkit-mask-image: linear-gradient(to top, #000 45%, transparent);
  mask-image: linear-gradient(to top, #000 45%, transparent);
}
.watch-strap--bottom {
  border-top: 0;
  border-radius: 4px 4px 16px 16px;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent);
  mask-image: linear-gradient(to bottom, #000 45%, transparent);
}
.watch-case {
  position: relative;
  padding: 9px;
  background: #0b0d0f;
  border: 2px solid #2b3036;
  box-shadow:
    0 0 0 1px #050607,
    0 24px 60px -18px rgba(0, 0, 0, 0.75),
    0 0 100px -30px rgba(212, 255, 31, 0.2);
}
/* Crown and side button */
.watch-case::before,
.watch-case::after {
  content: '';
  position: absolute;
  right: -7px;
  width: 6px;
  background: #2b3036;
  border-radius: 3px;
}
.watch-case::before {
  top: 24%;
  height: 26px;
}
.watch-case::after {
  top: 54%;
  height: 34px;
  width: 4px;
  right: -5px;
}
.watch--square .watch-case {
  width: clamp(132px, 17vw, 184px);
  aspect-ratio: 41 / 49;
  border-radius: 28%  / 24%;
}
.watch--round .watch-case {
  width: clamp(140px, 18vw, 196px);
  aspect-ratio: 1;
  padding: 12px;
  border-radius: 50%;
  border-width: 3px;
}
.watch--round .watch-case::before {
  top: 30%;
  height: 22px;
}
.watch--round .watch-case::after {
  top: 56%;
  height: 22px;
  width: 6px;
  right: -7px;
}
.watch-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  padding: 12px;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(255, 255, 255, 0.018) 12px 13px),
    var(--surface);
  border: 1px dashed var(--line-strong);
}
.watch--square .watch-screen {
  border-radius: 24% / 20%;
}
.watch--round .watch-screen {
  border-radius: 50%;
}
.watch-screen strong {
  font-size: 0.9375rem;
  font-weight: 600;
}
.watch-screen span {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.watch-screen:has(img) {
  padding: 0;
  overflow: hidden;
  background: #05070a;
  border: 0;
}
.watch-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.phone figcaption {
  margin-top: 20px;
  text-align: center;
}
.phone figcaption strong {
  display: block;
  font-weight: 600;
}
.phone figcaption span {
  display: block;
  max-width: 320px;
  margin: 6px auto 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.card-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card h3,
.card h4 {
  margin: 20px 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.card--soon {
  background: transparent;
  border-style: dashed;
}
.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--accent-tint-strong);
  border-radius: var(--radius-sm);
  color: var(--accent);
}
.icon-tile svg {
  width: 20px;
  height: 20px;
}
.card--soon .icon-tile {
  background: var(--surface-raised);
  color: var(--text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  border-radius: 3px;
  vertical-align: middle;
}
.badge--soon {
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
}
.badge--live {
  background: var(--accent-tint-strong);
  color: var(--accent);
}
.card .badge {
  position: absolute;
  top: 28px;
  right: 24px;
}

.subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: clamp(48px, 6vw, 72px) 0 20px;
}
.subhead h3 {
  font-size: 1.375rem;
}
.subhead p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .card-grid,
  .card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .card-grid,
  .card-grid--two,
  .card-grid--four {
    grid-template-columns: 1fr;
  }
  .card {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 16px;
    padding: 20px;
  }
  .card .icon-tile {
    grid-column: 1;
    grid-row: 1 / span 3;
  }
  .card > :not(.icon-tile) {
    grid-column: 2;
  }
  .card h3,
  .card h4 {
    margin: 0 0 4px;
  }
  .card .badge {
    position: static;
    justify-self: start;
    margin-bottom: 8px;
  }
}

/* ---------- Screen trio (home) ---------- */

.screen-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.screen-trio .phone-frame {
  width: min(100%, 270px);
}
.section-foot {
  margin-top: 40px;
}
@media (max-width: 860px) {
  /* Swipeable row of phones on small screens. */
  .screen-trio {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78%, 280px);
    gap: 16px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .screen-trio > li {
    scroll-snap-align: center;
  }
}

/* ---------- Split feature rows ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}
.split--reverse .split-media {
  order: -1;
}
.split-copy h2 {
  margin-bottom: 18px;
}
.split-copy .lead + .lead,
.split-copy .lead + .checklist {
  margin-top: 16px;
}
.split-copy .note {
  margin-top: 20px;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--reverse .split-media {
    order: 0;
  }
  .split-media {
    order: 1;
  }
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}
.checklist svg {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--accent);
}

.bullet-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.bullet-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
}
.bullet-list li::before {
  content: '';
  position: absolute;
  top: 0.65em;
  left: 2px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.note {
  font-size: 0.875rem;
  color: var(--text-faint);
}

/* ---------- Definition block (AEO) ---------- */

.facts {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
}
.spec {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.spec > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.spec dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-top: 3px;
}
.spec dd {
  margin: 0;
  color: var(--text);
}
@media (max-width: 860px) {
  .facts {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .spec > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin-inline: auto;
}
.faq h2 {
  margin-bottom: 28px;
}
.faq-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  font-size: 1.0625rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 200ms ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary:focus-visible {
  border-radius: var(--radius);
}
.faq-item h3 {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: -0.01em;
}
.faq-answer {
  padding: 0 24px 24px;
  color: var(--text-muted);
}
.faq-answer p + p {
  margin-top: 10px;
}
.faq-answer a {
  color: var(--accent);
}
.faq-foot {
  margin-top: 24px;
  text-align: center;
  color: var(--text-muted);
}

/* ---------- CTA band ---------- */

.cta-band {
  padding-block: clamp(64px, 8vw, 96px);
  text-align: center;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(212, 255, 31, 0.08), transparent 70%),
    var(--accent-tint);
  border-top: 1px solid var(--accent-line);
}
.cta-band h2 {
  margin-bottom: 14px;
}
.cta-band p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--text-muted);
}
.cta-band .actions {
  justify-content: center;
}

/* ---------- Placeholders awaiting content ---------- */

.tbc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: repeating-linear-gradient(
    135deg,
    var(--surface-raised) 0 8px,
    #1b1f24 8px 16px
  );
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
}
.tbc::before {
  content: 'TBC';
  padding: 1px 5px;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent-ink);
  background: var(--text-muted);
  border-radius: 2px;
}

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.status-legend span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.plan--featured {
  background: var(--accent-tint);
  border-color: var(--accent-line);
}
.plan-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
  margin-bottom: 12px;
}
.plan h2,
.plan h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.plan-price {
  margin: 18px 0 6px;
}
.plan-price strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.plan-period {
  display: block;
  margin-top: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.plan-alt {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}
.plan-summary {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.plan ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}
.plan li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}
.plan li svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--accent);
}
.plan .button {
  margin-top: auto;
}
.pricing-note {
  max-width: 640px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-faint);
}
@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
  .plan--featured {
    order: -1;
  }
}

.currency-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.currency-switch[hidden] {
  display: none;
}
.currency-switch-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.currency-switch-options {
  display: inline-flex;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.currency-switch button {
  padding: 6px 14px;
  font: 500 0.8125rem/1.4 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.currency-switch button:hover {
  color: var(--text);
}
.currency-switch button[aria-pressed='true'] {
  background: var(--accent);
  color: var(--accent-ink);
}
.currency-switch button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.compare-scroll:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.compare-table th,
.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.compare-table tbody tr:last-child > * {
  border-bottom: 0;
}
.compare-table thead th {
  font-size: 1rem;
  font-weight: 700;
}
.compare-table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text-muted);
}
.compare-table td {
  color: var(--text);
}
.compare-table .is-featured {
  background: var(--accent-tint);
}
.compare-table thead .is-featured {
  color: var(--accent);
}
.compare-table svg {
  width: 18px;
  height: 18px;
  margin-inline: auto;
  color: var(--accent);
}
.compare-table svg.is-no {
  color: var(--text-faint);
}

/* ---------- Forms ---------- */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 860px) {
  .form-layout {
    grid-template-columns: 1fr;
  }
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.form-card h2 {
  margin-bottom: 8px;
  font-size: 1.375rem;
}
.form-card > p {
  margin-bottom: 24px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ---------- Store badges (placeholders) ---------- */

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.store-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 16px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-decoration: none;
}
.store-link svg {
  width: 20px;
  height: 20px;
}
.store-link small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.store-link b {
  display: block;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 56px 0;
  background: var(--bg-nav);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 40px;
}
.footer-about p {
  max-width: 380px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.footer-heading {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.footer-links {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  display: inline-block;
  padding: 4px 0;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--text-faint);
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 404 ---------- */

.not-found {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding-block: 80px;
  text-align: center;
}
.not-found .big {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
}
.not-found h1 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
}
.not-found .actions {
  justify-content: center;
  margin-top: 28px;
}

/* ---------- Motion ---------- */

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

/* ---------- Page-specific helpers ---------- */

.spec-title {
  margin: 32px 0 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.form-card .spec-title:first-child {
  margin-top: 0;
}
.split-copy .spec,
.split-copy .checklist {
  margin-top: 8px;
}
.split-copy .lead + .checklist {
  margin-top: 24px;
}

.page-hero--center {
  text-align: center;
}
.page-hero--center .eyebrow,
.page-hero--center .status-legend {
  justify-content: center;
}
.page-hero--center h1,
.page-hero--center .lead {
  margin-inline: auto;
}
.page-hero .actions {
  margin-top: 32px;
}
.hero-note {
  margin-top: 18px;
}
.section--flush {
  padding-top: 0;
  border-top: 0;
}

.checklist--icons svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}
.checklist--tiles {
  gap: 14px;
  margin-top: 32px;
}
.checklist--tiles li {
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
}
.checklist--tiles .icon-tile svg {
  width: 18px;
  height: 18px;
  margin: 0;
}
.tbc-row {
  margin-top: 20px;
}

.form-aside {
  margin-top: 16px;
}
.hero--form {
  padding-block: clamp(48px, 7vw, 96px);
}
.hero--form .form-card,
.hero--form .ticket {
  margin-top: clamp(0px, 3vw, 40px);
}

/* ---------- Launch-offer ticket (wraps the HubSpot form) ----------
   The HubSpot form renders in an iframe we can't style: monospace labels, a
   lime-outlined field and a centred lime button with a hard black shadow.
   The ticket picks up those cues (hard offset shadow, centred layout, mono
   details) so the form looks like it belongs. */
.ticket {
  filter: drop-shadow(8px 8px 0 rgba(0, 0, 0, 0.55));
}
.ticket-head,
.ticket-body {
  position: relative;
  text-align: center;
}
.ticket-head {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 40px) clamp(28px, 3.5vw, 36px);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(212, 255, 31, 0.035) 14px 15px),
    var(--accent-tint);
  border: 1px solid var(--accent-line);
  border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.ticket-head h2 {
  margin: 0;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.ticket-head p {
  max-width: 42ch;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.ticket-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 8px 0 0;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  background: rgba(10, 12, 14, 0.35);
}
.ticket-stats div {
  display: grid;
  gap: 4px;
  padding: 12px 8px;
}
.ticket-stats div + div {
  border-left: 1px solid var(--accent-line);
}
.ticket-stats dt {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.ticket-stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
}
.ticket-body {
  padding: clamp(24px, 3vw, 32px) clamp(12px, 2vw, 20px) clamp(24px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
/* Perforation between the offer and the form */
.ticket-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  border-top: 2px dashed var(--accent-line);
}
.ticket-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.ticket-step::before,
.ticket-step::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-line);
}
/* ---------- HubSpot form loading slot ----------
   HubSpot inserts its iframe at 0px high and resizes it when the form is
   ready, which made the card jump. The slot reserves the form's height,
   shows a skeleton in its shape meanwhile, then fades the form in.
   script.js adds .is-loading, then swaps it for .is-ready, or .is-failed if
   the form doesn't arrive. */
.hs-form-slot {
  position: relative;
  min-height: var(--hs-form-height, 248px);
}
.hs-form-slot .hs-form-frame {
  transition: opacity 240ms ease;
}
/* Only while script.js is watching (.is-loading): hide the form and show the
   skeleton. Without that class the form shows as HubSpot renders it. */
.hs-form-slot.is-loading .hs-form-frame {
  opacity: 0;
}
.hs-form-skeleton {
  position: absolute;
  inset: 44px 14% 40px;
  display: grid;
  grid-template-rows: 16px 52px auto;
  gap: 14px;
  transition: opacity 200ms ease;
}
.hs-form-slot:not(.is-loading) .hs-form-skeleton {
  opacity: 0;
  visibility: hidden;
}
.hs-form-skeleton span {
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--surface-raised) 0%, #20242a 50%, var(--surface-raised) 100%) 0 0 / 200% 100%;
  animation: hs-skeleton 1.4s ease-in-out infinite;
}
.hs-form-skeleton span:nth-child(1) {
  width: 104px;
}
.hs-form-skeleton span:nth-child(2) {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.hs-form-skeleton span:nth-child(3) {
  justify-self: center;
  width: 132px;
  height: 44px;
  margin-top: 18px;
  border-radius: var(--radius);
}
@keyframes hs-skeleton {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-form-skeleton span {
    animation: none;
  }
  .hs-form-slot .hs-form-frame,
  .hs-form-skeleton {
    transition: none;
  }
}
.hs-form-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.hs-form-fallback[hidden] {
  display: none;
}
.ticket-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px auto 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: left;
  color: var(--text-faint);
}
.ticket-note svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--accent);
}
.ticket-note a {
  color: var(--text-muted);
}

.store-links--stack {
  flex-direction: column;
  align-items: flex-start;
}
.store-links--center {
  justify-content: center;
  margin-top: 28px;
}
.apps-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.apps-row h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

@media (max-width: 860px) {
  .hero .phone-frame,
  .split-media .phone-frame {
    width: min(100%, 240px);
  }
}

h1 + .lead,
h2 + .lead {
  margin-top: 16px;
}

/* ---------- Legal pages (privacy policy) ---------- */
.legal-meta {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-faint);
}
.legal {
  max-width: 820px;
  color: var(--text-muted);
}
.legal h2 {
  margin: 56px 0 16px;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  color: var(--text);
  scroll-margin-top: 96px;
}
.legal h3 {
  margin: 32px 0 12px;
  font-size: 1.125rem;
  color: var(--text);
}
.legal p,
.legal ul,
.legal ol {
  margin: 0 0 16px;
  line-height: 1.65;
}
.legal ul,
.legal ol {
  padding-left: 1.25em;
}
.legal li + li {
  margin-top: 8px;
}
.legal strong {
  color: var(--text);
}
.legal a {
  color: var(--accent);
  text-underline-offset: 3px;
}
.legal .tbc {
  padding: 2px 8px;
  vertical-align: baseline;
}
.legal-summary,
.legal-toc {
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.legal-summary {
  border-color: var(--accent-line);
  background: var(--accent-tint);
}
.legal-toc {
  margin-top: 24px;
}
.legal-summary h2,
.legal-toc h2 {
  margin-top: 0;
  font-size: 1.125rem;
}
.legal-summary ul,
.legal-toc ol {
  margin-bottom: 0;
}
.legal-toc ol {
  columns: 2 220px;
  column-gap: 32px;
}
.legal-toc li {
  break-inside: avoid;
}
.legal-table {
  margin: 0 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.legal-table:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.legal-table table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.legal-table th,
.legal-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}
.legal-table thead th {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--surface-raised);
}
.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- Contact page ---------- */
.contact-wrap {
  max-width: 680px;
}
.contact-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.contact-note svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
  color: var(--accent);
}
.contact-note a {
  color: var(--accent);
  text-underline-offset: 3px;
}

/* ---------- Coach and community content (hidden unless ?showCoachInfo=true#show-coach) ---------- */

html:not(.show-coach) [data-coach] {
  display: none !important;
}
@media (min-width: 961px) {
  html:not(.show-coach) .card-grid--four:has(> [data-coach]) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  html:not(.show-coach) .card-grid--four:has(> [data-coach] ~ [data-coach]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 961px) {
  html:not(.show-coach) .pricing-grid:has(> [data-coach]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
