/* Only the word on the member card is serif, as in the app. This file holds just those letters. */
@font-face { font-family: "Card Serif"; src: url(/assets/fonts/newsreader-card.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

/* The Founder card's tokens, from App/Floatdesk/UI/MemberViewController.swift. */
:root {
  --night: #0E0D0B; --surface: #1B1814; --line: #38312A;
  --gold: #D4B373; --ivory: #F2E8D4; --mist: #B3A896;
  --card-serif: "Card Serif", "New York", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --step: clamp(96px, 14vw, 200px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--night); color: var(--ivory); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img, video, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2 { font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 4.8vw, 4.25rem); line-height: 1.06; max-width: 18ch; }
h3 { font-size: 1.1rem; font-weight: 600; }
section > p, .cinema-head p, .audio p { color: var(--mist); max-width: 34em; }
.fine { color: var(--mist); font-size: 0.875rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--ivory); color: var(--night); font-weight: 600; text-decoration: none; transition: background .2s; }
.btn:hover { background: #fff; }
.btn.ghost { background: none; color: var(--ivory); box-shadow: inset 0 0 0 1px var(--gold); }
.btn.ghost:hover { background: var(--surface); }
.btn.small { min-height: 38px; padding: 0 18px; font-size: 0.9375rem; }
.link { color: var(--ivory); text-underline-offset: 4px; text-decoration-color: var(--gold); }

.offer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 18px; padding: 10px var(--gutter); background: var(--gold); color: var(--night); font-size: 0.9375rem; font-weight: 500; text-align: center; }
.offer a { font-weight: 700; text-underline-offset: 3px; }

.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 32px; height: 64px; padding: 0 var(--gutter); background: rgba(14, 13, 11, .9); }
.brand { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.brand svg { width: 24px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; }
.nav nav { display: flex; gap: 28px; font-size: 0.9375rem; }
.nav nav a { color: var(--mist); text-decoration: none; }
.nav nav a:hover { color: var(--ivory); }

/* Hero: the card's four outlines are the room's four monitors. */
.stage { height: 100vh; height: 100svh; position: relative; }
.js .stage { height: 300vh; height: 300svh; }
.room { display: none; }
.js .room { display: block; opacity: 0; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stars { position: absolute; inset: -6%; width: 112%; height: 112%; opacity: 0; }
.hero-copy { position: absolute; left: var(--gutter); top: calc(50% - var(--chrome, 0px) / 2); transform: translateY(-50%); width: min(47vw, 660px); z-index: 3; }
.hero-copy h1 { font-size: clamp(3rem, 5.5vw, 6rem); line-height: 1.02; }
.hero-copy p { margin-top: 26px; color: var(--mist); max-width: 30em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.member { position: absolute; right: var(--gutter); top: calc(50% - var(--chrome, 0px) / 2); width: min(41vw, 580px); transform: translateY(-50%); perspective: 1400px; z-index: 1; }
.card { container-type: inline-size; position: relative; display: block; aspect-ratio: 1.586; border-radius: 4.4cqw; border-radius: clamp(14px, 2vw, 26px); background: var(--surface); box-shadow: inset 0 0 0 1px rgba(212, 179, 115, .55), 0 40px 90px rgba(0, 0, 0, .6); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 220, 115, .09) 50%, transparent 60%); background-size: 260% 100%; background-position: var(--sheen, 110%) 0; }
.word { position: absolute; left: 7%; top: 10.5%; color: var(--gold); font-size: 2.4cqw; font-weight: 600; letter-spacing: .34em; }
.spark { position: absolute; right: 6.5%; top: 9%; width: 5%; fill: var(--gold); }
.slot { position: absolute; left: 34%; top: 15%; width: 58%; height: 45%; }
.outlines { position: absolute; left: 34%; top: 15%; width: 58%; height: 45%; fill: none; stroke: var(--gold); stroke-width: 1; opacity: .7; }
.tier { position: absolute; left: 7%; bottom: 8.5%; }
.tier small, .since small { display: block; color: var(--mist); font-size: 1.9cqw; font-weight: 500; letter-spacing: .24em; }
.tier b { display: block; margin-top: .1em; font: 500 11.7cqw/1 var(--card-serif); }
.since { position: absolute; right: 7%; bottom: 9%; text-align: right; }
.since b { display: block; margin-top: .2em; font: 400 4.1cqw/1 var(--card-serif); }

.room { position: absolute; inset: 0; z-index: 2; perspective: var(--p, 1000px); transform-origin: 0 0; pointer-events: none; will-change: transform; }
.world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--p, 1000px) - var(--cam, 0px))) rotateX(var(--pitch, 0deg)) rotateY(var(--yaw, 0deg)); }
.panel { position: absolute; width: var(--pw, 800px); height: calc(var(--pw, 800px) * .625); left: calc(var(--pw, 800px) / -2); top: calc(var(--pw, 800px) * -.3125); border-radius: calc(var(--pw, 800px) * .016); overflow: hidden; backface-visibility: hidden; box-shadow: 0 0 0 var(--ring, 1px) var(--gold); background: transparent; }
.panel img, .panel video { width: 100%; height: 100%; object-fit: cover; opacity: var(--tex, 0); }
.p-center { transform: translateZ(calc(var(--p, 1000px) * -1)); }
.p-left { transform: rotateY(47deg) translateZ(calc(var(--p, 1000px) * -1)); }
.p-right { transform: rotateY(-47deg) translateZ(calc(var(--p, 1000px) * -1)); }
.p-top { transform: rotateX(-33deg) translateZ(calc(var(--p, 1000px) * -1)); }
.room-note { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 4; padding: 0 var(--gutter); text-align: center; color: var(--ivory); font-size: 0.9375rem; opacity: 0; }
.pin.live { cursor: grab; touch-action: pan-y; }
.pin.live:active { cursor: grabbing; }

section:not(.stage) { padding: var(--step) var(--gutter); }

.kit { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--line); }
.kit li { display: flex; flex-direction: column; padding: 32px 24px 32px 0; }
.kit .ico { display: flex; gap: 4px; color: var(--gold); margin-bottom: 20px; }
.kit .ico svg { width: 68px; height: 68px; }
.kit b { font-size: 1.3125rem; font-weight: 600; line-height: 1.25; }
.kit span { margin-top: 6px; color: var(--mist); font-size: 0.9375rem; }
.need .aside { margin-top: 24px; color: var(--ivory); }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 110px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-size: clamp(3.5rem, 6.5vw, 5.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--gold); margin-bottom: 18px; }
.steps p { margin-top: 8px; color: var(--mist); max-width: 26em; }

section.inside { padding: 0; position: relative; }
.inside video { width: 100%; aspect-ratio: 2.333; object-fit: cover; background: #000; }
.inside-copy { padding: 56px var(--gutter) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: end; }
.inside-copy p { color: var(--mist); }
.inside-copy .fine { grid-column: 2; }

.moves { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-top: 64px; }
.moves svg { width: 52px; height: 52px; color: var(--gold); margin-bottom: 16px; }
/* Tilt leans the top and bottom, so its icon is turned to match. */
.moves .turned { margin: 0; }
.moves .turned svg { transform: rotate(-90deg); }
.moves b { display: block; font-size: 1.1875rem; font-weight: 600; line-height: 1.25; }
.moves span { display: block; margin-top: 6px; color: var(--mist); font-size: 0.9375rem; }

section.cinema { background: #000; }
.cinema-head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: end; }
.theatre { display: flex; justify-content: center; align-items: center; margin-top: 64px; aspect-ratio: 16 / 7.2; }
.screen { width: var(--w); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.screen video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.seats-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 48px; margin-top: 48px; }
.seats { display: flex; flex-wrap: wrap; gap: 8px; }
.seats button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--mist); font: 500 1rem var(--sans); cursor: pointer; }
.seats button:hover { color: var(--ivory); }
.seats button[aria-pressed="true"] { background: var(--ivory); color: var(--night); box-shadow: none; }
.cone { display: flex; align-items: center; gap: 18px; }
.cone svg { width: 110px; flex: none; }
.cone path { fill: rgba(212, 179, 115, .16); stroke: var(--gold); stroke-width: 1.5; transition: d .7s cubic-bezier(.2, .8, .2, 1); }
.cone circle { fill: var(--ivory); }
.cone p { color: var(--mist); max-width: 19em; font-size: 0.9375rem; }

.audio { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.audio p { margin-top: 24px; }
.turn { display: block; margin-top: 36px; max-width: 24em; color: var(--ivory); font-size: 0.9375rem; }
.turn input { display: block; width: 100%; margin-top: 12px; accent-color: var(--gold); }
.audio svg { width: 100%; fill: none; stroke: var(--ivory); stroke-width: 1.5; }
.audio .mon { fill: var(--gold); stroke: none; }
.audio .dim { stroke: var(--line); }
.audio .wave { stroke: var(--gold); opacity: .8; }
.audio text { fill: var(--mist); stroke: none; font: 400 14px var(--sans); }
#head { transform-origin: 180px 150px; transform: rotate(var(--turn, 0deg)); }
.ears { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; color: var(--mist); font-size: 0.875rem; }
.ears i { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: var(--gold); width: var(--v, 50%); transition: width .15s; }

.path { margin-top: 64px; }
.path > svg { width: 100%; fill: none; }
.path text { fill: var(--mist); stroke: none; font: 400 20px var(--sans); }
.path .mid { fill: var(--ivory); }
.path .wall { stroke: var(--line); stroke-width: 1.5; }
.path .dev { color: var(--ivory); }
.path .beam { stroke: var(--gold); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; }
.path.on .beam { animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.path .none rect { stroke: var(--mist); stroke-width: 1.5; stroke-dasharray: 5 7; }
.path .none text { fill: var(--mist); }
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; color: var(--mist); font-size: 0.9375rem; }
.proof b { display: block; margin-bottom: 4px; color: var(--ivory); font-size: 1.125rem; font-weight: 600; line-height: 1.3; }

.measured > p:not(.fine) { margin-top: 22px; }
.lat { margin-top: 72px; }
.lat figcaption { color: var(--mist); font-size: 0.9375rem; }
.axis { position: relative; height: 108px; margin-top: 8px; }
.axis::before { content: ""; position: absolute; left: 0; right: 0; bottom: 30px; height: 1px; background: var(--line); }
.band { position: absolute; bottom: 26px; height: 9px; border-radius: 4px; background: var(--gold); }
.axis b { position: absolute; bottom: 42px; transform: translateX(-50%); font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.axis i { position: absolute; bottom: 0; color: var(--mist); font-size: 0.8125rem; font-style: normal; transform: translateX(-50%); }
.axis i:first-of-type { transform: none; } .axis i:last-of-type { transform: translateX(-100%); white-space: nowrap; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 64px; }
.nums dt { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.nums dd { margin-top: 6px; color: var(--mist); font-size: 0.9375rem; }
.measured .fine { margin-top: 36px; }

.plans-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 72px; margin-top: 64px; align-items: start; }
/* Without the Founders card, the plans take the full width. */
.plans-grid:not(:has(.founders)) { grid-template-columns: 1fr; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cols h3 { font-size: 1.625rem; font-weight: 700; line-height: 1.15; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cols > div:last-child h3 { color: var(--gold); border-color: var(--gold); }
.cols li { padding: 11px 0; color: var(--mist); }
.founders .card { box-shadow: inset 0 0 0 1px rgba(212, 179, 115, .55); }
.founders h3 { margin-top: 26px; font-size: 1.625rem; font-weight: 700; line-height: 1.15; }
.founders p { margin-top: 8px; color: var(--mist); }
.founders .price { margin-top: 10px; color: var(--ivory); font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.founders .price span { color: var(--gold); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; }
.founders .price-note { margin-top: 6px; font-size: 0.9375rem; }
.plans > .fine { margin-top: 40px; }

section.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px 48px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 0; cursor: pointer; font-weight: 500; }
.faq details p { padding: 0 0 22px; color: var(--mist); max-width: 40em; }
.faq .fine { grid-column: 2; }

.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 64px; }
.dl > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dl h3 { font-size: 1.625rem; font-weight: 700; line-height: 1.15; }
.dl p { color: var(--mist); }
.verify code { display: block; overflow-wrap: anywhere; font-size: 0.75rem; color: var(--mist); margin: 8px 0; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 40px var(--gutter) 56px; border-top: 1px solid var(--line); color: var(--mist); font-size: 0.875rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--ivory); }

/* Help and legal pages */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; max-width: 1120px; margin: 0 auto; padding: 64px var(--gutter) 96px; }
.doc aside a { display: block; padding: 6px 0; color: var(--mist); font-size: 0.9375rem; text-decoration: none; }
.doc aside a:hover, .doc aside a[aria-current] { color: var(--ivory); }
.doc aside a[aria-current] { color: var(--gold); }
.prose { max-width: 40em; }
.prose.solo { grid-column: 1 / -1; margin: 0 auto; width: 100%; }
.prose h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.05; margin-bottom: 18px; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.2; margin: 44px 0 10px; max-width: none; }
.prose h3 { margin: 28px 0 6px; }
.prose p, .prose ul, .prose ol { color: var(--mist); margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.2em; } .prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ivory); font-weight: 600; }
.prose a { color: var(--gold); text-underline-offset: 3px; }
.prose .mail { font-size: 1.2rem; color: var(--ivory); user-select: all; }
.toc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; padding: 0 !important; list-style: none !important; margin-top: 32px; }
.toc li { border-top: 1px solid var(--line); padding: 16px 0; margin: 0; }
.toc a { display: block; color: var(--ivory); font-size: 1.125rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.toc span { font-size: 0.9375rem; }
.crumb { font-size: 0.9375rem; margin-bottom: 18px !important; } .crumb a { text-decoration: none; } .crumb a::before { content: "\2190\00a0"; }
.post-meta { font-size: 0.9375rem; margin-bottom: 32px !important; }
.posts { grid-template-columns: 1fr; } .posts time { display: block; color: var(--mist); font-size: 0.875rem; margin: 4px 0 6px; }

@media (max-width: 900px) {
  .nav { gap: 18px; }
  .nav nav a:not([href*="help"]) { display: none; }
  .offer { flex-wrap: nowrap; gap: 12px; padding: 8px var(--gutter); font-size: 0.8125rem; line-height: 1.3; text-align: left; justify-content: space-between; }
  .offer a { flex: none; }
  .hero-copy { top: 22px; transform: none; width: auto; right: var(--gutter); }
  .hero-copy h1 { font-size: clamp(3rem, 14vw, 5.5rem); }
  .hero-copy p { margin-top: 16px; }
  .actions { margin-top: 20px; }
  .member { top: auto; bottom: calc(22px + var(--chrome, 0px)); left: var(--gutter); right: var(--gutter); width: auto; max-width: 440px; margin: 0 auto; transform: none; }
  html:not(.js) .stage { height: auto; }
  html:not(.js) .pin { position: static; height: auto; padding: 22px var(--gutter); }
  html:not(.js) .hero-copy, html:not(.js) .member { position: static; margin-top: 28px; }
  .kit { grid-template-columns: 1fr 1fr; }
  .steps, .inside-copy, .cinema-head, .audio, .plans-grid, section.faq, .dl { grid-template-columns: 1fr; }
  .path text { font-size: 32px; }
  .path .mid { transform: translateY(-58px); }
  .path .none text { font-size: 30px; }
  .inside-copy .fine, .faq .fine { grid-column: 1; }
  .moves { grid-template-columns: 1fr 1fr; }
  .proof, .nums { grid-template-columns: 1fr 1fr; }
  .steps { margin-top: 72px; }
  .inside video { aspect-ratio: 16 / 10; }
  .theatre { aspect-ratio: 16 / 9; }
  .doc { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .doc aside { display: none; }
  .toc { grid-template-columns: 1fr; }
}
@media (max-width: 900px) and (max-height: 620px) {
  .hero-copy h1 { font-size: 2.75rem; }
  .hero-copy p { font-size: 1rem; line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .stage { height: 100vh; height: 100svh; }
  .js .room { display: none; }
  .screen, .cone path, .ears i { transition: none; }
  .path.on .beam { animation: none; }
}
