/* --- Tokens and base --- */
:root {
  --ink: #0A0A0C;
  --ink-2: #111115;
  --ink-3: #18181D;
  --ink-rgb: 10 10 12;
  /* Hairlines and highlights are this color at low alpha. */
  --fg-rgb: 255 255 255;
  --line: rgba(255,255,255,.08);
  --text: #F2F0EA;
  --soft: #b3b0a9;
  --dim: #8E8B84;
  --stencil: #a9a59b;
  --tape: #ECE6D6;
  --tape-ink: #15130F;
  --go: #6BFF8F;
  --go-rgb: 107 255 143;
  --go-hover: #8cffaa;
  --glow: rgba(255,236,200,.07);
  --band: linear-gradient(180deg, #101013, #0d0d10);
  --display: 'Big Shoulders Display', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: dark;
}

/* Light mode follows the device unless the header toggle picked a theme
   (shared with the web app through theme.js). The app screenshots and the
   device frames around them stay dark. */
:root[data-theme="light"] {
  --ink: #F6F4EF;
  --ink-2: #FFFFFF;
  --ink-3: #ECE9E2;
  --ink-rgb: 246 244 239;
  --fg-rgb: 21 19 15;
  --line: rgb(21 19 15 / .1);
  --text: #15130F;
  --soft: #46423B;
  --dim: #5E5A52;
  --stencil: #8a857c;
  --go: #15803D;
  --go-rgb: 21 128 61;
  --go-hover: #166534;
  --glow: rgba(214,160,80,.14);
  --band: linear-gradient(180deg, #EFECE6, #EAE6DF);
  color-scheme: light;
}
/* The logo has a light version; the page shows the one for its theme. */
.logo-light, :root[data-theme="light"] .logo-dark { display: none; }
:root[data-theme="light"] .logo-light { display: block; }
:root[data-theme="light"] .panel { background: var(--ink-2); box-shadow: 0 1px 2px rgb(21 19 15 / .05), 0 10px 30px rgb(21 19 15 / .05); }
:root[data-theme="light"] .browser-frame { border-color: rgb(21 19 15 / .14); background: var(--ink-2); box-shadow: 0 24px 60px rgb(21 19 15 / .14); }
:root[data-theme="light"] .browser-bar { background: var(--ink-3); }
:root[data-theme="light"] .browser-bar i { background: #b9b5ac; }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
  color: inherit;
}

button, a, summary {
  -webkit-tap-highlight-color: transparent;
}

a, button, summary {
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--go);
  outline-offset: 6px;
}

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

[hidden] {
  display: none !important;
}

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

img, svg {
  vertical-align: middle;
}

.container {
  width: min(100% - 112px, 1440px);
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1.6;
  text-transform: uppercase;
}

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

.skip-link {
  position: fixed;
  z-index: 110;
  top: 12px;
  left: 12px;
  padding: 14px 20px;
  background: var(--go);
  color: var(--ink);
  transform: translateY(-160%);
  visibility: hidden;
  pointer-events: none;
}

.skip-link:focus-visible {
  transform: none;
  visibility: visible;
  pointer-events: auto;
}

/* --- Buttons and shared motifs --- */
.button {
  min-height: 52px;
  padding: 0 26px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .2s, box-shadow .2s, transform .2s;
}

.button-primary {
  background: var(--go);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}

.button-primary:hover {
  background: var(--go-hover);
  box-shadow: 0 0 26px rgb(var(--go-rgb) / .125), inset 0 1px 0 #ffffff80;
  transform: translateY(-2px);
}

.button-ghost {
  background: rgb(var(--fg-rgb) / .01);
  border-color: rgb(var(--fg-rgb) / .15);
}

.button-ghost:hover {
  background: var(--ink-3);
  border-color: rgb(var(--fg-rgb) / .33);
}

.button-small {
  min-height: 44px;
  font-size: 16px;
  padding-inline: 20px;
  gap: 22px;
}

.button span {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 21px;
  font-weight: 400;
}

.text-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 13px;
  padding-inline: 12px;
}

.text-button:hover, .desktop-nav a:hover, .site-footer a:hover {
  color: var(--go);
}

.tape {
  display: inline-block;
  padding: 5px 14px 7px;
  color: var(--tape-ink);
  background: repeating-linear-gradient(2deg, transparent 0 2px, #857a5312 2px 3px), var(--tape);
  font-family: 'Permanent Marker', system-ui, sans-serif;
  font-weight: 400;
  transform: rotate(-1.5deg);
  box-shadow: 0 4px 12px #0003;
  clip-path: polygon(1% 0, 99% 1%, 98.8% 12%, 100% 23%, 99% 39%, 100% 56%, 99% 72%, 100% 89%, 99% 100%, .7% 98%, 1.3% 85%, 0 71%, .9% 53%, 0 38%, 1% 24%, 0 10%);
}

.panel {
  position: relative;
  border: 1px solid rgb(var(--fg-rgb) / .05);
  border-radius: 14px;
  background: linear-gradient(180deg, rgb(var(--fg-rgb) / .012), transparent 40%, #00000014), var(--ink-2);
  box-shadow: inset 0 1px 0 #ffffff0d;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(40px, 6vw, 84px);
  line-height: .95;
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* --- Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: background .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled, body.menu-open .site-header {
  background: rgb(var(--ink-rgb) / .8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 44px;
}

.brand span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .22em;
}

.nav-shell .brand-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  overflow: clip;
  align-items: center;
  justify-content: center;
}

.nav-shell .brand-icon img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transform: scale(2);
}

.desktop-nav {
  display: flex;
  gap: 28px;
}

.desktop-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  color: var(--soft);
  transition: color .2s;
}

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

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

.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid rgb(var(--fg-rgb) / .15);
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: rgb(var(--fg-rgb) / .33);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-moon, :root[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  height: calc(100dvh - 72px);
  background: var(--ink);
  padding: 40px 24px;
  overflow-y: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin: 28px 0;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(32px, 8vw, 58px);
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

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

/* --- Hero --- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: max(720px, 100svh);
  padding: 156px 0 92px;
  background: radial-gradient(ellipse at 87% 8%, var(--glow), transparent 58%);
  overflow-x: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 32px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

h1 {
  font-size: clamp(58px, 8.2vw, 124px);
  line-height: .86;
  letter-spacing: -.035em;
  margin-left: -3px;
}

.headline-line {
  display: block;
  white-space: nowrap;
}

.second-line {
  margin-top: 9px;
}

.headline-tape {
  padding: .07em .17em .17em;
  font-size: .55em;
  line-height: 1.2;
  letter-spacing: -.065em;
  vertical-align: .07em;
  margin-left: .04em;
  transform-origin: 55% 50%;
}

.hero-description {
  color: var(--dim);
  font-size: 19px;
  line-height: 1.6;
  max-width: 34ch;
  margin-top: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions .button-ghost, .final-actions .button-ghost {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding-inline: 16px;
  gap: 12px;
}

.how-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  color: var(--soft);
  margin-top: 7px;
  gap: 14px;
}

.how-link:hover {
  color: var(--go);
}

.hero-copy {
  padding-bottom: 24px;
}

.hero-visual {
  min-width: 0;
  position: relative;
}

/* --- Sections and cue sheet --- */
.section {
  padding-block: 128px;
  scroll-margin-top: 80px;
}

/* Follows the full-height hero directly, which already ends in padding. */
.how-section {
  padding-top: 40px;
}

.section-heading {
  position: relative;
  margin-bottom: 52px;
}

.section-description {
  max-width: 65ch;
  color: var(--dim);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 26px;
}

.cue-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 46px 0;
  border-top: 1px dashed rgb(var(--fg-rgb) / .14);
}

.cue-row:last-child {
  border-bottom: 1px dashed rgb(var(--fg-rgb) / .14);
}

.cue-number {
  align-self: start;
  margin-top: 12px;
  font-family: 'Big Shoulders Stencil', system-ui, sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: var(--stencil);
}

.cue-copy h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 17px;
}

.cue-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 40ch;
}

.cue-row-reverse {
  grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr);
}

.cue-row-reverse .cue-number {
  grid-column: 2;
}

.cue-row-reverse .cue-copy {
  grid-column: 3;
}

/* --- Features --- */
.features-section {
  background: var(--band);
  border-block: 1px solid rgb(var(--fg-rgb) / .016);
}

/* The real Crew screen stays in view while the list scrolls past. */
.features-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.features-visual {
  position: sticky;
  top: 112px;
  margin: 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  margin: 0;
}

.feature-item {
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
}

.feature-item dt {
  margin-bottom: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 27px;
  line-height: 1.05;
  text-transform: uppercase;
}

.feature-item dd {
  margin: 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dim);
}

@media (max-width: 1100px) {
  .features-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
  }
  .feature-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .features-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .features-visual {
    position: static;
    width: min(100%, 260px);
    margin-inline: auto;
  }
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 18px;
  min-height: 414px;
}

/* Tablets: Crew on its own row, Free and the event pass side by side. */
@media (max-width: 1100px) and (min-width: 601px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-grid .recommended {
    grid-column: 1 / -1;
    order: -1;
  }
}

.plan-card, .plan-skeleton {
  min-height: 414px;
  padding: 30px 26px 26px;
}

.plan-card {
  display: flex;
  flex-direction: column;
}

.plan-card.recommended {
  border-color: rgb(var(--go-rgb) / .31);
  background: linear-gradient(150deg, rgb(var(--go-rgb) / .03), transparent 65%), var(--ink-2);
}

.plan-tag {
  position: absolute;
  right: 10px;
  top: -15px;
  font-size: 12px;
  padding: 6px 12px 8px;
  transform: rotate(3deg);
}

.plan-card h3 {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 27px;
}

.plan-specs {
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 17px;
}

.plan-spec {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .025em;
  color: var(--dim);
}

.plan-spec dt {
  white-space: normal;
}

.plan-spec::after {
  content: '';
  order: 1;
  flex: 1;
  min-width: 8px;
  border-bottom: 1px dotted rgb(var(--fg-rgb) / .19);
}

.plan-spec dd {
  order: 2;
  margin: 0;
  font-size: 12px;
  color: var(--text);
}

.plan-spec-seats {
  align-items: center;
}

/* On narrow cards the stepper wraps under its label; keep it with the values. */
.plan-spec-seats dd {
  margin-left: auto;
}

.seat-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgb(var(--fg-rgb) / .2);
  border-radius: 8px;
  overflow: hidden;
}

.seat-stepper button {
  width: 34px;
  border: 0;
  background: rgb(var(--fg-rgb) / .05);
  color: var(--text);
  font: 600 17px/1 var(--mono);
  cursor: pointer;
}

.seat-stepper button:hover:not(:disabled) {
  background: rgb(var(--fg-rgb) / .1);
}

.seat-stepper button:disabled {
  color: var(--dim);
  cursor: default;
}

.seat-stepper input {
  width: 58px;
  border: 0;
  border-inline: 1px solid rgb(var(--fg-rgb) / .2);
  background: transparent;
  color: var(--text);
  font: 600 15px/1 var(--mono);
  text-align: center;
  padding: 8px 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.seat-stepper input::-webkit-inner-spin-button,
.seat-stepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.plan-note {
  margin: -12px 0 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

.price-per {
  flex-basis: 100%;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

.plan-price {
  min-height: 68px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-bottom: 22px;
  flex-wrap: wrap;
}

.price-number {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.price-interval {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  white-space: nowrap;
}

.plan-card .button {
  width: 100%;
  font-size: 17px;
  justify-content: space-between;
  padding-inline: 18px;
}

.plan-skeleton {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.plan-skeleton i {
  display: block;
  height: 17px;
  border-radius: 3px;
  background: linear-gradient(100deg, rgb(var(--fg-rgb) / .02) 30%, rgb(var(--fg-rgb) / .045) 50%, rgb(var(--fg-rgb) / .02) 70%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 2s infinite linear;
}

.plan-skeleton i:first-child {
  width: 50%;
  height: 44px;
  margin-bottom: 18px;
}

.plan-skeleton i:last-child {
  height: 52px;
  margin-top: auto;
}

/* --- FAQ --- */
.faq-section {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 80px;
}

.faq-section h2 {
  font-size: clamp(40px, 4.4vw, 66px);
}

.faq-list details {
  border-bottom: 1px solid rgb(var(--fg-rgb) / .08);
}

.faq-list details:first-child {
  border-top: 1px solid rgb(var(--fg-rgb) / .08);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 24px 36px 24px 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

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

.faq-list summary:hover {
  color: var(--go);
}

.faq-plus {
  position: absolute;
  right: 2px;
  top: 30px;
  width: 13px;
  height: 13px;
  transition: transform .2s;
}

.faq-plus::before, .faq-plus::after {
  content: '';
  position: absolute;
  background: var(--dim);
}

.faq-plus::before {
  width: 13px;
  height: 1px;
  top: 6px;
}

.faq-plus::after {
  width: 1px;
  height: 13px;
  left: 6px;
}

.faq-list details[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-list details p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--dim);
  padding: 0 26px 26px 0;
}

/* --- Final call to action --- */
.final-cta {
  text-align: center;
  padding: 130px 0 105px;
  border-block: 1px solid rgb(var(--fg-rgb) / .024);
  background: radial-gradient(ellipse at 50% 0, var(--glow), transparent 65%);
}

.final-cta h2 {
  font-size: clamp(64px, 12vw, 180px);
  line-height: .9;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.final-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.final-cta p { margin-top: 28px; color: var(--dim); font-size: 17px; line-height: 1.7; }

/* --- Footer --- */
.site-footer {
  padding-block: 50px 25px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 42px;
}

.footer-top p {
  font-size: 13px;
  color: var(--dim);
  margin-top: 11px;
}

.footer-top nav {
  display: flex;
  gap: 32px;
  font-size: 12px;
}

.footer-top nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--dim);
  font-size: 11px;
}

/* --- Motion --- */
.reveal.is-pending {
  opacity: 0;
  transform: translateY(20px);
}

.reveal {
  transition: opacity .65s ease, transform .65s ease;
}

.motion-ready h1 {
  animation: load-in .7s .15s both;
}

.motion-ready .headline-tape {
  animation: tape-slap .65s .5s both;
}

.motion-ready .hero-description, .motion-ready .hero-actions, .motion-ready .how-link {
  animation: load-in .7s .35s both;
}

.motion-ready .hero-visual {
  animation: load-in .8s .3s both;
}

@keyframes load-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tape-slap {
  0% {
    opacity: 0;
    transform: scale(1.25) rotate(-7deg);
  }
  55% {
    opacity: 1;
    transform: scale(.98) rotate(-1deg);
  }
  100% {
    transform: scale(1) rotate(-1.5deg);
  }
}

@keyframes skeleton-shimmer {
  to {
    background-position: -200% 0;
  }
}

/* --- Responsive --- */
@media (min-width: 1440px) {
  .hero-grid {
    gap: 50px;
  }
}

/* --- Responsive: (max-width: 1199px) --- */
@media (max-width: 1199px) {
  .container {
    width: calc(100% - 80px);
  }
  .desktop-nav {
    gap: 18px;
  }
  .nav-actions {
    gap: 7px;
  }
  .hero-grid {
    gap: 24px;
  }
  .hero-description {
    font-size: 19px;
  }
  .cue-row {
    gap: 30px;
    grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr);
  }
  .cue-row-reverse {
    grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
  }
  .plan-card, .plan-skeleton {
    padding-inline: 20px;
  }
  .plan-spec {
    font-size: 11px;
  }
  .faq-section {
    gap: 48px;
  }
}

/* --- Responsive: (max-width: 900px) --- */
@media (max-width: 900px) {
  .container {
    width: calc(100% - 64px);
  }
  .nav-shell {
    height: 72px;
  }
  .desktop-nav, .nav-actions {
    display: none;
  }
  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 12px 9px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    background: transparent;
    border: 1px solid rgb(var(--fg-rgb) / .15);
    border-radius: 4px;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--text);
    transition: transform .2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .hero {
    padding-top: 128px;
    padding-bottom: 94px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-copy {
    max-width: 650px;
    padding-bottom: 0;
  }
  .hero-description {
    max-width: 48ch;
  }
  .hero-visual {
    width: min(100%, 590px);
    justify-self: center;
  }
  .section {
    padding-block: 90px;
  }
  .cue-row {
    grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
  }
  .cue-row-reverse {
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
  }
  .cue-number {
    font-size: 48px;
  }
  .cue-copy h3 {
    font-size: 32px;
  }
  .cue-copy p {
    font-size: 14px;
  }
  .pricing-grid {
    gap: 12px;
  }
  .plan-card, .plan-skeleton {
    padding-inline: 16px;
  }
  .plan-card h3 {
    font-size: 38px;
  }
  .plan-spec {
    font-size: 11px;
    gap: 3px;
    flex-wrap: wrap;
  }
  .plan-tag {
    font-size: 11px;
    right: 3px;
  }
  .plan-card .button {
    font-size: 15px;
    gap: 10px;
    padding-inline: 12px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .faq-section h2 {
    font-size: clamp(40px, 6vw, 64px);
  }
  .final-cta {
    padding-block: 100px 75px;
  }
  .nav-shell .brand-icon, .nav-shell .brand-icon img {
    width: 26px;
    height: 26px;
  }
}

/* --- Responsive: (max-width: 600px) --- */
@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }
  .hero {
    min-height: auto;
    padding: 112px 0 75px;
  }
  .hero-grid {
    gap: 44px;
  }
  h1 {
    line-height: .9;
    margin-left: -1px;
  }
  .second-line {
    margin-top: 7px;
  }
  .headline-tape {
    font-size: .55em;
  }
  .hero-description {
    font-size: 19px;
    line-height: 1.6;
    margin-top: 26px;
    max-width: 34ch;
  }
  .hero-actions {
    margin-top: 25px;
    gap: 10px;
  }
  .hero-actions .button {
    padding-inline: 20px;
  }
  .hero-actions .button-ghost {
    font-size: 12px;
    gap: 8px;
    padding-inline: 12px;
  }
  .hero-visual {
    width: 100%;
  }
  .section {
    padding-block: 72px;
    scroll-margin-top: 64px;
  }
  h2 {
    font-size: clamp(40px, 9.6vw, 58px);
    line-height: .95;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .cue-row, .cue-row-reverse {
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 20px 16px;
    padding-block: 30px;
  }
  .cue-number, .cue-row-reverse .cue-number {
    grid-column: 1;
    grid-row: 1;
    font-size: 38px;
    margin-top: 3px;
  }
  .cue-copy, .cue-row-reverse .cue-copy {
    grid-column: 2;
    grid-row: 1;
  }
  .cue-copy h3 {
    font-size: 32px;
    margin-bottom: 12px;
  }
  .cue-copy p {
    font-size: 15px;
    line-height: 1.7;
  }
  .section-description {
    font-size: 16px;
    margin-top: 22px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 1242px;
  }
  .plan-card, .plan-skeleton {
    min-height: 395px;
    padding: 30px 26px 26px;
  }
  .plan-card h3 {
    font-size: 44px;
  }
  .plan-spec {
    font-size: 11px;
    gap: 6px;
  }
  .plan-tag {
    right: 14px;
    font-size: 12px;
  }
  .plan-card .button {
    font-size: 18px;
    padding-inline: 20px;
  }
  .faq-list summary {
    font-size: 16px;
    padding-block: 21px;
  }
  .faq-plus {
    top: 26px;
  }
  .faq-list details p {
    font-size: 15px;
    padding-right: 12px;
  }
  .final-cta {
    padding: 82px 0 64px;
  }
  .final-cta h2 {
    font-size: clamp(64px, 14.5vw, 87px);
  }
  .final-actions {
    gap: 10px;
  }
  .final-actions .button {
    padding-inline: 20px;
  }
  .final-actions .button-ghost {
    padding-inline: 12px;
    font-size: 12px;
    gap: 8px;
  }
  .site-footer {
    padding-top: 34px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 26px;
  }
  .footer-top nav {
    gap: 30px;
  }
  .footer-bottom {
    font-size: 11px;
    letter-spacing: .05em;
    flex-wrap: wrap;
    gap: 12px;
  }
  .motion-ready .hero-visual {
    animation: load-in .8s .3s both;
  }
}

/* --- Responsive: (prefers-reduced-motion: reduce) --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal.is-pending {
    opacity: 1;
    transform: none;
  }
}

/* Real app screens and decorative device frames. */
.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.hero-visual {
  margin: 0;
}

.hero-screens {
  position: relative;
  padding-bottom: 18%;
}

.browser-frame {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ffffff25;
  border-radius: 10px;
  background: #0a0a0c;
  box-shadow: 0 24px 60px #0005;
}

.browser-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-inline: 12px;
  background: #1b1b20;
}

.browser-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #66666c;
}

.browser-frame picture, .phone-frame picture {
  display: block;
}

.browser-frame img, .phone-frame img, .watch-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  border: 10px solid #08080a;
  border-radius: 13% / 6%;
  background: #08080a;
  box-shadow: 0 0 0 1px #ffffff30, 0 20px 45px #0006;
}

.phone-island {
  position: absolute;
  top: 1.6%;
  left: 35%;
  width: 30%;
  height: 2.2%;
  border-radius: 999px;
  background: #000;
  pointer-events: none;
}

/* Over the desk's On-comms column, clear of the headline tape and the talk keys. */
.hero-phone {
  position: absolute;
  right: -3%;
  bottom: 0;
  width: 28%;
}

/* Apple Watch: case, Digital Crown and the ends of the band. */
.watch {
  position: relative;
}

.watch::before, .watch::after {
  content: '';
  position: absolute;
  left: 19%;
  width: 62%;
  height: 24%;
  background: #17171c;
}

.watch::before {
  bottom: 97%;
  border-radius: 5px 5px 0 0;
  -webkit-mask-image: linear-gradient(to top, #000 35%, transparent);
  mask-image: linear-gradient(to top, #000 35%, transparent);
}

.watch::after {
  top: 97%;
  border-radius: 0 0 5px 5px;
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent);
  mask-image: linear-gradient(to bottom, #000 35%, transparent);
}

.watch-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 6px solid #08080a;
  border-radius: 30% / 26%;
  background: #08080a;
  box-shadow: 0 0 0 1px #ffffff30, 0 16px 36px #0007;
}

.watch-crown {
  position: absolute;
  top: 21%;
  right: -4.5%;
  width: 6%;
  height: 17%;
  border-radius: 2px 4px 4px 2px;
  background: linear-gradient(90deg, #1f1f24, #4a4a52 70%, #2c2c32);
  box-shadow: 0 0 0 1px #ffffff1a;
}

/* On the phone's bottom-left corner: its right edge sits 12px over the phone's
   left edge (at 75%), which covers the 10px bezel and none of the screen. */
.hero-watch {
  position: absolute;
  right: calc(25% - 12px);
  bottom: -9%;
  width: 16%;
}

.cue-phone {
  width: min(100%, 280px);
  justify-self: end;
}

.cue-row-reverse .cue-phone {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.dashboard-screens {
  max-width: 1100px;
  margin-inline: auto;
}

@media (max-width: 1199px) {
  .desktop-nav { gap: 14px; }
  .nav-shell { gap: 16px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { width: min(100%, 590px); }
  .cue-phone { width: min(100%, 250px); }
}

@media (max-width: 600px) {
  h1 { font-size: clamp(44px, 14.5vw, 82px); }
  .hero-visual { width: 100%; }
  .hero-screens { padding: 0; }
  .hero-desk { display: none; }
  .hero-phone { position: relative; right: auto; width: 70%; margin-inline: auto; }
  .hero-watch { right: calc(85% - 12px); bottom: -6%; width: min(22%, calc(15% + 28px)); }
  .cue-phone, .cue-row-reverse .cue-phone {
    grid-column: 1 / -1;
    grid-row: 2;
    width: min(100%, 240px);
    justify-self: center;
    margin-top: 8px;
  }
  .final-cta p { font-size: 16px; max-width: 30ch; margin-inline: auto; margin-top: 23px; }
}

/* The Secure add-on uses the pricing panel language. */
@media (max-width: 760px) {
      }

/* Security diagram: how audio moves, drawn from real nodes and wires. */
.sec-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sec-icon svg, .sec-lock svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sec-panel { display: flex; flex-direction: column; gap: 30px; margin: 0; padding: 32px; }
.sec-panel h3 { font: 800 27px/1.05 var(--display); text-transform: uppercase; }

.sec-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(56px, .8fr) minmax(0, 1fr) minmax(56px, .8fr) minmax(0, 1fr); align-items: start; margin: 0; padding: 0; list-style: none; }
.sec-node { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; text-align: center; }
.sec-node strong { font-size: 17px; font-weight: 600; }
.sec-note { color: var(--dim); font-size: 14px; line-height: 1.45; }
.sec-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border: 1px solid rgb(var(--fg-rgb) / .1); border-radius: 16px; background: linear-gradient(180deg, rgb(var(--fg-rgb) / .04), rgb(var(--fg-rgb) / .012)); color: var(--text); box-shadow: inset 0 1px 0 #ffffff12; }
.sec-icon svg { width: 28px; height: 28px; }
.sec-icon-go { color: var(--go); border-color: rgb(var(--go-rgb) / .25); box-shadow: inset 0 1px 0 #ffffff12, 0 0 24px rgb(var(--go-rgb) / .08); }

.sec-wire { position: relative; display: grid; place-items: center; height: 64px; min-width: 0; }
.sec-wire::before { content: ''; position: absolute; top: 50%; right: 6px; left: 6px; border-top: 1px dashed rgb(var(--fg-rgb) / .23); }
.sec-lock { position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border: 1.5px solid rgb(var(--go-rgb) / .5); border-radius: 50%; background: radial-gradient(circle at 50% 30%, rgb(var(--go-rgb) / .2), rgb(var(--go-rgb) / .04) 70%), var(--ink-2); color: var(--go); box-shadow: 0 0 0 7px rgb(var(--go-rgb) / .07), 0 0 34px rgb(var(--go-rgb) / .25); }
.sec-lock svg { width: 28px; height: 28px; stroke-width: 2; }
.sec-lock-label { position: absolute; top: calc(50% + 40px); left: 50%; width: max-content; max-width: 100%; transform: translateX(-50%); color: var(--go); font: 700 12px/1.4 var(--mono); letter-spacing: .08em; text-align: center; text-transform: uppercase; }
/* A signal dot runs along each wire, only when motion is allowed. */
.motion-ready .sec-wire::after { content: ''; position: absolute; top: calc(50% - 3px); left: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--go); box-shadow: 0 0 10px var(--go); animation: sec-signal 2.4s linear infinite; }
@keyframes sec-signal { from { left: 6px; opacity: 0; } 15%, 85% { opacity: 1; } to { left: calc(100% - 12px); opacity: 0; } }
@keyframes sec-signal-down { from { top: 4px; opacity: 0; } 15%, 85% { opacity: 1; } to { top: calc(100% - 10px); opacity: 0; } }

/* Phones: the path reads top to bottom. */
@media (max-width: 640px) {
  .sec-panel { gap: 24px; padding: 26px 20px; }
  .sec-flow { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .sec-wire { width: 100%; height: 104px; }
  .sec-lock-label { top: 50%; left: calc(50% + 44px); max-width: calc(50% - 44px); transform: translateY(-50%); text-align: left; }
  .sec-wire::before { top: 4px; right: auto; bottom: 4px; left: 50%; border-top: 0; border-left: 1px dashed rgb(var(--fg-rgb) / .23); }
  .motion-ready .sec-wire::after { top: 4px; left: calc(50% - 3px); animation-name: sec-signal-down; }
}
