/* usecallie.com home · Dec 2026 redo (D617), rebuilt on Alven (alven.ai) as the one base (David, Dec 2).
   Alven gives the layout (left heading, right grey panel with white cards, hairline between sections),
   the type (a neutral grotesk, regular-weight headings, small sizes), the colour (neutral greys, one accent)
   and the motion (fade-and-blur reveals, cards that pop in, a rolling word, a shimmering ring on Book a demo).
   Callie keeps its own logo, its teal as the one accent, and its approved copy. */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@property --ring-a {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg: #f4f4f4;
  --panel: #ececec;
  --card: #ffffff;
  --ink: #1a1a1a;
  --ink-2: #4a4a4a;
  --muted: #5c5c5c; /* ≥ 5.6:1 on the page and on panels */
  --faint: #6e6e6e; /* inactive tabs and steps, numbers: ≥ 4.5:1 on the page */
  --line: #e2e2e2;
  --accent: #174f61;
  --accent-dark: #103d4c;
  --accent-soft: #8fc0cc;
  --green: #2f7a52;
  --red: #a23a2b;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pop: cubic-bezier(.45, 1.45, .8, 1);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 0 0 1px rgba(0, 0, 0, .03);
}

/* ───────── Base ───────── */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.011em;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button { font: inherit; letter-spacing: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2 { font-weight: 400; text-wrap: balance; }
h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.022em; }
h3 { font-weight: 500; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1440px, calc(100% - 72px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 16px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ───────── Buttons ───────── */

/* The filled button: one per section at most. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background-color .2s var(--ease);
}
.button:hover { background: var(--accent-dark); }

/* Book a demo in the nav and the hero: white, with a ring that shimmers on a slow loop (Alven). */
.ring-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: background-color .2s var(--ease);
}
.ring-button::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  z-index: -1;
  padding: 1.5px;
  border-radius: 11.5px;
  background: conic-gradient(from var(--ring-a), var(--accent) 0 62%, var(--accent-soft) 74%, #e9f3f5 80%, var(--accent-soft) 86%, var(--accent) 98%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: ring 4s linear infinite;
}
.ring-button:hover { background: #f3f7f8; }
@keyframes ring { to { --ring-a: 360deg; } }

.small-button {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--card-shadow);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.small-button:hover { background: #fafafa; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  font-size: 14px;
  font-weight: 500;
}
.text-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s var(--ease);
}
.text-link:hover { text-decoration: underline; }
.text-link:hover svg { transform: translateX(3px); }

/* ───────── Nav: a frosted pill near the top ───────── */

.header {
  position: fixed;
  z-index: 50;
  inset: 24px 0 auto;
  display: flex;
  justify-content: center;
  pointer-events: none;
  animation: nav-enter .8s var(--ease) both;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 6px 6px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 8px 24px -12px rgba(0, 0, 0, .18);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
}
.brand img { width: 18px; height: 22px; }

.navigation {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 8px;
  font-size: 14px;
}
.navigation a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.navigation a:hover { background: rgba(0, 0, 0, .05); color: var(--ink); }

.header-book { height: 36px; padding: 0 14px; border-radius: 9px; }
.header-book::before { border-radius: 10.5px; }

.menu-button {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
}
.menu-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

@keyframes nav-enter { from { opacity: 0; transform: translateY(-16px); } }

/* ───────── 1 · Hero: full-bleed interior, message bottom-left, one repair in a frosted card ───────── */

.hero {
  position: relative;
  display: flex;
  min-height: max(100svh, 720px);
  overflow: hidden;
  color: #fff;
  background: #3b3128;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(20, 14, 9, .62) 0%, rgba(20, 14, 9, .18) 48%, rgba(20, 14, 9, 0) 70%),
    linear-gradient(90deg, rgba(20, 14, 9, .38) 0%, rgba(20, 14, 9, 0) 55%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  align-items: end;
  gap: 64px;
  padding-block: 140px 72px;
}

.hero h1 {
  max-width: 14em;
  font-size: clamp(40px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -.03em;
  animation: from-left 1s var(--ease) .15s both;
}
.hero-sub {
  max-width: 36em;
  margin-top: 20px;
  color: rgba(255, 255, 255, .92);
  font-size: 17px;
  line-height: 1.55;
  animation: from-left 1s var(--ease) .25s both;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 32px;
  animation: from-left 1s var(--ease) .35s both;
}
.hero .text-link { color: #fff; }
@keyframes from-left { from { opacity: 0; transform: translateX(-30px); } }

.hero-stage {
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  animation: fade 1.1s var(--ease) .4s both;
}
@keyframes fade { from { opacity: 0; } }

.cards { display: grid; gap: 8px; }
.card {
  padding: 12px 14px 14px;
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--card-shadow);
  animation: pop .5s var(--pop) both;
  animation-delay: calc(.7s + var(--i) * 150ms);
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
.card-meta .who { color: var(--ink); font-weight: 500; }
.card-meta time { font-variant-numeric: tabular-nums; }
.card-text { min-height: 1.5em; margin-top: 4px; font-size: 15px; line-height: 1.5; }
.card-text.is-typing::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -.15em;
  background: var(--accent);
  animation: caret .9s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.mono, .av-you {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}
.av-you { background: #d9d9d9; color: var(--ink-2); }

.card-actions { display: flex; gap: 8px; margin-top: 12px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}
.pill-solid { background: var(--accent); box-shadow: none; color: #fff; }
.pill svg { width: 0; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: width .3s var(--ease); }

@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ───────── Shared: sections, the grey panel, the white card, the one reveal ───────── */

/* Every section after the demo: a hairline on top, the heading on the left, the content on the right. */
.section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr);
  gap: 36px;
  padding-block: 40px 120px;
  border-top: 1px solid var(--line);
}
.side h2 { max-width: 13em; }
.side-sub { max-width: 32ch; margin-top: 16px; color: var(--muted); font-size: 15px; }
.side-note {
  display: inline-block;
  margin-top: 16px;
  padding: 2px 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 13px;
}

.panel { border-radius: 16px; background: var(--panel); }

.ui-card {
  display: grid;
  gap: 4px;
  padding: 12px 14px 14px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--card-shadow);
  font-size: 15px;
  line-height: 1.5;
}
.ui-who {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

/* In view, once: fade in and settle from a blur (Alven, 0.9 s). Without JS, everything is simply visible. */
.motion .reveal { opacity: 0; filter: blur(12px); transform: translateY(12px); transition: opacity 1s var(--ease), filter .9s var(--ease), transform 1s var(--ease); }
.motion .reveal.is-in { opacity: 1; filter: none; transform: none; }

/* ───────── 6 · Watch Callie work: the explainer card under the hero ───────── */

.demo { padding-block: 36px 96px; }
.film { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #111; }
.film video { display: block; width: 100%; height: 100%; object-fit: contain; background: #111; }
.play-film {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transition: transform .2s var(--ease);
}
.play-film:hover { transform: translate(-50%, -50%) scale(1.04); }
.play-film svg { width: 16px; height: 16px; fill: currentColor; }
.film-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-top: 20px; }
.film-caption p { max-width: 52ch; color: var(--muted); font-size: 14px; text-align: right; }
.video-error { margin-top: 12px; color: var(--red); font-size: 14px; }
.video-error a { text-decoration: underline; }

/* ───────── 2 · Onboard Callie like a new hire ───────── */

.onboard-body { display: grid; gap: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step-n { display: block; color: var(--faint); font-size: 14px; font-variant-numeric: tabular-nums; }
.steps h3 { margin-top: 8px; font-size: 16px; line-height: 1.4; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Like Alven's "add to your PMS": a grey panel, and the team list rising out of its bottom edge. */
.team { --pad-x: 64px; padding: 20px var(--pad-x) 0; overflow: hidden; }
/* The team members are invented, so the panel says so beside the names, not only to screen readers. */
.panel-tag { margin: 0 calc(24px - var(--pad-x)) 20px; color: var(--muted); font-size: 13px; }
.team-card { overflow: hidden; border-radius: 12px 12px 0 0; background: var(--card); box-shadow: var(--card-shadow); }
.team-head { display: flex; align-items: center; gap: 8px; padding: 16px 20px; font-size: 15px; font-weight: 500; }
.team-n { color: var(--faint); font-weight: 400; }
.team-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.team-table th { padding: 8px 20px; color: var(--faint); font-size: 12px; font-weight: 500; text-align: left; border-block: 1px solid #f0f0f0; }
.team-table td { height: 48px; padding: 0 20px; border-bottom: 1px solid #f0f0f0; }
.team-table tr:last-child td { border-bottom: 0; }
.team-table td:first-child { display: flex; align-items: center; gap: 10px; height: 48px; font-weight: 500; }
.team-table td:nth-child(2) { color: var(--muted); }
.av {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ededed;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.av-callie { background: var(--accent); color: #fff; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* Callie's row arrives last: it slides in, then a highlight sweeps across it once (copy §2). */
.team-new { background: linear-gradient(90deg, rgba(143, 192, 204, 0) 0%, rgba(143, 192, 204, .28) 50%, rgba(143, 192, 204, 0) 100%) no-repeat; background-size: 40% 100%; background-position: -60% 0; }
.motion .team .team-new { opacity: 0; transform: translateY(-8px); }
.motion .team.is-in .team-new { animation: row-in .6s var(--ease) .7s both, sweep .6s ease-out 1.3s both; }
@keyframes row-in { to { opacity: 1; transform: none; } }
@keyframes sweep { from { background-position: -60% 0; } to { background-position: 160% 0; } }

/* ───────── 3 · One repair: sticky heading and steps on the left, a grey panel per step ───────── */

.side-sticky { position: sticky; top: 112px; align-self: start; }

/* The list under a sticky heading, as in Alven's "does what property managers do". */
.step-list, .tabs { display: grid; margin-top: 48px; max-width: 320px; }
.step-list a, .tab {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--faint);
  font-size: 17px;
  text-align: left;
  transition: color .3s var(--ease);
}
.step-list li:last-child a, .tab:last-child { border-bottom: 0; }
.step-list svg, .tab svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step-list a:hover, .tab:hover { color: var(--ink-2); }
.step-list a[aria-current="step"], .tab[aria-selected="true"] { color: var(--ink); }

.beats { display: grid; gap: 16px; }
.beat {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 400px;
  padding: 24px 28px 40px;
}
.beat-time { color: var(--muted); font-size: 14px; font-weight: 500; }
.beat-cards { display: grid; align-content: center; gap: 10px; justify-self: center; width: min(400px, 100%); }
.beat-note { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--muted); font-size: 14px; }
.beat-note b { color: var(--ink); font-weight: 500; }
.beat-note.is-closed { color: var(--ink-2); }
.closed-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dcefe4;
  color: var(--green);
}
.closed-check svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.photo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; }
.photo { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; background: #f2f2f2; font-size: 14px; }
.photo svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.6; }
.tag { padding: 2px 10px; border-radius: 999px; background: #e7f2ec; color: var(--green); font-size: 13px; }

/* Each panel's cards pop in one after another once it is in view; the approval presses; the check pops last. */
.motion .beat .beat-cards > * { opacity: 0; }
.motion .beat.is-in .beat-cards > * { opacity: 1; animation: pop .5s var(--pop) both; }
.motion .beat.is-in .beat-cards > :nth-child(1) { animation-delay: .35s; }
.motion .beat.is-in .beat-cards > :nth-child(2) { animation-delay: .75s; }
.motion .beat.is-in .beat-cards > :nth-child(3) { animation-delay: 1.15s; }
.motion .beat.is-in .beat-cards > :nth-child(4) { animation-delay: 1.55s; }
.beat.is-in .pill-solid { animation: press .3s var(--ease) 1.5s both; }
.beat.is-in .pill-solid svg { width: 14px; transition-delay: 1.5s; }
.motion .beat .closed-check { transform: scale(0); }
.motion .beat.is-in .closed-check { animation: scale-in .4s var(--pop) 1.9s both; }
@keyframes press { 50% { transform: scale(.94); } to { background: var(--accent-dark); } }
@keyframes scale-in { from { transform: scale(0); } to { transform: scale(1); } }

.story-close { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 4px 0; }
.story-close h3 { font-size: 28px; font-weight: 400; letter-spacing: -.022em; }

/* ───────── 4 · What Callie handles: sticky tabs ───────── */

.handles { display: block; padding: 0; border-top: 0; }
.handles-stick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr);
  gap: 36px;
  padding-block: 40px 120px;
  border-top: 1px solid var(--line);
}
.badge { margin-left: auto; color: var(--faint); font-size: 12px; font-weight: 500; }
.badge.is-live { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.badge.is-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.handles-stage { display: grid; place-items: center; min-height: 560px; padding: 48px; }
.tab-panel { display: grid; gap: 10px; width: min(400px, 100%); }
.tab-panel.is-showing .ui-card { animation: pop .5s var(--pop) both; }
.tab-panel.is-showing .ui-card + .ui-card { animation-delay: .4s; }

.handles.is-scrubbed { height: 360vh; }
.handles.is-scrubbed .handles-stick { position: sticky; top: 0; height: 100vh; min-height: 640px; align-items: center; padding-block: 96px 48px; border-top: 0; }

/* ───────── 5 · Asks before spending ───────── */

.chats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chat { display: grid; align-content: start; gap: 10px; padding: 32px 28px; }
.chat .ui-card { width: 92%; }
.chat .ui-card:nth-of-type(2) { justify-self: end; }
.verdict {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.verdict svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.verdict.is-yes { background: #dcefe4; color: var(--green); }
.verdict.is-no { background: #f6e3df; color: var(--red); }
.motion .chat .msg { clip-path: inset(0 100% 0 0 round 12px); }
.motion .chat .verdict { transform: scale(0); }
.chat.is-in .msg { animation: ink .6s var(--ease) both; }
.chat.is-in .msg:nth-of-type(2) { animation-delay: 1s; }
.chat.is-in .msg:nth-of-type(3) { animation-delay: 1.5s; }
.chat.is-in .verdict { animation: scale-in .4s var(--pop) .6s both; }
@keyframes ink { from { clip-path: inset(0 100% 0 0 round 12px); } to { clip-path: inset(0 0 0 0 round 12px); } }

/* ───────── 7 · Pricing: one calm card (Alven's "Simple pricing plan") ───────── */

.price-card { width: min(560px, 100%); padding: 28px 32px 32px; }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.price-unit { font-size: 16px; }
.price-figure { margin-top: 4px; font-size: 40px; line-height: 1.2; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-list { display: grid; gap: 10px; margin-top: 24px; }
.price-list li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.price-list svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.price-terms { margin-top: 24px; padding-top: 20px; border-top: 1px solid #dddddd; font-size: 15px; line-height: 1.5; }
.price-small { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ───────── 8 · FAQ ───────── */

.faq-list { max-width: 760px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  list-style: none;
  font-size: 17px;
  cursor: pointer;
}
.faq-list details:first-child summary { padding-top: 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform .2s var(--ease); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.answer { overflow: hidden; }
.answer p { max-width: 62ch; padding: 0 32px 20px 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ───────── 9 · Closing: a rolling word over a soft photo band, then one button ───────── */

.closing { display: grid; justify-items: center; gap: 16px; padding-block: 0 120px; text-align: center; }
.closing-band {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 480px;
  overflow: hidden;
  border-radius: 16px;
  background: #b9a184;
  color: #fff;
}
.band-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) saturate(1.1); transform: scale(1.12); }
/* Darker behind the line itself, so white text holds 3:1 over the light streak in the photo. */
.closing-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 40% at 50% 50%, rgba(30, 20, 10, .5), rgba(30, 20, 10, .22)); }
.closing h2 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: -.03em;
  text-shadow: 0 1px 12px rgba(40, 28, 16, .25);
}
.closing-lead { margin-right: .28em; }
.closing-sub { margin-top: 64px; color: var(--muted); font-size: 17px; }
.closing .button { margin-top: 8px; }

/* The word rolls up; the one before and the one after stay faintly visible (Alven). */
.ticker { position: relative; display: inline-block; height: 1.2em; width: var(--w, 3.2em); transition: width .7s var(--ease); }
.ticker-window {
  position: absolute;
  left: 0;
  top: -1.2em;
  width: 8em;
  height: 3.6em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
}
.ticker-track { display: flex; flex-direction: column; align-items: flex-start; text-align: left; transform: translateY(calc((1 - var(--i, 1)) * 1.2em)); transition: transform .8s var(--ease); }
.ticker-track.is-jump { transition: none; }
.ticker-word { height: 1.2em; white-space: nowrap; opacity: .35; transition: opacity .8s var(--ease); }
.ticker-word.is-on { opacity: 1; }
.ticker-track.is-jump .ticker-word { transition: none; }

/* ───────── Footer ───────── */

.footer { padding-top: 40px; overflow: hidden; border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 64px; }
.footer .brand { font-size: 28px; }
.footer .brand img { width: 26px; height: 32px; }
.footer-links { display: grid; grid-template-columns: auto auto auto; gap: clamp(32px, 5vw, 80px); font-size: 14px; line-height: 1.5; }
.footer-links nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-contact svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-meta { display: flex; justify-content: space-between; gap: 24px; margin-top: 32px; color: var(--muted); font-size: 12px; }
.footer-wordmark { position: relative; width: 100%; height: .78em; margin-top: 24px; overflow: hidden; color: #e6e6e6; font-size: 40.8vw; font-weight: 500; line-height: 1; letter-spacing: -.05em; pointer-events: none; user-select: none; }
.footer-wordmark span { position: absolute; top: -.065em; left: 50%; transform: translateX(-50%); white-space: nowrap; }

/* ───────── Narrow windows ───────── */

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
  .section, .handles-stick { grid-template-columns: 1fr 1.6fr; }
  .team { --pad-x: 32px; }
}

@media (max-width: 860px) {
  .wrap { width: calc(100% - 40px); }
  .header { inset: 12px 12px auto; }
  .nav-pill { width: 100%; justify-content: space-between; }
  .brand { margin-right: auto; }
  .menu-button { display: inline-flex; }
  .navigation {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 8px;
    border-radius: 14px;
    background: var(--card);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 16px 32px -16px rgba(0, 0, 0, .3);
    font-size: 16px;
  }
  .navigation a { padding: 12px; }
  .js-menu .navigation { display: none; }
  .header.is-open .navigation { display: flex; }

  .hero { min-height: 0; }
  .hero::after { background: linear-gradient(0deg, rgba(20, 14, 9, .5), rgba(20, 14, 9, .5)); }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-block: 120px 32px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 16px; }

  .section, .handles-stick { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 80px; }
  .side-sticky { position: static; }
  .step-list { display: none; }
  .tabs { margin-top: 24px; max-width: none; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .team { --pad-x: 16px; padding-top: 16px; }
  .panel-tag { margin-bottom: 16px; }
  .beat { min-height: 0; padding: 20px 16px 28px; gap: 16px; }
  .handles-stage { min-height: 380px; padding: 24px 16px; }
  .chats { grid-template-columns: 1fr; }
  .chat { padding: 24px 16px; }
  .story-close { flex-direction: column; align-items: flex-start; padding-top: 24px; }
  .film-caption { flex-direction: column; gap: 8px; }
  .film-caption p { text-align: left; }
  .closing-band { height: 320px; }
  .footer-main { flex-direction: column; gap: 28px; }
  .footer-links { width: 100%; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .header-book { padding-inline: 12px; font-size: 13px; }
  .team-table td:nth-child(2), .team-table th:nth-child(2) { display: none; }
  .price-card { padding: 24px 20px; }
  .price-top { flex-direction: column; align-items: flex-start; }
  .closing h2 { font-size: 28px; }
  .footer-meta { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
