/* Chatterbell marketing site.
   Layout: 1160px max column, generous vertical rhythm; sections alternate paper and white; hero is a split with a
   live-looking product composition. Brand: deep bottle-green ink, bell yellow, speech-bubble corners (one sharp corner). */
:root {
  --ink: #10231d; --ink-2: #3c4b45; --muted: #66756f; --line: #dfe5e1; --paper: #f3f5f2; --white: #ffffff;
  --green: #0f6b58; --green-2: #0b5646; --mint: #dff0e9; --bell: #ffc53d; --bell-2: #f5b10f; --bell-soft: #fff4d1;
  --red: #d8452e; --wa: #25d366;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 20px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(16,35,29,.06), 0 12px 32px rgba(16,35,29,.10);
  --shadow-lg: 0 30px 80px rgba(16,35,29,.22), 0 6px 18px rgba(16,35,29,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.eyebrow { font: 700 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 60ch; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 1rem/1 var(--body); padding: 16px 22px; border-radius: 14px 14px 14px 4px;
  text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--bell); outline-offset: 3px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(16,35,29,.25); }
.btn-primary:hover { background: #1b3a31; }
.btn-bell { background: var(--bell); color: var(--ink); box-shadow: 0 6px 18px rgba(245,177,15,.35); }
.btn-bell:hover { background: #ffcf5c; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn-sm { padding: 11px 16px; font-size: .92rem; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(243,245,242,.86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.35rem/1 var(--display); letter-spacing: -.03em; }
.logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-cta .login { color: var(--ink); font-weight: 600; text-decoration: none; padding: 10px 12px; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 460px) { .nav-cta .login { display: none; } .logo { font-size: 1.2rem; } }

/* Hero */
.hero { padding-block: 64px 90px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 4.9rem); font-weight: 800; letter-spacing: -.045em; }
.hero h1 .ring { position: relative; display: inline-block; white-space: nowrap; }
.hero h1 .ring::after { content: ""; position: absolute; left: -4px; right: -6px; bottom: .02em; height: .32em; background: var(--bell); z-index: -1; border-radius: 6px 6px 6px 2px; transform: rotate(-1deg); }
.hero-copy { display: flex; flex-direction: column; gap: 26px; position: relative; z-index: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .92rem; color: var(--muted); font-weight: 500; }
.hero-notes span::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 7px; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-block: 40px 70px; } }

/* Hero composition: a small-business site with the widget open, a phone with a lock-screen alert, a WhatsApp chip */
.stage { position: relative; min-height: 540px; }
.browser { position: absolute; inset: 0 40px 50px 0; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; }
.browser-bar { height: 38px; background: #eef1ee; display: flex; align-items: center; gap: 7px; padding: 0 14px; flex-shrink: 0; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d6ddd9; }
.browser-bar .url { margin-left: 12px; flex: 1; height: 22px; border-radius: 7px; background: #fff; font: 500 11.5px/22px var(--body); color: var(--muted); padding: 0 10px; }
.site { flex: 1; padding: 22px 24px; background: linear-gradient(180deg, #1f4e79 0 150px, #fff 150px); position: relative; }
.site-nav { display: flex; justify-content: space-between; color: #fff; font: 800 15px/1 var(--display); }
.site-nav span:last-child { font: 500 11px/1 var(--body); opacity: .8; }
.site-hero { color: #fff; margin-top: 26px; font: 800 24px/1.1 var(--display); max-width: 60%; }
.site-lines { margin-top: 70px; display: flex; flex-direction: column; gap: 9px; max-width: 45%; }
.site-lines i { height: 9px; border-radius: 5px; background: #e8ecea; }
.site-lines i:nth-child(2) { width: 80%; } .site-lines i:nth-child(3) { width: 60%; }
.mini-panel { position: absolute; right: 150px; bottom: 16px; width: 250px; background: #fff; border-radius: 18px; box-shadow: 0 14px 40px rgba(16,35,29,.28); overflow: hidden; font-size: 12.5px; line-height: 1.4; }
.mini-head { background: var(--green); color: #fff; padding: 12px 14px; display: flex; gap: 9px; align-items: center; }
.mini-head .fc { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; font-weight: 800; font-size: 11px; }
.mini-head b { display: block; font-size: 13px; } .mini-head small { opacity: .9; font-size: 11px; }
.mini-head small::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; margin-right: 5px; }
.mini-body { background: #f6f8f7; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.mb { max-width: 84%; padding: 7px 11px; border-radius: 14px 14px 14px 4px; background: #fff; box-shadow: 0 1px 2px rgba(16,35,29,.06); }
.mb.me { align-self: flex-end; background: var(--green); color: #fff; border-radius: 14px 14px 4px 14px; }
.mb.ai { border: 1px dashed #b8cdc4; }
.mb.ai small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.mini-foot { font-size: 10.5px; color: var(--muted); padding: 8px; text-align: center; border-top: 1px solid #eef1ee; }
.phone { position: absolute; right: 0; bottom: 0; width: 200px; height: 360px; border-radius: 34px; background: #0e1714; padding: 10px; box-shadow: var(--shadow-lg); transform: rotate(4deg); }
.phone-screen { height: 100%; border-radius: 26px; background: linear-gradient(160deg, #2d6a5a, #10231d 70%); padding: 38px 10px 10px; color: #fff; position: relative; overflow: hidden; }
.phone-time { text-align: center; font: 700 44px/1 var(--display); letter-spacing: -.03em; }
.phone-date { text-align: center; font-size: 11px; opacity: .8; margin-top: 4px; }
.push { margin-top: 26px; background: rgba(255,255,255,.9); color: var(--ink); border-radius: 16px; padding: 10px 11px; font-size: 11.5px; line-height: 1.35; display: grid; grid-template-columns: 26px 1fr; gap: 8px; animation: pushin 5s ease infinite; }
.push .pi { width: 26px; height: 26px; border-radius: 8px 8px 8px 2px; background: var(--bell); display: grid; place-items: center; }
.push b { display: flex; justify-content: space-between; font-size: 11px; } .push b small { color: var(--muted); font-weight: 500; }
.push + .push { margin-top: 8px; animation-delay: .6s; }
.push .pi.wa { background: var(--wa); }
@keyframes pushin { 0%, 8% { opacity: 0; transform: translateY(-10px) scale(.96); } 14%, 88% { opacity: 1; transform: none; } 100% { opacity: 1; } }
.chip { position: absolute; left: -22px; bottom: 26px; background: #fff; border-radius: 14px 14px 14px 4px; box-shadow: var(--shadow); padding: 10px 14px; display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.chip .d { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; }
.chip.two { left: auto; right: 170px; top: -14px; bottom: auto; }
.chip.two .d { background: var(--bell); color: var(--ink); }
@media (max-width: 960px) { .stage { min-height: 500px; margin-inline: 0 10px; } }
@media (max-width: 560px) {
  .stage { min-height: 460px; } .browser { inset: 0 0 90px 0; } .phone { width: 160px; height: 290px; right: -6px; } .phone-time { font-size: 34px; }
  .mini-panel { width: 205px; right: auto; left: 10px; bottom: 60px; } .site-hero { font-size: 18px; max-width: 80%; } .chip { display: none; } .chip.two { display: none; }
  .push { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .push { animation: none; } }

/* Logos strip */
.works { padding-block: 26px; border-block: 1px solid var(--line); background: var(--white); }
.works .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 34px; justify-content: center; color: var(--muted); font-weight: 700; font-size: .98rem; }
.works .wrap span:first-child { font-weight: 500; color: var(--ink-2); }

/* Sections */
section { padding-block: 96px; }
.sec-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 800; }
.white { background: var(--white); }
.dark { background: var(--ink); color: #e9efec; }
.dark h2, .dark h3 { color: #fff; } .dark .lead { color: #b9c7c1; } .dark .eyebrow { color: var(--bell); }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.promise { background: var(--white); border-radius: 22px 22px 22px 6px; padding: 26px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); }
.promise .ic { width: 46px; height: 46px; border-radius: 14px 14px 14px 4px; display: grid; place-items: center; background: var(--mint); color: var(--green); }
.promise h3 { font-size: 1.32rem; }
.promise p { color: var(--ink-2); font-size: .98rem; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 110px; }
.feature.flip .fx { order: -1; }
.feature .copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.feature h3 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 7px 7px 7px 2px; background: var(--mint) 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='%230f6b58' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.fx { min-width: 0; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 36px; } .feature.flip .fx { order: 0; } section { padding-block: 72px; } }

/* Inbox mock */
.inbox { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; display: grid; grid-template-columns: 170px 1fr; min-height: 360px; font-size: 12.5px; }
.inbox-list { border-right: 1px solid #eef1ee; background: #fafbfa; }
.il { padding: 11px 12px; border-bottom: 1px solid #eef1ee; display: flex; flex-direction: column; gap: 2px; }
.il b { display: flex; justify-content: space-between; font-size: 12.5px; } .il b small { color: var(--muted); font-weight: 500; }
.il span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.il.on { background: var(--mint); box-shadow: inset 3px 0 0 var(--green); }
.il .src { display: inline-block; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: #e8f8ee; color: #128c4a; margin-right: 4px; }
.il .src.web { background: var(--bell-soft); color: #8a6100; }
.inbox-thread { display: flex; flex-direction: column; }
.it-head { padding: 12px 14px; border-bottom: 1px solid #eef1ee; display: flex; justify-content: space-between; align-items: center; }
.it-head b { font-size: 13.5px; } .it-head small { color: var(--muted); display: block; }
.it-head .pill { font-size: 11px; background: var(--ink); color: #fff; padding: 5px 9px; border-radius: 8px; }
.it-body { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 7px; background: #f6f8f7; }
.it-body .mb { max-width: 75%; }
.it-body .typing { color: var(--muted); font-style: italic; font-size: 11.5px; }
.it-body .note { align-self: flex-end; background: var(--bell-soft); border: 1px solid #f6e3a1; color: #6a4b00; max-width: 75%; padding: 7px 11px; border-radius: 12px; }
.it-comp { border-top: 1px solid #eef1ee; padding: 10px 14px; color: var(--muted); display: flex; justify-content: space-between; }
.it-comp kbd { font: 600 11px var(--body); background: #eef1ee; padding: 2px 6px; border-radius: 5px; color: var(--ink-2); }
@media (max-width: 520px) { .inbox { grid-template-columns: 1fr; } .inbox-list { display: none; } }

/* AI mock */
.ai-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.ai-card .mb { font-size: 14px; }
.ai-src { display: flex; flex-wrap: wrap; gap: 6px; } .ai-src span { font-size: 11.5px; background: #eef1ee; border-radius: 6px; padding: 3px 8px; color: var(--ink-2); }
.meter { background: var(--paper); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.meter-top { display: flex; justify-content: space-between; font-weight: 700; font-size: 13px; }
.meter-bar { height: 10px; border-radius: 6px; background: #e1e8e4; overflow: hidden; } .meter-bar i { display: block; height: 100%; width: 62%; background: var(--green); border-radius: 6px; }
.meter small { color: var(--muted); font-size: 12px; }

/* Channels */
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.channel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-weight: 700; }
.channel .ci { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.channel small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.soon { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--bell-soft); color: #8a6100; padding: 3px 7px; border-radius: 6px; margin-left: 4px; vertical-align: 2px; }

/* Cost chart */
.cost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 60px; align-items: center; }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; font-size: .95rem; }
.bar .n { font-weight: 600; color: #cfdad5; }
.bar .n small { display: block; font-weight: 500; font-size: .76rem; color: #8ea39a; }
.track { position: relative; height: 34px; }
.fill { height: 100%; border-radius: 4px 10px 10px 4px; background: #3b5a50; min-width: 4px; transform-origin: left; animation: grow 1s cubic-bezier(.2,.8,.2,1) both; }
.fill.us { background: var(--bell); }
.val { position: absolute; top: 50%; transform: translateY(-50%); padding-left: 10px; font: 800 1.02rem var(--display); color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar.us .n { color: var(--bell); } .bar.us .val { color: var(--bell); }
@keyframes grow { from { transform: scaleX(0); } }
.foot-note { font-size: .8rem; color: #8ea39a; margin-top: 18px; max-width: 70ch; }
@media (max-width: 900px) { .cost { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .bar { grid-template-columns: 104px 1fr; font-size: .86rem; } }
@media (prefers-reduced-motion: reduce) { .fill { animation: none; } }

/* Pricing */
.billing { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 5px; gap: 4px; margin-bottom: 28px; }
.billing button { font: 700 .92rem var(--body); border: 0; background: transparent; padding: 10px 16px; border-radius: 10px; cursor: pointer; color: var(--ink-2); }
.billing button.on { background: var(--ink); color: #fff; }
.billing em { font-style: normal; font-size: .76rem; color: var(--green); background: var(--mint); padding: 2px 6px; border-radius: 6px; margin-left: 4px; }
.billing button.on em { background: var(--bell); color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px 22px 22px 6px; padding: 26px 22px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.plan.pop { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -13px; left: 22px; background: var(--bell); color: var(--ink); font-weight: 800; font-size: .76rem; padding: 5px 10px; border-radius: 8px 8px 8px 2px; letter-spacing: .02em; }
.plan h3 { font-size: 1.35rem; }
.plan .blurb { color: var(--muted); font-size: .92rem; min-height: 3em; }
.price { font: 800 3rem/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; }
.price small { font: 500 .92rem var(--body); color: var(--muted); letter-spacing: 0; }
.price-note { font-size: .82rem; color: var(--muted); min-height: 1.3em; margin-top: -8px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: .94rem; color: var(--ink-2); flex: 1; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 800; }
.plan li.ad::before { content: "!"; color: #8a6100; }
.plan .btn { justify-content: center; }
.vat { margin-top: 18px; color: var(--muted); font-size: .9rem; }
@media (max-width: 1040px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* Guarantee */
.guarantee { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 30px; }
.guarantee div { display: flex; gap: 14px; align-items: flex-start; }
.guarantee b { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 2px; }
.guarantee span { color: #b9c7c1; font-size: .95rem; }
.guarantee .gi { width: 34px; height: 34px; flex-shrink: 0; border-radius: 11px 11px 11px 3px; background: rgba(255,197,61,.15); color: var(--bell); display: grid; place-items: center; font-weight: 800; }

/* FAQ */
.faq { max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.06rem; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--body); color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-2); }

/* CTA */
.cta { text-align: center; }
.cta-box { background: var(--bell); border-radius: 36px 36px 36px 10px; padding: 64px 28px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-box h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; max-width: 16ch; }
.cta-box p { font-size: 1.12rem; color: #4a3a00; }

/* Footer */
footer { padding-block: 56px 40px; border-top: 1px solid var(--line); background: var(--white); }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.foot h4 { font: 700 .85rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.foot a { display: block; color: var(--ink-2); text-decoration: none; padding: 4px 0; font-size: .96rem; }
.foot a:hover { color: var(--ink); }
.foot p { color: var(--muted); font-size: .92rem; max-width: 34ch; margin-top: 12px; }
.legal { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .86rem; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } }

/* Compare table (pricing page) */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
table.compare { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .95rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid #eef1ee; text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font: 800 1.05rem var(--display); background: var(--paper); position: sticky; top: 0; }
.compare tbody tr:hover td { background: #fafbfa; }
.compare .grp td { background: var(--paper); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: left; }
.compare .y { color: var(--green); font-weight: 800; } .compare .n { color: #b3bdb8; }
.compare td.num { font-variant-numeric: tabular-nums; }

/* Legal documents: a readable column with a sticky contents list on wide screens */
.legal-wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; padding-block: 56px 90px; }
.legal-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.legal-toc b { font: 700 .75rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.legal-toc a { color: var(--ink-2); text-decoration: none; padding: 5px 10px; border-radius: 8px; }
.legal-toc a:hover { background: var(--white); color: var(--ink); }
.legal-toc a.on { background: var(--white); color: var(--ink); font-weight: 700; }
.legal-docs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.legal-docs a { font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); padding: 7px 12px; border-radius: 10px 10px 10px 3px; }
.legal-docs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.doc { max-width: 72ch; min-width: 0; }
.doc h1 { font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: 10px; }
.doc .updated { color: var(--muted); font-size: .92rem; margin-bottom: 26px; }
.doc .summary { background: var(--white); border: 1px solid var(--line); border-radius: 18px 18px 18px 5px; padding: 20px 22px; margin: 0 0 28px; }
.doc .summary h2 { font-size: 1.15rem; margin: 0 0 8px; }
.doc .summary ul { margin: 0; }
.doc h2 { font-size: 1.45rem; font-weight: 800; margin: 38px 0 12px; scroll-margin-top: 90px; }
.doc h3 { font-size: 1.1rem; font-weight: 800; margin: 24px 0 8px; font-family: var(--body); letter-spacing: 0; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 7px; margin: 10px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--paper); }
.doc .tbl { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.doc .tbl table { margin: 0; min-width: 560px; }
.doc .note { background: var(--bell-soft); color: #5c4400; border-radius: 12px; padding: 14px 16px; margin: 0 0 24px; }
.doc .copy { position: relative; background: var(--white); border: 1px dashed #b8cdc4; border-radius: 14px; padding: 16px 18px; color: var(--ink); }
.doc code { font-size: .9em; background: var(--white); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line); }
@media (max-width: 900px) { .legal-wrap { grid-template-columns: 1fr; gap: 20px; padding-block: 36px 70px; } .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; } .legal-toc b { width: 100%; } }
