/* Lumenia public site: the same screening room as the portal. The one bold moment is the TV in the
   hero, lit by the projector's lamp; everything around it stays quiet. */

.site main { width: auto; margin: 0; padding: 0; }
.site { --wide: min(1240px, 100% - 48px); --narrow: min(760px, 100% - 48px); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.skip:focus { top: 12px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }

/* Header and footer ------------------------------------------------------------------------------ */
.site-top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--velvet) 80%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
}
.site-top-inner { width: var(--wide); margin: 0 auto; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav-link { white-space: nowrap; padding: 8px 12px; color: var(--muted); font-weight: 500; border-radius: 999px; }
.site-nav-link:hover { color: var(--ivory); text-decoration: none; background: var(--surface); }
.site-nav .btn { margin-left: 8px; }
.site-nav .short { display: none; }
.site-notices { width: var(--wide); margin: 24px auto 0; }
.site-notices .notices { margin: 0; }

.site-foot { border-top: 1px solid var(--line); background: var(--velvet-deep); padding: 56px 0 40px; }
.site-foot-inner { width: var(--wide); margin: 0 auto; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.site-foot-brand { max-width: 52ch; }
.site-foot-brand p { color: var(--faint); font-size: 14px; margin-top: 16px; }
.site-foot-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; align-content: start; }
.site-foot-links a { color: var(--muted); font-size: 15px; }
.site-foot-links a:hover { color: var(--ivory); }
.site-foot-copy { width: var(--wide); margin: 40px auto 0; color: var(--faint); font-size: 13px; }

/* Hero ------------------------------------------------------------------------------------------- */
.hero {
  width: var(--wide); margin: 0 auto; padding: 88px 0 112px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center;
}
.hero h1 { font-size: clamp(40px, 4.7vw, 66px); line-height: 1.03; letter-spacing: -0.022em; font-variation-settings: "opsz" 96; text-wrap: balance; }
.hero-lede { color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; max-width: 46ch; margin-top: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-note { color: var(--faint); font-size: 14px; margin-top: 20px; }

.hero-stage { position: relative; }
/* Glows reach past the screen's edges by design: they must never widen the page (a phone would
   scroll sideways). clip, unlike hidden, leaves the sticky header working. */
.site main { overflow-x: clip; }
/* The projector's lamp, falling on the TV from above. */
.beam {
  position: absolute; inset: -160px -120px -80px; pointer-events: none;
  background:
    radial-gradient(closest-side at 50% 22%, rgba(245, 201, 121, 0.16), transparent),
    radial-gradient(closest-side at 50% 60%, rgba(242, 167, 105, 0.13), transparent);
}

.tv { position: relative; margin: 0; }
.tv-screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: #080607; border: 9px solid #0e0b0c;
  box-shadow: 0 0 0 1px #2f2729, 0 50px 90px -30px rgba(0, 0, 0, 0.85), 0 0 120px -40px rgba(245, 201, 121, 0.35);
  container-type: inline-size;
}
.tv-stand { width: 34%; height: 18px; margin: 0 auto; background: linear-gradient(#141119, #0b090f);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }

/* The TV's interface, drawn at an 82-unit width so it scales with the screen. */
.tvui { position: absolute; inset: 0; font-size: calc(100cqw / 82); color: #f4f2f8; font-family: var(--text); overflow: hidden; background: #08070c; }
.tvui-backdrop { position: absolute; inset: 0 0 0 30%; opacity: 0.8;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.tvui::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, #08070c 6%, transparent 48%); pointer-events: none; }
.tvui-body { position: relative; z-index: 2; padding: 4em 0 0 5.6em; }
.tvui-kicker { color: var(--accent); font-weight: 600; font-size: 1.05em; letter-spacing: 0.08em; text-transform: uppercase; }
.tvui-title { font: 700 3.4em/1.1 var(--display); letter-spacing: -0.03em; margin-top: 0.15em; }
.tvui-chips { display: flex; align-items: center; gap: 0.7em; margin-top: 1.1em; font-size: 1.1em; }
.tvui-chips span { padding: 0.3em 0.65em; border-radius: 0.45em; background: rgba(255, 255, 255, 0.09); color: #d9d5e2; }
.tvui-chips .star { color: #f5c979; }
.tvui-chips .plain { background: none; padding: 0; color: #b8b2c4; }
.tvui-desc { color: #cfcad8; font-size: 1.25em; line-height: 1.45; max-width: 34em; margin-top: 1em; }
.tvui-buttons { display: flex; gap: 0.8em; margin-top: 1.5em; font-size: 1.2em; }
.tvui-btn { padding: 0.75em 1.4em; border-radius: 99em; background: rgba(255, 255, 255, 0.1); font-weight: 600; }
.tvui-btn.on { background: #fff; color: #111; box-shadow: 0 0 0 0.18em rgba(255, 255, 255, 0.25); }
.tvui-desc.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tvui-row-title { font-weight: 600; font-size: 1.3em; margin-top: 2.2em; }
.tvui-posters { display: flex; gap: 1.2em; margin-top: 0.9em; }
.tvui-poster { position: relative; flex: 0 0 9.6em; aspect-ratio: 2 / 3; border-radius: 0.7em; }
.tvui-poster:first-child { box-shadow: 0 0 0 0.25em #fff; transform: scale(1.04); transform-origin: left center; }
.tvui-seasons { display: flex; gap: 0.7em; margin-top: 1.5em; font-size: 1.1em; }
.tvui-seasons span { padding: 0.55em 1.1em; border-radius: 99em; background: rgba(255, 255, 255, 0.07); color: #bdb7c8; }
.tvui-seasons .on { background: var(--accent); color: var(--accent-ink); }
.tvui-episodes { display: flex; gap: 1.6em; margin-top: 1.7em; }
.tvui-ep { flex: 0 0 17.5em; }
.tvui-still { position: relative; aspect-ratio: 16 / 9; border-radius: 0.7em; overflow: hidden; }
.ep-num { position: absolute; left: 0.6em; top: 0.6em; padding: 0.15em 0.45em; border-radius: 0.35em; background: rgba(0, 0, 0, 0.55); font-size: 0.95em; font-weight: 600; }
.ep-bar { position: absolute; left: 0.8em; right: 0.8em; bottom: 0.8em; height: 0.3em; border-radius: 1em; background: rgba(255, 255, 255, 0.3); }
.ep-bar i { display: block; height: 100%; border-radius: 1em; background: var(--accent); }
.ep-title { font-size: 1.15em; font-weight: 600; margin-top: 0.7em; }
.ep-meta { font-size: 1em; color: #a8a2b4; margin-top: 0.2em; }

/* The TV switches on once, when the page opens. */
@media (prefers-reduced-motion: no-preference) {
  .tvui { animation: power-on 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both; }
  .beam { animation: lamp 2.2s ease-out both; }
  @keyframes power-on {
    0% { clip-path: inset(49.6% 0 49.6% 0); filter: brightness(3) saturate(0); }
    22% { clip-path: inset(49.6% 0 49.6% 0); filter: brightness(2.4) saturate(0); }
    55% { clip-path: inset(0 0 0 0); filter: brightness(1.4) saturate(0.6); }
    100% { clip-path: inset(0 0 0 0); filter: none; }
  }
  @keyframes lamp { from { opacity: 0; } to { opacity: 1; } }
}

/* Artwork: trending titles from Trakt, over gradients that stand in when an image is missing. */
.art { background-color: #1d1828; overflow: hidden; }
.art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.art > img + span { visibility: hidden; }
.art-harbour { background:
  radial-gradient(30% 34% at 70% 34%, rgba(255, 214, 150, 0.95), rgba(245, 160, 90, 0.4) 55%, transparent 75%),
  linear-gradient(180deg, #2b2246 0%, #6d4a7a 40%, #d1866a 58%, #1b2a3d 60%, #0f1a29 100%); }
.art-tide { background: radial-gradient(60% 50% at 30% 30%, #8fb6c9, transparent 70%), linear-gradient(160deg, #1d3a4f, #0e1a26); }
.art-cedar { background: radial-gradient(40% 60% at 70% 70%, #6f8f5e, transparent 70%), linear-gradient(200deg, #3b2d1f, #15120e); }
.art-night { background: radial-gradient(20% 25% at 75% 25%, #f5e9c8, transparent 70%), linear-gradient(180deg, #121a33, #2a1d3d); }
.art-lantern { background: radial-gradient(28% 36% at 40% 55%, #ffc56b, rgba(255, 150, 60, 0.35) 55%, transparent 75%), linear-gradient(180deg, #2a1730, #120b16); }
.art-salt { background: linear-gradient(180deg, #d9d2c3 0%, #a9b4b8 45%, #4c6270 46%, #24323d 100%); }
.art-medina { background:
  radial-gradient(26% 20% at 30% 30%, #ffd98a, transparent 70%),
  radial-gradient(20% 16% at 72% 44%, #ff9f6e, transparent 70%),
  linear-gradient(180deg, #3a2156 0%, #8a3f5f 55%, #e38b54 100%); }

/* How it works ----------------------------------------------------------------------------------- */
.how { width: var(--wide); margin: 0 auto; padding: 24px 0 120px; }
.site .section-head { display: block; max-width: 56ch; margin-bottom: 48px; }
.site .section-head h2, .feature h2, .faq h2, .closing h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; text-wrap: balance; }
.site .section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.how-steps li { counter-increment: step; position: relative; padding: 0 28px 0 0; }
.how-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--velvet); color: var(--lamp); font: 700 18px var(--display); position: relative; z-index: 1;
}
/* The thread joining the steps. */
.how-steps li:not(:last-child)::after { content: ""; position: absolute; left: 44px; right: 0; top: 22px; height: 1px; background: var(--line); }
.how-steps h3 { font-size: 20px; margin-top: 22px; }
.how-steps p { color: var(--muted); margin-top: 8px; max-width: 30ch; }

/* Features --------------------------------------------------------------------------------------- */
.features { width: var(--wide); margin: 0 auto; padding-bottom: 72px; }
.feature { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.feature.flip .feature-copy { order: 2; }
.feature-copy p { color: var(--muted); font-size: 18px; line-height: 1.65; margin-top: 18px; max-width: 50ch; }
.feature-visual { position: relative; background: var(--velvet-deep); border: 1px solid var(--line); border-radius: 22px; padding: 32px; min-height: 280px; overflow: hidden; }

.matching { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.1fr); gap: 20px; align-items: center; }
.raw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font: 13px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--faint); }
.raw-list li { padding: 10px 12px; border-radius: 8px; background: var(--surface); overflow-wrap: anywhere; }
.matching-arrow { width: 40px; color: var(--lamp); }
.clean-card { display: flex; gap: 16px; align-items: center; }
.clean-poster { flex: 0 0 92px; position: relative; aspect-ratio: 2 / 3; border-radius: 10px; display: flex; align-items: flex-end; padding: 10px;
  font: 700 14px/1.05 var(--display); color: #fff8ee; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.7); }
.clean-title { font: 700 20px/1.15 var(--display); letter-spacing: -0.02em; }
.clean-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; white-space: nowrap; color: var(--muted); font-size: 14px; margin-top: 6px; }
.clean-meta .star { color: var(--lamp); }
.clean-versions { color: var(--faint); font-size: 13px; margin-top: 8px; }

.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-content: center; }
.room-tv { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 5px solid #0e0b0c; box-shadow: 0 0 0 1px #2f2729; }
.room-tv .art { position: absolute; inset: 0; }
.room-bar { z-index: 2; position: absolute; left: 10px; right: 10px; bottom: 10px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.3); }
.room-bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.room-resume { z-index: 2; position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 99px; background: #fff; color: #111; font-size: 12px; font-weight: 600; }
.room-name { font-weight: 600; margin-top: 14px; }
.room-what { color: var(--muted); font-size: 14px; margin-top: 2px; }
.room.later .room-tv { box-shadow: 0 0 0 1px #2f2729, 0 0 40px -6px rgba(245, 201, 121, 0.35); }

.guide { display: grid; gap: 8px; font-size: 13px; }
/* minmax(0, …): the programmes' names shorten (ellipsis) instead of widening the guide. */
.guide-times, .guide-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: center; }
.guide-times { grid-template-columns: 110px repeat(3, minmax(0, 1fr)); color: var(--faint); font-size: 12px; }
.guide-channel { font-weight: 600; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-shows { display: flex; gap: 4px; min-width: 0; }
.guide-shows span { padding: 10px; border-radius: 7px; background: var(--surface); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.guide-shows .now { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.guide-now { position: absolute; top: 24px; bottom: 24px; left: calc(32px + 120px + 22%); width: 2px; background: var(--lamp); box-shadow: 0 0 12px var(--lamp); border-radius: 2px; }

.chat { display: grid; gap: 12px; align-content: center; }
.bubble { max-width: 84%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.45; }
.bubble.me { justify-self: end; background: var(--surface-2); border-bottom-right-radius: 6px; }
.bubble.ai { background: transparent; border: 1px solid var(--line); color: var(--muted); border-bottom-left-radius: 6px; }
.chat-tv { margin-top: 10px; display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; background: #08070c; border: 5px solid #0e0b0c;
  box-shadow: 0 0 0 1px #2f2729, 0 0 40px -10px rgba(242, 167, 105, 0.4); }
.chat-tv-title { font: 700 17px var(--display); }
.chat-tv-from { color: var(--faint); font-size: 13px; }
.chat-tv-actions { display: flex; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 600; }
.chat-tv-actions span { padding: 7px 16px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); }
.chat-tv-actions .on { background: #fff; color: #111; }

.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 56px; margin: 0; padding: 64px 0 0; border-top: 1px solid var(--line); }
.extras dt { font: 700 18px var(--display); letter-spacing: -0.01em; }
.extras dt::before { content: ""; display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--lamp); margin-bottom: 16px; }
.extras dd { margin: 8px 0 0; color: var(--muted); }

/* AI ------------------------------------------------------------------------------------------- */
.ai-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 112px 0;
  background: radial-gradient(60% 50% at 85% 0%, rgba(242, 167, 105, 0.12), transparent 70%), var(--velvet-deep); }
.ai-inner { width: var(--wide); margin: 0 auto; }
.ai-section h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; }
.ai-copy p { color: var(--muted); font-size: 18px; line-height: 1.65; margin-top: 14px; max-width: 54ch; }
.ai-copy strong { color: var(--ivory); font-weight: 600; }

  box-shadow: 0 0 0 1px #2f2729, 0 40px 80px -40px rgba(0, 0, 0, 0.9); }

.ai-assistant { margin-top: 56px; }
.ai-assistant-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.ai-section .chat { max-width: 520px; justify-self: end; width: 100%; }
.asks { margin: 64px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.asks > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.asks dt { font: 700 18px var(--display); padding-top: 6px; }
.asks dd { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.asks q { quotes: none; padding: 9px 14px; border-radius: 16px 16px 16px 5px; background: var(--surface-2); font-size: 15px; }
.asks dd > span { flex-basis: 100%; color: var(--muted); font-size: 15px; margin-top: 2px; }
.ai-control { margin-top: 56px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
.ai-control h3 { font-size: 18px; padding-top: 2px; }
.ai-control ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.ai-control li { color: var(--muted); padding-left: 26px; position: relative; }
.ai-control li::before { content: ""; position: absolute; left: 2px; top: 0.4em; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.ai-how { grid-column: 2; color: var(--faint); font-size: 15px; }

.more-features { width: var(--wide); margin: 0 auto; padding: 24px 0 72px; }
.more-features .extras { border-top: 0; }

/* Questions and closing -------------------------------------------------------------------------- */
.faq { width: var(--narrow); margin: 0 auto; padding: 72px 0 96px; }
.faq-list { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 62ch; }

.closing { position: relative; text-align: center; padding: 112px 24px 128px; overflow: hidden;
  background: radial-gradient(50% 70% at 50% 0%, rgba(245, 201, 121, 0.14), transparent 70%); border-top: 1px solid var(--line); }
.closing h2 { max-width: 20ch; margin: 0 auto 32px; }

/* Content pages (download, privacy, terms, account) ---------------------------------------------- */
.page { width: var(--narrow); margin: 0 auto; padding: 72px 0 112px; }
.page h1 { font-size: clamp(36px, 4.4vw, 54px); letter-spacing: -0.03em; }
.page .page-lede { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 58ch; }
.page h2 { font-size: 24px; margin: 48px 0 12px; }
.page h3 { margin: 28px 0 8px; }
.page p, .page li { color: var(--muted); }
.page p + p { margin-top: 12px; }
.page ul, .page ol { padding-left: 22px; }
.page li + li { margin-top: 8px; }
.page strong { color: var(--ivory); font-weight: 600; }
.page code { font: 14px ui-monospace, monospace; background: var(--surface); padding: 2px 6px; border-radius: 6px; color: var(--ivory); overflow-wrap: anywhere; }
.page-updated { color: var(--faint); font-size: 14px; margin-top: 12px; }

.download-card { margin-top: 40px; padding: 32px; border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(70% 120% at 0% 0%, rgba(245, 201, 121, 0.10), transparent 60%), var(--surface);
  display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.download-card .file { display: grid; gap: 4px; }
.download-card .file strong { font: 700 22px var(--display); color: var(--ivory); }
.download-card .file span { color: var(--muted); font-size: 14px; }
.checksum { margin-top: 14px; font-size: 13px; color: var(--faint); }
.checksum code { font-size: 12px; }
.install-ways { display: grid; gap: 16px; margin-top: 20px; }
.install-way { padding: 24px 26px; border: 1px solid var(--line); border-radius: 18px; }
.install-way h3 { margin: 0 0 6px; }
.install-way ol { margin: 12px 0 0; }
.install-way .hint { margin-top: 14px; font-size: 14px; color: var(--faint); }
.tv-address { display: block; width: fit-content; max-width: 100%; margin: 10px 0 4px; padding: 12px 16px; border-radius: 12px;
  font: 600 clamp(15px, 2vw, 19px) ui-monospace, monospace; color: var(--ivory); background: var(--velvet-deep); border: 1px solid var(--line);
  overflow-wrap: anywhere; user-select: all; }
.install-way.recommended { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.install-way .tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 600 12px var(--text); vertical-align: 3px; }
.account-box { margin-top: 40px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.account-box h2 { margin-top: 0; }
.danger-zone { margin-top: 40px; padding: 28px; border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--line)); border-radius: 18px; }
.danger-zone h2 { margin-top: 0; }
.account-box form, .danger-zone form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-top: 18px; }
.account-box .field, .danger-zone .field { flex: 1 1 240px; margin: 0; }

/* Smaller screens -------------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding: 56px 0 88px; gap: 56px; }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .how-steps li:nth-child(2)::after { display: none; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .feature.flip .feature-copy { order: 0; }
  .extras { grid-template-columns: 1fr 1fr; }
  .ai-section .chat { justify-self: start; }
}
@media (max-width: 640px) {
  .site { --wide: calc(100% - 32px); --narrow: calc(100% - 32px); }
  .site-nav-link[href^="#"] { display: none; }
  .site-nav .btn { margin-left: 0; }
  .site-top-inner { height: 60px; }
  .hero { padding-top: 40px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .tv-screen { border-width: 5px; border-radius: 10px; }
  .how-steps { grid-template-columns: 1fr; gap: 28px; }
  .how-steps li { padding: 0 0 0 64px; }
  .how-steps li::before { position: absolute; left: 0; top: 0; }
  .how-steps li::after { display: none; }
  .how-steps h3 { margin-top: 8px; }
  .feature-visual { padding: 20px; min-height: 0; }
  .matching { grid-template-columns: 1fr; }
  .matching-arrow { transform: rotate(90deg); justify-self: center; }
  .rooms { grid-template-columns: 1fr; }
  .guide-times, .guide-row { grid-template-columns: 84px minmax(0, 1fr); }
  .guide-times { grid-template-columns: 84px repeat(3, minmax(0, 1fr)); }
  .guide-now { left: calc(20px + 94px + 22%); top: 16px; bottom: 16px; }
  .extras { grid-template-columns: 1fr; gap: 32px; }
  .ai-section { padding: 80px 0; }
  .ai-assistant { margin-top: 40px; }
  .asks > div, .ai-control { grid-template-columns: 1fr; gap: 12px; }
  .ai-control ul { grid-template-columns: 1fr; }
  .ai-how { grid-column: 1; }
  .site-foot-links { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
  .download-card { padding: 24px; }
}
@media (max-width: 400px) {
  .site-nav { gap: 0; }
  .site-nav .long { display: none; }
  .site-nav .short { display: inline; }
  .site-nav .btn { padding: 0 12px; }
  .site-top .wordmark { font-size: 20px; }
}
