/* KaaaM site design system (PRD §11.2).
   Persian, RTL, IRANYekanX. Warm paper background, deep KaaaM green, amber only for emphasis.
   One primary action per view. Every state is shown with text, never colour alone. */

@font-face { font-family: 'IRANYekanX'; src: url('fonts/IRANYekanX-Regular.woff2') format('woff2'), url('fonts/IRANYekanX-Regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('fonts/IRANYekanX-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('fonts/IRANYekanX-Bold.woff2') format('woff2'), url('fonts/IRANYekanX-Bold.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('fonts/IRANYekanX-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('fonts/IRANYekanX-Black.woff2') format('woff2'), url('fonts/IRANYekanX-Black.woff') format('woff'); font-weight: 900; font-display: swap; }

:root {
  --ink: #13231b;
  --ink-2: #33463c;
  --muted: #5d6c64;
  --paper: #fbf9f4;
  --sand: #f3eee3;
  --sand-2: #e9e2d2;
  --line: #e0d9c9;
  --card: #ffffff;
  --brand: #123d30;
  --brand-2: #1c5a46;
  --brand-tint: #e4efe8;
  --accent: #a8661f;
  --accent-tint: #f7ebda;
  --ok: #17694f;
  --ok-bg: #e7f3ec;
  --warn: #8a5a12;
  --warn-bg: #fbf1df;
  --err: #a2281f;
  --err-bg: #fbe9e7;
  --focus: #1d4fd8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(19 35 27 / .05), 0 8px 24px -12px rgb(19 35 27 / .18);
  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --font: 'IRANYekanX', 'Vazirmatn', Tahoma, 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.9;
  font-feature-settings: 'ss01';
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand); }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0 0 .6rem; line-height: 1.35; color: var(--ink); }
h1 { font-weight: 900; }
h2 { font-weight: 900; font-size: clamp(1.55rem, 2.6vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-weight: 800; font-size: 1.18rem; }
h4 { font-weight: 700; font-size: 1.02rem; }
ul, ol { padding-inline-start: 1.25rem; margin: 0 0 1rem; }
strong { font-weight: 800; }
small, .small { font-size: .9rem; }
.muted { color: var(--muted); }
.ltr, [dir='ltr'], input[type='email'], input[type='password'], code { direction: ltr; unicode-bidi: isolate; text-align: left; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; inset-inline-start: -9999px; top: .5rem; z-index: 100; background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { inset-inline-start: 1rem; }

.preview-ribbon { background: var(--ink); color: #e8efe9; font-size: .8rem; text-align: center; padding: .35rem 1rem; line-height: 1.6; }

/* —— Header —— */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(251 249 244 / .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.35rem; line-height: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 1.2rem; font-weight: 900; }
.brand-text small { font-size: .74rem; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 1.25rem; flex: 1 1 auto; justify-content: space-between; }
.site-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: block; padding: .5rem .8rem; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav a:not(.btn):hover { background: var(--sand); color: var(--ink); }
.site-nav a[aria-current='page'] { color: var(--brand); font-weight: 800; background: var(--brand-tint); }
.header-account { display: flex; align-items: center; gap: .6rem; }
.account-name { font-size: .85rem; color: var(--muted); max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-toggle { display: none; margin-inline-start: auto; align-items: center; gap: .5rem; background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .8rem; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; min-height: 44px; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; inset-inline-start: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }

/* —— Buttons —— */
.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.4; padding: .85rem 1.35rem; min-height: 48px; border-radius: 12px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -14px rgb(18 61 48 / .9); }
.btn-primary:hover { background: #0d2f25; color: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--card); color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand-tint); color: var(--brand); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); font-weight: 600; }
.btn-quiet:hover { background: var(--sand); color: var(--ink); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-tint); color: var(--brand); }
.btn-sm { min-height: 40px; padding: .45rem .95rem; font-size: .92rem; border-radius: 10px; }
.btn .arrow, .text-link .arrow { transition: transform .15s ease; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(-3px); }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--brand-2); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }

/* —— Section scaffolding —— */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--brand); color: #e9f1ec; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #c6d8ce; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 800; color: var(--accent); letter-spacing: .02em; margin-bottom: .8rem; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow { color: #f0c48a; }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.15rem, 2.4vw, 1.6rem); box-shadow: var(--shadow); }
.card-flat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 2.2vw, 1.5rem); }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-link:hover { transform: translateY(-3px); border-color: #c9c0aa; color: inherit; box-shadow: 0 14px 32px -18px rgb(19 35 27 / .35); }
.card-link .card-foot { margin-top: auto; padding-top: 1rem; font-weight: 800; color: var(--brand-2); display: flex; align-items: center; gap: .4rem; }
.num { font-weight: 900; color: var(--accent); font-size: .9rem; font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; background: var(--sand); color: var(--ink-2); border: 1px solid var(--line); }
.pill-green { background: var(--brand-tint); color: var(--brand); border-color: #c9ddd1; }
.pill-amber { background: var(--accent-tint); color: var(--warn); border-color: #ecd3ae; }
.meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; color: var(--muted); font-size: .88rem; margin-bottom: .6rem; }

.figure { margin: 0; position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--sand-2); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure figcaption { position: absolute; inset-inline: .8rem; bottom: .8rem; background: rgb(19 35 27 / .78); color: #fff; font-size: .82rem; padding: .35rem .75rem; border-radius: 999px; width: fit-content; backdrop-filter: blur(4px); }

/* —— Hero —— */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.35rem, 5.4vw, 4.4rem); line-height: 1.18; letter-spacing: -.02em; margin-bottom: 1.2rem; }
.hero h1 .hl { color: var(--brand-2); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ''; position: absolute; inset-inline: 0; bottom: .08em; height: .16em; background: var(--accent-tint); z-index: -1; border-radius: 4px; }
.lede { font-size: clamp(1.06rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 36rem; margin-bottom: 1.8rem; }
.hero-media { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -32px rgb(19 35 27 / .55); }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.hero-proof strong { color: var(--ink); display: block; font-size: 1.05rem; }
.page-hero { padding-block: clamp(2.4rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.25; margin-bottom: 1rem; max-width: 22ch; }
.breadcrumb { font-size: .86rem; color: var(--muted); margin-bottom: 1.1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }

/* —— Role chooser —— */
.roles { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1rem; }
.role { position: relative; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .4rem; transition: transform .18s ease, border-color .18s ease; }
.role:hover { transform: translateY(-3px); color: inherit; border-color: #c9c0aa; }
.role.featured { background: var(--brand); color: #e9f1ec; border-color: var(--brand); }
.role.featured h3 { color: #fff; }
.role.featured .role-go { color: #fff; }
.role .role-tag { font-size: .8rem; font-weight: 800; color: var(--accent); }
.role.featured .role-tag { color: #f0c48a; }
.role .role-go { margin-top: auto; padding-top: .8rem; font-weight: 800; color: var(--brand-2); display: inline-flex; gap: .4rem; align-items: center; }

/* —— Method steps —— */
.method { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.method-step { padding: clamp(1.3rem, 3vw, 2rem); position: relative; }
.method-step + .method-step { border-inline-start: 1px solid var(--line); }
.method-step .big { font-size: 2.6rem; font-weight: 900; color: var(--sand-2); line-height: 1; margin-bottom: .8rem; }
.method-step h3 { font-size: 1.2rem; }

/* —— Journey (7-station overview) —— */
.journey { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .8rem; counter-reset: st; }
.journey a { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .55rem; }
.journey .j-img { aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--sand-2); position: relative; }
.journey .j-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.journey a:hover .j-img img { transform: scale(1.04); }
.journey .j-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(19 35 27 / .55), transparent 55%); }
.journey .j-n { position: absolute; z-index: 1; bottom: .55rem; inset-inline-start: .65rem; color: #fff; font-weight: 900; font-size: 1.3rem; }
.journey h3 { font-size: .98rem; margin: 0; }
.journey p { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* —— Feature split —— */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.checklist-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow); }
.checklist-box .progress { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; font-size: .9rem; color: var(--muted); }
.checklist-box .progress strong { color: var(--brand); font-size: 1rem; }
.bar { height: 8px; border-radius: 99px; background: var(--sand); overflow: hidden; margin-bottom: 1rem; }
.bar span { display: block; height: 100%; width: 0; background: var(--brand-2); border-radius: 99px; transition: width .25s ease; }
.check-item { display: flex; gap: .75rem; align-items: flex-start; padding: .8rem .2rem; border-top: 1px solid var(--line); cursor: pointer; font-weight: 500; }
.check-item input { width: 1.25rem; height: 1.25rem; margin-top: .35rem; accent-color: var(--brand); flex: 0 0 auto; }
.check-item:has(input:checked) span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--brand-2); }

/* —— Offers —— */
.offer { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.offer .offer-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-2); }
.offer .offer-img img { width: 100%; height: 100%; object-fit: cover; }
.offer .offer-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.offer .who { font-size: .82rem; font-weight: 800; color: var(--accent); }
.offer ul { margin: .4rem 0 .8rem; padding: 0; list-style: none; }
.offer li { padding-inline-start: 1.3rem; position: relative; font-size: .95rem; color: var(--ink-2); margin-bottom: .3rem; }
.offer li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--brand-2); font-weight: 900; }
.fit-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .96rem; }
.fit-table th, .fit-table td { padding: .9rem 1rem; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.fit-table thead th { background: var(--sand); font-weight: 800; }
.fit-table tbody th { font-weight: 800; width: 22%; color: var(--ink-2); }
.fit-table tr:last-child > * { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }

/* —— Mosaic & founder —— */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: .8rem; }
.mosaic .figure:first-child { grid-row: span 2; }
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.founder .figure { aspect-ratio: 2 / 3; max-height: 560px; }
.quote { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 800; line-height: 1.7; color: var(--ink); border-inline-start: 4px solid var(--accent); padding-inline-start: 1.1rem; margin: 0 0 1.4rem; }

/* —— CTA band —— */
.cta-band { background: var(--brand); color: #e9f1ec; border-radius: calc(var(--radius) + 8px); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; inset-inline-end: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgb(255 255 255 / .05); }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: #c6d8ce; margin: 0; }

/* —— Lists, steps, timeline —— */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-inline-start: 1.7rem; margin-bottom: .55rem; }
.ticks li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 0; color: var(--brand-2); font-weight: 900; }
.crosses li::before { content: '✕'; color: var(--err); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.timeline .t-n { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-weight: 900; font-size: 1.15rem; }
.deliverable { margin-top: .6rem; background: var(--sand); border-radius: 10px; padding: .6rem .8rem; font-size: .92rem; }
.deliverable strong { color: var(--brand); }

/* —— FAQ —— */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: .7rem; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--brand-2); line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: '−'; }
.faq .faq-a { padding: 0 1.2rem 1.1rem; color: var(--ink-2); }

/* —— Tabs (roadmap role switch) —— */
.tabs { display: inline-flex; gap: .3rem; padding: .3rem; border-radius: 14px; background: var(--sand); border: 1px solid var(--line); margin-bottom: 1.6rem; }
.tabs [role='tab'] { font: inherit; font-weight: 800; border: 0; background: transparent; padding: .65rem 1.2rem; border-radius: 10px; cursor: pointer; color: var(--ink-2); min-height: 44px; }
.tabs [role='tab'][aria-selected='true'] { background: var(--card); color: var(--brand); box-shadow: var(--shadow); }
.station { display: grid; grid-template-columns: 72px 1fr; gap: 1.2rem; padding: 1.4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; scroll-margin-top: 96px; }
.station:target { border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-tint); }
.station .s-n { width: 60px; height: 60px; border-radius: 16px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.4rem; }
.station dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: .5rem 0 .8rem; }
.station dt { font-weight: 800; color: var(--muted); font-size: .9rem; }
.station dd { margin: 0; }
.station .s-next { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-size: .92rem; }

/* —— Article —— */
.article { max-width: 46rem; }
.article h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.article-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin: 1.4rem 0 2rem; }
.article-meta div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem; font-size: .9rem; }
.article-meta dt { color: var(--muted); font-size: .8rem; }
.article-meta dd { margin: 0; font-weight: 800; }
.exercise-box { background: var(--brand-tint); border: 1px solid #c9ddd1; border-radius: var(--radius); padding: 1.4rem; margin: 2rem 0; }
.exercise-box h2 { margin-top: 0; font-size: 1.25rem; }
.verify-note { font-size: .86rem; color: var(--warn); background: var(--warn-bg); border: 1px dashed #dcb878; border-radius: 10px; padding: .5rem .8rem; margin: 1rem 0; }
.verify-tag { font-weight: 800; }
.draft-note { font-size: .88rem; color: var(--muted); border-inline-start: 3px solid var(--line); padding-inline-start: .8rem; }

/* —— Stats —— */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stat { border-top: 2px solid var(--brand); padding-top: .9rem; }
.stat strong { display: block; font-size: 1.5rem; font-weight: 900; color: var(--brand); line-height: 1.3; }
.stat span { color: var(--muted); font-size: .9rem; }
.section-dark .stat { border-top-color: #f0c48a; }
.section-dark .stat strong { color: #fff; }
.section-dark .stat span { color: #c6d8ce; }

/* —— Footer —— */
.site-footer { background: #0e2a21; color: #c6d8ce; margin-top: clamp(3rem, 7vw, 5rem); padding-block: 3.5rem 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.brand-light { color: #fff; margin-bottom: 1rem; }
.brand-light .brand-mark { background: #fff; color: var(--brand); }
.brand-light small { color: #a9c2b5; }
.footer-title { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: .8rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.site-footer a { color: #e3ede7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgb(255 255 255 / .12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .84rem; color: #9fb7aa; }

/* —— Learning app (inside the site) —— */
.app-main { max-width: 48rem; margin-inline: auto; padding: clamp(1.5rem, 4vw, 2.5rem) var(--gutter) 1rem; }
.app-main .card { margin-bottom: 1.1rem; }
.app-main h1 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.app-main h2 { font-size: 1.3rem; margin-top: .4rem; }
.app-main .lede { margin-bottom: 1rem; }
.app-main button:not(.btn) { font: inherit; font-weight: 800; border-radius: 12px; border: 1.5px solid var(--brand); background: var(--brand); color: #fff; padding: .7rem 1.2rem; cursor: pointer; min-height: 48px; }
.app-main button.secondary { background: var(--card); color: var(--brand); }
.app-main button.quiet { background: transparent; border-color: var(--line); color: var(--ink); font-weight: 600; }
.app-main button.quiet:hover { background: var(--sand); }
.app-main button[disabled] { opacity: .55; cursor: not-allowed; }
.app-main button[aria-pressed='true'] { border-color: var(--brand); border-width: 2px; background: var(--brand-tint); color: var(--brand); font-weight: 800; }
.btn-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.app-main fieldset { border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem 1rem; margin: 0 0 1rem; }
.app-main legend { font-weight: 800; padding: 0 .4rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 800; margin-bottom: .3rem; }
.hint { font-size: .9rem; color: var(--muted); margin-bottom: .4rem; }
.app-main input[type='email'], .app-main input[type='password'], .app-main input[type='number'], .app-main textarea { font: inherit; width: 100%; padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); min-height: 48px; }
.app-main textarea { min-height: 7.5rem; line-height: 1.8; }
.app-main input:focus, .app-main textarea:focus { border-color: var(--brand-2); }
.choice { display: flex; gap: .7rem; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: .7rem .85rem; margin-bottom: .55rem; cursor: pointer; font-weight: 500; background: #fff; }
.choice:hover { border-color: #c9c0aa; }
.choice input { margin-top: .5rem; flex: 0 0 auto; accent-color: var(--brand); width: 1.1rem; height: 1.1rem; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.choice:has(input:checked) .choice-text::after { content: ' ✓'; font-weight: 900; color: var(--brand); }
.msg { border-radius: 12px; padding: .75rem .95rem; margin: .7rem 0; border: 1px solid; }
.msg-ok { background: var(--ok-bg); border-color: #a9d2bd; }
.msg-warn { background: var(--warn-bg); border-color: #e2c18a; }
.msg-err { background: var(--err-bg); border-color: #e3a9a2; }
.msg strong::before { content: '■ '; font-size: .7em; vertical-align: middle; }
.field-error { display: block; margin-top: .35rem; color: var(--err); font-weight: 800; font-size: .95rem; }
.field-error::before { content: '⚠ '; }
[aria-invalid='true'] { border-color: var(--err) !important; border-width: 2px !important; }
.badge-btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--card) !important; color: var(--ink) !important; border: 1px solid var(--line) !important; font: inherit; font-weight: 800; font-size: .85rem; padding: .3rem .7rem; min-height: 40px; border-radius: 999px; cursor: pointer; }
.ring { --p: 15; width: 1.8rem; height: 1.8rem; border-radius: 50%; flex: 0 0 auto; background: conic-gradient(var(--brand-2) calc(var(--p) * 1%), var(--sand-2) 0); position: relative; }
.ring::after { content: ''; position: absolute; inset: 5px; background: var(--card); border-radius: 50%; }
.badge-pct { font-variant-numeric: tabular-nums; }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { margin-bottom: .6rem; }
.app-main .pain-btn { width: 100%; text-align: start; background: #fff; color: var(--ink); border: 1.5px solid var(--line); font-weight: 800; padding: .9rem 1rem; line-height: 1.7; }
.app-main .pain-btn:hover { border-color: var(--brand-2); }
.pain-btn .tag { display: block; font-weight: 400; font-size: .87rem; color: var(--muted); }
.tag-soon { display: inline-block; border: 1px solid #e2c18a; background: var(--warn-bg); color: var(--warn); border-radius: 999px; font-size: .78rem; font-weight: 800; padding: 0 .55rem; margin-inline-start: .4rem; }
.draft-banner { border: 1px dashed #dcb878; background: var(--warn-bg); border-radius: 12px; padding: .7rem .9rem; font-size: .9rem; margin-bottom: 1rem; color: var(--warn); }
.lesson-body h3 { margin-top: 1.4rem; }
.sample { background: var(--sand); border: 1px solid var(--line); border-radius: 12px; padding: .9rem; }
.sample ol { margin: 0; }
.next-step { border: 2px solid var(--brand); border-radius: var(--radius); padding: 1.2rem; background: linear-gradient(180deg, var(--brand-tint), #fff 70%); }
.next-step h2 { margin-top: 0; }
.next-step .why { color: var(--ink-2); }
.card.inner { border-style: dashed; box-shadow: none; margin-top: 1rem; }
.steps li { margin-bottom: .5rem; }
.meta-row { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
#pref-msg:empty { display: none; }
.app-intro { margin-bottom: 1.2rem; color: var(--muted); font-size: .92rem; line-height: 1.9; }

/* —— Responsive —— */
@media (max-width: 1080px) {
  .journey { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: .8rem var(--gutter) 1.2rem; flex-direction: column; align-items: stretch; gap: .8rem; box-shadow: 0 20px 30px -24px rgb(0 0 0 / .4); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) { padding: .75rem .8rem; font-size: 1.02rem; }
  .header-account { flex-wrap: wrap; }
  .hero-grid, .split, .founder, .cta-band { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-media { aspect-ratio: 16 / 10; }
  .roles, .g-3, .g-4, .g-5, .method, .stats { grid-template-columns: 1fr 1fr; }
  .method-step + .method-step { border-inline-start: 0; border-top: 1px solid var(--line); }
  .method { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; }
  .mosaic .figure:first-child { grid-column: span 2; grid-row: auto; }
  .article-meta { grid-template-columns: 1fr 1fr; }
  .founder .figure { max-height: 420px; aspect-ratio: 4 / 5; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .preview-ribbon { font-size: .72rem; }
  .figure figcaption { font-size: .74rem; inset-inline: .5rem; bottom: .5rem; padding: .2rem .6rem; }
  .header-row { min-height: 62px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text small { display: none; }
  .roles, .g-2, .g-3, .g-4, .g-5, .stats { grid-template-columns: 1fr; }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey .j-img { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .station { grid-template-columns: 1fr; }
  .station dl { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; }
  .actions .btn, .btn-row button { flex: 1 1 100%; }
  .tabs { display: flex; }
  .tabs [role='tab'] { flex: 1; }
  .hero h1 .hl { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
@media (prefers-contrast: more) {
  :root { --line: #6b7a72; --muted: #3b4a42; }
}

.offer .text-link, .card .text-link { align-self: flex-start; }

.auth-tabs { display: flex; margin: .4rem 0 1.2rem; }
.auth-tabs [role='tab'] { flex: 1; }
.app-main .tabs [role='tab'] { background: transparent; border: 0; color: var(--ink-2); min-height: 44px; }
.app-main .tabs [role='tab'][aria-selected='true'] { background: var(--card); color: var(--brand); }
.code-input { font-size: 1.5rem !important; letter-spacing: .5em; text-align: center !important; font-variant-numeric: tabular-nums; }

/* —— Roadmap station body —— */
.s-body { min-width: 0; }
.s-pain { font-weight: 700; color: var(--brand-2); margin: -.2rem 0 .6rem; }
.s-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; margin: .4rem 0 1rem; }
.s-cols h4 { margin-bottom: .4rem; color: var(--ink-2); }
.s-practice { background: var(--sand); border-radius: 14px; padding: .9rem 1rem; margin-bottom: 1rem; }
.s-practice p { margin-bottom: .35rem; }
.station .s-next { margin-top: 1rem; }

/* —— Organic video tiles: no plain rectangles, uneven rhythm, minimal chrome —— */
.vids-block { margin: .4rem 0 .6rem; }
.vids-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .9rem; margin-bottom: .9rem; font-weight: 800; }
.vids-note { font-weight: 400; font-size: .8rem; color: var(--muted); }
.vids { list-style: none; margin: 0; padding: 0 0 1.4rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.4rem 1.1rem; align-items: start; }
.vid { display: flex; flex-direction: column; gap: .55rem; }
.vid:nth-child(2n) { margin-top: 1.5rem; }
.vid:nth-child(3n) { margin-top: .55rem; }
.vid-btn { all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; cursor: pointer; border-radius: inherit; }
.vid-media { display: block; overflow: hidden; background: var(--sand-2); aspect-ratio: 1 / 1; transition: border-radius .7s cubic-bezier(.5,0,.2,1), transform .5s ease; box-shadow: 0 18px 30px -22px rgb(19 35 27 / .55); }
.vid-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform .6s ease; filter: saturate(.92); }
.vs-1 .vid-media { border-radius: 58% 42% 38% 62% / 45% 55% 45% 55%; }
.vs-2 .vid-media { border-radius: 40% 60% 62% 38% / 55% 40% 60% 45%; aspect-ratio: 4 / 5; }
.vs-3 .vid-media { border-radius: 28px 96px 28px 96px; }
.vs-4 .vid-media { border-radius: 50% 50% 22% 50% / 60% 60% 22% 40%; aspect-ratio: 5 / 4; }
.vs-5 .vid-media { border-radius: 70% 30% 50% 50% / 30% 50% 50% 70%; }
.vs-6 .vid-media { border-radius: 999px 999px 36px 999px; aspect-ratio: 4 / 5; }
.vid-btn:hover .vid-media { border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; transform: translateY(-3px); }
.vid-btn:hover .vid-media img { transform: scale(1.04); }
.vid-btn:focus-visible { outline: none; }
.vid-btn:focus-visible .vid-media { outline: 3px solid var(--focus); outline-offset: 4px; }
.vid-play { position: absolute; inset-inline-start: 6%; bottom: 4%; width: 46px; height: 46px; border-radius: 50%; background: rgb(255 255 255 / .94); box-shadow: 0 8px 18px -8px rgb(0 0 0 / .45); transition: transform .3s ease; }
.vid-play::after { content: ''; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--brand); }
.vid-btn:hover .vid-play { transform: scale(1.08); }
.vid-dur { position: absolute; inset-inline-end: 8%; top: 7%; background: rgb(19 35 27 / .72); color: #fff; font-size: .74rem; font-weight: 700; padding: .05rem .5rem; border-radius: 999px; font-variant-numeric: tabular-nums; }
.vid-title { font-size: .86rem; font-weight: 600; line-height: 1.65; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* —— Player dialog —— */
.vid-dialog { width: min(920px, 94vw); border: 0; padding: 1.1rem 1.1rem .9rem; border-radius: 30px 30px 30px 8px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6); }
.vid-dialog::backdrop { background: rgb(14 42 33 / .72); backdrop-filter: blur(6px); }
.vid-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.vid-dialog-head h2 { font-size: 1.05rem; margin: 0; }
.vid-frame { aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #0e2a21; }
.vid-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vid-dialog-foot { margin: .7rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; justify-content: space-between; }

@media (max-width: 600px) {
  .s-cols { grid-template-columns: 1fr; }
  .vids { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .8rem; }
  .vid:nth-child(3n) { margin-top: 0; }
  .vid:nth-child(2n) { margin-top: 1.2rem; }
  .vid-play { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .vid-media, .vid-media img { transition: none; }
}

/* —— Video library —— */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.chip { font: inherit; font-size: .9rem; font-weight: 700; color: var(--ink-2); background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .95rem; min-height: 40px; cursor: pointer; }
.chip span { color: var(--muted); font-weight: 500; margin-inline-start: .2rem; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: #c9c0aa; }
.chip[aria-pressed='true'] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip[aria-pressed='true'] span { color: #cfe2d8; }
.vids-lib { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2rem 1.3rem; }
.vid-tag { align-self: flex-start; font-size: .72rem; font-weight: 800; color: var(--brand); background: var(--brand-tint); border-radius: 999px; padding: .05rem .55rem; }
.vid-tag-intro { color: var(--warn); background: var(--warn-bg); }
.vid-station { font-size: .78rem; color: var(--brand-2); text-decoration: none; border-bottom: 1px dashed currentColor; align-self: flex-start; line-height: 1.6; }
.vid[hidden] { display: none !important; }

@media (max-width: 600px) {
  .vids-lib { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .8rem; }
  .chips { gap: .4rem; }
  .chip { font-size: .82rem; padding: .35rem .75rem; }
}

/* —— Panel: my lessons, account deletion —— */
.my-lessons li { border: 1.5px solid var(--line); border-radius: 12px; padding: .7rem .85rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center; justify-content: space-between; }
.my-lessons li[aria-current='true'] { border-color: var(--brand); background: var(--brand-tint); }
.my-lessons .ml-title { font-weight: 800; }
.my-lessons .ml-states { display: flex; flex-wrap: wrap; gap: .3rem; }
.my-lessons .ml-state { font-size: .75rem; border-radius: 999px; padding: .05rem .5rem; border: 1px solid var(--line); color: var(--muted); }
.my-lessons .ml-state.on { background: var(--brand-tint); border-color: #c9ddd1; color: var(--brand); font-weight: 700; }
.danger-card { border-color: #e3a9a2; }
.app-main button.danger { background: var(--err); border-color: var(--err); color: #fff; }
.app-main input[type='text'] { font: inherit; width: 100%; padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); min-height: 48px; }

/* —— About facts, quote attribution and social channels (PRD v2.9 §11.7) —— */
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1.4rem 0 1.6rem; }
.about-facts > div { background: var(--brand-tint); border-radius: var(--radius-sm); padding: .9rem 1rem; display: flex; flex-direction: column; gap: .2rem; }
.about-facts strong { font-size: 1.25rem; font-weight: 900; color: var(--brand); line-height: 1.3; }
.about-facts span { font-size: .85rem; color: var(--ink-2); line-height: 1.6; }
.quote cite { display: block; font-style: normal; font-size: .9rem; font-weight: 500; color: var(--muted); margin-top: .5rem; }

.socials { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 1.1rem 0 0; }
.socials a { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgb(255 255 255 / .08); color: #e3ede7; transition: background .2s, color .2s, transform .2s; }
.socials a:hover, .socials a:focus-visible { background: #fff; color: var(--brand); text-decoration: none; transform: translateY(-2px); }
.social-ico { display: block; }

.social-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.social-card { display: flex; align-items: center; gap: .9rem; height: 100%; padding: 1.1rem 1.15rem; background: var(--card); border: 1px solid var(--line); border-radius: 22px 22px 22px 6px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.social-card:hover, .social-card:focus-visible { transform: translateY(-3px); border-color: var(--brand-2); text-decoration: none; }
.social-card-ico { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; color: #fff; background: var(--brand); }
.sc-telegram .social-card-ico { background: #2481cc; }
.sc-instagram .social-card-ico { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }
.sc-youtube .social-card-ico { background: #d6281e; }
.sc-aparat .social-card-ico { background: #df0f50; }
.social-card-body { display: flex; flex-direction: column; min-width: 0; gap: .1rem; }
.social-card-body strong { font-size: 1.05rem; font-weight: 800; }
.social-card-body .ltr { font-size: .85rem; color: var(--brand-2); direction: ltr; text-align: end; unicode-bidi: isolate; }
.social-card-body small { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.social-card-go { margin-inline-start: auto; color: var(--brand-2); }

@media (max-width: 1080px) { .social-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .social-cards { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
}

/* —— Dashboard (PRD §5) —— */
.dash { padding-block: clamp(1.5rem, 4vw, 3rem); }
.dash .card { margin-bottom: 1.2rem; }
.dash-loading { padding: 3rem 0; color: var(--muted); }
.dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.dash-head h1 { margin: .2rem 0; }
.dash-tabs { display: inline-flex; background: var(--sand); border-radius: 999px; padding: .25rem; gap: .25rem; }
.dash-tabs button { border: 0; background: transparent; padding: .55rem 1.1rem; border-radius: 999px; font: inherit; font-weight: 700; color: var(--ink-2); cursor: pointer; min-height: 44px; }
.dash-tabs button[aria-selected="true"] { background: var(--brand); color: #fff; }
.dash-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.2rem; }
.dash-next { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; }
.dash-next h2 { color: #fff; }
.dash-next .eyebrow, .dash-next .muted { color: #d6e6dc; }
.dash-next .btn-primary { background: #fff; color: var(--brand); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.kpis > div { background: var(--sand); border-radius: var(--radius-sm); padding: .8rem .9rem; display: flex; flex-direction: column; gap: .15rem; }
.kpis strong { font-size: 1.6rem; font-weight: 900; color: var(--brand); line-height: 1.2; }
.kpis span { font-size: .82rem; color: var(--ink-2); line-height: 1.6; }
.kpis-team { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; }
.dash-lessons, .dash-qs, .dash-members { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .7rem; }
.dash-lesson { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ticks-row { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin-top: .35rem; }
.tick { font-size: .82rem; color: var(--muted); }
.tick.on { color: var(--ok); font-weight: 700; }
.choice.share { margin: 0; }
.scope { margin: .6rem 0 1rem; }
.scope summary { cursor: pointer; font-weight: 700; color: var(--brand-2); }
.dash-q { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem; }
.dash-q.q-open { border-color: #dcb878; background: var(--warn-bg); }
.q-meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.q-text { margin: .5rem 0; white-space: pre-wrap; }
.q-reply { border-inline-start: 3px solid var(--brand-2); padding-inline-start: .8rem; margin: .5rem 0; }
.q-reply p { margin: .2rem 0 0; white-space: pre-wrap; }
.q-form textarea { width: 100%; }
.dash-member { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; }
.dash-member h3 { margin: 0; font-size: 1.05rem; }
.shared-ex { background: var(--sand); border-radius: var(--radius-sm); padding: .7rem .9rem; margin: .5rem 0; }
.shared-note { margin: .4rem 0 0; font-size: .9rem; border-inline-start: 3px solid var(--accent); padding-inline-start: .7rem; white-space: pre-wrap; }
.join-box { background: var(--brand-tint); border-radius: var(--radius-sm); padding: 1rem 1.1rem; margin-bottom: 1rem; }
.dash input[type="text"], .dash textarea, .dash select { font: inherit; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-height: 44px; }
.dash .btn-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.dash .btn-row input[type="text"] { flex: 1 1 14rem; }
.dash button:not(.quiet):not(.bell):not([role="tab"]) { font: inherit; font-weight: 700; padding: .6rem 1.1rem; border-radius: 10px; border: 1px solid var(--brand); background: var(--brand); color: #fff; cursor: pointer; min-height: 44px; }
.dash button.secondary { background: #fff; color: var(--brand); }
.dash button.quiet { font: inherit; background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: .4rem; min-height: 44px; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } .kpis-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about-pride { font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 800; color: var(--brand); background: var(--brand-tint); border-radius: var(--radius-sm); padding: .8rem 1rem; margin: 0 0 1.2rem; }
.dash-head-tools { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.dash .bell { font: inherit; font-weight: 700; background: #fff; color: var(--brand); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; min-height: 44px; cursor: pointer; }
.bell-n { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: .8rem; margin-inline-start: .3rem; }
.notif-list { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .4rem; }
.notif-list li { padding: .5rem .7rem; border-radius: 10px; }
.notif-list li.unread { background: var(--accent-tint); font-weight: 700; }
.sample-ed { margin-top: .6rem; border-top: 1px dashed var(--line); padding-top: .6rem; width: 100%; }
.sample-ed summary { cursor: pointer; font-weight: 700; color: var(--brand-2); }
.sample-ed textarea, .sample-ed select { width: 100%; margin: .5rem 0; }
.sample-preview { margin-top: .6rem; }
.q-reply.team { border-inline-start-color: var(--accent); background: var(--accent-tint); border-radius: 0 10px 10px 0; padding: .5rem .8rem; }
.dash fieldset.score { border: 0; padding: 0; margin: .6rem 0; }
.dash fieldset.score legend { font-weight: 700; margin-bottom: .3rem; }
.dash-lesson .sample-ed { flex-basis: 100%; }
.footer-pride { font-weight: 800; color: #fff; }
/* —— Library articles (kaaam-growth-system posts) —— */
.lib-filters { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin: 1.4rem 0 1rem; }
.lib-filters label { display: flex; align-items: center; gap: .4rem; font-weight: 700; }
.lib-filters select { font: inherit; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-height: 44px; max-width: 22rem; }
.lib-card[hidden] { display: none; }
.lib-mine { margin-bottom: 1rem; }
.s-articles { margin: 1rem 0; }
.s-articles h4 { margin: 0 0 .6rem; }
.lib-filters label { flex: 1 1 11rem; min-width: 0; }
.lib-filters select { flex: 1 1 auto; min-width: 0; width: 100%; max-width: 100%; }
@media (max-width: 600px) { .lib-filters label { flex-basis: 100%; } }
