/* Inter Tight (SIL Open Font License 1.1), self-hosted so no visitor data goes to Google. */
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/fonts/inter-tight-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/fonts/inter-tight-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Marketing site: same design language as the app (light, SF, grey canvas, white cards, blue accent) */
body.home { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.home main { display: block; }
.site-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 12px 24px; background: rgba(245, 245, 247, 0.82); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-bar.scrolled { border-bottom-color: var(--border); }
.site-bar .brand { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; color: var(--text); letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 18px; margin-left: 12px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-nav > a, .nav-dd-btn { white-space: nowrap; }
.site-nav a:hover { color: var(--text); }
.site-bar .spacer { flex: 1; }
.btn.big { padding: 12px 22px; font-size: 16px; border-radius: 12px; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 10px; }
.section { max-width: 1120px; margin: 0 auto; padding: 72px 24px; }
.section h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 14px; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head .lede { font-size: 18px; color: var(--muted); margin: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Hero */
.hero { max-width: 1120px; margin: 0 auto; padding: 64px 24px 40px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 18px; }
.hero .grad { background: linear-gradient(90deg, #0071e3, #5ac8fa 60%, #34c759); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 19px; color: var(--muted); line-height: 1.5; max-width: 560px; margin: 0 0 24px; }
.hero .lede b { color: var(--text); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.tools { font-size: 13.5px; color: var(--muted); max-width: 560px; line-height: 1.7; }
.tools span { display: inline-block; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 1px 10px; margin: 0 3px; color: var(--text); font-weight: 500; }
.hero-visual { position: relative; min-height: 460px; }
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-nodes circle { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.5; }
.orbit-nodes text { font-size: 12px; font-weight: 600; fill: var(--text); text-anchor: middle; }
.chat-mock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 330px; background: var(--surface); border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--border); overflow: hidden; z-index: 2; }
.cm-head { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.cm-dot { width: 10px; height: 10px; border-radius: 50%; background: #d2d2d7; }
.cm-dot:nth-child(1) { background: #ff5f57; } .cm-dot:nth-child(2) { background: #febc2e; } .cm-dot:nth-child(3) { background: #28c840; }
.cm-title { margin-left: auto; font-size: 12px; color: var(--faint); }
.cm-body { padding: 14px; min-height: 250px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.cm-user { align-self: flex-end; background: var(--accent); color: #fff; border-radius: 14px 14px 4px 14px; padding: 8px 12px; max-width: 85%; }
.cm-bot { background: var(--surface-2); border-radius: 14px 14px 14px 4px; padding: 10px 12px; max-width: 92%; }
.cm-bot .step { font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.cm-bot ul { margin: 6px 0 0; padding-left: 18px; }
.cm-bot li { margin: 2px 0; }
.cm-cite { display: inline-block; font-size: 11px; background: var(--accent-soft); color: var(--accent); border-radius: 6px; padding: 1px 6px; margin-left: 4px; }
.cm-q { font-weight: 600; margin-top: 8px; }
.cm-typing { display: inline-flex; gap: 4px; padding: 10px 12px; }
.cm-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite; }
.cm-typing i:nth-child(2) { animation-delay: 0.2s; } .cm-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
.cm-in { animation: popIn 0.35s ease-out; }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }

/* Cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 8px 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }
.card .ic { font-size: 26px; }
.card.metric b { display: block; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 8px; }
.outcomes .muted.center { margin-top: 18px; }

/* Demo */
.demo { background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); padding: 56px 40px; }
.demo-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.dtab { border: 1px solid var(--border-strong); background: var(--surface); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--muted); }
.dtab.active { background: var(--text); color: #fff; border-color: var(--text); }
.demo-stage { min-height: 420px; background: var(--bg); border-radius: 20px; padding: 24px; }
.demo-ask { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; }
.ticket-card { background: var(--surface); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.5; }
.ticket-card .t-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); margin-bottom: 8px; }
.ticket-card .t-sub { font-weight: 600; margin-bottom: 8px; }
.ticket-card .t-src { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.ticket-card .t-src b { color: var(--text); }
.answer-card { background: var(--surface); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.answer-card .a-step { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.answer-card .a-step small { display: block; font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.answer-card ul { margin: 10px 0; padding-left: 18px; font-size: 14px; }
.answer-card .heads { background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 8px 12px; font-size: 13.5px; margin: 10px 0; }
.answer-card .ask-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.answer-card .quote { margin: 12px 0 0; padding: 10px 12px; background: var(--surface-2); border-radius: 10px; font-size: 13px; }
.answer-card .quote .src { font-size: 11px; color: var(--faint); margin-bottom: 2px; }
.flowline { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.flowline span { background: var(--fill); border-radius: 999px; padding: 2px 9px; }
.flowline span.done { background: var(--ok-soft); color: var(--ok); }
.flowline span.now { background: var(--accent); color: #fff; font-weight: 600; }
.demo-learn { max-width: 720px; margin: 0 auto; }
.scenario { background: var(--surface); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.scenario .sc-sit { background: var(--surface-2); border-radius: 10px; padding: 12px 14px; font-size: 14.5px; line-height: 1.5; }
.scenario .sc-q { font-weight: 600; font-size: 17px; margin: 14px 0 10px; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; gap: 10px; align-items: flex-start; border: 0; background: var(--surface); box-shadow: 0 0 0 1px var(--border-strong) inset; border-radius: 10px; padding: 10px 12px; cursor: pointer; text-align: left; font: inherit; font-size: 14px; }
.opt .l { width: 22px; height: 22px; border-radius: 50%; background: var(--fill); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.opt.picked { box-shadow: 0 0 0 2px var(--accent) inset; background: var(--accent-soft); }
.opt.right { box-shadow: 0 0 0 2px #34c759 inset; background: var(--ok-soft); }
.opt.wrong { box-shadow: 0 0 0 2px var(--bad) inset; background: var(--bad-soft); }
.conf { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--fill); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: transparent; font: inherit; font-size: 13px; padding: 5px 14px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.fb { margin-top: 12px; border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.fb.ok { background: var(--ok-soft); } .fb.bad { background: var(--bad-soft); }
.fb b { display: block; margin-bottom: 4px; }
.fb .calib { color: var(--bad); font-weight: 500; margin-top: 6px; }
.demo-sim .sim-row { display: flex; align-items: flex-end; gap: 14px; padding: 10px 0 18px; overflow-x: auto; }
.demo-sim .st { width: 120px; flex-shrink: 0; text-align: center; }
.demo-sim .pile { height: 150px; width: 76px; margin: 0 auto 8px; background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--border) inset; display: flex; align-items: flex-end; position: relative; overflow: hidden; transition: box-shadow 0.3s; }
.demo-sim .st.hot .pile { box-shadow: 0 0 0 2px var(--bad) inset, 0 6px 18px rgba(215, 0, 21, 0.18); }
.demo-sim .bar { width: 100%; background: var(--accent); border-radius: 10px 10px 0 0; transition: height 0.12s linear; opacity: 0.9; }
.demo-sim .st.hot .bar { background: var(--bad); }
.demo-sim .q { position: absolute; top: 8px; left: 0; right: 0; font-weight: 700; font-size: 20px; }
.demo-sim .nm { font-size: 13px; font-weight: 600; }
.demo-sim .ppl { display: flex; gap: 3px; justify-content: center; margin-top: 4px; }
.demo-sim .ppl i { width: 9px; height: 9px; border-radius: 50%; background: var(--fill); }
.demo-sim .ppl i.busy { background: var(--accent); }
.demo-sim .st.hot .ppl i.busy { background: var(--bad); }
.demo-sim .sim-ctl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; font-size: 14px; }
.demo-sim .verdict { border-radius: 12px; padding: 10px 14px; font-size: 14.5px; margin-top: 8px; }
.demo-sim .verdict.ok { background: var(--ok-soft); } .demo-sim .verdict.bad { background: var(--bad-soft); }
.demo-sim .kpis { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 10px; }
.demo-sim .kpi b { display: block; font-size: 22px; letter-spacing: -0.02em; }
.demo-sim .kpi span { font-size: 12.5px; color: var(--muted); }
.demo-note { margin: 16px 0 0; font-size: 13px; color: var(--faint); }

/* Loop */
.loop { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.loop li { background: var(--surface); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); position: relative; }
.loop .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 10px; }
.loop h3 { margin: 0 0 6px; font-size: 18px; }
.loop p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.loop li:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 28px; color: var(--faint); font-size: 18px; }
.loop-note { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { background: var(--surface); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.plan.hl { box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg); }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.plan .price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.plan ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--muted); display: grid; gap: 4px; }
.plan .btn { margin-top: auto; text-align: center; text-decoration: none; }

/* Trust / book / FAQ */
.trust .center { margin-top: 20px; }
.trust a { color: var(--accent); }
.book { background: var(--text); color: #f5f5f7; border-radius: 28px; padding: 56px 40px; }
.book .eyebrow { color: #5ac8fa; }
.book .lede { color: #c7c7cc; font-size: 17px; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: #e5e5ea; }
.checks li::before { content: "✓ "; color: #34c759; font-weight: 700; }
.book-form { background: var(--surface); color: var(--text); border-radius: 18px; padding: 24px; display: grid; gap: 12px; }
.book-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--muted); }
.book-form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); }
.book-form label.check a { color: var(--accent); }
.form-note { margin: 0; font-size: 13px; color: var(--muted); min-height: 1.2em; }
.faq details { background: var(--surface); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.faq p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.site-foot { max-width: 1120px; margin: 0 auto; padding: 32px 24px 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.site-foot nav { display: flex; gap: 16px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--text); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual { min-height: 420px; }
  .cards3, .loop, .plans { grid-template-columns: 1fr 1fr; }
  .loop li::after { display: none; }
  .demo-ask, .book-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
}
@media (max-width: 600px) {
  .cards3, .loop, .plans { grid-template-columns: 1fr; }
  .demo, .book { padding: 32px 18px; border-radius: 20px; }
  .section { padding: 48px 18px; }
  .chat-mock { width: 290px; }
}

/* The app's styles.css defines .section-head (flex row) and .card (grid) for its own panels; the site uses the same names as plain blocks. */
.home .section-head { display: block; }
.home .card { display: block; grid-template-columns: none; }
.home .section h2 { margin-top: 0; }

/* Definition, comparison, article pages */
.definition { font-size: 19px; line-height: 1.6; max-width: 860px; margin: 0; }
.also { margin: 14px 0 0; font-size: 13.5px; color: var(--faint); }
.cmp-wrap { overflow-x: auto; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 760px; }
.cmp th { text-align: left; padding: 14px 16px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--border); background: var(--surface-2); }
.cmp th:last-child { color: var(--accent); }
.cmp td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.cmp td:first-child { color: var(--text); }
.cmp td.yes { color: var(--text); font-weight: 600; }
.cmp tr:last-child td { border-bottom: 0; }
#compare .center { margin-top: 16px; }
#compare .center a, .article a { color: var(--accent); }
.article { max-width: 780px; margin: 0 auto; padding: 56px 24px 72px; font-size: 17px; line-height: 1.65; }
.article h1 { font-size: clamp(32px, 4.5vw, 46px); letter-spacing: -0.03em; line-height: 1.08; margin: 10px 0 14px; }
.article h2 { font-size: 26px; letter-spacing: -0.02em; margin: 36px 0 10px; }
.article h3 { font-size: 19px; margin: 24px 0 8px; }
.article .lede { font-size: 20px; color: var(--muted); margin: 0 0 24px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin: 6px 0; }
.article .box { background: var(--surface); border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow); margin: 18px 0; }
.article .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 0; }
.article table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.article th { color: var(--muted); font-size: 13px; }
.breadcrumb { font-size: 13px; color: var(--faint); margin: 0 0 14px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }

/* Hero node sync */
.orbit-nodes g { transition: transform 0.3s; }
.orbit-nodes g.lit circle { fill: var(--accent); stroke: var(--accent); }
.orbit-nodes g.lit text { fill: #fff; }

/* Improve demo */
.demo-improve { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; }
.signals, .edit-card { background: var(--surface); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.sig-head { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.sig { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.45; margin-bottom: 12px; }
.sig small { display: block; color: var(--faint); margin-top: 2px; }
.sig .k { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; flex-shrink: 0; color: #fff; }
.sig .k.corr { background: var(--bad); } .sig .k.ask { background: var(--warn); } .sig .k.miss { background: var(--accent); }
.e-title { font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.edit-card pre { white-space: pre-wrap; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
.edit-card .before { background: var(--bad-soft); text-decoration: line-through; text-decoration-color: rgba(215, 0, 21, 0.35); }
.edit-card .after { background: var(--ok-soft); }
.edit-card .ask-row { display: flex; gap: 8px; margin-top: 10px; }

/* Personas */
.personas { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.ptab { border: 1px solid var(--border-strong); background: var(--surface); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--muted); }
.ptab.active { background: var(--text); color: #fff; border-color: var(--text); }
.persona { background: var(--surface); border-radius: 18px; padding: 26px 28px; box-shadow: var(--shadow); }
.persona h3 { margin: 0 0 12px; font-size: 22px; letter-spacing: -0.015em; }
.persona ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.persona li::marker { color: var(--accent); }

/* ROI */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.roi-form { display: grid; gap: 10px; background: var(--surface); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); }
.roi-form label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.roi-form .input { max-width: 110px; text-align: right; }
.roi-out { background: var(--text); color: #f5f5f7; border-radius: 18px; padding: 24px 26px; position: sticky; top: 80px; }
.roi-big span { display: block; font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
.roi-big small { display: block; color: #c7c7cc; font-size: 14px; margin-top: 2px; }
.roi-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.roi-rows b { display: block; font-size: 22px; letter-spacing: -0.02em; }
.roi-rows span { font-size: 12.5px; color: #c7c7cc; }
.roi-note { margin: 0; font-size: 14px; color: #e5e5ea; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 14px; }
.roi-note b { color: #5ac8fa; }

/* Card hover polish + sticky mobile CTA */
.home .card, .loop li, .plan { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.home .card:hover, .loop li:hover, .plan:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09); }
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); padding: 8px; border-radius: 14px; box-shadow: var(--shadow-lg); }
  .mobile-cta .btn { flex: 1; text-align: center; text-decoration: none; }
  .home main { padding-bottom: 70px; }
  .demo-improve, .roi { grid-template-columns: 1fr; }
  .roi-out { position: static; }
}
@media (max-width: 960px) { .demo-improve, .roi { grid-template-columns: 1fr; } .roi-out { position: static; } }

/* Accessibility: contrast (AA on the grey canvas), skip link, screen-reader text, focus, motion, targets */
.home { --accent: #0066cc; --faint: #6e6e73; }
.home .eyebrow, .book .eyebrow { color: #0066cc; }
.book .eyebrow { color: #7fd0ff; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--text); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top 0.15s; }
.skip:focus { top: 12px; outline: 3px solid #ff9f0a; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.home :focus-visible { outline: 3px solid #0066cc; outline-offset: 3px; border-radius: 6px; }
.home .btn, .home .dtab, .home .ptab, .home .opt, .home .seg button { min-height: 36px; }
.home .site-nav a, .site-foot a { display: inline-block; padding: 6px 2px; }
.req { color: var(--bad); }
.hero-pause { position: absolute; right: 8px; top: 8px; z-index: 3; }
.loop li:not(:last-child)::after { content: "→" / ""; }
.cm-user { color: #fff; }
.roi-rows span, .roi-big small { color: #d9d9de; }
.book .lede, .checks { color: #e5e5ea; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cm-in, .cm-typing i, .sim-people i.busy, .sim-qbar, .sim-token { animation: none !important; transition: none !important; }
  .home .card, .loop li, .plan { transition: none; }
  .home .card:hover, .loop li:hover, .plan:hover { transform: none; }
  .skip { transition: none; }
}
.placeholder { background: var(--warn-soft); color: #7a4a00; border-radius: 4px; padding: 0 5px; font-weight: 600; }

/* Blog */
.post-list { display: grid; gap: 16px; margin: 24px 0 8px; }
.post-card { background: var(--surface); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09); }
.post-card h2 { margin: 4px 0 8px; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-card p { margin: 0 0 8px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.post-meta { font-size: 13.5px; color: var(--faint); }
.post-more { margin-top: 28px; }
.article blockquote { margin: 18px 0; padding: 12px 18px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; }
.article blockquote p { margin: 0; }
.article em { color: var(--text); }

/* Language switcher on the site bar */
.site-lang { display: flex; gap: 2px; margin-right: 6px; }
.site-lang a { font-size: 12.5px; color: var(--muted); text-decoration: none; padding: 5px 7px; border-radius: 8px; }
.site-lang a[aria-current="true"] { background: var(--text); color: #fff; }
.site-lang a:hover { color: var(--text); background: var(--fill); }
@media (max-width: 700px) {
  .site-bar { padding: 10px 16px; gap: 10px; }
  .site-lang { margin-right: 0; }
  .site-lang a { font-size: 0; padding: 6px 7px; }
  .site-lang a::after { content: attr(lang); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
  .article { padding: 28px 18px 56px; }
  .article h2 { margin-top: 28px; }
  .site-bar > .btn:not(.primary) { display: none; }
  .site-bar .brand { font-size: 16px; }
  .site-bar .btn.small { padding: 7px 12px; }
}

/* ===== Design refresh: type, hero atmosphere, bands, loop ring, pricing toggle, footer ===== */
.home h1, .home h2, .home h3, .home .roi-big span, .home .plan .price, .post-card h2, .article h1 { font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; }
.home h2 { font-weight: 700; }
.home .btn.primary { background: linear-gradient(180deg, #1a7cf0, #0066cc); border-color: #0066cc; box-shadow: 0 6px 18px rgba(0, 102, 204, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.home .btn.primary:hover { background: linear-gradient(180deg, #2a86f3, #0a6fd6); transform: translateY(-1px); }
.home .btn { transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s; }
.btn.big { border-radius: 14px; padding: 13px 24px; }

/* Hero atmosphere */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -80px -200px auto -200px; height: 620px; z-index: -1; background: radial-gradient(60% 55% at 70% 35%, rgba(0, 113, 227, 0.14), transparent 70%), radial-gradient(45% 45% at 15% 70%, rgba(52, 199, 89, 0.12), transparent 70%), radial-gradient(40% 40% at 55% 95%, rgba(255, 159, 10, 0.10), transparent 70%); filter: blur(10px); pointer-events: none; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px 6px 8px; font-size: 12px; text-transform: none; letter-spacing: 0; color: var(--text); font-weight: 500; }
.hero .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.18); }
.chat-mock { transform: translate(-50%, -50%) rotate(-1.5deg); transition: transform 0.4s ease; }
.hero-visual:hover .chat-mock { transform: translate(-50%, -50%) rotate(0deg); }
.orbit-nodes circle { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08)); }

/* Alternating bands */
.section.band { max-width: none; background: var(--surface); }
.section.band > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.section.band .section-head { margin-bottom: 32px; }
.section.band .plans, .section.band .loop-grid, .section.band .personas, .section.band .persona-panel { max-width: 1120px; }
.home .section h2 { text-wrap: balance; }
.card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; font-size: 22px; margin-bottom: 6px; }

/* Loop ring + steps */
.loop-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.loop-ring { width: 100%; max-width: 420px; margin: 0 auto; display: block; }
.ring-node circle { fill: var(--surface); stroke: #0066cc; stroke-width: 2; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08)); }
.ring-node text { font: 600 14px -apple-system, BlinkMacSystemFont, "SF Pro Text", Arial, sans-serif; fill: var(--text); text-anchor: middle; }
.ring-core circle { fill: #1d1d1f; }
.ring-core text { font: 600 13px -apple-system, Arial, sans-serif; fill: #fff; text-anchor: middle; }
.loop { display: grid; grid-template-columns: 1fr; gap: 10px; counter-reset: none; }
.loop li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; box-shadow: none; border: 1px solid var(--border); background: var(--bg); }
.loop li::after { display: none; }
.loop .n { flex-shrink: 0; margin: 2px 0 0; }
.loop h3 { font-size: 17px; margin: 0 0 4px; }
.loop p { font-size: 14.5px; }
.loop-note { max-width: 760px; }

/* Pricing */
.bill-toggle { display: inline-flex; background: var(--fill); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.bill-toggle button { border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 500; padding: 7px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); min-height: 36px; }
.bill-toggle button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.plan { position: relative; border: 1px solid var(--border); }
.plan.hl { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, #0066cc, #5ac8fa, #34c759) border-box; border: 2px solid transparent; box-shadow: var(--shadow-lg); }
.plan-tag { position: absolute; top: -12px; left: 18px; background: #0066cc; color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.plan .price { font-size: 36px; }

/* Demo tabs */
.dtab, .ptab { transition: background 0.15s, color 0.15s, transform 0.15s; }
.dtab:hover, .ptab:hover { transform: translateY(-1px); }

/* Footer */
.site-foot { display: block; border-top: 1px solid var(--border); padding-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-brand p { margin: 8px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; max-width: 300px; }
.foot-brand b { font-size: 15px; }
.site-foot nav { display: flex; flex-direction: column; gap: 2px; }
.site-foot nav h3 { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); }
.site-foot nav a { padding: 4px 0; font-size: 13.5px; }
.foot-note { margin: 28px 0 0; font-size: 12.5px; color: var(--faint); }
.foot-note a { color: var(--faint); }
@media (max-width: 960px) { .loop-grid { grid-template-columns: 1fr; } .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; } .hero::before { inset: -40px -100px auto -100px; height: 480px; } }
@media (prefers-reduced-motion: reduce) { .chat-mock, .home .btn, .dtab, .ptab { transition: none; } }

/* Overflow and contrast corrections */
html, body.home { overflow-x: clip; }
.hero::before { inset: -80px 0 auto 0; }
.home .btn.primary { background: linear-gradient(180deg, #0a66d0, #0057b0); border-color: #0057b0; }
.home .btn.primary:hover { background: linear-gradient(180deg, #1170da, #0060bf); }
.plan-tag { background: #0057b0; }

/* Where it fits */
.fits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fits li { background: var(--surface); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.fits b { font-size: 15.5px; }
.fits span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 960px) { .fits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fits { grid-template-columns: 1fr; } }

/* Solutions index */
.sol-grid { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sol-grid a { display: grid; gap: 4px; background: var(--surface); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform 0.18s, box-shadow 0.18s; }
.sol-grid a:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09); }
.sol-grid b { font-size: 16px; }
.sol-grid span { font-size: 13.5px; color: var(--muted); }
.article .fits { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .sol-grid, .article .fits { grid-template-columns: 1fr; } }

/* Solutions dropdown */
.site-nav { align-items: center; }
.nav-dd { position: relative; }
.nav-dd-btn { color: var(--muted); text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 2px; }
.nav-dd-btn .caret { font-size: 11px; line-height: 1; transition: transform 0.15s; }
.nav-dd.open .nav-dd-btn { color: var(--text); }
.nav-dd.open .caret { transform: rotate(180deg); }
.nav-dd-panel { position: absolute; left: -12px; top: calc(100% + 8px); display: none; grid-template-columns: repeat(4, auto); grid-template-rows: auto auto auto; column-gap: 28px; row-gap: 0; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--border); padding: 16px 20px 12px; z-index: 40; }
.nav-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-dd.open .nav-dd-panel { display: grid; }
.dd-h { margin: 0 0 4px; padding: 0 10px; font-size: 11.5px; line-height: 16px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.dd-h.span2 { grid-column: span 2; }
.dd-h-inner { margin-top: 12px; }
.dd-col { display: flex; flex-direction: column; min-width: 150px; max-width: 200px; }
.dd-col a { color: var(--text); text-decoration: none; font-size: 14px; line-height: 20px; padding: 6px 10px; border-radius: 8px; }
.dd-col a:hover, .dd-col a:focus-visible { background: var(--accent-soft); color: var(--accent); }
.dd-all { grid-column: 1 / -1; margin: 10px 0 0; padding: 12px 10px 4px; border-top: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.dd-all:hover { text-decoration: underline; }
@media (max-width: 960px) { .site-nav { display: none; } }

/* Integration status + tags */
.article .istatus { margin: -4px 0 18px; padding: 10px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; background: var(--accent-soft); color: var(--text); }
.article .istatus.planned { background: #fff4e0; }
.sol-grid .tag { font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: #8a5a00; background: #fff4e0; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }
.steps { list-style: none; padding: 0; margin: 0 0 8px; counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 14px; background: var(--surface); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.steps li > div > b { display: block; font-size: 16px; margin-bottom: 4px; }
.steps p b { color: var(--text); font-weight: 600; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
/* "How Ovenbird improves it" lists */
.improves { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.improves li { display: grid; grid-template-columns: 200px 1fr; gap: 14px; background: var(--surface); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); font-size: 15px; line-height: 1.5; }
.improves b { font-size: 15px; }
.improves span { color: var(--muted); }
.improves li:last-child { background: var(--accent-soft); }
.improves li:last-child span { color: var(--text); }
@media (max-width: 600px) { .improves li { grid-template-columns: 1fr; gap: 4px; } }

/* Product pages (/solutions/*) */
.pp { max-width: 1120px; margin: 0 auto; padding: 20px 24px 80px; }
.pp .breadcrumb { margin: 0 0 10px; }
.pp-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 28px 0 44px; }
.pp-hero h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.05; letter-spacing: -0.03em; margin: 8px 0 16px; }
.pp-hero .lede { font-size: 18px; color: var(--muted); line-height: 1.5; margin: 0 0 22px; }
.pp-hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.pp-hero .trust { font-size: 13px; color: var(--faint); margin: 0; }
.pp-hero-index { grid-template-columns: 1fr; padding-bottom: 16px; }
.pp-hero-index .lede { max-width: 720px; }
.pp-demo { display: grid; gap: 12px; }
.pp-demo .ticket-card { font-size: 13.5px; }
.pp-demo .flowline { margin: 0 0 10px; }
.pp-demo .flowline b { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); margin-right: 2px; }
.pp-demo .flowline span { background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.pp-demo .a-step { font-size: 18px; }
.pp-section { padding: 40px 0 8px; border-top: 1px solid var(--border); margin-top: 32px; }
.pp-section h2 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 18px; }
.pp-pains, .pp-roles, .pp-measures { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pp-pains li { background: var(--warn-soft); border-radius: 16px; padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.pp-pains b { font-size: 16px; letter-spacing: -0.01em; }
.pp-pains span, .pp-roles span, .pp-measures span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.pp .fits { grid-template-columns: repeat(2, 1fr); }
.pp .fits li { padding: 18px 20px; }
.pp-shift { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pp-shift li { display: grid; grid-template-columns: 200px 1fr; gap: 18px; background: var(--surface); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow); font-size: 14.5px; line-height: 1.5; }
.pp-shift li.pair { grid-template-columns: 200px 1fr 1fr; }
.pp-shift b { font-size: 15px; }
.pp-shift i { display: block; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.pp-shift .was { color: var(--muted); }
.pp-shift .now { color: var(--text); }
.pp-shift .now i { color: var(--accent); }
.pp-how .loop { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pp-how .loop li { display: block; padding: 22px; background: var(--surface); border: 0; box-shadow: var(--shadow); }
.pp-how .loop li::after { display: block; }
.pp-how .loop .n { margin: 0 0 12px; }
.pp-how .loop h3 { margin: 0 0 6px; font-size: 17px; }
.pp-how .loop p { margin: 0; }
.pp-how .loop li:not(:last-child)::after { content: "→"; }
.pp-roles li, .pp-measures li { background: var(--surface); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); display: grid; gap: 6px; align-content: start; }
.pp-roles b { font-size: 16px; }
.pp-measures b { font-size: 17px; letter-spacing: -0.01em; }
.pp-proof .muted { margin: 14px 0 0; font-size: 14px; }
.pp-faq details { border-top: 1px solid var(--border); padding: 14px 0; }
.pp-faq details:last-child { border-bottom: 1px solid var(--border); }
.pp-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after { content: "+"; color: var(--faint); font-weight: 400; }
.pp-faq details[open] summary::after { content: "–"; }
.pp-faq p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 720px; }
.pp-meta p { color: var(--muted); font-size: 14.5px; margin: 0 0 8px; }
.pp-meta b { color: var(--text); margin-right: 6px; }
.pp-cta { text-align: center; background: var(--surface); border-radius: 24px; padding: 48px 24px; box-shadow: var(--shadow); margin-top: 40px; }
.pp-cta h2 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 8px; }
.pp-cta p { color: var(--muted); margin: 0 0 20px; }
.pp-cta .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.sol-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .pp-hero { grid-template-columns: 1fr; gap: 28px; }
  .pp-pains, .pp-roles, .pp-measures, .pp-how .loop, .sol-grid-3, .pp .fits { grid-template-columns: 1fr; }
  .pp-shift li, .pp-shift li.pair { grid-template-columns: 1fr; gap: 10px; }
  .pp-how .loop li:not(:last-child)::after { content: none; }
}
