/* SuperQuant onboarding hub (/start) and sub-pages. Loads after landing.css and
   reuses its tokens, header, buttons and footer. Every class here is ob- prefixed. */

.ob-page main { overflow-x: clip; }
.ob-page code, .ob-page kbd { padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-soft); color: var(--ink); font-family: var(--mono); font-size: .86em; white-space: nowrap; }
.ob-page kbd { box-shadow: inset 0 -1px 0 var(--line-strong); }
.ob-page .desktop-nav a[aria-current="page"] { background: var(--lime-soft); color: var(--ink); }

/* Sub-navigation shared by every onboarding page */
.ob-subnav { position: sticky; z-index: 40; top: 72px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ob-subnav-inner { display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.ob-subnav-inner::-webkit-scrollbar { display: none; }
.ob-subnav a { display: inline-flex; flex: none; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.ob-subnav a span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--bg-soft); color: var(--muted); font-family: var(--mono); font-size: 11px; }
.ob-subnav a:hover { background: var(--bg-soft); color: var(--ink); }
.ob-subnav a[aria-current="page"] { background: var(--ink); color: #fff; }
.ob-subnav a[aria-current="page"] span { background: var(--lime); color: var(--ink); }

/* Page hero */
.ob-hero { position: relative; padding: 88px 0 72px; background: radial-gradient(ellipse 70% 60% at 85% 0%, var(--lime-soft), transparent 70%), linear-gradient(180deg, #fff, var(--bg-soft)); border-bottom: 1px solid var(--line); }
.ob-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ob-hero h1 { max-width: 760px; font-size: clamp(38px, 5vw, 62px); font-weight: 750; letter-spacing: -.045em; line-height: 1.04; }
.ob-hero h1 mark { padding: 0 .12em; border-radius: .18em; background: linear-gradient(180deg, transparent 52%, var(--lime) 52%); color: inherit; }
.ob-lede { max-width: 640px; margin-top: 22px; color: var(--muted); font-size: 19.5px; line-height: 1.6; }
.ob-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ob-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--subtle); font-size: 14px; font-weight: 500; }
.ob-crumbs a { color: var(--muted); }
.ob-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.ob-hero-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.ob-hero-card h2 { font-size: 18px; letter-spacing: -.02em; }
.ob-hero-card > p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.ob-checklist { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.ob-checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--text); font-size: 15px; line-height: 1.5; }
.ob-checklist li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; background: var(--lime-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%233f6212' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ob-checklist b { color: var(--ink); }
.ob-stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.ob-stat { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .8); }
.ob-stat b { display: block; color: var(--ink); font-family: var(--display); font-size: 26px; letter-spacing: -.03em; line-height: 1.1; }
.ob-stat span { color: var(--muted); font-size: 13.5px; }

/* Sections */
.ob-section { padding: 88px 0; }
.ob-section-tint { background: var(--bg-soft); border-block: 1px solid var(--line); }
.ob-head { max-width: 760px; margin-bottom: 44px; }
.ob-head-center { margin-inline: auto; text-align: center; }
.ob-head h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 720; letter-spacing: -.04em; line-height: 1.1; }
.ob-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* Numbered quick start */
.ob-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: ob-step; }
.ob-steps li { position: relative; display: flex; flex-direction: column; padding: 24px 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); counter-increment: ob-step; }
.ob-steps li::before { content: counter(ob-step, decimal-leading-zero); display: grid; width: 40px; height: 40px; margin-bottom: 16px; place-items: center; border-radius: 12px; background: var(--ink); color: var(--lime); font-family: var(--mono); font-size: 14px; font-weight: 700; }
.ob-steps h3 { font-size: 17px; letter-spacing: -.02em; }
.ob-steps p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.ob-steps a.ob-step-link { margin-top: auto; padding-top: 14px; color: var(--lime-deep); font-size: 14px; font-weight: 650; }
.ob-steps a.ob-step-link:hover { text-decoration: underline; }
.ob-time { display: inline-block; margin-top: 10px; color: var(--subtle); font-family: var(--mono); font-size: 12px; }

/* Link cards to sub-pages */
.ob-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ob-card { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.ob-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.ob-card .icon-box { margin-bottom: 18px; }
.ob-card h3 { font-size: 21px; letter-spacing: -.025em; }
.ob-card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.ob-card ul { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--text); font-size: 14.5px; }
.ob-card ul li::before { content: "→ "; color: var(--lime-deep); font-weight: 700; }
.ob-card-more { margin-top: auto; padding-top: 20px; color: var(--ink); font-size: 15px; font-weight: 650; }
.ob-card-dark { border-color: var(--ink); background: var(--ink); color: #cfd8dc; }
.ob-card-dark h3 { color: #fff; }
.ob-card-dark p { color: #a9b5bb; }
.ob-card-dark .ob-card-more { color: var(--lime); }
.ob-card-dark .icon-box { background: rgba(196, 236, 129, .14); color: var(--lime); }
.icon-ink { background: var(--ink); color: var(--lime); }
.icon-violet { background: #eeebfd; color: var(--violet); }
.icon-amber { background: var(--amber-soft); color: #9a5b00; }
.icon-green { background: var(--green-soft); color: var(--green); }
.icon-red { background: var(--red-soft); color: var(--red); }

/* Three ways in: web, Telegram, Mini App */
.ob-surfaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ob-surface { padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.ob-surface .ob-kicker { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); font-family: var(--mono); font-size: 12px; font-weight: 600; }
.ob-surface h3 { font-size: 20px; letter-spacing: -.02em; }
.ob-surface p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Status badges */
.ob-badge { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.ob-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ob-badge-live { background: var(--green-soft); color: var(--green); }
.ob-badge-new { background: var(--lime-soft); color: var(--lime-deep); }
.ob-badge-rolling { background: var(--amber-soft); color: #9a5b00; }
.ob-badge-pro { background: #eeebfd; color: var(--violet); }
.ob-badge-admin { background: var(--bg-soft); color: var(--muted); }

/* Feature catalog */
.ob-filter-bar { position: sticky; z-index: 30; top: 128px; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; padding: 12px 0; background: linear-gradient(180deg, #fff 75%, rgba(255, 255, 255, 0)); }
.ob-filter { min-height: 38px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--text); cursor: pointer; font-size: 14px; font-weight: 600; transition: background .15s ease, border-color .15s ease; }
.ob-filter:hover { border-color: var(--ink); }
.ob-filter[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.ob-filter-count { margin-inline-start: auto; align-self: center; color: var(--subtle); font-size: 14px; }
.ob-group { scroll-margin-top: 190px; }
.ob-group + .ob-group { margin-top: 72px; }
.ob-group-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ob-group-head h2 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -.035em; }
.ob-group-head p { max-width: 560px; color: var(--muted); font-size: 16px; }
.ob-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ob-feature { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.ob-feature[hidden] { display: none; }
.ob-feature-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.ob-feature h3 { font-size: 19px; letter-spacing: -.02em; }
.ob-where { display: block; margin-top: 4px; color: var(--subtle); font-family: var(--mono); font-size: 12.5px; }
.ob-feature > p { margin-top: 12px; color: var(--text); font-size: 15px; }
.ob-feature ul { display: grid; gap: 6px; margin: 14px 0 0; padding-inline-start: 18px; color: var(--muted); font-size: 14.5px; }
.ob-feature ul li::marker { color: var(--lime-deep); }
.ob-feature .ob-feature-link { margin-top: auto; padding-top: 16px; color: var(--lime-deep); font-size: 14px; font-weight: 650; }
.ob-feature .ob-feature-link:hover { text-decoration: underline; }
.ob-empty { padding: 40px; border: 1px dashed var(--line-strong); border-radius: 16px; color: var(--muted); text-align: center; }

/* Docs layout: sticky table of contents + article */
.ob-doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.ob-toc { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; padding-inline-end: 8px; }
.ob-toc p { margin-bottom: 10px; color: var(--subtle); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ob-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ob-toc a { display: block; padding: 7px 12px; border-inline-start: 2px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.4; }
.ob-toc a:hover { color: var(--ink); }
.ob-toc a.is-active { border-color: var(--lime-deep); background: var(--lime-soft); color: var(--ink); font-weight: 600; }
.ob-article { min-width: 0; }
.ob-article > section { scroll-margin-top: 140px; padding-bottom: 56px; }
.ob-article > section + section { padding-top: 56px; border-top: 1px solid var(--line); }
.ob-article h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -.035em; line-height: 1.15; }
.ob-article h2 .ob-num { display: grid; flex: none; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: var(--ink); color: var(--lime); font-family: var(--mono); font-size: 14px; }
.ob-article h3 { margin-top: 30px; font-size: 19px; letter-spacing: -.02em; }
.ob-article > section > p, .ob-article .ob-p { max-width: 760px; margin-top: 14px; color: var(--text); font-size: 16.5px; line-height: 1.7; }
.ob-article ul.ob-bullets { max-width: 760px; margin: 14px 0 0; padding-inline-start: 20px; color: var(--text); font-size: 16px; line-height: 1.7; }
.ob-article ul.ob-bullets li + li { margin-top: 6px; }
.ob-howto { display: grid; gap: 10px; max-width: 800px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: ob-how; }
.ob-howto li { position: relative; padding-block: 14px;padding-inline:58px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); font-size: 15.5px; line-height: 1.6; counter-increment: ob-how; }
.ob-howto li::before { content: counter(ob-how); position: absolute; top: 13px; inset-inline-start: 16px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 13.5px; font-weight: 750; }
.ob-howto li b { color: var(--ink); }
.ob-callout { display: grid; grid-template-columns: 28px 1fr; gap: 12px; max-width: 800px; margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: var(--lime-soft); color: var(--text); font-size: 15px; line-height: 1.6; }
.ob-callout::before { content: "✳"; color: var(--lime-deep); font-size: 20px; line-height: 1.2; }
.ob-callout b { color: var(--ink); }
.ob-callout-warn { background: var(--amber-soft); }
.ob-callout-warn::before { content: "!"; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--amber); color: #fff; font-size: 14px; font-weight: 800; }
.ob-guide-figure { max-width: 800px; margin: 20px 0 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.ob-guide-figure svg { display: block; width: 100%; height: auto; border-radius: 10px; }
.ob-guide-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Tables (commands, tiers) */
.ob-table-wrap { max-width: 100%; margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ob-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.ob-table th { padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); color: var(--ink); font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-align: start; text-transform: uppercase; }
.ob-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text); vertical-align: top; line-height: 1.55; }
.ob-table tr:last-child td { border-bottom: 0; }
.ob-table td:first-child { white-space: nowrap; }
.ob-table td em { color: var(--muted); font-style: normal; font-size: 13.5px; }

/* Plain-language chat examples */
.ob-chat { display: grid; gap: 10px; max-width: 560px; margin-top: 18px; padding: 20px; border-radius: 18px; background: #e8eef2; }
.ob-bubble { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.ob-bubble-me { justify-self: end; border-end-end-radius: 4px; background: #d8f5b4; color: var(--ink); }
.ob-bubble-bot { justify-self: start; border-end-start-radius: 4px; background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.ob-bubble-bot b { color: var(--ink); }

/* Plans */
.ob-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ob-plan { display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.ob-plan-featured { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.ob-plan h3 { font-size: 22px; letter-spacing: -.03em; }
.ob-plan-price { margin-top: 14px; color: var(--ink); font-family: var(--display); font-size: 34px; font-weight: 750; letter-spacing: -.04em; line-height: 1.1; }
.ob-plan-price small { display: block; margin-top: 6px; color: var(--muted); font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.ob-plan .ob-checklist { margin: 22px 0 28px; }
.ob-plan .button { margin-top: auto; }
.ob-plans-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.ob-plan .button + .button { margin-top: 10px; }

/* Closing CTA reused on every page */
.ob-cta { padding: 0 0 96px; }

/* ---------------- Pitch deck ---------------- */
.ob-deck-page { background: #0b1215; }
.ob-deck-page .site-header { background: rgba(255, 255, 255, .92); }
.ob-deck-toolbar { position: sticky; z-index: 40; top: 72px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(11, 18, 21, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ob-deck-toolbar-inner { display: flex; align-items: center; gap: 12px; min-height: 56px; color: #a9b5bb; font-size: 14px; }
.ob-deck-toolbar strong { color: #fff; font-weight: 650; }
.ob-deck-toolbar .ob-deck-spacer { flex: 1; }
.ob-deck-btn { display: inline-flex; min-height: 36px; align-items: center; gap: 6px; padding: 0 13px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 9px; background: transparent; color: #e6edf0; cursor: pointer; font-size: 13.5px; font-weight: 600; }
.ob-deck-btn:hover { border-color: var(--lime); color: var(--lime); }
.ob-deck-btn:disabled { opacity: .35; pointer-events: none; }
.ob-deck-progress { height: 3px; background: rgba(255, 255, 255, .08); }
.ob-deck-progress span { display: block; width: 0; height: 100%; background: var(--lime); transition: width .3s ease; }
.ob-deck { padding: 32px 0 64px; }
.ob-slide { position: relative; display: flex; flex-direction: column; justify-content: center; width: min(1200px, calc(100% - 48px)); aspect-ratio: 16 / 9; margin: 0 auto 28px; padding: clamp(28px, 5vw, 72px); border-radius: 22px; background: #fff; color: var(--text); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.ob-slide-dark { background: radial-gradient(ellipse 70% 70% at 90% 10%, rgba(196, 236, 129, .16), transparent 60%), #111b20; color: #c6d0d4; }
.ob-slide-dark h2, .ob-slide-dark h3 { color: #fff; }
.ob-slide-lime { background: var(--lime); }
.ob-slide-no { position: absolute; inset-inline-end: clamp(20px, 3vw, 36px); bottom: clamp(16px, 2.4vw, 28px); color: var(--subtle); font-family: var(--mono); font-size: 13px; }
.ob-slide-dark .ob-slide-no { color: #6f7f86; }
.ob-slide-dark .button-primary { background: var(--lime); color: var(--ink); }
.ob-slide-dark .button-ghost { border-color: rgba(255, 255, 255, .25); color: #fff; }
.ob-slide-lime .button-primary { background: var(--ink); color: #fff; }
.ob-slide .eyebrow { margin-bottom: 14px; }
.ob-slide-dark .eyebrow { color: var(--lime); }
.ob-slide h2 { max-width: 920px; font-size: clamp(28px, 4.2vw, 58px); font-weight: 760; letter-spacing: -.045em; line-height: 1.04; }
.ob-slide h2 mark { padding: 0 .1em; border-radius: .15em; background: var(--lime); color: var(--ink); }
.ob-slide-sub { max-width: 760px; margin-top: clamp(12px, 1.6vw, 22px); font-size: clamp(15px, 1.6vw, 21px); line-height: 1.5; }
.ob-slide-cols { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); margin-top: clamp(18px, 3vw, 40px); }
.ob-slide-cell { padding: clamp(14px, 1.8vw, 24px); border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft); }
.ob-slide-dark .ob-slide-cell { border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); }
.ob-slide-cell b { display: block; color: var(--ink); font-family: var(--display); font-size: clamp(15px, 1.6vw, 21px); letter-spacing: -.02em; line-height: 1.2; }
.ob-slide-dark .ob-slide-cell b { color: #fff; }
.ob-slide-cell .ob-big { display: block; margin-bottom: 6px; overflow-wrap: anywhere; color: var(--ink); font-family: var(--display); font-size: clamp(24px, 3vw, 40px); font-weight: 760; letter-spacing: -.04em; line-height: 1; }
.ob-slide-dark .ob-slide-cell .ob-big { color: var(--lime); }
.ob-slide-cell span { display: block; margin-top: 6px; font-size: clamp(12.5px, 1.15vw, 15px); line-height: 1.45; }
.ob-slide-list { display: grid; gap: clamp(6px, 1vw, 12px); margin: clamp(16px, 2.4vw, 32px) 0 0; padding: 0; list-style: none; font-size: clamp(14px, 1.45vw, 19px); }
.ob-slide-list li { display: grid; grid-template-columns: 1.4em 1fr; gap: .5em; }
.ob-slide-list li::before { content: "→"; color: var(--lime-deep); font-weight: 800; }
.ob-slide-dark .ob-slide-list li::before { color: var(--lime); }
.ob-slide-list b { color: var(--ink); }
.ob-slide-dark .ob-slide-list b { color: #fff; }
.ob-vs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.6vw, 20px); margin-top: clamp(16px, 2.6vw, 36px); }
.ob-vs > div { padding: clamp(14px, 2vw, 26px); border-radius: 16px; }
.ob-vs > div:first-child { background: var(--red-soft); }
.ob-vs > div:last-child { background: var(--lime-soft); }
.ob-vs h3 { font-size: clamp(15px, 1.6vw, 20px); }
.ob-vs ul { margin: 10px 0 0; padding-inline-start: 1.1em; font-size: clamp(12.5px, 1.25vw, 16px); line-height: 1.5; }
.ob-flow { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(6px, 1vw, 12px); margin-top: clamp(18px, 3vw, 40px); }
.ob-flow span { padding: clamp(8px, 1.1vw, 14px) clamp(12px, 1.5vw, 20px); border-radius: 12px; background: var(--ink); color: #fff; font-size: clamp(13px, 1.4vw, 18px); font-weight: 650; }
.ob-flow i { color: var(--lime-deep); font-style: normal; font-weight: 800; }
.ob-slide-dark .ob-flow span { background: rgba(255, 255, 255, .08); }
.ob-slide-dark .ob-flow i { color: var(--lime); }
.ob-slide-foot { margin-top: clamp(14px, 2vw, 28px); color: var(--muted); font-size: clamp(11.5px, 1vw, 13.5px); }
.ob-slide-dark .ob-slide-foot { color: #7e8d93; }
.ob-slide .ob-actions { margin-top: clamp(18px, 2.4vw, 32px); }

/* Presenting mode: one slide fills the viewport */
.ob-deck-page.is-presenting .site-header, .ob-deck-page.is-presenting .site-footer, .ob-deck-page.is-presenting .ob-subnav { display: none; }
.ob-deck-page.is-presenting .ob-deck-toolbar { top: 0; }
.ob-deck-page.is-presenting .ob-deck { display: grid; min-height: calc(100vh - 59px); place-items: center; padding: 16px 0; }
.ob-deck-page.is-presenting .ob-slide { display: none; width: min(calc(100vw - 32px), calc((100vh - 100px) * 16 / 9)); margin: 0; }
.ob-deck-page.is-presenting .ob-slide.is-current { display: flex; }

@media (max-width: 1180px) {
  .ob-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .ob-hero-grid, .ob-doc { grid-template-columns: 1fr; }
  .ob-toc { position: static; max-height: none; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .ob-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ob-cards, .ob-surfaces, .ob-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ob-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Slides become tall cards on narrower screens so text never clips. */
  .ob-slide { aspect-ratio: auto; min-height: 520px; }
  .ob-deck-page.is-presenting .ob-slide { width: calc(100vw - 32px); }
}
@media (max-width: 860px) {
  .ob-subnav { top: 64px; }
  .ob-filter-bar { top: 120px; }
}
@media (max-width: 680px) {
  .ob-hero { padding: 56px 0 48px; }
  .ob-section { padding: 64px 0; }
  .ob-steps, .ob-cards, .ob-surfaces, .ob-plans, .ob-feature-grid { grid-template-columns: 1fr; }
  .ob-toc ol { grid-template-columns: 1fr; }
  .ob-filter-bar { position: static; }
  .ob-filter-count { width: 100%; margin-inline-start: 0; }
  .ob-slide { width: calc(100% - 32px); min-height: 0; border-radius: 16px; }
  .ob-slide-cols { grid-template-columns: 1fr; }
  .ob-vs { grid-template-columns: 1fr; }
  .ob-slide-no { position: static; margin-top: 18px; }
  .ob-deck-toolbar-inner { flex-wrap: wrap; padding: 8px 0; }
  .ob-deck-hint { display: none; }
  .ob-cta .cta-inner { padding: 36px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .ob-card, .ob-deck-progress span { transition: none; }
}
@media print {
  .site-header, .site-footer, .ob-subnav, .ob-deck-toolbar, .ob-cta { display: none !important; }
  .ob-deck-page { background: #fff; }
  .ob-deck { padding: 0; }
  .ob-slide { display: flex !important; width: 100%; margin: 0; border-radius: 0; box-shadow: none; break-after: page; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Public feature tutorials reuse the reviewed walkthrough copy and outcomes. */
.feature-tutorial-main { padding: 48px 0 72px; }
.feature-tutorial-catalog, .feature-tutorial-detail { max-width: 960px; margin: 0 auto; }
.feature-tutorial-catalog h1, .feature-tutorial-detail h1 { margin: 8px 0 16px; font-size: clamp(32px, 5vw, 52px); line-height: 1.06; }
.feature-tutorial-search-label { display: block; margin: 24px 0 8px; font-weight: 700; }
.feature-tutorial-search-label + input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--border, #d9ddd5); border-radius: 12px; background: var(--surface, #fff); color: var(--text, #1b2119); font: inherit; }
.feature-tutorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.feature-tutorial-card, .feature-tutorial-before, .feature-tutorial-check, .feature-tutorial-recovery, .feature-tutorial-handoff { padding: 20px; border: 1px solid var(--border, #d9ddd5); border-radius: 16px; background: var(--surface, #fff); }
.feature-tutorial-card h2 { margin: 0 0 8px; font-size: 20px; }
.feature-tutorial-card h2 a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.feature-tutorial-example, .feature-tutorial-disclosure { color: var(--muted, #60685d); font-size: 14px; }
.feature-tutorial-detail > section { margin: 32px 0; }
.feature-tutorial-detail h2 { margin-bottom: 12px; font-size: 24px; }
.feature-tutorial-steps { display: grid; gap: 12px; padding-inline-start: 28px; line-height: 1.65; }
.feature-tutorial-before { margin: 24px 0; }
.feature-tutorial-subnav { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 32px; }
.feature-tutorial-subnav a { display: inline-flex; min-height: 40px; align-items: center; padding: 7px 12px; border: 1px solid var(--border, #d9ddd5); border-radius: 999px; color: var(--text, #1b2119); }
.feature-tutorial-outcomes { display: block; width: 100%; height: auto; margin: 18px 0; }
.feature-tutorial-handoff { background: var(--surface-alt, #f5f7f2); }
.feature-tutorial-handoff .button { display: inline-flex; margin-top: 8px; }
.feature-tutorial-grid [hidden] { display: none !important; }
@media (max-width: 680px) {
  .feature-tutorial-main { padding: 34px 0 52px; }
  .feature-tutorial-grid { grid-template-columns: 1fr; }
  .feature-tutorial-card, .feature-tutorial-before, .feature-tutorial-check, .feature-tutorial-recovery, .feature-tutorial-handoff { padding: 16px; }
}

/* Right-to-left languages (Arabic): list arrows point the reading direction. */
[dir="rtl"] .ob-card ul li::before { content: "← "; }
[dir="rtl"] .ob-slide-list li::before { content: "←"; }

/* "Keep going" strip and Learn links that connect /start pages to each other and to Learn. */
.ob-next { padding: 0 0 56px; }
.ob-next h2 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.02em; }
.ob-next-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ob-next-links a { display: block; padding: 16px 18px; border: 1px solid var(--line, #e5e7eb); border-radius: 14px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 650; transition: border-color .15s ease, transform .15s ease; }
.ob-next-links a:hover { border-color: var(--lime-deep); transform: translateY(-1px); }
.ob-group-head .ob-group-learn { flex-basis: 100%; max-width: none; margin: -4px 0 0; font-size: 14px; }
.ob-group-learn a { color: var(--lime-deep); font-weight: 650; }
.ob-group-learn a:hover { text-decoration: underline; }
