/* Chan homepage: page CSS on top of the Taste kit (system.css and friends).
   Only what sits inside a visual or the kit lacks. Emil Kowalski's motion rules apply:
   custom ease-out curves, press feedback, hover lifts only where hovering exists. */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }

/* hero collage pieces: small cards drawn in the app's own words */
.ly-collage .ly-piece.pc-card, .ly-collage .ly-piece.pc-msg {
  background: var(--p-bg); border: 1px solid color-mix(in srgb, var(--p-ink) 12%, transparent);
  box-shadow: 0 18px 40px -18px rgba(31, 48, 56, .28); padding: var(--s-5); display: grid; gap: 6px; font-size: 15px; line-height: 1.45; overflow: visible;
}
.ly-collage .ly-piece > img { object-fit: cover; }
.ly-collage .ly-piece:has(> img) { border: 1px solid color-mix(in srgb, var(--p-ink) 10%, transparent); }
.pc-card b { font-weight: 500; font-size: 17px; }
.pc-meta { font-size: 13px; font-weight: 500; color: var(--p-muted); }
.pc-chip { justify-self: start; margin-top: 4px; font-size: 13px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--p-accent) 12%, var(--p-bg)); color: var(--p-accent); }
.pc-msg { background: var(--p-inv-bg) !important; color: var(--p-inv-ink); border-color: transparent !important; }
.pc-msg .pc-meta { color: var(--p-inv-muted); }
.pc-btns { display: flex; gap: 8px; margin-top: 6px; }
.pc-btns i { font-style: normal; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--p-ink) 18%, transparent); }
.pc-btns i.on { background: var(--p-action); color: var(--p-action-ink); border-color: var(--p-action); }

/* how we help: the app in the middle is the core */
.pillars { margin-top: var(--s-6); }
.pillar { gap: var(--s-3); }
.pillar h3 { font-family: var(--font-display); font-size: var(--t-card); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); }
.pillar--core { background: var(--p-inv-bg); color: var(--p-inv-ink); border-color: var(--p-inv-bg); }
.pillar--core > p, .pillar--core h3 { color: var(--p-inv-ink); }
.pillar--core .t-label { color: var(--p-inv-muted); }
.monthly { margin-top: var(--s-6); display: flex; gap: var(--s-5); align-items: baseline; max-width: 68ch; }
.monthly .t-label { white-space: nowrap; color: var(--p-accent); }

/* the app, big, on the dark band */
.app-wrap { display: flex; flex-direction: column; height: 100%; }
.app-lede { color: var(--p-inv-ink); font-size: var(--t-lead); line-height: 1.5; margin: 0; }
.app-shot { margin-top: var(--s-7); flex: 1 1 0; min-height: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); position: relative; }
.app-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; display: block; }
.app-shot::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--p-inv-bg)); }

/* the steps' pictures read as app windows */
[data-moment="pinned-chapters"] .mo-pc__visual img, [data-moment="pinned-chapters"] .mo-pc__visuals img { border-radius: var(--r-md); object-position: 0 0; }

/* features: open rows on the page ground, no boxes */
.feat { list-style: none; padding: 0; margin: 0; row-gap: var(--s-6); }
.feat li { display: grid; gap: var(--s-2); align-content: start; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.feat h3 { font-family: var(--font-text); font-size: var(--t-card); font-weight: 500; letter-spacing: -0.01em; }
.feat p { margin: 0; max-width: 40ch; font-size: 15px; line-height: 1.55; }
@media (max-width: 1023px) { .feat > li.span-3 { grid-column: span 6; } }
@media (max-width: 639px) { .feat > li.span-3 { grid-column: 1 / -1; } }

/* obligations beside a real flagged inquiry */
.rules { list-style: none; padding: 0; margin: 0; }
.rules > li { grid-template-columns: minmax(0, 1fr); }
.rules-shot { min-height: 0; align-self: stretch; }
.rules-shot .frame__img { object-fit: cover; object-position: 12% 0; }

/* growth services */
.growth .card h3 { font-family: var(--font-display); font-weight: var(--display-weight); }
.honest { margin-top: var(--s-6); color: var(--ink); max-width: 62ch; }

/* set up around your firm */
.fit { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.fit li { display: grid; gap: var(--s-2); align-content: start; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.fit__n { font: 500 13px var(--font-mono); color: var(--p-accent); }
.fit h3 { font-family: var(--font-display); font-size: var(--t-card); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); }
.fit p { margin: 0; max-width: 42ch; }

/* FAQ in two columns, every answer open */
.faq--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter, 24px); }
.faq--cols > .faq__item, .faq--cols > .faq__item:first-child { padding-block: var(--s-4); }
.faq--cols h3 { font-size: 17px !important; }
.faq--cols p { font-size: 15px; line-height: 1.55; }
@media (max-width: 1023px) { .faq--cols { grid-template-columns: minmax(0, 1fr); } }

/* the demo form */
/* the demo form: one question per screen (home.js steps through it; without the script every
   question shows at once and the form posts the ordinary way) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qf-card {
  --qf-glow: #46b9c4;
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-lg); padding: var(--s-7);
  background:
    radial-gradient(120% 80% at 100% 0%, color-mix(in oklab, var(--qf-glow) 16%, transparent), transparent 60%),
    var(--p-inv-bg);
  color: var(--p-inv-ink);
  box-shadow: 0 1px 0 color-mix(in oklab, white 8%, transparent) inset, 0 30px 60px -30px rgb(10 20 26 / .55);
}
.qf-card::before {   /* a faint measuring grid, fading out toward the bottom */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(color-mix(in oklab, white 5%, transparent) 1px, transparent 1px),
                    linear-gradient(90deg, color-mix(in oklab, white 5%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.qf__top { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-7); font-family: var(--font-mono); font-size: var(--t-small); color: var(--p-inv-muted); }
.qf__count b { color: var(--p-inv-ink); font-weight: 500; }
.qf__bar { flex: 1; height: 2px; background: color-mix(in oklab, white 12%, transparent); border-radius: 2px; overflow: hidden; }
.qf__bar span { display: block; height: 100%; width: var(--qf-p, 12.5%); background: var(--qf-glow); box-shadow: 0 0 12px var(--qf-glow);
  transition: width .5s cubic-bezier(.22, 1, .36, 1); }
.qf__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.qf__step { border: 0; padding: 0; margin: 0 0 var(--s-6); min-width: 0; }
.qf__q { display: block; padding: 0; margin-bottom: var(--s-5); font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: var(--t-h3); line-height: 1.2; letter-spacing: var(--display-tracking); color: var(--p-inv-ink); }
.qf__opt { font-family: var(--font-mono); font-size: var(--t-small); letter-spacing: 0; color: var(--p-inv-muted); font-weight: 400; vertical-align: middle; margin-left: .4em; }
.qf__input {
  width: 100%; border: 0; border-radius: 0; background: transparent; color: var(--p-inv-ink);
  font: inherit; font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); padding: .35em 0 .45em;
  border-bottom: 1px solid color-mix(in oklab, white 25%, transparent);
  background-image: linear-gradient(var(--qf-glow), var(--qf-glow)); background-repeat: no-repeat;
  background-size: 0% 2px; background-position: 0 100%;
  transition: background-size .45s cubic-bezier(.22, 1, .36, 1), border-color .2s;
}
.qf__input::placeholder { color: color-mix(in oklab, var(--p-inv-ink) 35%, transparent); }
.qf__input:focus { outline: none; background-size: 100% 2px; border-bottom-color: transparent; }
.qf__input--area { resize: vertical; min-height: 4.5em; line-height: 1.4; }
.qf__input[aria-invalid="true"] { border-bottom-color: #ff9a8a; }
.qf__err { margin-top: var(--s-3); color: #ffb3a7; font-size: var(--t-small); }
.qf__hint { margin-top: var(--s-3); color: var(--p-inv-muted); font-size: var(--t-small); }
.qf__choices { display: grid; gap: var(--s-2); }
.qf__choices--2 { grid-template-columns: 1fr 1fr; }
.qf__choice { position: relative; display: flex; align-items: center; gap: var(--s-3); min-height: 48px; padding: var(--s-2) var(--s-3);
  border: 1px solid color-mix(in oklab, white 16%, transparent); border-radius: var(--r-md); cursor: pointer;
  background: color-mix(in oklab, white 3%, transparent);
  transition: border-color .2s, background-color .2s, transform .16s cubic-bezier(.22, 1, .36, 1); }
.qf__choice input { position: absolute; opacity: 0; pointer-events: none; }
.qf__key { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 12px; border: 1px solid color-mix(in oklab, white 25%, transparent); color: var(--p-inv-muted); transition: inherit; }
.qf__choice:has(input:checked) { border-color: var(--qf-glow); background: color-mix(in oklab, var(--qf-glow) 14%, transparent); }
.qf__choice:has(input:checked) .qf__key { background: var(--qf-glow); border-color: var(--qf-glow); color: var(--p-inv-bg); }
.qf__choice:has(input:focus-visible) { outline: 2px solid var(--qf-glow); outline-offset: 2px; }
.qf__choice:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .qf__choice:hover { border-color: color-mix(in oklab, white 34%, transparent); background: color-mix(in oklab, white 6%, transparent); }
}
.qf__nav { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.qf__enter { font-size: var(--t-small); color: var(--p-inv-muted); }
.qf__enter kbd { font-family: var(--font-mono); font-size: 12px; padding: 2px 6px; border-radius: 4px; border: 1px solid color-mix(in oklab, white 20%, transparent); }
.qf__back { margin-left: auto; min-height: 44px; padding: 0 var(--s-2); border: 0; background: none; color: var(--p-inv-muted); font: inherit; font-size: var(--t-small); cursor: pointer; }
.qf__back:hover { color: var(--p-inv-ink); }
.qf__back::before { content: "← "; }
.qf__done h3 { font-family: var(--font-display); font-size: var(--t-h3); font-weight: var(--display-weight); margin: var(--s-5) 0 var(--s-3); }
.qf__done p { color: var(--p-inv-muted); }
.qf__done:focus { outline: none; }
.qf__tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--qf-glow);
  box-shadow: 0 0 24px color-mix(in oklab, var(--qf-glow) 45%, transparent); }
.qf__tick::after { content: ""; width: 18px; height: 9px; margin-top: -4px; border: solid var(--qf-glow); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* with the script on: one question at a time; the card eases to each question's height */
.qf.is-js .qf__stage { position: relative; padding-bottom: var(--s-6); }
.qf.is-js .qf__stage.is-sizing { transition: height .42s cubic-bezier(.22, 1, .36, 1); overflow: hidden; }
.qf.is-js .qf__step { margin: 0; }
.qf.is-js .qf__step:not(.is-on) { position: absolute; inset: 0 0 auto 0; visibility: hidden; opacity: 0; }
.qf.is-js .qf__top { display: flex; }
.qf:not(.is-js) .qf__top, .qf:not(.is-js) .qf__enter { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .qf.is-js .qf__step.is-on { animation: qf-in .5s cubic-bezier(.22, 1, .36, 1) both; }
  .qf.is-js .qf__step.is-on.is-back { animation-name: qf-in-back; }
  .qf.is-js .qf__step.is-off { visibility: visible; animation: qf-out .22s cubic-bezier(.4, 0, 1, 1) both; }
  .qf.is-js .qf__step.is-off.is-back { animation-name: qf-out-back; }
  .qf.is-js .qf__step.is-on .qf__choice { animation: qf-in .45s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(var(--i, 0) * 35ms + 80ms); }
  .qf__done.is-on > * { animation: qf-in .6s cubic-bezier(.22, 1, .36, 1) both; }
  .qf__done.is-on > :nth-child(2) { animation-delay: .08s; }
  .qf__done.is-on > :nth-child(3) { animation-delay: .16s; }
}
@keyframes qf-in { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
@keyframes qf-in-back { from { opacity: 0; transform: translateY(-18px); filter: blur(6px); } }
@keyframes qf-out { to { opacity: 0; transform: translateY(-14px); filter: blur(4px); } }
@keyframes qf-out-back { to { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
@media (max-width: 639px) {
  .qf-card { padding: var(--s-5); }
  .qf__choices--2 { grid-template-columns: 1fr; }
  .qf__enter { display: none; }
}

/* sections arrive as they scroll in (home.js adds these only when motion is welcome):
   blocks rise from well below out of a blur, headings come up out of a mask, pictures open
   like a curtain, one after another */
.rv-wait { opacity: 0; transform: translateY(72px) scale(.96); filter: blur(12px); }
.rv-wait.section-head h2, .rv-wait.section-head--split h2 { clip-path: inset(0 0 100% 0); transform: translateY(40px); }
.rv-wait:is(.shot-whole, .app-shot, .qf-card) { transform: translateY(48px) scale(.94); clip-path: inset(18% 0 0 0 round var(--r-lg)); filter: none; }
.rv-in { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0 round 0);
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform 1.2s cubic-bezier(.16, 1, .3, 1),
              filter .9s cubic-bezier(.22, 1, .36, 1), clip-path 1.2s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--rv-i, 0) * 120ms); }
.rv-in.section-head h2, .rv-in.section-head--split h2 { clip-path: inset(0 0 -20% 0); transform: none;
  transition: clip-path 1.1s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.rv-in:is(.shot-whole, .app-shot) img { animation: rv-zoom 1.6s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes rv-zoom { from { transform: scale(1.12); } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Emil: nothing here moves unless it is pressable; the kit's motion layer handles buttons and links */

.fit-shot, .rules-shot { min-height: 0; align-self: stretch; }
.fit-shot .frame__img { object-fit: cover; object-position: 12% 0; }
@media (min-width: 1024px) and (max-width: 1279px) { .rules > li { padding-block: var(--s-3); } }

/* phone */
@media (max-width: 639px) {
  .close__word { font-size: 16vw !important; }
  main > #steps[data-moment]:not(.is-live) { min-height: calc(2 * 100vh); min-height: calc(2 * 100lvh); }
  .feat { row-gap: var(--s-4); }
  .feat li { padding-top: var(--s-3); gap: 4px; }
  .rules-shot, .fit-shot { height: 220px; }
  .monthly { flex-direction: column; gap: var(--s-2); }
  .closing__links .grid > * { grid-column: 1 / -1 !important; }
  .closing__links .grid > .footer__col { grid-column: span 6 !important; }
}

/* one button size page-wide (the triptych's large button matches the rest) */
.hero--triptych .hero__cta .btn { height: var(--btn-h, 44px); padding-inline: var(--s-6); font-size: var(--t-body); }
/* the closing name: room for its ascenders */
.close__word { line-height: 1 !important; padding-top: .06em; }

/* pictures in the help cards and growth cards */
.pillar__pic { margin-top: var(--s-3); height: 104px; border-radius: var(--r-md); overflow: hidden; background: var(--p-surface); }
.pillar__pic .frame__img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.pillar--core .pillar__pic { background: var(--p-inv-surface); }
.pillar__pic--icon { display: grid; place-items: center; background: var(--p-bg); }
.pillar__pic--icon img { width: 48px; height: auto; }
.g-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--p-bg); border: 1px solid var(--line); overflow: hidden; }
.g-ic img { width: 28px; height: 28px; object-fit: contain; }
.g-ic--shot img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 0; }
.growth .card { gap: var(--s-3); }
.feat .g-ic { width: 40px; height: 40px; }
.feat .g-ic img { width: 22px; height: 22px; }
@media (max-width: 1023px) { .pillar__pic { height: 88px; } }
@media (max-width: 639px) { .pillar__pic { display: none; } .pillar__pic--icon { display: grid; height: 64px; } .growth .card .g-ic--shot { display: none; } }

.pillar .g-ic { margin-bottom: var(--s-2); }
.pillar--core .g-ic { border-color: rgba(255,255,255,.18); }

.growth-rows { list-style: none; padding: 0; margin: 0; }
.growth-rows > li { grid-template-columns: minmax(0, 1fr); }
.row-ic { display: inline-block; width: 14px; height: 20px; margin-right: 8px; vertical-align: -3px; }
.growth-shot { min-height: 0; align-self: stretch; }
.growth-shot .frame__img { object-fit: cover; object-position: 30% 0; }
.help-shot { display: none; }
@media (max-width: 639px) {
  .growth-shot { height: 420px; }
  .help-shot { display: block; margin-top: var(--s-6); height: 300px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
  .help-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
}

/* screenshots beside text are shown whole, never cropped */
.shot-whole { min-width: 0; align-self: start; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--p-surface); }
.shot-whole img { display: block; width: 100%; height: auto; }
.growth-list { margin-top: var(--s-2); }
@media (min-width: 640px) and (max-width: 1023px) { #rules, #fit { --h: 2; } }

/* hero story: three simple cards, big words, no app screens */
.story .ly-piece.st-card, .story .ly-piece.st-badge { overflow: visible; background: var(--p-bg); border: 1px solid color-mix(in srgb, var(--p-ink) 12%, transparent); box-shadow: 0 24px 60px -28px rgba(31, 48, 56, .35); }
.st-card { padding: var(--s-8) var(--s-7); display: grid; gap: var(--s-4); }
.st-step { font: 500 14px var(--font-mono); color: var(--p-accent); }
.st-time { position: absolute; top: var(--s-7); right: var(--s-7); font: 500 14px var(--font-mono); color: var(--p-muted); }
.st-big { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(32px, 3.8vw, 56px); line-height: 1.05; letter-spacing: var(--display-tracking-xl); }
.st-line { font-size: 20px; color: var(--p-muted); }
.st-slots { display: flex; gap: 10px; margin-top: var(--s-2); }
.st-slots i { font-style: normal; font-size: 18px; padding: 12px 20px; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--p-ink) 15%, transparent); }
.st-slots i.on { background: var(--p-ink); color: var(--p-bg); border-color: var(--p-ink); }
.st-sign { justify-self: start; margin-top: var(--s-2); font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 30px; color: var(--p-ink); border-bottom: 1px solid color-mix(in srgb, var(--p-ink) 25%, transparent); padding: 0 var(--s-6) 4px 0; }
.st-badge { padding: var(--s-6) var(--s-6); display: flex; gap: var(--s-4); align-items: center; background: var(--p-inv-bg) !important; color: var(--p-inv-ink); border-color: transparent !important; }
.st-badge b { display: block; font-weight: 500; font-size: 20px; }
.st-badge small { display: block; font-size: 15px; color: var(--p-inv-muted); margin-top: 2px; }
.st-ok { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--p-accent); color: #fff; }
.st-ok svg { width: 20px; height: 20px; }
.st-btn { flex: none; font-size: 15px; font-weight: 500; padding: 10px 16px; border-radius: var(--r-sm); background: var(--p-accent); color: #fff; }
@media (max-width: 1023px) {
  .story .ly-piece.st-card { left: 0 !important; width: 86% !important; }
  .story .ly-piece.st-badge { left: 10% !important; width: 90% !important; }
  .st-badge { padding: var(--s-4) var(--s-5); }
  .st-card { padding: var(--s-5); }
  .st-time { top: var(--s-5); right: var(--s-5); }
}
@media (max-width: 639px) {
  .st-big { font-size: 28px; }
  .st-line, .st-badge b { font-size: 16px; }
  .st-badge small { font-size: 14px; }
  .st-slots i { padding: 8px 10px; font-size: 14px; }
}

.st-rows { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-2); }
.st-rows span { font-size: 16px; padding: 8px 14px; border-radius: 999px; background: var(--p-surface); }
.st-search { display: flex; align-items: center; gap: 12px; margin-top: var(--s-2); padding: 16px 20px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--p-ink) 15%, transparent); font-size: 22px; box-shadow: 0 6px 18px -10px rgba(31,48,56,.3); }
.st-search svg { width: 22px; height: 22px; color: var(--p-muted); flex: none; }
.st-ok--warn { background: #b26a00; }
@media (max-width: 639px) { .st-search { font-size: 17px; padding: 12px 16px; } .st-rows span { font-size: 14px; } }

.hero-pause { display: none; }
@media (max-width: 639px) {
  .ly-collage > .ly-collage__set { transition: opacity .6s var(--ease-out); }
  .hero-pause { display: grid; place-items: center; position: absolute; right: 8px; bottom: 8px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--p-bg); color: var(--p-ink); box-shadow: 0 4px 14px -6px rgba(31,48,56,.35); cursor: pointer; }
  .hero-pause[hidden] { display: none; }
  .hero-pause svg { width: 14px; height: 14px; }
  .hero-pause:active { transform: scale(0.95); }
}
/* phone: the card on top, the dark note at the foot, the pause button beside it */
@media (max-width: 639px) {
  .story .ly-piece.st-card { top: 0 !important; left: 0 !important; width: 100% !important; padding: var(--s-5); gap: var(--s-2); }
  .story .ly-piece.st-badge { top: auto !important; bottom: 0 !important; left: 0 !important; width: calc(100% - 56px) !important; padding: var(--s-4); gap: var(--s-3); }
  .st-time { top: var(--s-5); right: var(--s-5); font-size: 13px; }
  .st-badge b { font-size: 16px; }
  .st-badge small { font-size: 13px; }
  .st-ok { width: 32px; height: 32px; }
  .st-ok svg { width: 16px; height: 16px; }
  .st-btn { padding: 8px 12px; font-size: 14px; }
  .st-rows { gap: 6px; }
  .st-rows span { padding: 6px 10px; font-size: 13px; }
  .st-sign { font-size: 24px; }
  .hero-pause { right: 0; bottom: 6px; }
}
@media (max-width: 639px) {
  .st-badge small { display: none; }
  .story .ly-piece.st-badge { padding: 12px var(--s-4); }
  .st-card { padding: var(--s-4) var(--s-5) !important; }
  .st-big { font-size: 26px; }
  .st-line { font-size: 15px; }
  .st-search { padding: 10px 14px; font-size: 16px; margin-top: 0; }
  .st-search + .st-line { display: none; }
  .st-slots { margin-top: 0; }
  .st-slots i { padding: 6px 10px; }
  .st-rows { margin-top: 0; }
}
@media (max-width: 639px) and (max-height: 620px) {
  .story .ly-piece.st-badge { display: none; }
}


/* ---- teal glow style (Dec 1, owner's pick: "bolder teal" with the glow on every section) ----
   Soft teal light behind each section, placed differently each time so the page shifts gently
   between shades of blue; the dark sections get a glow of their own. */
:root { --tl: #0b7f8b; --tl-bright: #14b8c4; --tl-deep: #0b5a63; }
.hl { color: var(--tl); }
.ground-inverse .hl { color: #5fd3dc; }
.hero { background:
  radial-gradient(55% 75% at 78% 50%, rgb(20 184 196 / .22), transparent 70%),
  radial-gradient(40% 50% at 10% 100%, rgb(20 184 196 / .10), transparent 70%), var(--p-bg); }
#help, #rules, #faq { background:
  radial-gradient(50% 70% at 12% 20%, rgb(20 184 196 / .14), transparent 70%),
  radial-gradient(55% 75% at 92% 85%, rgb(20 184 196 / .20), transparent 70%),
  radial-gradient(35% 45% at 55% 55%, rgb(13 116 128 / .07), transparent 70%), var(--p-bg); }
#steps, #fit { background:
  radial-gradient(50% 65% at 90% 15%, rgb(20 184 196 / .16), transparent 70%),
  radial-gradient(50% 70% at 5% 80%, rgb(20 184 196 / .14), transparent 70%), var(--p-bg); }
#features, #demo { background:
  radial-gradient(60% 70% at 50% 0%, rgb(20 184 196 / .16), transparent 70%),
  radial-gradient(45% 60% at 100% 100%, rgb(20 184 196 / .14), transparent 70%), var(--p-bg); }
#growth { background:
  radial-gradient(55% 80% at 85% 30%, rgb(20 184 196 / .20), transparent 70%),
  radial-gradient(45% 60% at 0% 90%, rgb(20 184 196 / .14), transparent 70%), var(--p-surface); }
#app, footer.footer--dark { background:
  radial-gradient(55% 70% at 85% 10%, rgb(20 184 196 / .22), transparent 70%),
  radial-gradient(45% 60% at 0% 100%, rgb(20 184 196 / .12), transparent 70%), var(--p-inv-bg); }

/* hero cards */
.st-step { color: var(--tl); font-weight: 600; }
.st-ok { background: var(--tl-bright); color: #04262b; box-shadow: 0 0 18px rgb(20 184 196 / .55); }
.st-ok--warn { background: #b26a00; color: #fff; box-shadow: 0 0 18px rgb(178 106 0 / .45); }
.st-btn { background: var(--tl-bright); color: #04262b; }
.st-badge { background: var(--tl-deep) !important; }

/* the three pillars: glassy side cards, a gradient core card */
.pillar:not(.pillar--core) { background: rgb(255 255 255 / .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-color: rgb(13 116 128 / .14); }
.pillar--core { background: linear-gradient(140deg, var(--tl-deep) 0%, #0d7480 55%, #13a3ae 100%); border-color: transparent; box-shadow: 0 24px 50px -24px rgb(13 116 128 / .6); }
.pillar--core .t-label { color: rgb(255 255 255 / .8); }

/* lines and numbers pick up the teal */
.feat li, .rows li, .faq__item { border-color: rgb(13 116 128 / .18) !important; }
.fit__n { color: var(--tl); }
.shot-whole img, .app-shot { box-shadow: 0 30px 70px -30px rgb(13 116 128 / .45); }
.app-shot { box-shadow: 0 30px 80px -30px rgb(0 0 0 / .6), 0 0 0 1px rgb(20 184 196 / .18), 0 0 60px -10px rgb(20 184 196 / .25); }

.qf-promise { display: inline-flex; align-items: center; gap: var(--s-2); margin-top: var(--s-3); padding: 8px 14px; border-radius: 999px;
  background: rgb(20 184 196 / .12); border: 1px solid rgb(13 116 128 / .22); color: var(--tl, #0b7f8b); font-size: var(--t-small); font-weight: 500; }
.qf-promise::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tl-bright, #14b8c4); box-shadow: 0 0 10px rgb(20 184 196 / .7); }
/* the FAQ fits two phone screens: tighter rows on phones only */
@media (max-width: 639px) {
  .faq--cols > .faq__item, .faq--cols > .faq__item:first-child { padding-block: var(--s-3); }
  .faq--cols .faq__item h3 { margin-bottom: 4px; }
  .faq--cols .faq__item p { font-size: 15px; line-height: 1.4; }
  #faq .section-head { margin-bottom: var(--s-4); }
}
