/* kasbsi.ir: the public website. Brand tokens as in the app (Brand Book p.59); Vazirmatn for text, Morabba for headings. */
@font-face { font-family: Morabba; src: url("/static/fonts/Morabba-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url("/static/fonts/Vazirmatn.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F8FAFC; --surface: #FFFFFF; --ice: #E2E8F0; --frost: #CBD5E1; --text: #09090B; --muted: #475569;
  --orange: #EA580C; --orange-text: #C2410C; --orange-dark: #9A3412; --orange-soft: #FFF1E8; --orange-light: #FB923C;
  --blue-soft: #EFF6FF; --blue-text: #1D4ED8; --blue: #2563EB; --green: #047857; --mint: #34D399; --red: #BE123C;
  --dark: #09090B; --dark-2: #18181B; --dark-3: #27272A; --dark-border: #3F3F46; --dark-muted: #CBD5E1;
  --font: Vazirmatn, Tahoma, sans-serif; --font-heading: Morabba, Vazirmatn, Tahoma, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.8; font-size: 16px; }
img { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, .h { font-family: var(--font-heading); font-weight: 700; line-height: 1.35; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.accent { color: var(--orange); }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 16px; top: 8px; z-index: 10; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid rgb(59 130 246 / 45%); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-p { background: var(--orange-text); color: #fff; }
.btn-p:hover { background: var(--orange-dark); }
.btn-o { background: var(--orange); color: var(--text); }
.btn-o:hover { background: var(--orange-light); }
.btn-s { background: #fff; color: var(--text); border-color: var(--frost); }
.btn-s:hover { background: var(--ice); }
.btn-lg { min-height: 56px; font-size: 1.1rem; padding: 0 32px; }
.chip { display: inline-flex; align-self: flex-start; padding: 4px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--blue-soft); color: var(--blue-text); }
.chip-o { background: var(--orange); color: var(--text); font-weight: 700; }
.chip-g { background: var(--ice); color: #334155; }
.card { background: var(--surface); border: 1px solid var(--ice); border-radius: 20px; }

/* Header */
.site-head { background: var(--bg); border-bottom: 1px solid var(--ice); position: relative; z-index: 5; }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo img { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: 8px 4px; }
.nav a:hover { color: var(--orange-text); }
.nav .nav-login { margin-inline-start: auto; font-weight: 600; }
.nav .nav-cta { color: #fff; min-height: 44px; padding: 0 22px; }
.nav .nav-cta:hover { color: #fff; }
body[data-page="pricing"] .nav-pricing, body[data-page="blog"] .nav-blog, body[data-page="about"] .nav-about,
body[data-page="contact"] .nav-contact { color: var(--orange-text); font-weight: 700; }
.head-login, .menu-btn { display: none; }

/* Sections */
.sec { padding-block: 88px; }
.sec-white { background: var(--surface); border-top: 1px solid var(--ice); border-bottom: 1px solid var(--ice); }
.sec-dark { background: var(--dark); color: #F8FAFC; position: relative; overflow: hidden; }
.sec-title { text-align: center; max-width: 760px; margin: 0 auto 48px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.sec-title h2 { font-size: 2.6rem; }
.sec-title p { font-size: 1.1rem; }
.row { display: flex; gap: 24px; flex-wrap: wrap; }
.row > * { flex: 1 1 300px; }
.page-head { padding-block: 64px 36px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.page-head h1 { font-size: 3.2rem; }
.page-head p { font-size: 1.15rem; max-width: 660px; }
.cta-band { padding-block: 80px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-band h2 { font-size: 2.6rem; }
.cta-band p { color: var(--dark-muted); max-width: 560px; font-size: 1.1rem; }

/* Home: hero and the chat sample */
.hero { padding-block: 72px 88px; display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.hero-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 24px; }
.hero-text h1 { font-size: 3.8rem; }
.hero-text p { font-size: 1.25rem; max-width: 520px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.chat { flex: 1 1 440px; max-width: 540px; overflow: hidden; box-shadow: 0 24px 60px rgb(9 9 11 / 10%); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--ice); font-weight: 700; }
.chat-head img { width: 32px; height: 32px; }
.chat-head .live { width: 10px; height: 10px; border-radius: 50%; background: var(--green); margin-inline-start: auto; }
.chat-body { padding: 24px 20px; display: flex; flex-direction: column; gap: 16px; background: var(--bg); }
.bubble-user { align-self: flex-start; max-width: 90%; background: var(--blue); color: #fff; padding: 12px 16px; border-radius: 16px 16px 16px 4px; }
.bubble-bot { align-self: flex-end; max-width: 94%; display: flex; flex-direction: column; gap: 10px; }
.bubble-bot > p { background: #fff; border: 1px solid var(--ice); padding: 12px 16px; border-radius: 16px 16px 4px 16px; }
.result { padding: 16px; display: flex; flex-direction: column; gap: 12px; border-radius: 16px; }
.result-row { display: flex; align-items: center; gap: 12px; line-height: 1.6; }
.result-row b { display: block; font-size: 15px; }
.result-row span { font-size: 14px; color: var(--muted); }
.ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--orange-soft); display: flex; align-items: center; justify-content: center; color: var(--orange-text); }
.ic.blue { background: var(--blue-soft); color: var(--blue); }
.ic.green { background: #ECFDF5; color: var(--green); }
.result .actions .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }
.chat-input { padding: 14px 20px; border-top: 1px solid var(--ice); display: flex; align-items: center; gap: 12px; color: #64748B; }
.chat-input span:first-child { flex: 1; }
.send { width: 40px; height: 40px; border-radius: 10px; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; }

/* Home: old CRM against kasbsi */
.versus { display: flex; gap: 24px; flex-wrap: wrap; }
.vs { flex: 1 1 440px; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.vs-old { background: #F1F5F9; }
.vs-new { background: var(--dark); color: #F8FAFC; }
.vs-box { border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.vs-old .vs-box { background: #fff; border: 1px solid var(--frost); }
.vs-new .vs-box { background: var(--dark-2); border: 1px solid var(--dark-border); justify-content: center; }
.fld-row { display: flex; gap: 12px; }
.fld { flex: 1; height: 36px; border: 1px solid var(--frost); border-radius: 8px; padding: 4px 10px; font-size: 13px; color: #64748B; }
.fake-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 20px; border-radius: 8px; background: #334155; color: #fff; font-size: 14px; font-weight: 700; }
.vs-done { align-self: flex-end; display: flex; align-items: center; gap: 10px; background: var(--dark-3); padding: 12px 16px; border-radius: 16px 16px 4px 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; }
.ticks .no { color: var(--red); font-weight: 700; }
.ticks .yes { color: var(--mint); font-weight: 700; }
.vs-new .ticks { color: #E2E8F0; }

/* Home: three steps (dark) */
.glow { position: absolute; top: -160px; left: -120px; width: 420px; height: 420px; border-radius: 50%; background: var(--orange); opacity: .16; pointer-events: none; }
.steps { position: relative; }
.step { background: var(--dark-2); border: 1px solid var(--dark-border); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.step .num { font-family: var(--font-heading); font-size: 3.4rem; color: var(--orange); line-height: 1; }
.step h3 { font-size: 1.6rem; }
.step p { color: var(--dark-muted); }

/* Feature cards */
.feat { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 340px; }
.feat h3 { font-size: 1.35rem; }
.feat p { color: var(--muted); font-size: 15px; }
.glance { padding: 48px; display: flex; gap: 40px; flex-wrap: wrap; border-radius: 28px; }
.glance-title { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.glance-title h2 { font-size: 2.2rem; }
.glance-items { flex: 2 1 520px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.glance-items b { font-size: 1.1rem; }
.glance-items p { color: var(--muted); font-size: 15px; }

/* Contact form (home and /contact) */
.contact-row { display: flex; gap: 56px; align-items: flex-start; flex-wrap: wrap; }
.contact-info { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
.contact-info h2 { font-size: 2.4rem; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card { padding: 20px 24px; display: flex; gap: 16px; align-items: center; text-decoration: none; color: inherit; }
.contact-card small { display: block; color: var(--muted); }
.form { flex: 1.3 1 460px; padding: 32px; display: flex; flex-direction: column; gap: 16px; border-radius: 24px; }
.form h2 { font-size: 1.75rem; }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; flex: 1 1 200px; }
.form input, .form textarea { width: 100%; min-height: 48px; border: 1px solid var(--frost); border-radius: 10px; padding: 10px 14px; font: inherit; background: #fff; color: var(--text); }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid #3B82F6; border-color: #3B82F6; }
.form .trap { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; min-height: 1.6em; }
.form-status.ok { color: var(--green); font-weight: 600; }
.form-status.bad { color: var(--red); }

/* Pricing */
.plan { background: var(--dark); color: #F8FAFC; border-radius: 28px; padding: 40px; display: flex; gap: 48px; flex-wrap: wrap; }
.plan-calc { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--dark-muted); font-size: 14px; }
.seg { display: flex; gap: 6px; padding: 6px; background: var(--dark-2); border: 1px solid var(--dark-border); border-radius: 14px; }
.seg button { flex: 1; min-height: 48px; border: 0; border-radius: 10px; background: transparent; color: #E2E8F0; font: inherit; font-weight: 700; cursor: pointer; padding: 0 10px; }
.seg button[aria-pressed="true"] { background: var(--orange); color: var(--text); }
.people { display: flex; align-items: baseline; gap: 12px; font-weight: 600; }
.people output { font-family: var(--font-heading); font-size: 2.4rem; color: var(--orange-light); }
.range { width: 100%; height: 44px; accent-color: var(--orange); margin: 0; }
.range-ends { display: flex; justify-content: space-between; font-size: 13px; color: #A1A1AA; }
.total { background: var(--dark-2); border: 1px solid var(--dark-border); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 2px; }
.total-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.total-price strong { font-family: var(--font-heading); font-size: 2.8rem; }
.total-price span { color: var(--dark-muted); }
.per-month { color: #FDBA74; font-weight: 600; }
.total dl { margin: 10px 0 0; }
.total dl div { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-bottom: 1px solid var(--dark-3); }
.total dl div:last-child { border-bottom: 0; }
.total dt { color: var(--dark-muted); }
.total dd { margin: 0; font-weight: 700; }
.total small { color: #A1A1AA; }
.plan-note { font-size: 14px; color: #A1A1AA; text-align: center; }
.plan-top-features { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.fx { display: flex; gap: 14px; align-items: flex-start; }
.fx .tick { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--dark-3); display: flex; align-items: center; justify-content: center; color: var(--orange-light); }
.fx b { font-size: 1.1rem; }
.fx p { color: var(--dark-muted); font-size: 15px; }
.feature-groups { display: flex; gap: 20px; flex-wrap: wrap; }
.group { flex: 1 1 340px; background: var(--bg); border: 1px solid var(--ice); border-radius: 20px; padding: 24px; }
.group h3 { font-size: 1.35rem; color: var(--orange-text); margin-bottom: 8px; }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li { display: flex; gap: 10px; padding-block: 8px; border-bottom: 1px solid #F1F5F9; font-size: 15px; }
.group li::before { content: "✓"; color: var(--green); font-weight: 700; }
.faq { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--ice); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "⌄"; font-size: 1.3rem; line-height: 1; }
.faq details[open] { border-color: var(--orange); }
.faq details[open] summary { color: var(--orange-text); }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* About */
.story { display: flex; gap: 56px; flex-wrap: wrap; }
.story h2 { flex: 1 1 320px; font-size: 2.4rem; }
.story-text { flex: 2 1 560px; display: flex; flex-direction: column; gap: 18px; font-size: 1.15rem; color: #334155; }
.value { padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.value .num { font-family: var(--font-heading); font-size: 2.6rem; color: var(--orange); line-height: 1; }
.value h3 { font-size: 1.45rem; }

/* Blog */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tab { padding: 6px 18px; border-radius: 999px; border: 1px solid var(--frost); background: #fff; font-weight: 600; font-size: 15px; color: var(--text); text-decoration: none; cursor: pointer; font-family: inherit; min-height: 40px; }
.tab[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.posts { display: flex; gap: 24px; flex-wrap: wrap; }
.post { flex: 1 1 340px; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; }
.post:hover h2 { color: var(--orange-text); }
.post-cover { height: 170px; display: flex; align-items: center; justify-content: center; background: var(--orange-soft); }
.post-cover img { width: 64px; height: 64px; }
.post-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.post-body h2 { font-size: 1.35rem; }
.post-body p { color: var(--muted); font-size: 15px; }
.post.featured { flex-basis: 100%; flex-direction: row; flex-wrap: wrap; }
.post.featured .post-cover { flex: 1 1 380px; height: auto; min-height: 260px; background: var(--dark); }
.post.featured .post-cover img { width: 110px; height: 110px; }
.post.featured .post-body { flex: 1.2 1 420px; padding: 40px; justify-content: center; }
.post.featured h2 { font-size: 2rem; }
.tag { display: inline-block; align-self: flex-start; padding: 2px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-text); font-size: 13px; font-weight: 600; }
.article-head { max-width: 820px; margin: 0 auto; padding: 48px 32px 24px; display: flex; flex-direction: column; gap: 16px; }
.article-head h1 { font-size: 2.8rem; }
.crumbs { font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.article { max-width: 720px; margin: 0 auto; padding: 0 32px; font-size: 1.15rem; line-height: 2; color: #1F2937; }
.article p, .article ul, .article ol { margin: 0 0 20px; }
.article h2 { font-size: 1.8rem; margin: 40px 0 12px; line-height: 1.45; color: var(--text); }
.article ul, .article ol { padding-inline-start: 24px; }
.article li { margin-bottom: 8px; }
.note { background: var(--orange-soft); border-radius: 16px; padding: 20px 24px; color: #7C2D12; }
.article .note { margin: 28px 0; }
.inline-cta { max-width: 720px; margin: 40px auto 0; background: var(--dark); color: #F8FAFC; border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.inline-cta h2 { font-size: 1.75rem; }
.inline-cta p { color: var(--dark-muted); }
.inline-cta .btn { align-self: flex-start; }
.related { display: flex; gap: 20px; flex-wrap: wrap; }
.related a { flex: 1 1 300px; padding: 24px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; }
.related b { font-family: var(--font-heading); font-size: 1.2rem; line-height: 1.5; }

/* Legal */
.legal-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.legal-tabs a { padding: 6px 18px; border-radius: 999px; border: 1px solid var(--frost); background: #fff; font-weight: 600; font-size: 15px; color: var(--text); text-decoration: none; }
.legal-tabs a[aria-current="page"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.draft { background: var(--orange-soft); border-radius: 14px; padding: 14px 20px; color: #7C2D12; font-size: 15px; }
.legal { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; padding-bottom: 88px; }
.toc { flex: 1 1 240px; max-width: 300px; padding: 16px; position: sticky; top: 16px; }
.toc b { display: block; padding: 4px 14px 8px; }
.toc a { display: block; padding: 6px 14px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 15px; line-height: 1.7; }
.toc a:hover { background: var(--ice); color: var(--text); }
.doc { flex: 3 1 560px; padding: 40px; }
.doc h2 { font-size: 1.6rem; margin: 36px 0 8px; line-height: 1.4; scroll-margin-top: 16px; }
.doc h2:first-of-type { margin-top: 8px; }
.doc p, .doc ul { margin: 0 0 14px; color: #334155; font-size: 1.05rem; }
.doc ul { padding-inline-start: 22px; }

/* Footer */
.site-foot { background: var(--dark); color: var(--dark-muted); }
.foot-row { padding-top: 48px; padding-bottom: 40px; display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; flex: 1 1 260px; }
.foot-brand img { height: 32px; width: auto; align-self: flex-start; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col b { color: #fff; }
.foot-col a { color: var(--dark-muted); text-decoration: none; }
.foot-col a:hover { color: #fff; }
.foot-copy { border-top: 1px solid var(--dark-3); text-align: center; padding: 20px; font-size: 14px; color: #94A3B8; }

/* 404 */
.not-found { padding-block: 120px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* Phone and tablet */
@media (max-width: 880px) {
  .wrap { padding: 0 16px; }
  .head-row { min-height: 64px; gap: 8px; }
  .logo img { height: 28px; }
  .head-login { display: flex; align-items: center; min-height: 44px; padding: 0 8px; margin-inline-start: auto; color: var(--text); font-weight: 600; text-decoration: none; }
  .menu-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--frost); background: #fff; border-radius: 10px; color: var(--text); cursor: pointer; }
  .nav { display: none; }
  .site-head.open .nav { display: flex; flex-direction: column; align-items: stretch; gap: 4px; position: absolute; top: 100%; inset-inline: 0; background: #fff; border-bottom: 1px solid var(--ice); padding: 12px 16px 16px; box-shadow: 0 16px 32px rgb(9 9 11 / 8%); }
  .site-head.open .nav a { min-height: 44px; display: flex; align-items: center; padding: 0 8px; }
  .site-head.open .nav .nav-login { display: none; }
  .site-head.open .nav .nav-cta { justify-content: center; margin-top: 8px; }
  .sec { padding-block: 48px; }
  .sec-title { margin-bottom: 28px; text-align: start; align-items: flex-start; }
  .sec-title h2, .cta-band h2 { font-size: 1.8rem; }
  .page-head { padding-block: 36px 20px; text-align: start; align-items: flex-start; }
  .page-head h1 { font-size: 2.2rem; }
  .hero { padding-block: 40px 48px; gap: 32px; }
  .hero-text { flex-basis: 100%; gap: 18px; }
  .hero-text h1 { font-size: 2.4rem; }
  .hero-text p { font-size: 1.05rem; }
  .actions .btn { flex: 1 1 100%; }
  .chat { flex-basis: 100%; }
  .vs { padding: 20px; flex-basis: 100%; }
  .step, .feat, .value { padding: 20px; }
  .step .num { font-size: 2.6rem; }
  .glance { padding: 24px; }
  .glance-items { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .contact-info h2 { font-size: 1.8rem; }
  .form { padding: 20px; }
  .form label { flex-basis: 100%; }
  .plan { padding: 22px; gap: 28px; }
  .seg button { font-size: 0.85rem; }
  .total-price strong { font-size: 2rem; }
  .group { padding: 18px; }
  .story h2 { font-size: 1.8rem; }
  .story-text { font-size: 1.02rem; }
  .post.featured .post-cover { min-height: 150px; }
  .post.featured .post-body { padding: 20px; }
  .post.featured h2 { font-size: 1.4rem; }
  .article-head { padding: 28px 16px 8px; }
  .article-head h1 { font-size: 1.8rem; }
  .article { padding: 0 16px; font-size: 1.05rem; }
  .article h2 { font-size: 1.4rem; }
  .inline-cta { margin: 32px 16px 0; padding: 24px; }
  .inline-cta .btn { align-self: stretch; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; max-width: 100%; }
  .tab { flex: none; }
  .toc { max-width: none; position: static; flex-basis: 100%; }
  .doc { padding: 22px 18px; }
  .doc h2 { font-size: 1.3rem; }
  .cta-band { padding-block: 48px; }
}
