/* /demo landing. Mobile first; one centered column under a full-bleed ink hero band.
   Palette comes from /free/interview.css tokens: ink #102c40, pine #226a5b, gold #ffc94a, cloud #f4f6f2.
   Action green #2fbf4a matches the Gini start button; text on it is ink (5.95:1), never white (2.4:1). */
body.demo-landing {
  --dl-ink: var(--ink, #102c40);
  --dl-ink-deep: #0b2131;
  --dl-pine: var(--pine, #226a5b);
  --dl-gold: var(--gold, #ffc94a);
  --dl-cloud: var(--cloud, #f4f6f2);
  --dl-go: #2fbf4a;
  --dl-on-ink: #f4f6f2;
  --dl-on-ink-soft: #c9d8dc;
  --dl-rule: rgba(16, 44, 64, .12);
  --dl-try: #fbf3dc;
  --dl-col: min(48rem, calc(100% - 2rem));
  margin: 0;
  caret-color: var(--dl-pine);
}
body.demo-landing ::selection { background: var(--dl-gold); color: var(--dl-ink); }
.demo-landing .skip { position: absolute; left: -9999px; }
.demo-landing .skip:focus { left: 1rem; top: 1rem; z-index: 30; background: var(--dl-cloud); color: var(--dl-ink); padding: .5rem .75rem; border-radius: .5rem; }
.demo-landing :focus-visible { outline: 3px solid var(--dl-gold); outline-offset: 3px; }

/* Hero band: the one region the brand colour owns. */
.dl-band {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(47, 191, 74, .16), transparent 70%),
    linear-gradient(180deg, var(--dl-ink) 0%, var(--dl-ink-deep) 100%);
  color: var(--dl-on-ink);
  padding-bottom: 2.25rem;
}
.dl-top { display: flex; justify-content: center; width: var(--dl-col); margin: 0 auto; padding: 1.1rem 0 .5rem; }
/* Same mark and wordmark as the homepage header (.home-brand in /css/home-v2.css). */
.dl-mark { color: var(--dl-on-ink); text-decoration: none; }

.dl-hero { width: var(--dl-col); margin: 0 auto; text-align: center; }
.dl-hero h1 {
  font-family: Fraunces, Georgia, serif; font-weight: 500;
  font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.04; letter-spacing: -0.035em;
  margin: 1.5rem auto 1rem; max-width: 19ch; text-wrap: balance; color: var(--dl-on-ink);
}
.dl-hero h1 em { font-style: italic; font-weight: 600; color: var(--dl-gold); }
.dl-sub { max-width: 34rem; margin: 0 auto 1.6rem; font-size: 1.15rem; line-height: 1.5; color: var(--dl-on-ink-soft); text-wrap: pretty; }
.dl-assure { margin: .7rem 0 0; font-size: .92rem; color: var(--dl-on-ink-soft); }

/* Step nav, set into the band as quiet text links. */
.dl-steps { list-style: none; padding: 0; margin: 2rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; }
.dl-steps a { display: inline-flex; align-items: center; gap: .5rem; color: var(--dl-on-ink); text-decoration: none; font-size: .95rem; padding: .35rem 0; border-bottom: 1px solid transparent; }
.dl-steps a:hover { border-bottom-color: var(--dl-gold); }
.dl-steps span { display: inline-grid; place-items: center; width: 1.55rem; height: 1.55rem; border-radius: 50%; border: 1px solid rgba(244, 246, 242, .45); font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: .85rem; flex: none; }

.dl-layout { width: var(--dl-col); margin: 0 auto; padding-bottom: 3rem; }
.dl-main { min-width: 0; }

.dl-step, .dl-more { text-align: center; }
.dl-step { padding: 2.75rem 0 2.25rem; border-top: 1px solid var(--dl-rule); scroll-margin-top: 1rem; }
.dl-step:first-child { border-top: 0; }
.dl-step h2, .dl-more h2 {
  font-family: Fraunces, Georgia, serif; font-weight: 500; color: var(--dl-ink);
  font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 1.25rem; text-wrap: balance;
}

/* Video */
.dl-video { margin: 0; }
.dl-video video { display: block; width: 100%; height: auto; border-radius: 1rem; background: #111; box-shadow: 0 18px 40px -12px rgba(16, 44, 64, .45); }
.dl-video figcaption { margin: .9rem auto 0; max-width: 38rem; font-size: 1rem; line-height: 1.5; text-align: center; color: var(--dl-ink); }
.dl-tag { display: inline-block; margin-right: .4rem; padding: .12rem .55rem; border-radius: .4rem; background: var(--dl-pine); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .02em; vertical-align: .1em; }
.dl-len { display: inline-block; margin-right: .4rem; font-size: .85rem; font-weight: 700; color: var(--dl-pine); font-variant-numeric: tabular-nums; }

/* How it works: big serif numerals carry the sequence. */
.dl-how { list-style: none; counter-reset: how; text-align: left; max-width: 36rem; margin: 0 auto; padding: 0; display: grid; gap: 1.1rem; font-size: 1.07rem; line-height: 1.5; color: var(--dl-ink); }
.dl-how li { counter-increment: how; display: grid; grid-template-columns: 2.6rem 1fr; align-items: baseline; }
.dl-how li::before { content: counter(how); font-family: Fraunces, Georgia, serif; font-size: 2rem; font-weight: 500; line-height: 1; color: var(--dl-pine); }

/* Owner FAQ */
.dl-faq { max-width: 36rem; margin: 2.5rem auto 0; text-align: left; }
.dl-faq h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; font-style: italic; font-size: 1.4rem; text-align: center; color: var(--dl-ink); margin: 0 0 .9rem; }
.dl-faq details { border-top: 1px solid var(--dl-rule); padding: .85rem 0; }
.dl-faq details:last-child { border-bottom: 1px solid var(--dl-rule); }
.dl-faq summary { cursor: pointer; font-weight: 600; font-size: 1.04rem; color: var(--dl-ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.dl-faq summary::-webkit-details-marker { display: none; }
.dl-faq summary::after { content: "+"; font-family: Fraunces, Georgia, serif; font-size: 1.35rem; line-height: 1; color: var(--dl-pine); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.dl-faq details[open] summary::after { transform: rotate(45deg); }
.dl-faq details p { margin: .55rem 0 0; line-height: 1.55; color: var(--dl-ink); }

/* Try it: the destination, on a warm surface so it reads as the place to act. */
.dl-try { background: var(--dl-try); border-top: 0; border-radius: 1.25rem; padding: 2.5rem 1.25rem 2rem; margin: 1rem 0 2rem; box-shadow: 0 1px 0 rgba(16, 44, 64, .06), 0 20px 40px -24px rgba(16, 44, 64, .35); }
.dl-try p { max-width: 36rem; margin-inline: auto; color: var(--dl-ink); }
.dl-try > p { font-size: 1.05rem; line-height: 1.55; }
.dl-try .dl-lead { font-family: Fraunces, Georgia, serif; font-size: 1.3rem; font-weight: 500; font-style: italic; }
.dl-next { list-style: none; counter-reset: nxt; max-width: 32rem; margin: 1.5rem auto; padding: 0; text-align: left; display: grid; gap: .65rem; }
.dl-next li { counter-increment: nxt; display: grid; grid-template-columns: 2rem 1fr; align-items: baseline; line-height: 1.45; color: var(--dl-ink); }
.dl-next li::before { content: counter(nxt); display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--dl-ink); color: var(--dl-gold); font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: .85rem; }
.dl-try .dl-mic { font-size: .95rem; color: var(--dl-pine); }
body.demo-landing .app-shell { width: 100%; min-height: 0; margin: 0; padding: 0; background: transparent; }
body.demo-landing.is-live-call .step-panel, body.demo-landing.is-centered-stage .step-panel, body.demo-landing.ginny-page .step-panel { min-height: 0; background: transparent; }
body.demo-landing #panel > .welcome:not(.crew-welcome) { display: none; }
body.demo-landing .gini-live { margin-top: 0; margin-bottom: 0; padding-bottom: 0; }
body.demo-landing #error:empty { display: none; }
body.demo-landing .step-panel { padding-bottom: 0; }
/* Center the avatar; its own size per call state comes from /free/interview.css. */
body.demo-landing .gini-orb-wrap { max-width: none; display: flex; justify-content: center; }
body.demo-landing .gini-call.gini-start { color: var(--dl-ink); font-weight: 700; }

/* More demos */
.dl-more { padding: 2.5rem 0 1rem; border-top: 1px solid var(--dl-rule); }
/* Dealer demo: a thumbnail the same size as the videos above, linking to /demo/dealer/. */
.dl-video-link, .dl-more .dl-video + .dl-video { margin-top: 2.5rem; }
.dl-thumb { position: relative; display: block; border-radius: 1rem; overflow: hidden; background: #111; box-shadow: 0 18px 40px -12px rgba(16, 44, 64, .45); }
.dl-thumb img { display: block; width: 100%; height: auto; transition: transform .4s cubic-bezier(.16, 1, .3, 1), filter .4s cubic-bezier(.16, 1, .3, 1); }
.dl-play { position: absolute; left: 50%; top: 50%; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--dl-go); color: var(--dl-ink); box-shadow: 0 10px 28px -6px rgba(0, 0, 0, .5); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.dl-play-low { left: 4.5%; top: auto; bottom: 8%; margin: 0; width: clamp(2.5rem, 8%, 4.5rem); height: auto; aspect-ratio: 1; }
.dl-play-low svg { width: 45%; height: auto; }
.dl-thumb:hover img, .dl-thumb:focus-visible img { transform: scale(1.02); filter: brightness(1.05); }
.dl-thumb:hover .dl-play, .dl-thumb:focus-visible .dl-play { transform: scale(1.08); }

/* Trial buttons: each one jumps to Try it and focuses the start button (landing.js). */
.dl-cta-row { margin: 1.5rem 0 0; text-align: center; }
.dl-hero .dl-cta-row { margin: 0; }
.dl-cta {
  display: inline-block; padding: .9rem 1.5rem; border-radius: 999px;
  background: var(--dl-go); color: var(--dl-ink); font-weight: 700; font-size: 1.05rem; text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(47, 191, 74, .55);
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s cubic-bezier(.16, 1, .3, 1);
}
.dl-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -8px rgba(47, 191, 74, .6); }
.dl-cta:active { transform: translateY(0); }

/* Floating trial button (full width on phones, bottom-right on desktop),
   hidden while the hero or the Try it start button is on screen (landing.js). */
.dl-sticky { position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 20; text-align: center; box-shadow: 0 12px 30px -6px rgba(16, 44, 64, .45); }
.dl-sticky[hidden] { display: none; }
@media (min-width: 720px) { .dl-sticky { left: auto; right: 1.5rem; bottom: 1.5rem; } }
@media (max-width: 719px) { body.demo-landing { padding-bottom: 5rem; } }

.dl-foot { width: var(--dl-col); margin: 0 auto; text-align: center; padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--dl-rule); font-size: .92rem; color: var(--dl-ink); }
.dl-foot a { color: var(--dl-ink); text-underline-offset: .2em; }

@media (prefers-reduced-motion: reduce) {
  .dl-cta, .dl-thumb img, .dl-play, .dl-faq summary::after { transition: none; }
}
