@import url("./tokens.css");

:root {
  --header-height: 72px;
  --viewport-section-min-height: calc(100svh - var(--header-height));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--color-surface-default);
}

body {
  margin: 0;
  color: var(--color-text-primary);
  background: var(--landing-effect-body-background);
  background-size: 28px 28px;
  font-family: var(--typography-family-body);
  font-size: var(--typography-size-body-lg);
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

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

svg {
  display: block;
}

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

.skip-link:focus {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  clip: auto;
  color: var(--color-text-inverse);
  background: var(--color-action-secondary);
  border-radius: var(--radius-control);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: var(--header-height);
  padding: 16px 40px;
  color: var(--color-text-primary);
  background: var(--landing-color-header-scrim);
  border-bottom: 1px solid var(--color-border-subtle);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  text-decoration: none;
}

.brand-word {
  font-family: var(--typography-family-display);
  font-size: var(--landing-typography-size-brand);
  font-style: italic;
  line-height: 0.82;
}

.brand-seal {
  width: 9px;
  height: 9px;
  margin-top: 2px;
  border-radius: var(--radius-pill);
  background: var(--landing-effect-brand-seal-background);
  box-shadow: var(--landing-effect-brand-seal-shadow);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: var(--landing-color-nav-scrim);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--color-text-secondary);
  font-size: var(--landing-typography-size-nav);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-text-primary);
  background: var(--color-surface-sunken);
  outline: none;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  color: var(--color-text-inverse);
  background: var(--color-action-secondary);
  border-radius: var(--radius-pill);
  font-size: var(--landing-typography-size-nav);
  font-weight: 700;
  text-decoration: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--color-action-primary);
  outline: none;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: var(--viewport-section-min-height);
  overflow: hidden;
  color: var(--color-text-inverse);
  background: var(--color-surface-inverse);
  border-bottom: 1px solid var(--color-action-secondary);
}

.hero-media,
.hero-media img,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  background: var(--landing-effect-hero-scrim-desktop);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--landing-effect-hero-grid);
  background-size: 42px 42px;
  mix-blend-mode: screen;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1240px);
  min-height: var(--viewport-section-min-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 40px 48px;
}

.eyebrow {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--typography-family-mono);
  font-size: var(--typography-size-caption);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.eyebrow-gold {
  color: var(--color-text-highlight);
}

.hero h1 {
  width: min(720px, 100%);
  margin: 22px 0 0;
  font-family: var(--typography-family-display);
  font-size: var(--typography-size-hero);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  width: min(560px, 100%);
  margin: 28px 0 0;
  color: var(--landing-color-inverse-text);
  font-size: var(--landing-typography-size-hero-copy);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: var(--typography-size-body);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: var(--component-button-primary-text);
  background: var(--component-button-primary-background);
  box-shadow: var(--shadow-action-css);
}

.button-secondary {
  color: var(--color-text-inverse);
  background: var(--landing-color-inverse-panel);
  border-color: var(--landing-color-inverse-panel-border);
  backdrop-filter: blur(8px);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-action-primary-pressed);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--landing-color-inverse-panel-hover);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--color-action-secondary);
  background: var(--color-surface-raised);
}

.signal-strip div {
  min-height: 118px;
  padding: 26px 40px;
  border-right: 1px solid var(--color-border-subtle);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong {
  display: block;
  font-family: var(--typography-family-display);
  font-size: var(--landing-typography-size-signal);
  font-weight: 400;
  line-height: 1;
}

.signal-strip span {
  display: block;
  max-width: 300px;
  margin-top: 10px;
  color: var(--color-text-muted);
  font-size: var(--typography-size-body);
}

.section {
  padding: 110px 40px;
}

.problem-section,
.how-section,
#weddings,
.feature-band,
.pricing-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--viewport-section-min-height);
}

.reveal-section {
  min-height: var(--viewport-section-min-height);
}

.section-grid,
.section-heading,
.steps-grid,
.feature-grid,
.pricing-grid,
.early-access,
.site-footer {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 70px;
  align-items: start;
}

h2 {
  margin: 0;
  font-family: var(--typography-family-display);
  font-size: var(--landing-typography-size-section-title);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: var(--typography-size-title-sm);
  line-height: 1.12;
  letter-spacing: 0;
}

p {
  letter-spacing: 0;
}

.lead {
  max-width: 780px;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--typography-size-title-sm);
  line-height: 1.58;
}

.contrast-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.contrast-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
}

.contrast-card h3 {
  margin-top: 28px;
  font-family: var(--typography-family-display);
  font-size: var(--landing-typography-size-title-large);
  font-weight: 400;
}

.contrast-card p {
  margin: 16px 0 0;
  color: var(--color-text-secondary);
  font-size: var(--landing-typography-size-body-mid);
}

.contrast-muted {
  color: var(--color-text-primary);
  background: var(--landing-effect-contrast-muted-background);
}

.contrast-focus {
  color: var(--color-text-inverse);
  background: var(--color-surface-inverse);
  box-shadow: var(--shadow-raised-css);
}

.contrast-focus p,
.contrast-focus .mono-label {
  color: var(--landing-color-inverse-text-subtle);
}

.mono-label {
  display: inline-flex;
  color: var(--color-text-muted);
  font-family: var(--typography-family-mono);
  font-size: var(--typography-size-caption);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.how-section {
  background: var(--color-surface-sunken);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-top: 18px;
}

.section-heading p:last-child {
  max-width: 500px;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--landing-typography-size-section-copy);
  line-height: 1.58;
}

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

.step-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
}

.step-number {
  color: var(--color-text-muted);
  font-family: var(--typography-family-mono);
  font-size: var(--typography-size-caption);
  letter-spacing: 0;
}

.step-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-top: auto;
  color: var(--color-text-inverse);
  background: var(--color-action-secondary);
  border-radius: var(--radius-pill);
}

.step-icon svg {
  width: 26px;
  height: 26px;
}

.step-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-card h3 {
  margin-top: 22px;
  font-family: var(--typography-family-display);
  font-size: var(--landing-typography-size-step-title);
  font-weight: 400;
}

.step-card p {
  margin: 12px 0 0;
  color: var(--color-text-secondary);
  font-size: var(--typography-size-body);
}

.reveal-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 70px;
  align-items: center;
  padding: 120px 40px;
  color: var(--color-text-inverse);
  background: var(--landing-effect-reveal-background);
  border-bottom: 1px solid var(--color-action-secondary);
}

.reveal-copy,
.film-console {
  width: min(100%, 560px);
}

.reveal-copy {
  justify-self: end;
}

.reveal-copy h2 {
  margin-top: 18px;
}

.reveal-copy p {
  margin: 24px 0 0;
  color: var(--landing-color-inverse-text-muted);
  font-size: var(--landing-typography-size-section-copy);
  line-height: 1.62;
}

.reveal-list {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
}

.reveal-list div {
  padding: 16px 0;
  border-top: 1px solid var(--landing-color-inverse-rule);
}

.reveal-list dt {
  margin: 0;
  color: var(--color-text-highlight);
  font-family: var(--typography-family-mono);
  font-size: var(--typography-size-caption);
  text-transform: uppercase;
  letter-spacing: 0;
}

.reveal-list dd {
  margin: 7px 0 0;
  color: var(--landing-color-inverse-text);
  font-size: var(--landing-typography-size-body-mid);
}

.film-console {
  position: relative;
  justify-self: start;
}

.film-frame {
  min-height: 520px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--landing-color-inverse-border);
  border-radius: var(--radius-card);
  background: var(--landing-effect-film-frame-background);
  box-shadow: var(--landing-effect-film-frame-shadow);
}

.film-frame::before,
.film-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 36px;
  background: var(--landing-color-film-gate);
}

.film-frame::before {
  top: 0;
}

.film-frame::after {
  bottom: 0;
}

.film-topline,
.film-progress {
  position: absolute;
  left: 34px;
  right: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--landing-color-inverse-text-subtle);
  font-family: var(--typography-family-mono);
  font-size: var(--typography-size-caption);
  letter-spacing: 0;
  text-transform: uppercase;
}

.film-topline {
  top: 54px;
}

.film-person {
  position: relative;
  z-index: 2;
  color: var(--color-text-inverse);
  font-family: var(--typography-family-display);
  font-size: var(--typography-size-hero);
  font-style: italic;
  line-height: 1;
  text-align: center;
}

.film-frame blockquote {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin: 24px auto 0;
  color: var(--landing-color-inverse-text-strong);
  font-family: var(--typography-family-display);
  font-size: var(--landing-typography-size-film-quote);
  font-style: italic;
  line-height: 1.24;
  text-align: center;
}

.film-progress {
  bottom: 54px;
  gap: 14px;
}

.film-progress div {
  flex: 1;
  height: 2px;
  background: var(--landing-color-inverse-progress-track);
}

.film-progress i {
  display: block;
  width: 32%;
  height: 2px;
  background: var(--color-text-inverse);
}

.sealed-stack {
  position: absolute;
  right: -20px;
  bottom: -24px;
  display: flex;
  gap: 8px;
  transform: rotate(-3deg);
}

.sealed-stack span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 54px;
  color: var(--color-text-primary);
  background: var(--color-surface-raised);
  border: 1px solid var(--landing-color-ink-card-border);
  border-radius: var(--radius-xs);
  box-shadow: var(--landing-effect-sealed-card-shadow);
  font-family: var(--typography-family-mono);
  font-size: var(--typography-size-caption);
  letter-spacing: 0;
}

.event-modes {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.event-modes article {
  padding: 22px 0;
  border-top: 1px solid var(--color-border-subtle);
}

.event-modes h3 {
  font-family: var(--typography-family-display);
  font-size: var(--landing-typography-size-event-title);
  font-weight: 400;
}

.event-modes p {
  max-width: 620px;
  margin: 9px 0 0;
  color: var(--color-text-secondary);
}

.feature-band {
  padding: 110px 40px;
  background: var(--color-surface-raised);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--color-border-subtle);
}

.feature-grid article {
  min-height: 224px;
  padding: 26px;
  border-right: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  background: var(--color-surface-raised);
}

.feature-grid article:nth-child(3n) {
  border-right: 0;
}

.feature-grid article:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.feature-dot {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 34px;
  border-radius: var(--radius-pill);
}

.feature-dot.wax {
  background: var(--color-action-primary);
}

.feature-dot.gold {
  background: var(--color-action-highlight);
}

.feature-dot.night {
  background: var(--color-surface-inverse);
}

.feature-dot.teal {
  background: var(--color-primitive-teal);
}

.feature-grid h3 {
  font-family: var(--typography-family-display);
  font-size: var(--landing-typography-size-title-medium);
  font-weight: 400;
}

.feature-grid p {
  margin: 12px 0 0;
  color: var(--color-text-secondary);
  font-size: var(--typography-size-body);
}

.pricing-section {
  background: var(--color-surface-default);
}

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

.price-card {
  position: relative;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
}

.price-card-featured {
  color: var(--color-text-inverse);
  background: var(--color-action-secondary);
  border-color: var(--color-action-secondary);
  box-shadow: var(--shadow-raised-css);
}

.popular {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 7px 10px;
  color: var(--color-text-primary);
  background: var(--color-action-highlight);
  border-radius: var(--radius-pill);
  font-family: var(--typography-family-mono);
  font-size: var(--typography-size-caption);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.price-card h3 {
  font-family: var(--typography-family-display);
  font-size: var(--landing-typography-size-title-large);
  font-weight: 400;
}

.price {
  margin: 20px 0 0;
  font-family: var(--typography-family-display);
  font-size: var(--landing-typography-size-price);
  line-height: 1;
}

.price-note {
  min-height: 48px;
  margin: 12px 0 0;
  color: var(--color-text-muted);
  font-size: var(--typography-size-body);
}

.price-card-featured .price-note {
  color: var(--landing-color-inverse-text-quiet);
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  gap: 10px;
  color: var(--color-text-secondary);
  font-size: var(--typography-size-body);
}

.price-card-featured li {
  color: var(--landing-color-inverse-text);
}

.price-card li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: var(--radius-pill);
  background: var(--color-action-primary);
}

.price-card-featured li::before {
  background: var(--color-action-highlight);
}

.early-access {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: center;
  padding: 90px 40px;
  color: var(--color-text-inverse);
  background: var(--color-surface-inverse);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised-css);
}

.early-access h2 {
  margin-top: 18px;
}

.early-access p {
  margin: 22px 0 0;
  color: var(--landing-color-inverse-text-muted);
  font-size: var(--typography-size-body-lg);
}

.signup-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 26px;
  color: var(--color-text-primary);
  background: var(--landing-effect-signup-background);
  border: 1px solid var(--landing-color-form-border);
  border-radius: var(--radius-card);
  box-shadow: var(--landing-effect-signup-shadow);
}

.signup-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background-image: var(--landing-effect-signup-texture);
  background-size: 18px 18px;
  mix-blend-mode: multiply;
  opacity: 0.4;
}

.form-field {
  position: relative;
  display: grid;
  gap: 9px;
}

.form-field-hidden {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-form .button,
.form-status,
.form-note {
  position: relative;
  grid-column: 1 / -1;
}

.form-field > span {
  color: var(--color-text-muted);
  font-family: var(--typography-family-mono);
  font-size: var(--typography-size-caption);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.signup-form input {
  width: 100%;
  min-height: 54px;
  padding: 15px 15px 14px;
  color: var(--component-input-text);
  background: var(--landing-effect-input-background);
  border: 1px solid var(--component-input-border);
  border-radius: var(--component-input-radius);
  box-shadow: var(--landing-effect-input-inset-shadow);
  font-family: var(--typography-family-body);
  font-size: var(--landing-typography-size-body-mid);
  line-height: 1.2;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.signup-form input::placeholder {
  color: var(--landing-color-input-placeholder);
}

.signup-form input:focus {
  background: var(--component-input-background-focus);
  border-color: var(--component-input-border-focus);
  box-shadow: var(--landing-effect-input-focus-shadow);
  outline: none;
}

.custom-select {
  position: relative;
  z-index: 4;
}

.select-trigger {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 14px 14px 15px;
  color: var(--component-input-text);
  background: var(--landing-effect-input-background);
  border: 1px solid var(--component-input-border);
  border-radius: var(--component-input-radius);
  box-shadow: var(--landing-effect-input-inset-shadow);
  cursor: pointer;
  font-family: var(--typography-family-body);
  font-size: var(--landing-typography-size-body-mid);
  line-height: 1.2;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.select-trigger svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--color-action-primary);
  transition: transform 160ms ease;
}

.select-trigger path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.custom-select.is-open .select-trigger svg {
  transform: rotate(180deg);
}

.select-trigger:hover,
.select-trigger:focus-visible,
.custom-select.is-open .select-trigger {
  background: var(--component-input-background-focus);
  border-color: var(--component-input-border-focus);
  box-shadow: var(--landing-effect-input-focus-shadow);
  outline: none;
}

.select-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  display: grid;
  gap: 4px;
  max-height: 310px;
  overflow: auto;
  padding: 8px;
  background: var(--landing-effect-select-panel-background);
  border: 1px solid var(--landing-color-select-panel-border);
  border-radius: var(--radius-card);
  box-shadow: var(--landing-effect-select-panel-shadow);
  transform: translateY(-4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.select-panel[hidden] {
  display: none;
}

.custom-select.is-open .select-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.custom-select.has-error .select-trigger {
  border-color: var(--component-input-border-focus);
  box-shadow: var(--landing-effect-input-focus-shadow);
}

.select-option {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: var(--component-input-radius);
  cursor: pointer;
  color: var(--color-text-primary);
}

.select-option strong {
  font-size: var(--typography-size-body);
  font-weight: 700;
  line-height: 1.1;
}

.select-option span {
  color: var(--color-text-muted);
  font-size: var(--typography-size-body-sm);
  line-height: 1.25;
}

.select-option:hover,
.select-option:focus,
.select-option[aria-selected="true"] {
  background: var(--landing-color-select-option-hover);
  border-color: var(--landing-color-select-option-border);
  outline: none;
}

.select-option[aria-selected="true"] strong {
  color: var(--color-action-primary);
}

.signup-form .button {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--landing-typography-size-helper);
}

.form-status[data-state="error"] {
  color: var(--color-action-primary);
}

.form-status[data-state="success"] {
  color: var(--color-primitive-teal);
}

.form-note {
  margin: -2px 0 0;
  color: rgba(27, 24, 19, 0.58);
  font-size: 12px;
  line-height: 1.5;
}

.faq-section {
  background: var(--color-surface-default);
}

.faq-list {
  border-top: 1px solid var(--color-action-secondary);
}

details {
  border-bottom: 1px solid var(--color-border-subtle);
}

summary {
  cursor: pointer;
  padding: 24px 0;
  font-family: var(--typography-family-display);
  font-size: var(--landing-typography-size-title-medium);
  line-height: 1.18;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  margin-left: 20px;
  color: var(--color-action-primary);
  font-family: var(--typography-family-body);
  font-size: var(--typography-size-title);
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 660px;
  margin: -8px 0 24px;
  color: var(--color-text-secondary);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding: 44px 40px 54px;
}

.footer-brand .brand-word {
  font-size: var(--landing-typography-size-step-title);
}

.site-footer p {
  max-width: 360px;
  margin: 16px 0 0;
  color: var(--color-text-muted);
  font-size: var(--typography-size-body);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 18px;
}

.footer-links a {
  color: var(--color-text-secondary);
  font-size: var(--typography-size-body);
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-action-primary);
  outline: none;
}

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

  .hero h1 {
    font-size: var(--landing-typography-size-hero-title-tablet);
  }

  h2 {
    font-size: var(--landing-typography-size-section-title-tablet);
  }

  .section-grid,
  .section-heading,
  .reveal-section,
  .early-access {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .reveal-copy,
  .film-console {
    width: min(100%, 720px);
    justify-self: center;
  }

  .steps-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid article:nth-child(3n) {
    border-right: 1px solid var(--color-border-subtle);
  }

  .feature-grid article:nth-child(2n) {
    border-right: 0;
  }

  .feature-grid article:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .feature-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --viewport-section-min-height: calc(100dvh - var(--header-height));
  }

  .site-header {
    grid-template-columns: auto auto;
    gap: 16px;
    min-height: var(--header-height);
    padding: 14px 22px;
  }

  .brand-word {
    font-size: var(--landing-typography-size-brand-compact);
  }

  .nav-toggle {
    justify-self: end;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    gap: 5px;
    padding: 11px;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-pill);
    color: var(--color-text-primary);
    background: var(--color-surface-raised);
    cursor: pointer;
  }

  .nav-toggle-line {
    width: 18px;
    height: 1px;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 14px;
    right: 14px;
    z-index: 100;
    display: none;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-raised-css);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
    min-height: 44px;
  }

  .header-cta {
    display: none;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-scrim {
    background: var(--landing-effect-hero-scrim-mobile);
  }

  .hero-inner {
    min-height: var(--viewport-section-min-height);
    padding: 54px 22px 42px;
  }

  .hero h1 {
    font-size: var(--landing-typography-size-hero-title-mobile);
    line-height: 0.98;
  }

  .hero-copy {
    font-size: var(--landing-typography-size-section-copy);
  }

  .button {
    width: 100%;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    min-height: auto;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .section,
  .feature-band,
  .reveal-section {
    padding: 76px 22px;
  }

  h2 {
    font-size: var(--landing-typography-size-section-title-mobile);
    line-height: 1;
  }

  .lead {
    font-size: var(--landing-typography-size-lead-mobile);
  }

  .contrast-row,
  .steps-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .contrast-card,
  .step-card,
  .price-card {
    min-height: auto;
  }

  .feature-grid article,
  .feature-grid article:nth-child(2n),
  .feature-grid article:nth-child(3n),
  .feature-grid article:nth-last-child(-n + 2),
  .feature-grid article:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .feature-grid article:last-child {
    border-bottom: 0;
  }

  .film-frame {
    min-height: 430px;
    padding: 24px;
  }

  .film-topline,
  .film-progress {
    left: 24px;
    right: 24px;
    font-size: var(--typography-size-eyebrow);
  }

  .film-person {
    font-size: var(--landing-typography-size-film-person-mobile);
  }

  .film-frame blockquote {
    font-size: var(--typography-size-title);
  }

  .sealed-stack {
    right: 6px;
    bottom: -18px;
  }

  .sealed-stack span {
    width: 72px;
  }

  .early-access {
    width: auto;
    margin: 0 14px;
    padding: 48px 22px;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 42px 22px 50px;
  }

  .footer-links {
    justify-content: start;
  }
}

@media (max-width: 440px) {
  .hero h1 {
    font-size: var(--landing-typography-size-hero-title-compact);
  }

  h2 {
    font-size: var(--landing-typography-size-section-title-compact);
  }

  .signal-strip strong {
    font-size: var(--landing-typography-size-signal-compact);
  }

  .section-heading {
    gap: 22px;
  }

  .contrast-card h3 {
    font-size: var(--landing-typography-size-step-title);
  }

  .film-frame {
    min-height: 390px;
  }

  .sealed-stack {
    display: none;
  }

  summary {
    font-size: var(--landing-typography-size-title-compact);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
