/* ThriveWorks v2 — design system
   Product-company polish, warm base, one brand colour. Solid surfaces, crisp borders, no glass/glow/gradient text. */

:root {
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --tint: #F4F2EC;
  --tint-2: #EDEAE2;
  --line: #E7E3DA;
  --line-2: #D8D3C7;
  --ink: #0D1320;
  --ink-2: #3A4150;
  --muted: #6A7080;
  --brand: #0E5E4A;
  --brand-600: #0B4C3C;
  --brand-800: #083528;
  --brand-50: #E9F2EE;
  --brand-100: #D3E6DE;
  --accent: #C9672F;
  --accent-50: #FBEFE6;
  --chat-bg: #EFEAE1;
  --chat-me: #D9F0DF;

  --sans: "Geist", "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --serif: "Source Serif 4", Georgia, serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 19, 32, .05);
  --shadow: 0 1px 2px rgba(13, 19, 32, .04), 0 8px 24px rgba(13, 19, 32, .06);
  --shadow-lg: 0 2px 4px rgba(13, 19, 32, .04), 0 24px 56px rgba(13, 19, 32, .10);
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--brand-100); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 99; }

/* ── Type ─────────────────────────────── */
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.04; letter-spacing: -0.038em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: 1.22rem; line-height: 1.3; letter-spacing: -0.012em; }
h4 { font-size: 1rem; line-height: 1.4; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
.small { font-size: .9rem; color: var(--muted); }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; font-size: .88rem; font-weight: 600; color: var(--brand); margin-bottom: 14px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lede { margin-top: 16px; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ── Header ───────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(251, 250, 247, .97); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 1.12rem; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; flex: 0 0 auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2); padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--tint); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--tint); }
.head-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu { display: none; margin-left: auto; }
@media (max-width: 1040px) { .head-cta .btn-ghost { display: none; } }
@media (max-width: 900px) {
  .nav, .head-cta { display: none; }
  .menu { display: block; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: .95rem; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--ink); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px; box-shadow: var(--shadow); }
  .menu-panel a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 1.1rem; color: var(--ink); }
  .menu-panel .btn { margin-top: 16px; width: 100%; border: 0; color: #fff; }
}

/* ── Buttons ──────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-sm); font: 600 .95rem/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--brand-800); }
.btn-light:hover { background: var(--brand-50); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { padding: 9px 14px; font-size: .9rem; }
.btn-lg { padding: 15px 24px; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; }
.link { font-weight: 600; color: var(--brand); text-decoration: none; }
.link::after { content: " →"; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }

/* ── Sections ─────────────────────────── */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.tint { background: var(--tint); }
.section.white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.cta-section { padding-top: 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }

/* ── Hero ─────────────────────────────── */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 4.7vw, 3.9rem); }
.hero .lede { margin-top: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; font-size: .92rem; color: var(--muted); list-style: none; padding: 0; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta li::before, .checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' stroke='%230E5E4A' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.hero-visual { position: relative; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 16em; }
.page-hero .lede { margin-top: 18px; }

/* ── Trust strip ──────────────────────── */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 26px 0; }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.trust-label { font-size: .85rem; color: var(--muted); max-width: 16em; line-height: 1.4; margin: 0; }
.trust-items { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; }
.trust-items span { font-weight: 650; font-size: 1.02rem; color: #5B6170; letter-spacing: -0.01em; }

/* ── Cards & grids ────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); }
a.card { display: block; text-decoration: none; transition: box-shadow .2s, border-color .2s, transform .2s; }
a.card:hover { box-shadow: var(--shadow); border-color: var(--line-2); transform: translateY(-2px); }
.card .num { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 8px; background: var(--brand-50); color: var(--brand); font: 600 .85rem/1 var(--mono); margin-bottom: 18px; }
.card-lg { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; }
.card-lg h3 { font-size: 1.6rem; letter-spacing: -0.025em; margin-bottom: 12px; }
.card-lg .card-foot { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.card-visual { margin: 4px 0 28px; display: flex; justify-content: center; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--brand); background: var(--brand-50); padding: 4px 10px; border-radius: 999px; }
.tag.warm { color: #9A4A1E; background: var(--accent-50); }
.tag.grey { color: var(--ink-2); background: var(--tint); }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0; }
.checks li::before { margin-top: 4px; }
.checks.compact li { margin: 7px 0; font-size: .95rem; }

/* ── Feature rows ─────────────────────── */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 9vw, 112px); }
.feature.flip > :first-child { order: 2; }
.feature h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.028em; line-height: 1.15; margin-bottom: 14px; }
.feature p { color: var(--ink-2); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }
.panel { background: var(--tint); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 44px); display: flex; justify-content: center; }
.panel.brand { background: var(--brand-50); border-color: var(--brand-100); }

/* ── Product visuals (HTML/CSS mock-ups) ─ */
.phone { width: 100%; max-width: 340px; background: #16181C; border-radius: 40px; padding: 10px; box-shadow: var(--shadow-lg); margin: 0 auto; }
.phone-screen { background: var(--chat-bg); border-radius: 31px; overflow: hidden; }
.phone-bar { background: var(--brand-800); color: #fff; padding: 22px 16px 12px; display: flex; align-items: center; gap: 10px; }
.phone-bar .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-100); color: var(--brand-800); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.phone-bar b { display: block; font-size: .92rem; font-weight: 600; }
.phone-bar small { display: block; font-size: .72rem; opacity: .75; }
.chat-body { padding: 14px 12px 18px; display: flex; flex-direction: column; gap: 8px; min-height: 380px; }
.msg { max-width: 84%; padding: 8px 11px 6px; border-radius: 10px; font-size: .86rem; line-height: 1.4; background: #fff; color: var(--ink); box-shadow: 0 1px 1px rgba(0, 0, 0, .06); margin: 0; }
.msg.me { align-self: flex-end; background: var(--chat-me); }
.msg time { display: block; text-align: right; font-size: .66rem; color: var(--muted); margin-top: 3px; }
.msg.note { align-self: center; background: rgba(255, 255, 255, .7); font-size: .72rem; color: var(--muted); padding: 4px 10px; box-shadow: none; }
.msg-actions { display: flex; gap: 6px; margin-top: 8px; }
.msg-actions span { flex: 1; text-align: center; font-size: .78rem; font-weight: 600; color: var(--brand); border: 1px solid var(--brand-100); border-radius: 6px; padding: 5px 4px; background: var(--brand-50); }
.chat-card { background: var(--chat-bg); border: 1px solid var(--line); border-radius: 16px; padding: 16px; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.chat-title { font-size: .76rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); margin: 0 0 4px; }

.ui { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); width: 100%; max-width: 460px; overflow: hidden; }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink); }
.ui-head small { font-weight: 500; color: var(--muted); }
.ui-row { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.ui-row:last-child { border-bottom: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: 0 0 auto; }
.dot.warm { background: var(--accent); }
.dot.grey { background: var(--line-2); }
.ui-row .what { flex: 1; color: var(--ink); }
.ui-row .what small { display: block; color: var(--muted); font-size: .78rem; }
.ui-row .when { color: var(--muted); font: 400 .76rem/1 var(--mono); }
.ui-foot { padding: 14px 18px; background: var(--tint); display: flex; gap: 8px; justify-content: flex-end; }
.ui-foot span { font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.ui-foot span.go { background: var(--brand); border-color: var(--brand); color: #fff; }
.ui-body { padding: 18px; font-size: .9rem; }
.ui-body dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.ui-body dt { color: var(--muted); }
.ui-body dd { margin: 0; color: var(--ink); font-weight: 500; }

.agenda { list-style: none; margin: 0; padding: 0; }
.agenda li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.agenda li:last-child { border-bottom: 0; }
.agenda .t { font: 500 .78rem/1.6 var(--mono); color: var(--brand); }
.agenda b { display: block; color: var(--ink); font-weight: 600; }
.agenda small { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .92rem; font-weight: 500; color: var(--ink); }

/* ── Steps ────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step { padding-top: 22px; border-top: 2px solid var(--line-2); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font: 500 .85rem/1 var(--mono); color: var(--brand); margin-bottom: 14px; }
.step:first-child { border-top-color: var(--brand); }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .steps, .steps.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps.three { grid-template-columns: 1fr; } }

/* ── Stats (real figures only) ────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border-left: 2px solid var(--brand); padding-left: 18px; }
.stat b { display: block; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1; font-weight: 650; letter-spacing: -0.04em; color: var(--ink); }
.stat span { display: block; margin-top: 10px; font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }

/* ── Founder ──────────────────────────── */
.founder { display: grid; grid-template-columns: 380px 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.founder-photo { background: var(--tint-2); border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder blockquote { margin: 0 0 24px; font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.3 var(--serif); color: var(--ink); letter-spacing: -0.01em; }
.founder .who { margin-bottom: 20px; }
.founder .who b { display: block; color: var(--ink); }
.founder .who span { font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 360px; } }

/* ── Pricing ──────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plans.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .plans, .plans.two { grid-template-columns: 1fr; max-width: 560px; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: .76rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.2rem; }
.plan .for { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.plan .price { margin: 22px 0 4px; font-size: 2.6rem; font-weight: 650; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.plan .price small { font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.plan .terms { font-size: .88rem; color: var(--muted); margin: 8px 0 22px; }
.plan .btn { width: 100%; margin-bottom: 24px; }
.plan .checks { border-top: 1px solid var(--line); padding-top: 14px; }
.rows { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rows > div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.rows > div:last-child { border-bottom: 0; }
.rows b { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* ── FAQ ──────────────────────────────── */
.faq { max-width: 820px; }
.faq.center { margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 1.08rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 28px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); }
.faq details > div p:last-child { margin: 0; }

/* ── CTA band ─────────────────────────── */
.cta-band { background: var(--brand-800); color: #D6E7E0; border-radius: 24px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C3DAD1; margin: 14px 0 0; font-size: 1.08rem; }
.cta-band .actions { margin: 0; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* ── Insights (blog) ──────────────────── */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.post:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cover { aspect-ratio: 16 / 9; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; background: var(--brand-50); color: var(--brand-800); border-bottom: 1px solid var(--line); }
.cover b { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.02em; font-weight: 650; max-width: 14em; }
.cover span { font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.cover.c2 { background: var(--accent-50); color: #7A3514; }
.cover.c3 { background: #E8EDF5; color: #1E3A5F; }
.cover.c4 { background: var(--tint-2); color: var(--ink); }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.post-body p { font-size: .94rem; color: var(--ink-2); margin: 0 0 16px; }
.post-meta { margin-top: auto; font-size: .82rem; color: var(--muted); }
.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; margin-bottom: 32px; transition: box-shadow .2s; }
.post-feature:hover { box-shadow: var(--shadow); }
.post-feature .cover { aspect-ratio: auto; min-height: 300px; border-bottom: 0; border-right: 1px solid var(--line); }
.post-feature .cover b { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.post-feature .post-body { padding: clamp(24px, 4vw, 40px); justify-content: center; }
.post-feature .post-body h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; } .post-feature .cover { border-right: 0; border-bottom: 1px solid var(--line); min-height: 200px; } }

.article-head { padding: clamp(48px, 7vw, 88px) 0 36px; }
.article-head .inner { max-width: 720px; margin: 0 auto; }
.article-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); letter-spacing: -0.035em; margin-top: 16px; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.byline b { display: block; color: var(--ink); font-weight: 600; }
.back { font-size: .92rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.back::before { content: "← "; }
.back:hover { color: var(--ink); }
.prose { max-width: 720px; margin: 0 auto; font-size: 1.1rem; line-height: 1.75; color: #2B3240; }
.prose > * + * { margin-top: 1.15em; }
.prose p { margin: 0; }
.prose h2 { font-size: 1.7rem; margin-top: 2em; letter-spacing: -0.025em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.7em; }
.prose h4 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand); text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 1.8em 0; padding: 22px 26px; background: var(--brand-50); border-radius: 12px; font: 400 1.3rem/1.45 var(--serif); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: .82rem; color: var(--muted); font-weight: 600; border-bottom-color: var(--line-2); }
@media (max-width: 700px) { .prose table { display: block; overflow-x: auto; } }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--tint); padding: 1px 6px; border-radius: 5px; }
.article-cta { max-width: 720px; margin: 56px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: var(--shadow-sm); }
.article-cta h3 { margin-bottom: 4px; }
.article-cta p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ── Work ─────────────────────────────── */
.shot { display: block; text-decoration: none; }
.shot .frame { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.shot .frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot:hover .frame { box-shadow: var(--shadow); }
.shot h3 { margin-top: 14px; font-size: 1.05rem; }
.shot p { margin: 4px 0 0; font-size: .92rem; color: var(--muted); }

/* ── Footer ───────────────────────────── */
.site-foot { background: var(--surface); border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-grid h4 { font-size: .85rem; color: var(--ink); margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { text-decoration: none; color: var(--muted); }
.foot-grid a:hover { color: var(--ink); }
.foot-about p { color: var(--muted); max-width: 26em; margin-top: 14px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.foot-base a { color: var(--muted); text-decoration: none; }
.foot-base a:hover { color: var(--ink); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
.version-pill { font: 500 .72rem/1 var(--mono); color: var(--muted); border: 1px solid var(--line-2); padding: 3px 7px; border-radius: 6px; }

/* ── Phone sticky CTA ─────────────────── */
.phone-cta { display: none; }
@media (max-width: 700px) {
  .phone-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 10px 10px 16px; align-items: center; justify-content: space-between; gap: 10px; box-shadow: var(--shadow-lg); }
  .phone-cta span { font-size: .88rem; line-height: 1.3; }
  body { padding-bottom: 84px; }
}

/* Utilities */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }
.mb-0 { margin-bottom: 0; }
.narrow { max-width: 760px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

@media (max-width: 560px) { .hero .actions .btn, .page-hero .actions .btn { width: 100%; } .hero-meta { gap: 8px 18px; } }
.faq, .faq summary, .faq details > div { text-align: left; }

/* Article spacing that doesn't depend on how the source HTML was nested */
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin-top: 0; margin-bottom: 1.15em; }
.prose h2 { margin: 2em 0 .6em; }
.prose h3 { margin: 1.7em 0 .5em; }
.prose h4 { margin: 1.5em 0 .4em; }
.prose > :first-child, .prose > div > :first-child { margin-top: 0; }
.rows b { white-space: normal; }
.rows > div > :last-child { flex: 0 0 auto; white-space: nowrap; text-align: right; }

/* Blog graphics */
.cover-img { padding: 0; background: var(--tint-2); position: relative; overflow: hidden; }
.cover-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post:hover .cover-img img, .post-feature:hover .cover-img img { transform: scale(1.03); }
.post-feature .cover-img { min-height: 340px; }
.kicker { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.article-hero { max-width: 1000px; margin: 0 auto 40px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--tint-2); box-shadow: var(--shadow-sm); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.prose figure { margin: 2.2em 0; }
.prose figure img { width: 100%; border-radius: 12px; }

/* five-plan pricing grid: 3 on top, 2 wider below */
.plans.five { grid-template-columns: repeat(6, 1fr); }
.plans.five > .plan { grid-column: span 2; }
.plans.five > .plan:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 960px) { .plans.five { grid-template-columns: 1fr; } .plans.five > .plan, .plans.five > .plan:nth-child(n+4) { grid-column: auto; } }
.plan .price .from { font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-right: 6px; }

/* Section that follows a page-hero on the same background: drop the stacked top padding */
.section.after-hero { padding-top: clamp(8px, 2vw, 24px); }
.page-hero:has(+ .section.after-hero) { padding-bottom: clamp(24px, 3vw, 40px); }

/* ── Services revamp additions (26 Sep 2026) ── */
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.jump a { display: inline-block; font-size: .88rem; font-weight: 500; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.jump a:hover { border-color: var(--brand); color: var(--brand); }
[id] { scroll-margin-top: 88px; }
.glance { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--surface); border: 2px solid var(--brand); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow-sm); }
.glance h3 { margin-bottom: 6px; }
.glance p { margin: 0; color: var(--ink-2); }
.glance ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 12px; }
.glance li { font-size: .92rem; background: var(--brand-50); color: var(--ink); border-radius: 8px; padding: 6px 12px; }
.glance li b { color: var(--brand); font-weight: 650; }
@media (max-width: 760px) { .glance { grid-template-columns: 1fr; } .glance .btn { width: 100%; } }
.ptable-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.ptable { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 720px; }
.ptable th, .ptable td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; background: var(--tint); }
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable td b { color: var(--ink); font-weight: 600; }
.ptable td.num { font-weight: 650; color: var(--ink); white-space: nowrap; }
.ptable td a { color: var(--brand); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ptable .grp td { background: var(--brand-50); color: var(--brand); font-weight: 600; font-size: .85rem; padding: 10px 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.card .checks { margin-top: 14px; }
.card .fit { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.note { font-size: .92rem; color: var(--muted); margin-top: 20px; max-width: 760px; }
.section-head p.sub { margin-top: 12px; color: var(--ink-2); }
@media (max-width: 700px) {
  .ptable-wrap { overflow: visible; }
  .ptable { min-width: 0; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
  .ptable tr { padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .ptable tbody tr:last-child { border-bottom: 0; }
  .ptable td { border: 0; padding: 3px 0; }
  .ptable td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 6px; }
  .ptable tr.grp { padding: 0; }
  .ptable .grp td { padding: 10px 18px; }
}

/* ── Chat launcher clears the phone sticky CTA (2026-09-28) ── */
@media (max-width: 700px) {
  body:has(.phone-cta) #twc .twc-launch { bottom: calc(84px + env(safe-area-inset-bottom)); }
  body:has(.phone-cta) #twc .twc-nudge { bottom: calc(150px + env(safe-area-inset-bottom)); }
}
@media (min-width: 601px) and (max-width: 700px) {
  body:has(.phone-cta) #twc .twc-panel { bottom: calc(148px + env(safe-area-inset-bottom)); height: min(640px, calc(100vh - 184px)); }
}
