/* Navya: one dark "midnight" theme (navy, mint-emerald, saffron gold). Mobile first.
   Sections: tokens, base, layout, components, home, progress, kit, other pages, print. */

/* ---------- Tokens ---------- */
:root {
  /* Midnight theme: deep navy, mint-emerald, saffron gold. */
  --bg: #0b1220;
  --surface: #121b2d;
  --surface-2: #18243a;
  --surface-3: #1d2b45;
  --text: #eaf0f7;
  --muted: #9fb0c4;
  --brand: #2dd4a7;
  --brand-2: #5ee6c2;
  --brand-ink: #04261d;
  --brand-shadow: #1a8f6f;
  --accent: #f5b942;
  --accent-soft: rgba(245, 185, 66, .14);
  --teal: #7dd3fc;
  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, .14);
  --bad: #f87171;
  --bad-soft: rgba(248, 113, 113, .14);
  --line: #273650;
  --focus: #93c5fd;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 12px 32px rgba(0, 0, 0, .35);
  --stripe: linear-gradient(90deg, var(--brand), var(--accent));
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", sans-serif;
  color-scheme: dark;
  font-size: 17px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 88% -8%, rgba(45, 212, 167, .14), transparent 70%),
    radial-gradient(760px 480px at -12% 34%, rgba(245, 185, 66, .09), transparent 70%),
    radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.2px);
  background-size: auto, auto, 24px 24px;
  background-attachment: fixed;
}
h1, h2, h3, h4, h5 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h3 { font-size: 1.2rem; color: var(--brand); }
h4 { font-size: .82rem; margin-top: 1.2em; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
p { margin: 0 0 .8em; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; padding: 8px 14px; border-radius: 8px; background: var(--brand); color: var(--brand-ink); }
.skip:focus { left: 8px; }
.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; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 900px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 720px; }
.screen { padding-top: 24px; padding-bottom: 32px; }

.topbar { position: sticky; top: 0; z-index: 6; background: rgba(11, 18, 32, .86); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar::before { content: ""; display: block; height: 3px; background: var(--stripe); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.topbar nav { display: flex; align-items: center; gap: 14px; }

.footer { margin-top: 16px; padding: 22px 0 32px; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .92rem; }
.footer a { font-weight: 600; }

/* ---------- Components ---------- */
.logo { display: inline-flex; align-items: baseline; color: var(--brand); font-size: 1.8rem; font-weight: 900; letter-spacing: -.03em; line-height: 1; text-decoration: none; }
.logo span { color: var(--accent); }
.nav-link { padding: 8px 2px; font-weight: 600; text-decoration: none; }
.nav-link:hover { text-decoration: underline; }

.lang-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.lang-switch button { min-width: 44px; min-height: 36px; padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }

.card { margin-bottom: 20px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 640px) { .card { padding: 18px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 18px; border: 2px solid transparent; border-radius: var(--radius-sm); background: transparent; color: inherit; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 4px 0 var(--brand-shadow); }
.btn-primary:hover { background: var(--brand-2); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--brand-shadow); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--text); font-weight: 600; }
.btn-ghost:hover { border-color: var(--brand); }
.btn-lg { padding: 12px 24px; font-size: 1.08rem; }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: .9rem; }
.btn-block { width: 100%; }

.chip { min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--text); font: inherit; font-size: .9rem; cursor: pointer; }
.chip:hover { border-color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 16px; }

label, .label { display: block; margin-bottom: 6px; font-size: .92rem; font-weight: 600; }
.label-lg { font-size: 1.15rem; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #0e1626; color: var(--text); font: inherit; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(45, 212, 167, .22); }
.hint { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }
.warn { color: var(--bad); font-weight: 600; }
.fineprint { margin-top: 10px; color: var(--muted); font-size: .85rem; }
.error { margin: 10px 0 0; color: var(--bad); font-weight: 600; }
.error:empty { display: none; }
.success { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--ok-soft); color: var(--ok); font-weight: 700; }
.success:focus { outline: none; }

.check { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; font-weight: 400; cursor: pointer; }
.check input { flex: 0 0 auto; width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--brand); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-grid { display: grid; gap: 14px; margin: 14px 0; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .full { grid-column: 1 / -1; } }
.row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.row > input { flex: 1 1 220px; }

/* ---------- Home ---------- */
.screen-home { padding-top: 32px; }
.home-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .home-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; } }
.home-left h1 { max-width: 16ch; color: var(--text); }
.home-left h1::after { content: ""; display: block; width: 84px; height: 5px; margin-top: 14px; border-radius: 3px; background: var(--stripe); }
.lead { max-width: 52ch; margin: 0 0 18px; color: var(--muted); font-size: 1.12rem; }
.idea-card { position: relative; overflow: hidden; margin: 0; padding-top: 30px; }
.idea-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--stripe); }

.mics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mic { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 2px solid transparent; border-radius: 999px; background: var(--accent-soft); color: var(--text); font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; }
.mic:hover { border-color: var(--accent); }
.mic svg { width: 20px; height: 20px; fill: currentColor; }
.mic[aria-pressed="true"] { background: var(--bad); color: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(248, 113, 113, .5); } 50% { box-shadow: 0 0 0 10px rgba(248, 113, 113, 0); } }
.mic-status { margin: 8px 0 0; color: var(--brand); font-size: .92rem; font-weight: 600; }
.mic-status:empty { display: none; }

.examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 14px 0 16px; }
.examples-label { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; font-weight: 600; }
@media (min-width: 640px) {
  .examples { grid-template-columns: auto repeat(4, 1fr); }
  .examples-label { grid-column: auto; align-self: center; }
}
.example { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 78px; padding: 10px 8px; border: 2px solid var(--line); border-radius: 14px; background: var(--surface-3); color: var(--text); font: inherit; font-size: .85rem; font-weight: 700; line-height: 1.25; text-align: center; cursor: pointer; transition: transform .15s, border-color .15s; }
.example:hover { border-color: var(--accent); transform: translateY(-2px); }
.example-icon { font-size: 1.7rem; line-height: 1; }

.submit-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.submit-row .field { flex: 1 1 200px; }
.submit-row .btn { flex: 2 1 240px; }

.home-right { display: grid; gap: 18px; justify-items: center; }
.hero-art { width: 100%; max-width: 520px; height: auto; }
@media (max-width: 999px) { .hero-art { max-width: 340px; } }
.how { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 520px; margin: 0; padding: 0; }
.how li { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 14px 8px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.how-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); font-size: 1.5rem; }
.how p { margin: 0; font-size: .88rem; font-weight: 700; line-height: 1.3; }

/* ---------- Progress ---------- */
.progress-card { display: grid; gap: 20px; align-items: center; max-width: 840px; margin: 24px auto; }
@media (min-width: 720px) { .progress-card { grid-template-columns: 260px 1fr; } }
.progress-art { width: 100%; max-width: 260px; height: auto; justify-self: center; }
.progress-card h2 { color: var(--brand); font-size: 1.3rem; }
.steps { list-style: none; display: grid; gap: 12px; margin: 12px 0 0; padding: 0; }
.steps li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); }
.steps .dot { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; border: 3px solid var(--line); border-radius: 50%; }
.steps li.active { color: var(--text); font-weight: 700; }
.steps li.active .dot { border-color: var(--accent); border-top-color: transparent; animation: spin .9s linear infinite; }
.steps li.done { color: var(--text); }
.steps li.done .dot { background: var(--ok); border-color: var(--ok); }
.step-detail { display: block; color: var(--muted); font-size: .88rem; font-weight: 400; word-break: break-word; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Kit: layout with a sidebar ---------- */
.kit-layout { display: grid; gap: 0 28px; }
.kit-main { min-width: 0; }
.kit-nav a { color: var(--text); font-size: .95rem; font-weight: 700; text-decoration: none; }
/* Phones and tablets: the sidebar becomes a sticky section menu plus a row of actions. */
@media (max-width: 999px) {
  .kit-side, .kit-side-inner { display: contents; }
  .side-title { display: none; }
  .kit-nav { position: sticky; top: 68px; z-index: 4; display: flex; gap: 8px; overflow-x: auto; margin: -24px -16px 12px; padding: 10px 16px; background: rgba(11, 18, 32, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .kit-nav::-webkit-scrollbar { display: none; }
  .kit-nav a { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
  .kit-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
}
@media (min-width: 1000px) {
  .kit-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .kit-side-inner { position: sticky; top: 92px; display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
  .side-title { margin: 0 0 4px; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .side-title-actions { margin-top: 14px; }
  .kit-nav { display: grid; gap: 4px; }
  .kit-nav a { padding: 9px 12px; border-radius: 10px; }
  .kit-nav a:hover { background: var(--surface-2); }
  .kit-actions { display: grid; gap: 8px; }
  .kit-actions .btn { justify-content: flex-start; }
}
.kit-section { scroll-margin-top: 140px; }
@media (min-width: 1000px) { .kit-section { scroll-margin-top: 90px; } }
.sec-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: 4px; border-radius: 12px; background: var(--accent-soft); font-size: 1.15rem; vertical-align: middle; }
.section-title { margin: 6px 0 14px; font-size: 1.25rem; }

.recap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding: 10px 14px; border: 1px dashed var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.recap p { flex: 1 1 260px; margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .95rem; }

/* Kit header: light card under an awning */
.kit-hero { position: relative; overflow: hidden; padding-top: 34px; background: linear-gradient(160deg, var(--surface) 35%, #13314a); }
.kit-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 12px; background: var(--stripe); }
.kit-hero-body { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.biz-badge { flex: 0 0 auto; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: var(--accent-soft); box-shadow: inset 0 0 0 2px rgba(245, 185, 66, .45), 0 8px 24px rgba(245, 185, 66, .18); font-size: 2.4rem; }
.eyebrow { margin: 0 0 4px; color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.kit-hero h2 { margin: 0; color: var(--brand); font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
.tagline { margin: 4px 0 0; color: var(--muted); font-size: 1.1rem; }
.hero-pitch { padding: 12px 16px; border-left: 5px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--surface-3); font-size: 1.1rem; font-weight: 500; }
.hero-facts { display: grid; gap: 6px; }
@media (min-width: 900px) { .hero-facts { grid-template-columns: 1fr 1fr; gap: 16px; } }
.hero-facts p { margin: 0; }
.hero-cheer { color: var(--teal); font-weight: 600; }

/* This week */
.big-steps { list-style: none; counter-reset: step; display: grid; gap: 12px; margin: 0; padding: 0; }
@media (min-width: 820px) { .big-steps { grid-template-columns: repeat(3, 1fr); } }
.big-steps li { counter-increment: step; padding: 18px 16px 16px; border-radius: 16px; background: var(--surface-3); }
.big-steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 50%; background: var(--accent); color: #1a1205; font-size: 1.1rem; font-weight: 900; box-shadow: 0 4px 0 #b7841f; }
.big-steps strong { display: block; margin-bottom: 4px; }

/* Money */
.money-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .money-grid { grid-template-columns: 1fr 1.25fr; } }
.money-grid h4:first-child { margin-top: 0; }
.bars { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 4px; border-radius: 8px; }
.bar-row:hover, .bar-row:focus-visible { background: var(--surface-2); }
.bar-label { grid-column: 1 / -1; font-size: .92rem; }
.bar-track { height: 12px; align-self: center; }
.bar-fill { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--brand); }
.bar-value { font-size: .92rem; font-weight: 700; white-space: nowrap; }
.total-line { display: flex; justify-content: space-between; margin: 10px 0 0; padding-top: 10px; border-top: 2px solid var(--line); font-size: 1.05rem; }

.calc { padding: 16px; border-radius: 16px; background: var(--surface-2); }
.calc h4:first-child { margin-top: 0; }
.slider { margin-bottom: 12px; }
.slider label { margin-bottom: 2px; }
.per-unit { color: var(--muted); font-weight: 400; }
.slider-row { display: flex; align-items: center; gap: 12px; }
.slider-row input[type="range"] { flex: 1; min-height: 32px; padding: 0; border: 0; background: transparent; box-shadow: none; accent-color: var(--brand); }
.slider-row output { min-width: 72px; text-align: right; font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.stat { padding: 10px; border-radius: 12px; background: var(--surface); text-align: center; }
.stat-label { display: block; color: var(--muted); font-size: .78rem; }
.stat strong { display: block; color: var(--brand); font-size: 1.15rem; }
.chart { margin: 0; }
.chart-title { margin-bottom: 6px; color: var(--muted); font-size: .85rem; }
.chart-key { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: .85rem; font-weight: 700; }
.key-line { width: 24px; border-top: 2px dashed var(--text); }
.profit-chart { display: block; width: 100%; height: auto; overflow: visible; }
.profit-chart .axis { stroke: var(--line); stroke-width: 1; }
.profit-chart .hit { fill: transparent; }
.profit-chart .bar-mark { fill: var(--brand); }
.profit-chart .bar:hover .bar-mark, .profit-chart .bar:focus .bar-mark { fill: var(--accent); }
.profit-chart .bar:focus { outline: none; }
.profit-chart .tick { fill: var(--muted); font-size: 12px; font-weight: 600; }
.profit-chart .budget-line { stroke: var(--text); stroke-width: 2; stroke-dasharray: 6 5; }
.profit-chart .flag { fill: var(--ok); font-size: 13px; font-weight: 800; paint-order: stroke; stroke: var(--surface-2); stroke-width: 4px; }
.chart-readout { min-height: 1.4em; margin: 6px 0 0; font-weight: 700; }
.calc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.calc-foot .fineprint { margin: 0; }

/* Government help: one card per scheme, in the scheme's colour */
.schemes { display: grid; gap: 18px; margin-bottom: 8px; }
@media (min-width: 1100px) { .schemes { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.scheme { --scheme: #334155; --scheme-glow: var(--brand); position: relative; overflow: hidden; margin: 0; padding-top: 28px; }
.scheme::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--scheme-glow); }
.scheme-top { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.scheme-logo { flex: 0 0 auto; width: 72px; height: 72px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45)); }
.scheme-name { margin: 0 0 2px; color: var(--text); font-size: 1.2rem; letter-spacing: 0; text-transform: none; }
.scheme-headline { margin: 0; color: var(--muted); font-weight: 600; }
.scheme-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 6px 0 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface-3); }
.scheme-big strong { color: var(--scheme-glow); font-size: 2rem; font-weight: 900; line-height: 1.1; }
.scheme-big span { color: var(--muted); font-weight: 600; }
.why { padding-left: 12px; border-left: 4px solid var(--scheme-glow); font-size: .95rem; }
.scheme-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.scheme-actions .btn-primary { background: var(--scheme); color: #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, .45); }
.scheme-details { margin-top: 10px; border-top: 1px solid var(--line); }
.scheme-details summary { padding: 12px 0; color: var(--brand); font-weight: 700; cursor: pointer; }
.scheme-body { display: grid; gap: 14px; }
.fact h5 { margin: 0 0 4px; color: var(--muted); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.fact p { margin: 0; }
.docs { list-style: none; display: grid; gap: 6px; margin: 4px 0 0; padding: 0; }
.docs li { position: relative; padding-left: 26px; }
.docs li::before { content: "📄"; position: absolute; left: 0; }
.apply-steps { list-style: none; counter-reset: apply; margin: 6px 0 0; padding: 0; }
.apply-steps li { counter-increment: apply; position: relative; padding: 0 0 14px 44px; }
.apply-steps li::before { content: counter(apply); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--scheme); color: #fff; font-size: .9rem; font-weight: 800; }
.apply-steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--line); }

/* Month plan */
.tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
@media (min-width: 720px) { .tabs { grid-template-columns: repeat(4, 1fr); } }
[role="tab"] { display: grid; gap: 2px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
[role="tab"][aria-selected="true"] { border-color: var(--brand); background: var(--surface-3); }
.tab-week { color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.tab-focus { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .92rem; font-weight: 700; }
.tab-panel { padding: 16px; border-radius: 14px; background: var(--surface-3); }
.week-focus { font-weight: 800; }
.tasks { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.tasks li::marker { color: var(--accent); }

/* Website */
.domains { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
@media (min-width: 900px) { .domains { grid-template-columns: repeat(3, 1fr); } }
.domain { display: grid; gap: 8px; padding: 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--surface-3); }
.domain .name { font-size: 1.05rem; font-weight: 800; word-break: break-all; }
.domain .price { color: var(--muted); font-size: .85rem; }
.domain a { font-size: .9rem; font-weight: 700; }
.badge { justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.badge.available { background: var(--ok-soft); color: var(--ok); }
.badge.taken { background: var(--bad-soft); color: var(--bad); }
.badge.unknown { background: var(--accent-soft); color: var(--text); }

/* Posts */
.posts { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.post { flex: 0 0 82%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
@media (min-width: 720px) {
  .posts { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; }
  .post { flex: none; }
}
@media (min-width: 1200px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post .platform { color: var(--brand); font-size: .8rem; font-weight: 800; }
.post p { flex: 1; margin: 0; white-space: pre-wrap; }
.post .btn { align-self: flex-start; }

.disclaimer { margin: 0 0 18px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--surface); color: var(--muted); font-size: .88rem; }
.mentor { border: 2px solid var(--brand); }
.done-box { display: grid; justify-items: start; gap: 12px; }

/* ---------- Other pages ---------- */
.page { padding-top: 28px; padding-bottom: 36px; }
.page .lead { margin: 0; }
.form-card { margin-top: 20px; }
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.legal h2 { margin-top: 1.6em; color: var(--brand); font-size: 1.2rem; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: .4em; }
.center { padding: 64px 16px; text-align: center; }

/* ---------- Print: the kit as a clean PDF ---------- */
@media print {
  :root { --bg: #fff; --surface: #fff; --surface-2: #f4f4f4; --surface-3: #f7f7f7; --text: #111; --muted: #444; --line: #ccc; --brand: #0f766e; color-scheme: light; }
  body { background: #fff; }
  .scheme { --scheme-glow: var(--scheme); }
  .no-print, .topbar, .skip, .scheme-actions, .calc-foot .btn, .footer { display: none !important; }
  .kit-layout { display: block; }
  .card, .scheme, .tab-panel { box-shadow: none; break-inside: avoid; }
  .posts { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .post { flex: none; }
  a[href]::after { content: " (" attr(href) ")"; color: #444; font-size: .8em; }
}
