/* TakeHome Tickets — gettht.com. Direction: "The product performs", palette "Newsprint and brass". See DESIGN.md. */
:root {
  --bg: #e8e8e3;
  --surface: #dcdcd6;
  --ink: #181715;
  --muted: #63625c;
  --accent: #bfb21a;
  --accent-ink: #181715;
  --field-1: #181715;
  --field-1-ink: #e8e8e3;
  --field-1-muted: #a9a8a0;
  --field-1-up: #24231f;
  --tone-2: #cfcfc8;
  --tone-4: #2e2d29;

  --font-display: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Source Serif 4", Georgia, serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.2rem + 0.7vw, 1.875rem);
  --step-head: clamp(2.25rem, 1.2rem + 3.6vw, 4.5rem);
  --step-display: clamp(6rem, 2rem + 13vw, 15rem);

  --margin: clamp(1.25rem, 3vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 13vw, 12rem);
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 2rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
.head { font-size: var(--step-head); line-height: 0.95; }
.h2 { font-size: var(--step-lead); line-height: 1.1; letter-spacing: -0.02em; }
.lead { font-size: var(--step-lead); line-height: 1.35; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }
.nums { font-variant-numeric: tabular-nums; }
.sans { font-family: var(--font-display); }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--margin); max-width: 90rem; margin-inline: auto; }
.section { padding-block: calc(var(--section) / 2); }
.dark { background: var(--field-1); color: var(--field-1-ink); }
.dark .muted { color: var(--field-1-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 3.25rem; padding: 0 1.5rem; background: var(--ink); color: var(--bg); border-radius: var(--radius); font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.dark .button, .button.brass { background: var(--accent); color: var(--accent-ink); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
  .button:hover { background: #2d2b27; }
  .dark .button:hover, .button.brass:hover { background: #d1c42a; }
}

/* ---------- motion helpers (content stays visible without JavaScript) ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 520ms); }
  .js .lines [data-line] { transform: translateY(105%); animation: line 900ms var(--ease-expo) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 30% 0); transition: clip-path 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
  .js .shutter[data-reveal] img { transform: scale(1.06); transition: transform 1200ms var(--ease-out); }
  .js .shutter[data-reveal].is-in { clip-path: inset(0); }
  .js .shutter[data-reveal].is-in img { transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes line { to { transform: none; } }

/* =========================================================
   Interface fragments (data-ui): the product's own look.
   ========================================================= */
[data-ui] { font-family: var(--font-display); font-size: 14px; line-height: 1.4; letter-spacing: 0; color: #1d1c1a; }
[data-ui] .ui-muted { color: #6b6a63; }
.ui-card { background: #f4f4f1; border-radius: 10px; border: 1px solid #d3d3cc; overflow: hidden; } /* taste-skill-ignore: product UI card */
.ui-dark { background: #2c2b27; color: #ecebe5; border: 1px solid #3a3934; } /* taste-skill-ignore: product UI card */
.ui-dark .ui-muted { color: #a3a29a; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ui-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 12px; background: #ecebe4; color: #3b3a35; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ui-pill.brass { background: #efe9a8; color: #3b3608; }
.ui-pill.ok { background: #dfe9d9; color: #24401c; }
.ui-dark .ui-pill { background: #3b3a35; color: #e6e5de; }
.ui-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.ui-live .ui-dot { background: #bfb21a; }
@media (prefers-reduced-motion: no-preference) { .ui-live .ui-dot { animation: pulse 1.6s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: 0.25; } }

/* call transcript */
.call-head { padding: 14px 16px; background: #24231f; color: #ecebe5; }
.call-head .ui-muted { color: #b3b2aa; }
.call-head b { font-weight: 600; }
.call-lines { padding: 14px 16px 6px; display: grid; gap: 8px; min-height: 0; }
.bubble { max-width: 86%; padding: 8px 11px; border-radius: 10px; font-size: 13.5px; line-height: 1.38; }
.bubble.ai { background: #ecebe4; justify-self: start; align-self: flex-start; border-top-left-radius: 3px; }
.bubble.caller { background: #24231f; color: #ecebe5; justify-self: end; align-self: flex-end; border-top-right-radius: 3px; }
.bubble .who { display: block; font-size: 12px; font-weight: 600; opacity: 0.7; margin-bottom: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .bubble.enter, .ticket.enter { animation: bubble 420ms var(--ease-out) both; }
}
@keyframes bubble { from { opacity: 0; transform: translateY(8px); } }

/* ticket email */
.ticket { background: #f4f4f1; border-radius: 10px; border: 1px solid #d3d3cc; overflow: hidden; color: #1d1c1a; } /* taste-skill-ignore: email client chrome */
.ticket-top { padding: 12px 16px; background: #f1f1ec; }
.ticket-top .from { font-weight: 600; }
.ticket-subject { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-top: 2px; }
.ticket dl { display: grid; grid-template-columns: 112px 1fr; gap: 6px 12px; padding: 12px 16px 14px; margin: 0; font-size: 13.5px; }
.ticket dt { color: #6b6a63; }
.ticket dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.ticket .note { padding: 0 16px 14px; font-size: 13px; color: #4b4a44; }

/* =========================================================
   Hero
   ========================================================= */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 100svh; position: relative; background: var(--field-1); color: var(--field-1-ink); }
.hero-left { display: flex; flex-direction: column; padding: 40px var(--margin) 48px; }
.hero-right { background: var(--field-1-up); display: grid; place-items: center; padding: 96px var(--margin) 48px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; text-decoration: none; }
.mark i { width: 22px; height: 22px; background: var(--accent); display: inline-block; clip-path: polygon(0 0, 100% 0, 100% 72%, 62% 72%, 38% 100%, 38% 72%, 0 72%); }
.hero h1 { margin-top: clamp(4rem, 14vh, 9rem); }
.hero h1 .line { white-space: nowrap; }
.hero .sub { margin-top: 1.6rem; max-width: 34ch; color: var(--field-1-muted); }
.hero .sub b { color: var(--field-1-ink); font-weight: 600; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.hero-actions .link { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.hero-foot { margin-top: auto; padding-top: 3rem; color: var(--field-1-muted); }
.toplink { position: absolute; top: 40px; right: var(--margin); font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--field-1-ink); }

.live { width: min(470px, 100%); }
.live-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.live-tab { height: 34px; padding: 0 12px; border-radius: 17px; background: #33322d; color: #d9d8d0; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.live-tab:active { transform: scale(0.96); }
.live-tab[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .live-tab:hover:not([aria-pressed="true"]) { background: #403f39; color: #fff; } }
.live .call { min-height: 236px; }
.live .ticket { margin-top: 10px; }
.live-readout { margin-top: 12px; font-size: 13px; color: var(--field-1-muted); font-family: var(--font-display); }

/* =========================================================
   Demo (showcase): panel 62 / 38
   ========================================================= */
.demo-intro { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: end; }
.demo-intro h2 { grid-column: 1 / span 5; }
.demo-intro p { grid-column: 7 / span 6; }
.panel { margin-top: 2.5rem; display: grid; grid-template-columns: 62fr 38fr; background: #d4d4cd; border-radius: 12px; overflow: hidden; min-height: 640px; }
.panel-stage { padding: 28px; display: grid; gap: 14px; align-content: start; background: #cbcbc4; }
.panel-stage .call { background: #f4f4f1; border-radius: 10px; border: 1px solid #c3c3bb; overflow: hidden; } /* taste-skill-ignore: phone call card */
.panel-ctrl { padding: 20px 24px 24px; display: flex; flex-direction: column; }
.ctrl { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; }
.ctrl + .ctrl { margin-top: 2px; }
.ctrl label, .ctrl .ctrl-name { font-size: 14px; font-weight: 600; }
.ctrl input[type="text"], .ctrl input[type="email"], .ctrl select { height: 36px; padding: 0 10px; border-radius: 6px; border: 1px solid #b9b9b1; background: #f4f4f1; font-size: 14px; width: 220px; }
.ctrl input[type="number"] { height: 36px; width: 74px; padding: 0 8px; border-radius: 6px; border: 1px solid #b9b9b1; background: #f4f4f1; font-size: 14px; }
.ctrl input:focus-visible, .ctrl select:focus-visible { outline: 2px solid #8a800f; outline-offset: 1px; }
.seg { display: inline-flex; background: #c3c3bb; border-radius: 8px; padding: 3px; }
.seg button { height: 30px; padding: 0 11px; border-radius: 6px; font-size: 13.5px; font-weight: 600; color: #3b3a35; transition: background-color var(--t-hover) ease; }
.seg button[aria-pressed="true"] { background: #f4f4f1; color: #1d1c1a; }
.switch { position: relative; width: 44px; height: 26px; border-radius: 13px; background: #b3b3ab; transition: background-color var(--t-ui) ease; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #f4f4f1; transition: transform var(--t-ui) var(--ease-out); }
.switch[aria-checked="true"] { background: #8a800f; }
.switch[aria-checked="true"]::after { transform: translateX(18px); }
.fee-wrap { display: inline-flex; align-items: center; gap: 8px; }
.panel-foot { margin-top: auto; padding-top: 18px; font-size: 14px; }
.panel-foot a { font-weight: 600; }
.panel-foot .ui-muted { color: #4b4a44; }
.demo-after { margin-top: 1.25rem; }

/* =========================================================
   How it works: four fields
   ========================================================= */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); }
.stage { position: relative; min-height: 84svh; padding: 28px; display: flex; flex-direction: column; }
.stage:nth-child(1) { background: var(--surface); }
.stage:nth-child(2) { background: var(--tone-2); }
.stage:nth-child(3) { background: var(--field-1); color: var(--field-1-ink); }
.stage:nth-child(4) { background: var(--tone-4); color: var(--field-1-ink); }
.stage h2 { margin-bottom: 1rem; }
.stage .card-slot { position: absolute; top: 38%; left: 50%; width: min(260px, calc(100% - 40px)); transform: translate(-50%, -50%); }
.stage .card-slot > [data-ui] { transition: transform 150ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .stage:hover .card-slot > [data-ui] { transform: translateY(-6px); } }
.stage .clause { margin-top: auto; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; font-size: clamp(22px, 2vw, 30px); line-height: 1.08; max-width: 14ch; }
.stage .clause + p { margin-top: 0.75rem; font-size: var(--step-small); max-width: 30ch; }
.stage:nth-child(n+3) .clause + p { color: var(--field-1-muted); }
.mini { font-size: 13px; }
.mini .mini-head { padding: 10px 12px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.mini .mini-body { padding: 4px 12px 12px; display: grid; gap: 5px; }
.mini .k { color: #6b6a63; }
.ui-dark.mini .k { color: #a3a29a; }

/* =========================================================
   Pictures of the customer's world
   ========================================================= */
.world-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: end; }
.world-head h2 { grid-column: 1 / span 6; }
.world-head p { grid-column: 8 / span 5; }
.photos { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 2rem; align-items: start; }
.photos figure:nth-child(1) { grid-column: 1 / span 4; }
.photos figure:nth-child(2) { grid-column: 5 / span 8; }
.photos figure:nth-child(3) { grid-column: 1 / span 7; }
.photos figure:nth-child(4) { grid-column: 8 / span 5; margin-top: 6rem; }
.photos .frame { overflow: clip; }
.photos img { width: 100%; object-fit: cover; }
.photos figure:nth-child(1) img { aspect-ratio: 4 / 5; object-position: 72% 50%; }
.photos figure:nth-child(2) img { aspect-ratio: 16 / 10; object-position: 50% 60%; }
.photos figure:nth-child(3) img { aspect-ratio: 16 / 9; object-position: 20% 0%; }
.photos figure:nth-child(4) img { aspect-ratio: 4 / 3; object-position: 50% 50%; filter: grayscale(1); }
.photos figcaption { margin-top: 0.7rem; font-size: var(--step-small); color: var(--muted); max-width: 52ch; }
.photos figcaption b { color: var(--ink); font-weight: 600; }

/* =========================================================
   What it does: two-ended rows
   ========================================================= */
.does { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
.does-copy { grid-column: 1 / span 5; }
.does-copy p { margin-top: 1.2rem; }
.does-list { grid-column: 7 / span 6; }
.group + .group { margin-top: 40px; }
.group-name { font-family: var(--font-display); font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.row { display: grid; grid-template-columns: 16px 1fr auto; align-items: baseline; column-gap: 10px; padding: 8px 0; }
.row .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); align-self: center; }
.row .dot.off { background: transparent; border: 2px solid var(--muted); }
.row .dot.brass { background: var(--accent); }
.row .name { font-family: var(--font-display); font-size: 16px; font-weight: 500; }
.row .val { font-family: var(--font-display); font-size: 14px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

/* =========================================================
   Pricing
   ========================================================= */
.price { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: center; }
.price-copy { grid-column: 1 / span 4; align-self: start; padding-top: 2rem; }
.price-copy p { margin-top: 1.2rem; }
.price-fig { grid-column: 6 / span 7; position: relative; }
.figure { font-family: var(--font-display); font-weight: 700; font-size: var(--step-display); line-height: 0.85; letter-spacing: -0.05em; display: flex; align-items: flex-start; font-variant-numeric: lining-nums; }
.figure .cur { font-size: 0.5em; line-height: 1; margin-top: 0.06em; margin-right: 0.04em; }
.figure .per { font-size: 18px; letter-spacing: 0; font-weight: 600; align-self: flex-end; margin-left: 0.6rem; margin-bottom: 0.4rem; white-space: nowrap; }
.meter { position: absolute; top: -6%; left: 58%; width: 250px; }
.meter .bar { height: 8px; border-radius: 4px; background: #e2e1da; overflow: hidden; margin: 10px 0 8px; }
.meter .bar span { display: block; height: 100%; width: 53%; background: #8a800f; border-radius: 4px; transform-origin: left; }
@media (prefers-reduced-motion: no-preference) { .js .meter.is-in .bar span { animation: grow 1400ms var(--ease-expo) both 300ms; } }
@keyframes grow { from { transform: scaleX(0); } }
.incl { list-style: none; padding: 0; margin: 2.2rem 0 2rem; font-size: 18px; display: grid; gap: 0.35rem; }

/* =========================================================
   Letter
   ========================================================= */
.letter { width: min(560px, 100%); margin-inline: auto; padding-block: clamp(3rem, 6vw, 5rem); }
.letter h2 { margin-bottom: 1.6rem; }
.portrait { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 28px; }
.letter p { font-size: var(--step-body); }
.mark-hl { background: #e4dc84; padding: 0 0.15em; }
.sign { margin-top: 2rem; font-style: italic; font-size: 22px; }
.sign + .small { margin-top: 0.2rem; }

/* =========================================================
   FAQ: question index, one answer
   ========================================================= */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: start; }
.faq-list { grid-column: 1 / span 5; list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.faq-list .faq-title { font-family: var(--font-display); font-size: 18px; color: var(--muted); padding: 8px 0 10px; }
.q { display: grid; grid-template-columns: 8px 1fr; column-gap: 14px; align-items: baseline; width: 100%; text-align: left; padding: 9px 0; font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--muted); transition: color var(--t-hover) ease; }
.q::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; transform: translateY(-2px); transition: background-color var(--t-hover) ease; }
.q[aria-expanded="true"] { color: var(--ink); }
.q[aria-expanded="true"]::before { background: #8a800f; }
.q:hover { color: var(--ink); }
.a-inline { display: none; }
.faq-pane { grid-column: 7 / span 6; position: sticky; top: 120px; min-height: 18rem; }
.faq-pane p { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
@media (prefers-reduced-motion: no-preference) { .faq-pane.swap p { animation: fade 150ms ease both; } }
@keyframes fade { from { opacity: 0; } }

/* =========================================================
   Contact
   ========================================================= */
.contact { padding-block: clamp(7rem, 14vw, 12.5rem) clamp(6rem, 11vw, 10rem); }
.contact-inner { width: min(560px, 100%); margin-inline: auto; }
.contact h2 { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.02em; }
.contact-sub { margin-top: 0.3rem; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: var(--step-lead); line-height: 1.2; color: var(--field-1-muted); }
.one-field { margin-top: 28px; position: relative; }
.one-field input { width: 100%; height: 64px; border-radius: 12px; border: 0; background: #f4f4f0; color: #181715; padding: 0 72px 0 20px; font-family: var(--font-display); font-size: 17px; }
.one-field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.one-field button { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; transition: transform var(--t-press) var(--ease-out); }
.one-field button:active { transform: scale(0.92); }
.one-field + .small { margin-top: 16px; }
.contact-rows { margin-top: 72px; display: grid; gap: 10px; font-family: var(--font-display); font-size: 14px; }
.contact-rows div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; }
.contact-rows dt { color: var(--field-1-muted); }
.contact-rows dd { margin: 0; }
.form-msg { min-height: 1.4em; }

/* =========================================================
   Footer: one quiet line
   ========================================================= */
.foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 24px; padding: 96px var(--margin) 30px; font-family: var(--font-display); font-size: 14px; color: var(--muted); }
.foot nav { display: flex; gap: 24px; }
.foot nav a { color: var(--ink); }
.foot .r { text-align: right; }
.foot-credits { padding: 0 var(--margin) 30px; font-size: 13px; color: var(--muted); max-width: 90rem; margin-inline: auto; }

/* =========================================================
   Phone
   ========================================================= */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { padding: 28px 20px 48px; }
  .hero-left { padding: 32px 20px 40px; }
  .hero h1 { margin-top: 3.5rem; }
  .hero h1 .line { white-space: normal; }
  .toplink { top: 34px; right: 20px; }
  .hero { position: relative; }
  .hero-foot { padding-top: 2rem; }
  .demo-intro, .world-head, .does, .price, .faq { grid-template-columns: minmax(0, 1fr); }
  .demo-intro h2, .demo-intro p, .world-head h2, .world-head p, .does-copy, .does-list, .price-copy, .price-fig, .faq-list, .faq-pane { grid-column: 1 / -1; }
  .demo-intro p, .world-head p { margin-top: 1rem; }
  .panel { grid-template-columns: 1fr; min-height: 0; }
  .panel-stage { padding: 16px; }
  .panel-ctrl { padding: 8px 16px 18px; }
  .ctrl { min-height: 52px; }
  .ctrl input[type="text"], .ctrl input[type="email"], .ctrl select { width: 160px; }
  .stages { grid-template-columns: 1fr 1fr; }
  .stage { min-height: 72svh; padding: 24px 20px; }
  .photos { grid-template-columns: 1fr 1fr; }
  .photos figure:nth-child(n) { grid-column: auto; margin-top: 0; }
  .does-list { margin-top: 2.5rem; }
  .row { padding: 11px 0; }
  .price { min-height: 0; }
  .price-copy { padding-top: 0; }
  .price-fig { margin-top: 3rem; }
  .figure { font-size: 30vw; flex-wrap: wrap; }
  .figure .per { flex-basis: 100%; margin: 0.6rem 0 0; }
  .meter { position: static; width: min(300px, 100%); margin-top: 1.5rem; }
  .incl { font-size: 17px; }
  .price-fig .button { width: 100%; }
  .faq-pane { display: none; }
  .a-inline { display: block; padding: 2px 0 14px 22px; font-size: 19px; line-height: 1.4; }
  .a-inline[hidden] { display: none; }
  .contact h2 { font-size: 22px; }
  .one-field input { height: 60px; }
  .one-field button { top: 8px; }
  .contact-rows div { grid-template-columns: 1fr; gap: 2px; }
  .contact-rows { gap: 20px; }
  .foot { grid-template-columns: 1fr; gap: 8px; padding: 20svh 20px 24px; }
  .foot .r { text-align: left; }
  .foot nav { flex-wrap: wrap; gap: 8px 20px; }
}

/* call card sizing: the hero keeps the latest lines in view; the demo shows the whole call */
.live .call-lines { height: 300px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-bottom: 14px; }
.panel-stage .call-lines { padding-bottom: 14px; }
.panel-stage .ticket { margin-top: 0; }
.panel-stage .stage-note { grid-column: 1 / -1; font-family: var(--font-display); font-size: 13px; color: #55544e; }
.call-head .ui-row + .ui-row { margin-top: 4px; }
@media (max-width: 900px) { .live .call-lines { height: 280px; } }
.ticket [data-row] { display: contents; }
.ticket [data-row][hidden] { display: none; }

.panel-stage { display: block; }
.panel-stage .call-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 1100px) { .panel-stage .call-wrap { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .photos { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; }
  .stage { min-height: 0; padding: 32px 20px 40px; }
  .stage .card-slot { position: static; transform: none; margin: 8px 0 36px; width: min(300px, 100%); }
  .stage .clause { font-size: 26px; }
}
