/*
 * AskSincerely marketing site.
 *
 * Light, quiet and spacious: warm white paper, the logo's rust for actions and
 * slate for text, a book serif for headlines. The surveys supply the colour; the
 * page around them stays out of the way. No web fonts are loaded — the stacks use
 * serifs already on the visitor's device, so nothing is fetched from a third party.
 */

:root {
  --paper: #fffdf9;
  --tint: #f7f2eb;
  --card: #ffffff;
  --ink: #1f2427;
  --ink-2: #545d61;
  --ink-3: #8a9296;
  --line: #ebe3d8;
  --rust: #8f3e29;
  --rust-2: #a54a31;
  --rust-soft: #f7e7df;
  --slate: #525e5e;
  --maroon: #6a302f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Charter, Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: light;
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font: 17px/1.6 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
/* `hidden` must win over a class that sets `display`, such as `.btn`. */
[hidden] { display: none !important; }
a { color: var(--rust); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.015em; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 650; }
em { font-style: italic; }
p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--rust); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.kicker { margin-bottom: 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); }

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7em 1.3em; border-radius: 999px;
  background: var(--rust); color: #fff;
  font: 600 0.98rem/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--rust-2); transform: translateY(-1px); }
.btn-sm { padding: 0.5em 1.05em; font-size: 0.92rem; }
.btn-lg { padding: 0.95em 1.7em; font-size: 1.05rem; }

/* -------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 253 249 / 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.wordmark { font: 600 1.35rem/1 var(--serif); letter-spacing: -0.01em; }
.wordmark span:first-child { color: var(--slate); }
.wordmark span:last-child { color: var(--maroon); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; white-space: nowrap; }
@media (max-width: 980px) { .nav-links { gap: 18px; } }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; }

/* The menu folds behind a button wherever its links would crowd the logo. */
@media (max-width: 900px) {
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px;
    background: none; border: 0; color: var(--ink); cursor: pointer;
  }
  .bars, .bars::before, .bars::after {
    display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform 0.3s var(--ease), background 0.2s;
  }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -7px; }
  .bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gutter) 20px; background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgb(0 0 0 / 0.3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s 0.25s;
  }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav-links a:not(.btn) { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; padding: 0.85em; font-size: 1rem; }
  html:not(.js) .nav-links { position: static; visibility: visible; opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- hero */
.typed-line { margin: 22px 0 34px; font: 500 clamp(1.2rem, 2.3vw, 1.55rem)/1.4 var(--serif); color: var(--ink-2); }
.typed { color: var(--ink); font-weight: 700; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--rust); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-note { margin-top: 14px; font-size: 0.92rem; color: var(--ink-3); }

.hero-device { display: grid; place-items: center; }
.phone {
  width: min(300px, 74vw); padding: 10px;
  border-radius: 48px; background: #111214;
  box-shadow: 0 0 0 1px #2a2c30 inset, 0 30px 60px -24px rgb(60 30 15 / 0.35), 0 12px 24px -12px rgb(60 30 15 / 0.2);
}
.phone .screen { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 39px; background: #2a1f2a; }

@media (max-width: 860px) {
  /* Two lines reserved, so the button below never jumps while text types. */
  .typed-line { min-height: 2.8em; }
}

/* ------------------------------------------------------------ sections */

.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.center-title { text-align: center; font-size: clamp(1.9rem, 4vw, 2.7rem); }
@media (max-width: 700px) { .section { padding: 72px 0; } }
.feel-sub { max-width: 36em; margin: 22px auto 0; text-align: center; font-size: 1.12rem; color: var(--ink-2); }

/* -------------------------------------------------------------- footer */

.site-footer { padding: 44px 0 32px; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-row .wordmark { font-size: 1.2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: 0.93rem; }
.footer-links a:hover { color: var(--rust); }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; color: var(--ink-3); font-size: 0.86rem; }
.made-in { font-family: var(--serif); font-style: italic; font-size: 0.95rem; }
.made-in svg { display: inline-block; vertical-align: -0.12em; margin-left: 0.35em; }
.made-in .flag { width: 1.35em; height: auto; border-radius: 2px; box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.15); }
.made-in .globe { width: 1.05em; height: 1.05em; }
.made-in .globe .ocean { fill: #3a7bd5; }
.made-in .globe .land { fill: #5cb85c; }

/* ---------------------------------------------------------- legal pages */

.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 740px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.1rem); }
.doc .updated { margin-top: 12px; color: var(--ink-3); font-size: 0.92rem; }
.doc .intro { margin-top: 28px; padding: 22px 24px; border-radius: 14px; background: var(--rust-soft); font: 500 1.15rem/1.5 var(--serif); }
.doc h2 { margin: 44px 0 12px; font-size: 1.5rem; }
.doc p, .doc li { color: var(--ink-2); }
.doc .kicker { color: var(--rust); }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 8px; }
.doc .doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); }
.doc .doc-nav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-size: 0.92rem; }
.doc .doc-nav a:hover, .doc .doc-nav a[aria-current] { border-color: var(--rust); color: var(--rust); }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.notfound p { margin: 16px 0 28px; color: var(--ink-2); font-size: 1.1rem; }

/* --------------------------------------------------------------- motion */

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ======================================================================
 * v3 — alternative sections, compared side by side on one page.
 * ==================================================================== */

/* Anything with data-i swaps in its group by toggling .is-on. Stacked in one
   grid cell, so the tallest item sets the height and nothing jumps. */
.types-copy, .laptop-screen, .mood-big, .mood-split-photo, .widget-stage  { display: grid; }
.types-copy > [data-i], .laptop-screen > [data-i],
.mood-big > [data-i], .mood-split-photo > [data-i], .widget-stage > [data-i]  {
  grid-area: 1 / 1; opacity: 0; visibility: hidden;
  transition: opacity 0.6s ease, transform 0.6s var(--ease), visibility 0s 0.6s;
}
/* The mood carousel turns over quickly, so its crossfade is quicker too. */
.mood-big > [data-i], .mood-split-photo > [data-i] {
  transition: opacity 0.4s ease, transform 0.4s var(--ease), visibility 0s 0.4s;
}
.types-copy > .is-on, .laptop-screen > .is-on,
.mood-big > .is-on, .mood-split-photo > .is-on, .widget-stage > .is-on  {
  opacity: 1; visibility: visible; transition-delay: 0s;
}

/* ---- Hero A: the survey's own photo fills the page, phone on top. */
.hero-photo { position: relative; overflow: hidden; color: #fff; padding: 72px 0 96px; min-height: min(760px, 92vh); display: grid; align-items: center; }
.hero-photo-bg { position: absolute; inset: 0; background: var(--hero-photo, url("/img/hero/photo-event.webp")) center / cover no-repeat; transform: scale(1.04); }
/* The page photo matches the survey on the phone (HERO in site.js). */
.hero-photo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 12 22 / 0.78) 0%, rgb(20 12 22 / 0.45) 55%, rgb(20 12 22 / 0.25) 100%); }
.hero-photo-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px; }
.hero-photo-eyebrow { margin-bottom: 14px; font-weight: 700; font-size: 1.05rem; color: #ffd9c7; }
.hero-photo h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); line-height: 1.03; letter-spacing: -0.025em; color: #fff; }
.hero-photo h1 em { color: #ffc3a6; }
.hero-photo .typed-line { color: rgb(255 255 255 / 0.85); }
.hero-photo .typed { color: #fff; }
.hero-photo .caret { background: #ffc3a6; }
.hero-photo .hero-note { color: rgb(255 255 255 / 0.75); }
.btn-light { background: #fff; color: #6a2c1d; }
.btn-light:hover { background: #fff3ec; }
.phone-white { background: #f4f4f6; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.6) inset, 0 40px 80px -30px rgb(0 0 0 / 0.6); }
@media (max-width: 860px) {
  .hero-photo { padding: 40px 0 64px; min-height: 0; }
  .hero-photo-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-photo-bg::after { background: linear-gradient(180deg, rgb(20 12 22 / 0.8), rgb(20 12 22 / 0.45)); }
  .hero-photo .typed-line { min-height: 2.8em; }
}

/* ---- Hero B: longer headline. */

/* ---- Mood A: big word on the left, portrait on a warm panel. */
.mood-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; background: var(--paper); overflow: hidden; }
.mood-split-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px 48px 80px max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); position: relative; z-index: 2; }
.mood-lead { font-weight: 800; font-size: 1.45rem; color: var(--ink); }
.mood-big { margin: 6px 0 22px; font: 800 clamp(3rem, 7.4vw, 6.4rem)/0.95 var(--sans); letter-spacing: -0.04em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.mood-big > [data-i] { transform: translateY(12px); }
.mood-big > .is-on { transform: none; }
.mood-sub { max-width: 26em; margin-bottom: 30px; font-size: 1.2rem; color: var(--ink-2); }
.mood-split-copy .btn { align-self: flex-start; }
/* The photo fills the panel; the copy, not the image, decides the height. */
.mood-split-photo { position: relative; background: #f6dfc9; }
.mood-split-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
@media (max-width: 860px) {
  .mood-split { grid-template-columns: 1fr; min-height: 0; }
  .mood-split-copy { padding: 64px var(--gutter) 40px; text-align: left; }
  .mood-big { white-space: normal; }
  .mood-split-photo { height: 420px; }
}

/* ---- Survey types A: laptop + edge arrows + timeline. */
.types-laptop { position: relative; overflow: hidden; }
.types-laptop-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: center; }
.laptop-screen { padding: 14px 14px 0; border-radius: 22px 22px 0 0; background: #e9e9ee; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.35); }
.laptop-screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px 8px 0 0; }
.laptop-base { height: 16px; margin: 0 -4%; border-radius: 0 0 14px 14px; background: linear-gradient(#dcdce2, #c9c9d1); box-shadow: 0 16px 24px -12px rgb(0 0 0 / 0.3); }
.timeline { display: flex; justify-content: space-between; gap: 6px; margin-top: 34px; padding-top: 18px; position: relative;
  background: repeating-linear-gradient(90deg, #c9c3ba 0 1px, transparent 1px 16px) top / 100% 10px no-repeat; }
.timeline button { flex: 1; padding: 8px 2px; border: 0; background: none; cursor: pointer; font: 500 0.88rem/1.25 var(--sans); color: var(--ink-3); position: relative; }
.timeline button::before { content: ""; position: absolute; left: 50%; top: -18px; width: 2px; height: 18px; background: #b9b2a8; transform: translateX(-50%); }
.timeline button.is-on { color: var(--ink); font-weight: 650; }
.timeline button.is-on::before { width: 3px; height: 26px; top: -22px; background: var(--rust); border-radius: 2px; }
.types-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.types-copy p { font-size: 1.12rem; color: var(--ink-2); }
.types-copy > [data-i] { transform: translateY(10px); }
.types-copy > .is-on { transform: none; }
.edge-arrow { position: absolute; top: 50%; z-index: 4; width: 44px; height: 88px; margin-top: -44px; border: 0; cursor: pointer; background: var(--rust); color: #fff; display: grid; place-items: center; transition: background 0.2s; }
.edge-arrow:hover { background: var(--rust-2); }
.edge-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.edge-prev { left: 0; border-radius: 0 10px 10px 0; }
.edge-next { right: 0; border-radius: 10px 0 0 10px; }
@media (max-width: 900px) {
  /* minmax(0, …) lets the scrolling timeline shrink instead of widening the page. */
  .types-laptop-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .laptop-base { margin: 0; }
  .timeline { overflow-x: auto; justify-content: flex-start; }
  .timeline button { flex: none; min-width: 96px; }
  .edge-arrow { top: 200px; width: 34px; height: 64px; margin-top: 0; }
}

/* ---- Survey types B: tinted panel with phone, copy + dots. */

/* ---- On your website. */
.widget-head { max-width: 760px; margin: 0 auto; text-align: center; }
.widget-head .feel-sub { margin-top: 16px; }
.widget-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 36px 0 28px; }
.widget-tabs button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font: 600 0.92rem/1 var(--sans); cursor: pointer; }
.widget-tabs button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.widget-stage { max-width: 980px; margin: 0 auto; }
.widget-caption { margin-top: 16px; text-align: center; color: var(--ink-2); }
.browser { border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgb(40 20 10 / 0.35); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #f1ede7; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e6d9ca; }
.browser-bar i:nth-child(1) { background: #ee8b74; }
.browser-bar i:nth-child(2) { background: #f1c56b; }
.browser-bar i:nth-child(3) { background: #8fce8a; }
.browser-bar span { flex: 1; margin: 0 40px 0 12px; padding: 3px 10px; border-radius: 6px; background: #fff; color: var(--ink-3); font-size: 0.75rem; text-align: center; }
.browser-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Closed → open: the "open" shot fades in over the "closed" one on a loop. */
.flip .flip-top { position: absolute; inset: 0; animation: flip 3.2s ease-in-out infinite; }
@keyframes flip { 0%, 30% { opacity: 0; } 45%, 100% { opacity: 1; } }
.snippet { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; max-width: 980px; margin: 32px auto 0; }
.snippet code { max-width: 100%; overflow-x: auto; white-space: nowrap; padding: 12px 16px; border-radius: 10px; background: #1f2427; color: #f3e9df; font: 0.84rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.snippet span { color: var(--ink-3); font-size: 0.92rem; }
@media (max-width: 600px) { .browser-bar span { margin-right: 0; } }

@media (prefers-reduced-motion: reduce) {
  .flip .flip-top { opacity: 1; }
}

/* ---- Share anywhere (from v1, restyled). */
.share-card { padding: 14px 14px 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.share-card h3 { margin: 22px 10px 8px; font-size: 1.2rem; }
.share-card p { margin: 0 10px; color: var(--ink-2); }
.share-art { position: relative; height: 260px; border-radius: 14px; overflow: hidden; }
.art-chat { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 20px; background: #ece5db url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='1.2' fill='%23d9cebf'/%3E%3C/svg%3E"); }
.bubble { max-width: 84%; padding: 8px 12px; border-radius: 14px; font-size: 0.85rem; line-height: 1.35; color: #1d2224; box-shadow: 0 1px 1px rgb(0 0 0 / 0.08); }
.bubble-in, .bubble-link { align-self: flex-end; background: #d7f5c9; border-top-right-radius: 4px; }
.bubble-link { display: flex; gap: 10px; align-items: center; padding: 6px; }
.bubble-link img { width: 44px; height: 58px; object-fit: cover; border-radius: 8px; }
.bubble-link b { display: block; font-size: 0.85rem; }
.bubble-link span { font-size: 0.75rem; color: #56705a; }
.bubble-out { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.js .art-chat .bubble { opacity: 0; transform: translateY(8px); }
.share-card.is-in .art-chat .bubble { animation: pop 0.45s var(--ease) forwards; }
.share-card.is-in .art-chat .bubble:nth-child(2) { animation-delay: 0.6s; }
.share-card.is-in .art-chat .bubble:nth-child(3) { animation-delay: 1.5s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.art-qr { display: grid; place-items: center; background: linear-gradient(160deg, #7a553c, #4a3124); }
.art-qr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(#634330, #50362a); }
.tent { position: relative; z-index: 1; width: 168px; padding: 14px 14px 12px; border-radius: 6px; background: #fbf6ee; text-align: center; box-shadow: 0 20px 30px -12px rgb(0 0 0 / 0.55); transform: perspective(600px) rotateX(8deg); }
.tent img { width: 108px; height: 108px; margin: 8px auto; }
.tent-top { font: 600 0.95rem/1.2 var(--serif); color: #3a2a24; }
.tent-bottom { font-size: 0.66rem; color: #7b6a5f; }
.art-site { background: #eef0f3; }
.art-site img { width: 100%; height: 100%; object-fit: cover; object-position: right bottom; }

/* ---- Pricing (from v1, restyled). */
.center-head { text-align: center; margin-bottom: 44px; }
.plan { max-width: 460px; margin: 0 auto; padding: 34px 32px 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -34px rgb(60 30 15 / 0.35); }
.plan-top { text-align: center; padding-bottom: 22px; border-bottom: 1px dashed var(--line); }
.plan-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--rust-soft); color: var(--rust); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.plan-amount { margin-top: 12px; font: 600 5rem/1 var(--serif); letter-spacing: -0.04em; }
.plan-amount span { font-size: 0.45em; vertical-align: 0.9em; margin-right: 4px; color: var(--ink-3); }
.plan-sub { margin-top: 8px; color: var(--ink-2); font-size: 1.05rem; }
.plan .ticks { margin: 20px 0 26px; }
.plan-card-note { margin-top: 10px; text-align: center; font-size: 0.92rem; color: var(--ink-2); }
.plan-note { margin-top: 14px; text-align: center; font-size: 0.85rem; color: var(--ink-3); }
.btn-block { width: 100%; }
/* Pricing: "usually paid" list beside the card. */
.pv-b { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.pv-b h2 { margin-top: 10px; font-size: clamp(2rem, 4.2vw, 2.9rem); }
.pv-b-lede { margin-top: 14px; font-size: 1.1rem; color: var(--ink-2); }
.pv-b-list { margin: 26px 0 0; padding: 0; list-style: none; }
.pv-b-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.pv-b-list span { font-weight: 600; color: var(--ink); }
.pv-b-list s { grid-row: 2; font-size: 0.9rem; color: var(--ink-3); }
.pv-b-list b { grid-row: 1 / span 2; align-self: center; padding: 4px 12px; border-radius: 999px; background: var(--rust-soft); color: var(--rust); font-size: 0.85rem; }
.pv-b .plan { margin: 0; width: 100%; }
.pv-b-listhead { margin-top: 24px; font-size: 0.9rem; font-weight: 600; color: var(--ink-3); }
.pv-b-listhead + .pv-b-list { margin-top: 8px; }
@media (max-width: 820px) {
  .pv-b { grid-template-columns: 1fr; gap: 36px; }
}
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 7px 0 7px 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--rust-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%238f3e29' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---- Contact (from v1, restyled). */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-split h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.contact-lede { margin-top: 14px; font-size: 1.12rem; color: var(--ink-2); }
.no-ai { display: flex; gap: 10px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--rust-soft); color: var(--ink); font-weight: 600; max-width: 30em; }
.no-ai span { color: var(--rust); }
.contact-links { display: grid; gap: 14px; }
.contact-link { display: flex; flex-direction: column; gap: 4px; padding: 22px 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.25s var(--ease), border-color 0.25s; }
.contact-link:hover { transform: translateY(-3px); border-color: var(--rust); }
.cl-label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.cl-value { font: 600 clamp(1.15rem, 2.6vw, 1.45rem)/1.25 var(--serif); color: var(--rust); overflow-wrap: anywhere; }
@media (max-width: 800px) { .contact-split { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) {
  .js .art-chat .bubble { opacity: 1; transform: none; }
}

/* The contact line's deliberate typo, marked the way a spellchecker would. */
.typo { text-decoration: underline wavy #d93025; text-decoration-thickness: 1.5px; text-underline-offset: 3px; color: #b3261e; cursor: help; }

/* ---- Hero: second action, and the phone is tappable when a demo exists. */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-glass { gap: 0.5em; background: rgb(255 255 255 / 0.14); color: #fff; border: 1.5px solid rgb(255 255 255 / 0.55); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgb(255 255 255 / 0.24); }
.btn-glass svg { width: 1em; height: 1em; fill: currentColor; }
.has-demo [data-demo-phone] { cursor: pointer; transition: transform 0.3s var(--ease); }
.has-demo [data-demo-phone]:hover { transform: translateY(-4px); }
@media (max-width: 860px) { .hero-actions { justify-content: center; } }

.btn-note { margin-top: 12px; font-size: 0.9rem; color: var(--ink-3); }
.center-cta { margin-top: 44px; text-align: center; }
.center-sub { max-width: 34em; margin: 14px auto 0; text-align: center; font-size: 1.1rem; color: var(--ink-2); }

/* ---- Laptop section: copy and its button share the right-hand column. */
.types-cta { margin-top: 30px; }
@media (max-width: 900px) { .types-cta { text-align: left; } }

/* ---- Build in 3 steps. */
.build-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 48px; align-items: center; }
.build-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.build-steps li { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; border: 1px solid transparent; cursor: pointer; transition: background 0.3s, border-color 0.3s, opacity 0.3s; opacity: 0.55; }
.build-steps li.is-on { opacity: 1; background: var(--card); border-color: var(--line); box-shadow: 0 12px 30px -20px rgb(60 30 15 / 0.35); }
.build-steps li:hover { opacity: 1; }
.build-num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rust-soft); color: var(--rust); font: 700 1rem/1 var(--serif); transition: background 0.3s, color 0.3s; }
.build-steps li.is-on .build-num { background: var(--rust); color: #fff; }
.build-steps h3 { font-size: 1.15rem; margin: 5px 0 4px; }
.build-steps p { color: var(--ink-2); font-size: 0.98rem; }
.build-video .browser-view { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #1d2a1d; }
@media (max-width: 900px) {
  .build-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .build-video { order: -1; }
  .build-steps li { padding: 12px 14px; }
}


/* ---- Straight answers (from v1, restyled). */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-head { position: sticky; top: 96px; }
.faq-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.faq-head p:not(.kicker) { margin-top: 16px; color: var(--ink-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; font: 600 1.12rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--rust-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%238f3e29' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 22px 0; color: var(--ink-2); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 28px; } .faq-head { position: static; } }

/* ---- "Take it yourself" dialog: a phone-sized window on desktop, full screen on phones. */
.demo { width: min(400px, 100vw); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.demo::backdrop { background: rgb(20 14 12 / 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.demo-frame { height: min(780px, calc(100vh - 110px)); padding: 10px; border-radius: 46px; background: #f4f4f6; box-shadow: 0 40px 80px -20px rgb(0 0 0 / 0.6); }
.demo-frame iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 37px; background: #1b1420; }
.demo-note { margin-top: 12px; text-align: center; color: #f5ece4; font-size: 0.92rem; }
.demo-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font: 400 26px/1 var(--sans); cursor: pointer; box-shadow: 0 6px 18px rgb(0 0 0 / 0.3); }
.demo[open] { animation: demo-in 0.35s var(--ease); }
@keyframes demo-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@media (max-width: 520px) {
  .demo { width: 100vw; height: 100dvh; margin: 0; }
  .demo-frame { height: 100dvh; padding: 0; border-radius: 0; }
  .demo-frame iframe { border-radius: 0; }
  .demo-note { display: none; }
  .demo-close { top: max(10px, env(safe-area-inset-top)); right: 10px; }
}

/* ---- Phones: a sign-up bar once the hero has scrolled away. */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 16px; border-radius: 16px; background: rgb(255 253 249 / 0.94);
    border: 1px solid var(--line); box-shadow: 0 16px 36px -14px rgb(40 20 10 / 0.45);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    font-size: 0.86rem; color: var(--ink-2);
    transform: translateY(150%); transition: transform 0.35s var(--ease);
  }
  .sticky-cta.is-shown { transform: none; }
}

/* A button that reads as an inline link (the FAQ's "take one yourself"). */
.link-btn { padding: 0; border: 0; background: none; color: var(--rust); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.faq details p + p { margin-top: -10px; }

/* ---- Template library: /templates, a category, a template (built by templates.mjs). */
.tpl-hero { padding: 64px 0 56px; }
.tpl-hero h1 { max-width: 18em; font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.tpl-hero h1 span { color: var(--ink-3); font-weight: 500; }
.tpl-lede { max-width: 38em; margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); }
.tpl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tpl-chips a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); text-decoration: none; font-size: 0.93rem; }
.tpl-chips a span { margin-left: 4px; color: var(--ink-3); }
.tpl-chips a:hover { border-color: var(--rust); color: var(--rust); }
.tpl-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 0.92rem; color: var(--ink-3); }
.tpl-crumbs li + li::before { content: "/"; margin-right: 6px; }
.tpl-crumbs a { color: var(--ink-2); text-decoration: none; }
.tpl-crumbs a:hover { color: var(--rust); }
.tpl-group.section { padding: 72px 0; }
.tpl-group-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.tpl-group-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.tpl-group-head h2 a { color: inherit; text-decoration: none; }
.tpl-group-head h2 a:hover { color: var(--rust); }
.tpl-group-head p { margin-top: 6px; color: var(--ink-2); }
.tpl-more { flex: none; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.tpl-card a { display: flex; flex-direction: column; height: 100%; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.tpl-card a:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgb(60 30 15 / 0.45); }
.tpl-art, .tpl-screen {
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--tpl-fg); font-family: var(--tpl-font); text-align: center;
  background: var(--tpl-bg, none) center / cover no-repeat, var(--tpl-bgc);
}
.tpl-art::before, .tpl-screen::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(0 0 0 / var(--tpl-scrim)); }
.tpl-art { aspect-ratio: 16 / 10; padding: 18px; }
.tpl-art-title { font-size: 1.1rem; font-weight: 600; line-height: 1.2; text-wrap: balance; }
/* Shaped like the survey's own button (`.cta` in the runtime's canvas.css). */
.tpl-art-btn { display: inline-block; padding: 6px 20px; border-radius: 3px; background: var(--tpl-accent); color: #fff; font: 600 0.8rem/1.2 var(--sans); letter-spacing: 0.05em; box-shadow: 0 2px 8px rgb(0 0 0 / 0.25); }
.tpl-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.tpl-card-body strong { font-size: 1.02rem; }
.tpl-card-tag { color: var(--ink-2); font-size: 0.93rem; line-height: 1.45; }
.tpl-card-meta { margin-top: auto; padding-top: 6px; color: var(--ink-3); font-size: 0.85rem; }
.tpl-others { margin-top: 64px; }
.tpl-others h2 { font-size: 1.5rem; }
.tpl-others .tpl-chips { margin-top: 16px; }
.tpl-cta .center-cta { margin-top: 28px; }

.tpl-detail-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.tpl-facts { margin-top: 16px; color: var(--ink-3); font-size: 0.95rem; }
.tpl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-ghost { gap: 0.5em; background: transparent; color: var(--rust); border: 1.5px solid var(--rust); cursor: pointer; }
.btn-ghost:hover { background: var(--rust-soft); }
.btn-ghost svg { width: 1em; height: 1em; fill: currentColor; }
.tpl-phone[role="button"] { cursor: pointer; }
.tpl-phone { width: min(300px, 100%); margin: 0 auto; padding: 10px; border-radius: 42px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgb(60 30 15 / 0.55); }
.tpl-screen { aspect-ratio: 9 / 18; border-radius: 33px; overflow: hidden; padding: 28px 22px; }
.tpl-screen-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tpl-screen-title { font-size: 1.55rem; font-weight: 600; line-height: 1.15; text-wrap: balance; }
.tpl-screen-tag { font-size: 0.95rem; line-height: 1.45; opacity: 0.85; margin-bottom: 8px; }
.tpl-screen .tpl-art-btn { padding: 11px 38px; border-radius: 4px; font-size: 0.95rem; }

.tpl-read { max-width: 760px; }
.tpl-read h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); }
.tpl-read-sub { margin-top: 10px; color: var(--ink-2); }
.tpl-note { margin-top: 20px; padding: 14px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: 0.95rem; }
.tpl-questions { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: q; display: grid; gap: 14px; }
.tpl-questions > li { position: relative; padding: 18px 22px 18px 64px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); counter-increment: q; }
.tpl-questions > li::before { content: counter(q); position: absolute; left: 20px; top: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--rust-soft); color: var(--rust); font: 700 0.95rem/1 var(--serif); }
.tpl-q-kind { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.tpl-q-kind em { font-style: normal; color: var(--rust); }
.tpl-q-title { margin-top: 4px; font: 600 1.12rem/1.4 var(--serif); }
.tpl-q-desc { margin-top: 4px; color: var(--ink-2); font-size: 0.95rem; }
.tpl-options { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.tpl-options li { padding: 4px 11px; border-radius: 8px; background: var(--tint); color: var(--ink-2); font-size: 0.9rem; }
.tpl-scale { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); color: var(--ink-3); font-size: 0.88rem; }
.tpl-steps { margin: 24px 0 0; padding-left: 1.3em; display: grid; gap: 12px; color: var(--ink-2); }
.tpl-steps strong { color: var(--ink); }

@media (max-width: 860px) {
  .tpl-hero { padding: 40px 0 36px; }
  .tpl-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .tpl-phone { width: min(260px, 100%); }
  .tpl-group-head { flex-direction: column; align-items: start; }
  .tpl-questions > li { padding: 16px 16px 16px 56px; }
  .tpl-questions > li::before { left: 14px; }
}

/* ---- Home: the use-case examples lead into the template library. */
.types-tpl { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }
.types-more { margin-bottom: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 1rem; }
.types-more a { font-weight: 600; }
.types-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.types-scratch { font-weight: 600; text-decoration: none; }
.types-scratch:hover { text-decoration: underline; }

/* ---- Home: the branding playground — one survey, the author's controls beside it. */
.pg { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; max-width: 960px; margin: 0 auto; }
.pg .tpl-phone { width: min(290px, 100%); }
.pg .tpl-screen { transition: background 0.5s ease; }
.pg .tpl-art-btn { transition: background 0.3s ease; }
.pg-logo-art { width: 150px; height: 38px; margin-bottom: 6px; }
.pg-controls { display: grid; gap: 22px; }
.pg-group h3 { margin-bottom: 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.pg-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-controls button { cursor: pointer; padding: 0; border: 0; background: none; font: inherit; color: inherit; }
.pg-controls .pg-chip { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink-2); font-size: 0.93rem; }
.pg-controls .pg-chip[aria-pressed="true"] { border-color: var(--rust); color: var(--rust); background: var(--rust-soft); }
.pg-bg { width: 64px; aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden; box-shadow: 0 0 0 1.5px var(--line); transition: transform 0.15s; }
.pg-bg img { width: 100%; height: 100%; object-fit: cover; }
.pg-bg:hover { transform: translateY(-2px); }
.pg-bg[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--rust); }
.pg-dot { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 3px #fff, 0 0 0 1.5px var(--line); }
.pg-dot[aria-pressed="true"] { box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px var(--rust); }
.pg-more { align-self: center; color: var(--ink-3); font-size: 0.88rem; }
.pg-hint { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--rust-soft); color: var(--rust); font: italic 600 0.95rem/1.3 var(--serif); }
.pg-hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rust); animation: pg-pulse 1.6s ease-in-out infinite; }
@keyframes pg-pulse { 50% { transform: scale(1.6); opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) { .pg-hint::before { animation: none; } }
.pg-after { color: var(--ink-2); font-size: 0.95rem; }
/* The controls only work with the script; without it the phone stands alone. */
html:not(.js) .pg-controls { display: none; }
html:not(.js) .pg { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) {
  .pg { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pg .tpl-phone { width: min(240px, 100%); }
  .pg-bg { width: calc((100% - 40px) / 6); }
}
/* Phones: small enough that the survey and the controls share one screen, so
   every tap visibly changes something. */
@media (max-width: 620px) {
  .pg .tpl-phone { width: 168px; padding: 7px; border-radius: 30px; }
  .pg .tpl-screen { border-radius: 24px; padding: 16px 12px; }
  .pg .tpl-screen-inner { gap: 7px; }
  .pg .tpl-screen-title { font-size: 1.08rem; }
  .pg .tpl-screen-tag { font-size: 0.72rem; margin-bottom: 2px; }
  .pg .tpl-screen .tpl-art-btn { padding: 7px 24px; font-size: 0.75rem; }
  .pg-logo-art { width: 112px; height: 28px; margin-bottom: 2px; }
  .pg-controls { gap: 12px; }
  .pg-group h3 { margin-bottom: 6px; }
  .pg-row { gap: 6px; }
  .pg-controls .pg-chip { padding: 6px 11px; font-size: 0.86rem; }
  .pg-dot { width: 28px; height: 28px; }
  .pg-hint { justify-self: center; font-size: 0.88rem; }
  .pg-after { font-size: 0.88rem; }
}

/* ---- Template page: why running the survey matters — reasons, then without / with. */
.tpl-why-inner { max-width: 1000px; margin: 0 auto; }
.tpl-why h2 { max-width: 16em; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.1; }
.tpl-why-lede { max-width: 36em; margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); }
.tpl-reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 2px solid var(--ink); }
.tpl-reasons > div { padding: 22px 26px 0 0; }
.tpl-reasons > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.tpl-reason-num { font: 600 2.6rem/1 var(--serif); color: var(--rust); }
.tpl-reasons h3 { margin-top: 14px; font: 600 1.25rem/1.25 var(--serif); }
.tpl-reasons p:not(.tpl-reason-num) { margin-top: 8px; color: var(--ink-2); }
.tpl-compare-lead { margin-top: 64px; font: 600 clamp(1.5rem, 2.8vw, 1.9rem)/1.2 var(--serif); }
.tpl-compare { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -40px rgb(60 30 15 / 0.5); }
.tpl-compare > div { padding: 30px 32px; }
.tpl-without { background: #efeae3; color: var(--ink-2); }
.tpl-with { background: var(--card); }
.tpl-compare h4 { margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.tpl-without h4 { color: var(--ink-3); }
.tpl-with h4 { color: var(--rust); }
.tpl-compare ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.tpl-compare li { position: relative; padding-left: 30px; font: 500 1.08rem/1.45 var(--serif); }
.tpl-compare li::before { position: absolute; left: 0; top: 0.05em; font: 700 1.05rem/1.4 var(--sans); }
.tpl-without li::before { content: "✕"; color: #b0a89e; }
.tpl-with li::before { content: "✓"; color: var(--rust); }
@media (max-width: 800px) {
  .tpl-reasons { grid-template-columns: minmax(0, 1fr); }
  .tpl-reasons > div, .tpl-reasons > div + div { padding: 22px 0; border-left: 0; }
  .tpl-reasons > div + div { border-top: 1px solid var(--line); }
  .tpl-compare-lead { margin-top: 36px; }
  .tpl-compare { grid-template-columns: minmax(0, 1fr); }
  .tpl-compare > div { padding: 24px 22px; }
}

/* ---- Share it anywhere: a link, a QR code or the website, as tabs. */
.sh-tabs { margin: 32px 0 30px; }
.sh-stage > [data-i] { display: none; }
.sh-stage > .is-on { display: grid; grid-template-columns: minmax(0, 1fr); }
.sh-stage > .sh-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 900px; margin: 0 auto; }
.sh-two .share-card { padding: 14px; }
.sh-web > div { min-width: 0; }
.sh-copy h3 { font: 600 1.6rem/1.2 var(--serif); }
.sh-copy p { margin-top: 10px; color: var(--ink-2); font-size: 1.08rem; }
.sh-copy-center { max-width: 640px; margin: 0 auto; text-align: center; }
.sh-web .widget-tabs { margin: 22px 0; }
@media (max-width: 760px) { .sh-stage > .sh-two { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ---- See how you compare: the thank-you screen's comparison, then the card it
   shares. Mirrors canvas.css (.compare-*) and compareCard.ts in the runtime. */
.cmp-stage { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 28px; align-items: center; max-width: 1000px; margin: 40px auto 0; }
.cmp-phone { width: 290px; padding: 10px; border-radius: 42px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgb(60 30 15 / 0.55); }
.cmp-screen { --fg: #fff; --accent: #e07a4f; display: flex; flex-direction: column; justify-content: center; aspect-ratio: 9 / 18; padding: 26px 16px; border-radius: 33px; overflow: hidden; color: var(--fg); background: radial-gradient(120% 70% at 20% 0%, #3b2a4a 0%, transparent 60%), linear-gradient(160deg, #1d1b2e, #0f1018); font: 15px/1.4 var(--sans); }
.cmp-thanks { margin-bottom: 22px; text-align: center; font: 600 1.3rem/1.2 var(--serif); }
.cmp-title { margin-bottom: 8px; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(255 255 255 / 0.6); }
.cmp-card { padding: 12px; border-radius: 12px; background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.14); }
.cmp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cmp-q { font-size: 0.9rem; font-weight: 500; }
.cmp-meta { font-size: 0.7rem; color: rgb(255 255 255 / 0.6); }
.cmp-share { padding: 2px 10px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.3); font-size: 0.72rem; }
.cmp-rows { display: grid; gap: 5px; margin: 10px 0 0; padding: 0; list-style: none; }
.cmp-rows li { position: relative; display: flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 9px; border-radius: 7px; overflow: hidden; background: rgb(255 255 255 / 0.06); font-size: 0.8rem; }
.cmp-rows li::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: rgb(255 255 255 / 0.16); }
.cmp-rows li.mine::before { background: var(--accent); }
.cmp-rows span, .cmp-rows i, .cmp-rows b { position: relative; }
.cmp-rows span { flex: 1; }
.cmp-rows .mine span { font-weight: 600; }
.cmp-rows i { padding: 0 6px; border-radius: 4px; background: #fff; color: #111; font: 600 0.64rem/1.6 var(--sans); }
.cmp-rows b { font-weight: 400; font-variant-numeric: tabular-nums; }
.cmp-arrow svg { width: 34px; height: 34px; fill: none; stroke: var(--rust); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cmp-post { margin: 0; min-width: 0; }
.cmp-post figcaption { margin-top: 12px; color: var(--ink-2); font-size: 0.95rem; }
/* The share card: 1200 × 630, always dark, the accent lightened for the headline. */
.cmp-og { --accent: #ecaf95; display: flex; flex-direction: column; gap: 4%; aspect-ratio: 1200 / 630; padding: 5%; border-radius: 14px; background: #0b0b10; color: #fff; font-family: var(--sans); container-type: inline-size; box-shadow: 0 40px 70px -40px rgb(20 10 5 / 0.7); }
.cmp-og-by { display: flex; align-items: center; gap: 1.6cqi; font-size: 2.3cqi; color: rgb(255 255 255 / 0.72); }
.cmp-og-by i { width: 2.5cqi; height: 2.5cqi; border-radius: 50%; background: var(--accent); }
.cmp-og-body { flex: 1; display: grid; grid-template-columns: 1fr 0.85fr; gap: 4cqi; align-items: center; }
.cmp-og-big { font-size: 9.5cqi; font-weight: 600; line-height: 1; color: var(--accent); }
.cmp-og-line { margin-top: 1.4cqi; font-size: 3.3cqi; line-height: 1.25; }
.cmp-og-aside { margin-top: 1.2cqi; font-size: 2.6cqi; color: rgb(255 255 255 / 0.72); }
.cmp-og-bars { display: grid; gap: 2.2cqi; margin: 0; padding: 0; list-style: none; font-size: 2.2cqi; }
.cmp-og-bars li { display: flex; justify-content: space-between; padding-bottom: 1.8cqi; background: linear-gradient(rgb(255 255 255 / 0.4), rgb(255 255 255 / 0.4)) 0 100% / var(--w) 1.2cqi no-repeat, linear-gradient(rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.12)) 0 100% / 100% 1.2cqi no-repeat; }
.cmp-og-bars li.mine { font-weight: 600; color: var(--accent); background: linear-gradient(var(--accent), var(--accent)) 0 100% / var(--w) 1.2cqi no-repeat, linear-gradient(rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.12)) 0 100% / 100% 1.2cqi no-repeat; }
.cmp-og-bars b { font-weight: inherit; }
.cmp-og-foot { display: flex; justify-content: space-between; gap: 2cqi; padding-top: 2.2cqi; border-top: 1px solid rgb(255 255 255 / 0.16); font-size: 2.5cqi; }
.cmp-og-foot span:first-child { font-weight: 600; }
.cmp-og-foot span:last-child { color: rgb(255 255 255 / 0.6); }
.cmp-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1000px; margin: 52px auto 0; padding: 0; list-style: none; }
.cmp-points li { padding-top: 16px; border-top: 2px solid var(--ink); }
.cmp-points h3 { font: 600 1.2rem/1.25 var(--serif); }
.cmp-points p { margin-top: 8px; color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 900px) {
  .cmp-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; }
  .cmp-phone { width: min(270px, 100%); }
  .cmp-arrow { transform: rotate(90deg); }
  .cmp-post { width: 100%; max-width: 560px; }
  .cmp-points { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 40px; }
}

/* ============================================================ BRANCHING
   The builder's branch logic picture, drawn in the site's own palette
   (partials/branching-picture.html). Rows are 48px; --S is the line's x. */
.bl-pic { max-width: 620px; margin: 44px auto 0; padding: 22px 24px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgb(31 36 39 / 0.08); }
.bl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 8px; font: 600 1.05rem var(--sans); color: var(--ink); }
.bl-key { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 400 0.8rem var(--sans); color: var(--ink-2); }
.bl-key i { display: inline-block; width: 20px; border-top: 3px solid; border-radius: 2px; }
.bl-key .bl-key-line { border-color: #d6ccbf; }
.bl-key .bl-key-jump { margin-left: 8px; border-color: #3b6ea5; }
.bl-flow { position: relative; --S: 48px; }
.bl-spine { position: absolute; left: calc(var(--S) - 1.5px); top: 24px; width: 3px; height: 192px; background: #d6ccbf; border-radius: 2px; }
.bl-arrow { position: absolute; box-sizing: border-box; left: calc(var(--S) - 26px - var(--lane) * 12px); width: calc(9px + var(--lane) * 12px); top: calc(var(--from) * 48px + 24px); height: calc((var(--to) - var(--from)) * 48px); border: 2px solid var(--c); border-right: 0; border-radius: 8px 0 0 8px; }
.bl-arrow::after { content: ""; position: absolute; right: -7px; bottom: -6px; border-left: 7px solid var(--c); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.bl-rows { list-style: none; margin: 0; padding: 0 0 0 calc(var(--S) - 11px); }
.bl-rows li { height: 48px; display: flex; align-items: center; gap: 12px; min-width: 0; font: 0.95rem var(--sans); color: var(--ink-3); }
.bl-rows li.branches, .bl-rows li.end { color: var(--ink); font-weight: 600; }
.bl-rows b { position: relative; z-index: 1; flex: none; box-sizing: border-box; width: 22px; height: 22px; display: grid; place-items: center; border: 2px solid #d6ccbf; border-radius: 50%; background: var(--card); font: 700 0.7rem var(--sans); color: var(--ink); }
.bl-rows li.end b { background: var(--rust); border-color: var(--rust); color: #fff; }
.bl-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-title em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.bl-chip { flex: none; padding: 2px 10px; border: 1px solid var(--c); border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, transparent); font: 600 0.78rem var(--sans); color: var(--ink); white-space: nowrap; }
/* On a phone, a jump's chip drops under its question, still inside the row. */
@media (max-width: 560px) {
  .bl-pic { padding: 16px 14px 10px; }
  .bl-rows li { flex-wrap: wrap; align-content: center; row-gap: 2px; font-size: 0.85rem; }
  .bl-rows li .bl-title { flex-basis: calc(100% - 34px); }
  .bl-rows li .bl-chip { margin-left: 34px; padding: 0 8px; font-size: 0.68rem; }
}
/* Two calls to action side by side, wrapping on a phone. */
.cta-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
/* The pricing page's opening: no photo hero, so it needs its own room at the top. */
/* Short on purpose: the comparison below should start on the first screen. */
.pricing-top { padding: clamp(28px, 3vw, 36px) 0 clamp(24px, 3vw, 32px); }
.pricing-top .widget-head { max-width: 980px; }
.pricing-top h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.pricing-top .feel-sub { margin-top: 8px; }
.pricing-top .center-cta { margin-top: 20px; }
.pricing-top + .section { padding-top: clamp(32px, 4vw, 40px); }
.pricing-top + .section .cmp-layout { margin-top: 28px; }

/* ------------------------------------------------ pricing: the two phones
   The same questions on two phones: AskSincerely, and a typical form. Wide
   screens stack them beside the comparison, staying in view while it's read;
   narrower ones show them as a pair in the hero. Either way ours starts in
   front, and pointing at (or tapping) the other brings it forward until you
   look away. */
.look-side { margin: 0; display: grid; justify-items: center; gap: 12px; }
.look-side figcaption { font-size: 0.9rem; color: var(--ink-2); }
.look-side figcaption strong { color: var(--ink); }
.look-other { cursor: zoom-in; outline: none; }
.look-side, .look-side .phone { transition: transform 0.45s var(--ease); }
@media (prefers-reduced-motion: reduce) { .look-side, .look-side .phone { transition: none; } }

/* The pair: side by side, ours a touch larger. Scaled, not resized, so nothing moves. */
.look-pair { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 6vw, 56px); margin-top: 44px; }
.look-pair .phone { width: min(220px, 40vw); }
.look-pair .is-ours .phone { transform: scale(1.06); }
.look-pair .look-other:is(:hover, :focus) .phone { transform: scale(1.06); }
.look-pair:has(.look-other:hover, .look-other:focus) .is-ours .phone { transform: scale(0.94); }
/* Phones skip it: two mock phones are too small to read there, and the table
   matters more. */
@media (max-width: 600px) { .look-hero { display: none; } }

/* The stack: overlapping, like two phones set down on a desk — ours in front,
   the typical form behind and turned a little. Sized to the window's height so
   both always fit while it sticks. */
.look-stack { position: relative; height: calc(var(--stack-w) * 2.17 + 80px); --stack-w: min(210px, calc((100vh - 230px) / 2.4)); }
.look-stack .look-side { position: absolute; }
.look-stack .phone { width: var(--stack-w); }
.look-stack .is-ours { right: 0; top: 72px; z-index: 2; }
.look-stack .look-other { left: 0; top: 0; z-index: 1; transform: rotate(-6deg) scale(0.9); transform-origin: bottom right; }
.look-stack .look-other figcaption { order: -1; justify-self: start; }
.look-stack:has(.look-other:hover, .look-other:focus) .look-other { z-index: 3; transform: none; }
.look-stack:has(.look-other:hover, .look-other:focus) .is-ours { transform: scale(0.9); }
.look-caption { margin-top: 10px; text-align: center; font-size: 0.85rem; color: var(--ink-3); }

/* Wide: table and features on the left, the stack sticking beside them.
   Narrower: no room beside the table, so the pair shows in the hero instead. */
.cmp-layout { margin-top: 44px; }
.cmp-aside { display: none; }
/* This section is wider than the rest, so the table keeps its columns beside the phones. */
.wrap-wide { max-width: 1320px; }
@media (min-width: 1180px) {
  .cmp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
  .cmp-aside { display: block; position: sticky; top: 104px; }
  .look-hero { display: none; }
}
/* A stand-in for a recording: a plain, scrolling form in grey and blue. */
.phone .plain-form { padding: 16px 14px; overflow: hidden; background: #f1f3f4; font: 400 9px/1.35 Arial, sans-serif; color: #202124; text-align: left; }
.pf-head { height: 8px; margin: -16px -14px 12px; background: #5f6368; }
.pf-title { padding: 10px; margin-bottom: 8px; background: #fff; border-top: 4px solid #4a6fa5; font-size: 13px; }
.pf-q { padding: 8px 10px 2px; margin: 0; background: #fff; }
.pf-scale { display: flex; gap: 3px; padding: 4px 10px 8px; margin-bottom: 6px; background: #fff; }
.pf-scale i, .pf-opt i { width: 9px; height: 9px; border: 1px solid #80868b; border-radius: 50%; flex: none; }
.pf-opt { display: flex; align-items: center; gap: 6px; padding: 3px 10px; margin: 0; background: #fff; }
.pf-opt:last-of-type { margin-bottom: 6px; }
.pf-box { height: 34px; margin: 0 0 6px; border: 10px solid #fff; border-bottom-width: 8px; background: #f8f9fa; box-shadow: inset 0 -1px #80868b; }
.pf-short { height: 24px; }
.pf-submit { display: inline-block; margin-top: 4px; padding: 5px 12px; border-radius: 3px; background: #4a6fa5; color: #fff; }

/* ------------------------------------------------ pricing: comparison table */
.cmp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.cmp-table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 0.93rem; }
.cmp-table th, .cmp-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); color: var(--ink-2); }
.cmp-table thead th { border-top: 0; font-weight: 700; color: var(--ink); white-space: nowrap; }
.cmp-table tbody th { font-weight: 600; color: var(--ink); min-width: 180px; }
/* The feature column stays put while the providers scroll past on a phone. */
.cmp-table th:first-child { position: sticky; left: 0; background: var(--card); }
.cmp-table .cmp-us { background: var(--rust-soft); color: var(--ink); font-weight: 600; }
.cmp-table thead .cmp-us { color: var(--rust); }
.cmp-yes { color: #2f6b3a; font-weight: 600; }
.cmp-us .cmp-yes { color: var(--rust); }
.cmp-no { color: var(--ink-3); }
/* Home page: three rows of the same table, right under the hero. */
.cmp-strip { max-width: 900px; margin-inline: auto; }
.cmp-strip .cmp-table { min-width: 620px; }
.cmp-note a { color: var(--rust); font-weight: 600; white-space: nowrap; }
.cmp-note { max-width: 46em; margin: 16px auto 0; text-align: center; font-size: 0.85rem; color: var(--ink-3); }

/* ------------------------------------------------ pricing: everything included */
.included { margin-top: 64px; }
.included-title { font: 600 clamp(1.5rem, 3vw, 1.9rem)/1.2 var(--serif); color: var(--ink); }
.included-sub { margin-top: 10px; max-width: 40em; color: var(--ink-2); }
.feature-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 32px; margin-top: 28px; }
.feature-groups h4 { margin-bottom: 6px; font-size: 1.05rem; color: var(--ink); }
.ticks li.soon { color: var(--ink-3); }
.ticks li.soon::before { opacity: 0.45; }
.ticks li.soon span { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--rust-soft); color: var(--rust); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }

/* ------------------------------------------------ home page sections
   Seven sections: the problem line in the hero, the use cases as still cards,
   sharing inside "How it works", branching and "See how you compare" sharing a
   section, pricing as one band, contact beside the FAQ. */
.hero-photo .hero-why { max-width: 30em; margin: -18px 0 28px; font-size: 1.08rem; color: rgb(255 255 255 / 0.82); }
@media (max-width: 860px) { .hero-photo .hero-why { margin-inline: auto; } }

.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.who-card { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--ink); text-decoration: none; transition: transform 0.25s var(--ease), border-color 0.25s; }
.who-card:hover { transform: translateY(-3px); border-color: var(--rust); }
.who-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.who-card h3 { padding: 0 6px; font: 600 1.15rem/1.25 var(--serif); }
.who-card p { padding: 0 6px; font-size: 0.93rem; color: var(--ink-2); }
.who-card span { margin-top: auto; padding: 6px 6px 0; font-size: 0.9rem; font-weight: 600; color: var(--rust); }
.who-more { margin-top: 24px; text-align: center; color: var(--ink-2); }

.share-row { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.build-steps .share-row li { display: block; position: relative; padding: 0 0 0 16px; border: 0; border-radius: 0; opacity: 1; background: none; box-shadow: none; cursor: auto; font-size: 0.93rem; color: var(--ink-2); }
.build-steps .share-row li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--rust); }
.share-row b { color: var(--ink); }
.share-embed { display: inline; }
.share-embed summary { display: inline; cursor: pointer; color: var(--rust); text-decoration: underline; }
.share-embed code { display: block; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: var(--ink); color: #f3efe9; font-size: 0.78rem; word-break: break-all; }

.smart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; align-items: stretch; }
.smart-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); text-align: center; }
.smart-card h3 { font: 600 1.45rem/1.2 var(--serif); }
.smart-card > p { max-width: 32em; color: var(--ink-2); }
.smart-card .bl-pic { margin: 6px 0 0; width: 100%; box-shadow: none; text-align: left; }
.smart-card .cmp-phone { margin-top: 6px; width: min(270px, 100%); }
.smart-note { font-size: 0.85rem; color: var(--ink-3); }

.price-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.price-band h2 { margin-top: 6px; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.price-band p { margin-top: 8px; color: var(--ink-2); }
.price-band a:not(.btn) { color: var(--rust); font-weight: 600; }

.faq-contact { margin-top: 14px; font-size: 0.95rem; }
.faq-contact a { color: var(--rust); }
