/* ==========================================================================
   Deccount public site. Design: teklif-6 "Aylıq Panel" (tokens, components),
   selector + checklist from teklif-7, 2026 block + calendar from teklif-8,
   all restyled with teklif-6 tokens. Mobile-first: 480 / 768 / 1024 / 1280.
   No inline styles in templates (CSP): bar/meter sizes use .v-* classes.
   ========================================================================== */

/* ---------- Tokens (UX §10.1) ---------- */
:root {
  --bg: #F5F9FF; --surface: #FFFFFF; --line: #DCE4EF; --line-2: #BBDEFB;
  --ink: #0F1335; --ink-2: #56607A;
  --brand: #232884; --brand-hover: #1A1F6B; --brand-tint: #BBDEFB; --brand-soft: #E3F0FD;
  --accent: #1E88E5; --signal: #64B5F6; --signal-text: #1565C0;
  --pos: #15803D; --neg: #C62828;
  --on-dark: #FFFFFF; --on-dark-2: rgb(255 255 255 / .78); --on-dark-3: rgb(255 255 255 / .66); --on-dark-line: rgb(255 255 255 / .2);
  --r-sm: 6px; --r-md: 10px; --r-lg: 12px; --r-card: 18px; --r-xl: 22px; --r-pill: 99px;
  --shadow-1: 0 1px 2px rgb(15 19 53 / .04);
  --shadow-btn: 0 2px 6px rgb(15 19 53 / .14);
  --shadow-mock: 0 2px 10px rgb(15 19 53 / .05), 0 22px 36px rgb(15 19 53 / .10);
  --ease: 150ms ease;
  --ease-logo: 200ms ease-out;
  --logo-lift: 1.08;
  --shadow-logo: 0 6px 18px rgba(15, 19, 53, .14);
  --drawer-ease: 220ms ease;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --nav-h: 64px;
  --pad: 18px;
  --sec-y: 56px;
  --head-gap: 32px;
  --dock-h: 76px;
  --focus: #1E88E5;
  /* Secondary body text (cards, lists, answers): 16 on phone (UX §10.2), 15 from 768 up */
  --fs-text: 16px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; 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: 4px; }
main:focus { outline: none; }
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff;
  padding: 12px 16px; border-radius: var(--r-md); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.sec { padding-block: var(--sec-y); }
.sec--white { background: var(--surface); border-block: 1px solid var(--line); }
.sec--tight { padding-block: calc(var(--sec-y) * .6); }
.sec:not(.sec--white) + .sec:not(.sec--white) { border-top: 1px solid var(--line); }
.sec--white + .sec--white { border-top: 0; }

/* ---------- Typography (UX §10.2) ---------- */
.eyebrow { font: 600 12px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.h1 {
  font: 600 clamp(32px, 1.2rem + 3.2vw, 58px)/1.04 var(--font); letter-spacing: -.035em;
  text-wrap: balance; overflow-wrap: anywhere; max-width: 14em;
}
.h1--page { font-size: clamp(30px, 1.1rem + 2.4vw, 48px); max-width: 18em; margin-top: 10px; }
.h2 {
  font: 600 clamp(25px, 1rem + 1.6vw, 34px)/1.15 var(--font); letter-spacing: -.03em;
  margin-top: 12px; text-wrap: balance; overflow-wrap: anywhere;
}
.h3 { font: 600 clamp(17px, .95rem + .3vw, 20px)/1.3 var(--font); letter-spacing: -.02em; overflow-wrap: anywhere; }
.lead { margin-top: 14px; font-size: clamp(16px, .9rem + .3vw, 18px); line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.sec-head { max-width: 760px; }
.sec-title { margin-top: 0; max-width: 24em; }
.note { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.note a { color: var(--brand); }

/* ---------- Buttons and links (UX §10.3) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1.2 var(--font);
  padding: 13px 22px; min-height: 48px; border-radius: var(--r-lg); border: 1px solid transparent; text-decoration: none;
  cursor: pointer; text-align: center;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); font-weight: 500; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 9px 16px; min-height: 44px; font-size: 14px; border-radius: var(--r-md); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 15px;
  color: var(--brand); text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow--dark { color: var(--signal); }
.src-link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--signal-text);
  font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere;
}
.src-link svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Icon chip, number circle, tag, pill */
.chip { width: 34px; height: 34px; border-radius: var(--r-md); background: var(--brand); display: grid; place-items: center; flex: none; }
.chip svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chip--soft { background: var(--brand-soft); }
.chip--soft svg { stroke: var(--brand); }
.n {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff;
  font: 600 12px/1 var(--font); font-variant-numeric: tabular-nums; flex: none;
}
.n--lg { width: 34px; height: 34px; font-size: 15px; }
.tag {
  display: inline-block; font: 600 12px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 5px 8px; border-radius: var(--r-sm);
}
.tag--sample { vertical-align: middle; margin-left: 6px; letter-spacing: .06em; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line-2);
  border-radius: var(--r-pill); background: var(--surface); font: 500 14px/1.3 var(--font); color: var(--ink-2); max-width: 100%;
}

/* ---------- Header (UX §3) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgb(245 249 255 / .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 12px; }
.nav__logo { display: flex; align-items: center; flex: none; min-height: 44px; margin-right: auto; }
.nav__logo img { height: 28px; width: auto; }
.nav__links, .nav__tel, .nav .lang--full, .nav__cta { display: none; }
.nav__links ul { display: flex; gap: 20px; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500;
  color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav__tel { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; align-items: center; min-height: 44px; }
.nav__tel:hover { color: var(--ink); }
.lang { display: flex; align-items: center; }
.lang--short {
  justify-content: center; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--line-2);
  background: var(--surface); font: 600 14px/1 var(--font); text-decoration: none; color: var(--ink);
}
.lang--short:hover { border-color: var(--ink); }
.lang--full { gap: 2px; font: 600 14px/1 var(--font); }
.lang__item {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px;
  border-radius: var(--r-md); text-decoration: none; color: var(--ink-2);
}
.lang__item.is-current { color: var(--ink); }
a.lang__item:hover { color: var(--ink); background: var(--surface); }
.lang--full .lang__item + .lang__item { border-left: 1px solid var(--line-2); border-radius: 0 var(--r-md) var(--r-md) 0; }
.nav__burger {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--r-md);
  border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; padding: 0;
}
.nav__burger svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.nav__burger-close { display: none; }
.nav__burger[aria-expanded="true"] .nav__burger-open { display: none; }
.nav__burger[aria-expanded="true"] .nav__burger-close { display: block; }

.drawer {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49; background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgb(15 19 53 / .10); padding: 8px var(--pad) 22px;
  max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform var(--drawer-ease), opacity var(--drawer-ease), visibility 0s linear 220ms;
}
.drawer.is-open { transform: none; opacity: 1; visibility: visible; transition: transform var(--drawer-ease), opacity var(--drawer-ease), visibility 0s; }
.drawer__links a {
  display: flex; align-items: center; min-height: 48px; font-size: 17px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.drawer__links a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.drawer__cta { margin-top: 18px; width: 100%; }
.drawer__duo { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.drawer__hours { margin-top: 14px; font-size: 14px; color: var(--ink-2); text-align: center; }
.lang--drawer { margin-top: 12px; justify-content: center; gap: 8px; }
.lang--drawer .lang__item { border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 0 16px; font-weight: 500; }
.lang--drawer .lang__item.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.drawer-scrim { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 48; background: rgb(15 19 53 / .32); }
body.is-locked { overflow: hidden; }

/* ---------- Hero (UX §1.1) ---------- */
.hero { padding-top: 32px; padding-bottom: var(--sec-y); }
.hero__head { display: grid; gap: 16px; }
.hero__side .lead { margin-top: 0; }
.hero__btns { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__btns .btn { flex: 1 1 100%; }
.hero__panel { margin-top: 32px; }

/* ---------- Sample mock-ups ---------- */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-mock); min-width: 0; }
.mock__bar { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--bg); min-width: 0; }
.mock__dots { display: flex; gap: 6px; flex: none; }
.mock__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.mock__title { font: 600 13px/1.3 var(--font); color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__title span { color: var(--ink-2); font-weight: 500; display: none; }
.mock__tag {
  margin-left: auto; flex: none; font: 600 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line-2); background: var(--surface); border-radius: var(--r-pill); padding: 5px 9px;
}
.mock__body { padding: 14px; display: grid; gap: 10px; font-variant-numeric: tabular-nums; }
.mock__note { margin-top: 10px; }
.block { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; background: var(--surface); min-width: 0; }
.block__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.block__title { font: 600 14px/1.3 var(--font); letter-spacing: -.01em; }
.block__meta { font-size: 12px; color: var(--ink-2); white-space: nowrap; }

.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.metric { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; min-width: 0; }
.metric__label { font: 500 13px/1.3 var(--font); color: var(--ink-2); }
.metric__value {
  margin-top: 6px; font: 600 clamp(20px, 1rem + 1vw, 28px)/1.05 var(--font); letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.metric__delta { margin-top: 8px; font: 500 12px/1.35 var(--font); color: var(--ink-2); }
.up { color: var(--pos); }
.down { color: var(--neg); }

.hero-chart { display: none; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding-top: 20px; border-bottom: 1px solid var(--line-2); }
.bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; min-width: 0; }
.bars__val { font: 500 11px/1 var(--font); color: var(--ink-2); white-space: nowrap; }
.bars__bar { width: 100%; max-width: 46px; height: var(--v, 0); background: var(--brand-tint); border-radius: 6px 6px 2px 2px; }
.bars__col.is-now .bars__bar { background: var(--brand); }
.bars__col.is-now .bars__val { color: var(--ink); font-weight: 600; }
.bars__x { display: flex; gap: 8px; margin-top: 8px; }
.bars__x span { flex: 1; text-align: center; font-size: 11px; color: var(--ink-2); min-width: 0; }
.wk .bars { height: 130px; }
.mobile-more { text-align: center; }

.mini3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mini3 .metric { padding: 10px; }
.mini3 .metric:last-child { grid-column: 1 / -1; }
.mini3 .metric__value { font-size: 17px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.stack { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; margin-top: 8px; }
.stack i { display: block; height: 100%; width: var(--v, 0); background: var(--c, var(--brand)); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.legend b { font-weight: 600; color: var(--ink); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend span::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--c, var(--brand)); }
.rows li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 10px; align-items: center;
  padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px;
}
.rows li:first-child { border-top: 0; }
.rows .meter { grid-column: 1 / -1; grid-row: 2; height: 8px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.rows .meter i { display: block; height: 100%; width: var(--v, 0); background: var(--c, var(--brand)); border-radius: 4px; }
.rows .amt { text-align: right; font-weight: 600; white-space: nowrap; }
.rows .pct { text-align: right; color: var(--ink-2); min-width: 44px; white-space: nowrap; }
.rows li.total { border-top: 1px solid var(--ink); font-weight: 600; }
.rows .spacer, .bridge .spacer { display: none; }
.flag { display: block; font-size: 12px; color: var(--neg); font-weight: 500; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 9px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.tbl tr:first-of-type th, .tbl tr:first-of-type td { border-top: 0; }
.tbl td { text-align: right; white-space: nowrap; padding-left: 12px; }
.tbl .sub th, .tbl .sub td { font-weight: 600; }
.tbl .grand th, .tbl .grand td { font-weight: 600; border-top: 1px solid var(--ink); }
.tbl .muted { color: var(--ink-2); }
.bridge li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.bridge li:first-child { border-top: 0; }
.bridge .bar { display: none; height: 8px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.bridge .bar i { display: block; height: 100%; width: var(--v, 0); background: var(--c, var(--brand)); border-radius: 4px; }
.bridge .amt { text-align: right; font-weight: 600; white-space: nowrap; min-width: 74px; }
.bridge li.total { border-top: 1px solid var(--ink); font-weight: 600; }

/* Sizes and colours as classes (no inline style) */
.v-5 { --v: 5.3%; } .v-7 { --v: 6.5%; } .v-12 { --v: 11.6%; } .v-13 { --v: 13%; } .v-16 { --v: 15.9%; }
.v-21 { --v: 21.1%; } .v-28 { --v: 27.7%; } .v-29 { --v: 29%; } .v-33 { --v: 32.9%; } .v-36 { --v: 36%; }
.v-40 { --v: 39.7%; } .v-52 { --v: 52%; } .v-62 { --v: 61.8%; } .v-65 { --v: 65%; } .v-69 { --v: 69%; }
.v-72 { --v: 72.3%; } .v-74 { --v: 74%; } .v-76 { --v: 76%; } .v-91 { --v: 91%; } .v-92 { --v: 91.6%; }
.v-94 { --v: 94%; } .v-97 { --v: 97%; } .v-98 { --v: 98%; } .v-100 { --v: 100%; }
.c-brand { --c: var(--brand); } .c-accent { --c: var(--accent); } .c-line { --c: var(--line-2); }
.c-pos { --c: var(--pos); } .c-neg { --c: var(--neg); }

/* ---------- Clients (UX §2.2): one short label + a logo strip, no scroller ---------- */
.sec--strip { padding-block: calc(var(--sec-y) * .6); }
.strip { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.strip__label { font: 500 15px/1.4 var(--font); color: var(--ink-2); text-align: center; text-wrap: balance; }
.logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
/* Logos rest in grey; hover (mouse), press-and-hold (touch, .is-pressed from site.js) or keyboard
   focus brings the colour back and lifts the tile slightly. */
.logos li {
  position: relative; aspect-ratio: 1; border-radius: var(--r-lg); background: var(--surface); overflow: hidden;
  transition: transform var(--ease-logo), box-shadow var(--ease-logo);
  -webkit-touch-callout: none; -webkit-user-select: none; user-select: none;
}
.logos a { display: block; height: 100%; border-radius: var(--r-lg); }
.logos img {
  width: 100%; height: 100%; object-fit: contain; pointer-events: none;
  filter: grayscale(1); opacity: .88; transition: filter var(--ease-logo), opacity var(--ease-logo);
}
.logos li.is-pressed, .logos li:focus-within { z-index: 1; transform: scale(var(--logo-lift)); box-shadow: var(--shadow-logo); }
.logos li.is-pressed img, .logos li:focus-within img { filter: none; opacity: 1; }
@media (hover: hover) {
  .logos li:hover { z-index: 1; transform: scale(var(--logo-lift)); box-shadow: var(--shadow-logo); }
  .logos li:hover img { filter: none; opacity: 1; }
}

/* ---------- Selector "Sizi nə narahat edir?" (UX §2.3) ---------- */
.sel { margin-top: var(--head-gap); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.sel__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.sel__tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px 6px 6px; text-align: left;
  border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  font: 500 15px/1.3 var(--font); cursor: pointer; max-width: 100%;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.sel__tab .chip { width: 32px; height: 32px; border-radius: 50%; }
.sel__tab:hover { border-color: var(--ink); }
.sel__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sel__tab[aria-selected="true"] .chip { background: rgb(255 255 255 / .14); }
.sel__tab[aria-selected="true"] .chip svg { stroke: #fff; }
.sel__panel:focus-visible { outline-offset: 4px; border-radius: var(--r-card); }
.sel__card { display: grid; gap: 12px; }
.sel__question { font: 600 18px/1.3 var(--font); letter-spacing: -.02em; }
.js .sel__question--nojs { display: none; }
.sel__sample {
  justify-self: start; font-size: 13px; line-height: 1.45; color: var(--ink-2); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px 12px; font-variant-numeric: tabular-nums;
}
.sel__text { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.sel__foot { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.sel__svc { display: flex; gap: 12px; align-items: center; flex: 1 1 100%; }
.sel__k { font: 600 12px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.sel__name { font-weight: 600; font-size: 16px; }

/* ---------- Report pages (UX §2.4) ---------- */
.anatomy { margin-top: var(--head-gap); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px 6px 8px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 500 14px/1 var(--font); cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.tab .n { background: var(--brand-soft); color: var(--brand); }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab[aria-selected="true"] .n { background: #fff; color: var(--ink); }
.tabpanel { margin-top: 24px; }
.tabpanel:focus-visible { outline-offset: 4px; border-radius: var(--r-card); }
.anat__cap { font: 600 18px/1.35 var(--font); letter-spacing: -.02em; color: var(--ink); max-width: 36em; }
.anat__cap--solo { font-size: clamp(18px, 1rem + .5vw, 22px); }
.anat__mock { margin-top: 16px; min-width: 0; }
/* Card used by the selector answer (kept for when the selector is switched on) */
.explain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-1); padding: 20px; min-width: 0; }

/* ---------- Services (minimal): one grid of link cards ---------- */
.cards { margin-top: var(--head-gap); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.cards li { min-width: 0; scroll-margin-top: calc(var(--nav-h) + 20px); }
.card-link {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; height: 100%;
  padding: 18px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color var(--ease);
}
.card-link__text { grid-column: 2 / 4; }
.card-link:hover { border-color: var(--ink); }
.card-link__title { font: 600 19px/1.3 var(--font); letter-spacing: -.02em; overflow-wrap: anywhere; }
.card-link__text { font-size: var(--fs-text); line-height: 1.55; color: var(--ink-2); }
.card-link__arrow {
  grid-row: 1; grid-column: 3; width: 18px; height: 18px; flex: none; fill: none; stroke: var(--brand);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.blist li { position: relative; padding-left: 16px; font-size: var(--fs-text); line-height: 1.55; color: var(--ink-2); }
.blist li + li { margin-top: 6px; }
.blist li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 2px; background: var(--line-2); }
.get { font-size: var(--fs-text); line-height: 1.55; color: var(--ink-2); }

/* Tax teaser (UX §2.5b) */
.teaser {
  margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-1);
  padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: center;
}
.teaser .h3 { margin-top: 8px; }
.teaser__list li { padding: 8px 0; border-top: 1px solid var(--line); }
.teaser__list li:first-child { border-top: 0; padding-top: 0; }
.teaser__fact { display: block; font-weight: 600; font-size: 15px; line-height: 1.4; }
.teaser__btn { width: 100%; }

/* ---------- Month rhythm: the only dark band (UX §2.6) ---------- */
.band { background: var(--ink); color: var(--on-dark); padding-block: var(--sec-y); }
.band .eyebrow { color: var(--on-dark-3); }
.band .lead { color: var(--on-dark-2); }
.band :focus-visible { outline-color: var(--signal); }
.rhythm { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); position: relative; }
.stop { position: relative; padding: 0 0 28px 34px; border-left: 1px solid var(--on-dark-line); margin-left: 8px; }
.stop:last-child { padding-bottom: 0; border-left-color: transparent; }
.stop::before { content: ""; position: absolute; top: 0; left: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--signal); }
.stop.is-key::before { background: var(--signal); }
.stop__when { font: 600 13px/1.2 var(--font); letter-spacing: .02em; color: var(--signal); }
.stop h3 { margin-top: 10px; font: 600 19px/1.3 var(--font); letter-spacing: -.02em; }
.stop p { margin-top: 8px; font-size: var(--fs-text); line-height: 1.55; color: var(--on-dark-2); }
.stop .you { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--on-dark-3); }
.stop .you b { color: var(--on-dark); font-weight: 600; }
.track {
  margin-top: 36px; padding: 16px; border: 1px solid var(--on-dark-line); border-radius: var(--r-lg);
  display: flex; gap: 14px; align-items: flex-start; color: var(--on-dark-2); font-size: var(--fs-text); line-height: 1.55;
}
.track strong { color: var(--on-dark); font-weight: 600; }
.track > svg { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: none; stroke: var(--on-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.track .link-arrow { margin-left: 4px; min-height: 32px; }

/* ---------- Mini checklist (UX §2.7, §7) ---------- */
.check { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.check__side { display: contents; }
.check__side > .eyebrow, .check__side > .h2, .check__side > .lead { order: 0; }
.check__list { order: 1; position: relative; min-width: 0; }
.result, .check__nojs { order: 2; }
.check > .check__side > .eyebrow { margin-bottom: -12px; }
.check__side > .h2 { margin-top: 0; }
.check__side > .lead { margin-top: -12px; }
.result { border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; background: var(--bg); scroll-margin-top: calc(var(--nav-h) + 16px); }
.result:focus-visible { outline-offset: 4px; }
.result__score { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.result__score strong { font-size: 38px; line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.result__score span { font-size: 15px; color: var(--ink-2); font-weight: 500; }
.result.is-untouched .result__score strong { color: var(--ink-2); }
.meter { margin-top: 14px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.meter i { height: 8px; border-radius: 99px; background: var(--line-2); transition: background-color var(--ease); }
.meter i.on { background: var(--brand); }
.result__msg { margin-top: 14px; font-size: 16px; font-weight: 600; line-height: 1.45; }
.result__areas { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.result__areas:empty { display: none; }
.result__cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.result__cta .btn { flex: 1 1 100%; }
.result__note { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.items { border: 0; padding: 0; margin: 0; min-width: 0; }
.items legend { padding: 0; font: 600 13px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.item {
  position: relative; display: flex; gap: 14px; align-items: flex-start; min-height: 56px; padding: 14px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer;
  transition: border-color var(--ease);
}
.item + .item { margin-top: 8px; }
.item:hover { border-color: var(--ink); }
.item:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.item input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; left: 14px; top: 14px; cursor: pointer; }
.item__box {
  width: 24px; height: 24px; flex: none; border-radius: 7px; border: 1.5px solid var(--ink-2); background: #fff;
  display: grid; place-items: center; transition: background-color var(--ease), border-color var(--ease);
}
.item__box svg { width: 15px; height: 15px; fill: none; stroke: transparent; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.item input:checked + .item__box { background: var(--brand); border-color: var(--brand); }
.item input:checked + .item__box svg { stroke: #fff; }
.item__t { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; }
.item__a { display: block; margin-top: 3px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.check__reset {
  margin-top: 10px; background: none; border: 0; padding: 0 4px; min-height: 44px; font-size: 14px; font-weight: 600;
  color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.check__chip {
  position: sticky; bottom: calc(var(--dock-h) + 8px + env(safe-area-inset-bottom)); z-index: 5; display: flex;
  justify-content: center; align-items: center; min-height: 44px; margin: 12px auto 0; width: max-content; max-width: 100%;
  padding: 0 18px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-weight: 600; font-size: 15px;
  text-decoration: none; box-shadow: var(--shadow-btn); font-variant-numeric: tabular-nums;
}

/* ---------- Pricing (UX §2.8) ---------- */
.formula { margin-top: var(--head-gap); display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.formula--ops { gap: 0; }
.op { display: grid; place-items: center; height: 34px; font: 500 22px/1 var(--font); color: var(--ink-2); }
.factor { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-1); padding: 18px; min-width: 0; }
.factor h3 { margin-top: 14px; }
.factor p { margin-top: 8px; font-size: var(--fs-text); line-height: 1.55; color: var(--ink-2); }
.price-foot {
  margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--line-2);
}
.price-foot p { font-size: var(--fs-text); color: var(--ink-2); max-width: 44em; }
.price-foot .btn { flex: 1 1 100%; }

/* ---------- FAQ (UX §2.9) ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-1); }
.qa details + details { border-top: 1px solid var(--line); }
.qa summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 18px;
  cursor: pointer; font: 600 16px/1.4 var(--font); letter-spacing: -.01em; border-radius: var(--r-card);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background: linear-gradient(var(--ink), var(--ink)) center/12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 12px no-repeat;
}
.qa details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center/12px 2px no-repeat; }
.qa summary:hover { color: var(--brand); }
.qa .ans { padding: 0 18px 18px; font-size: var(--fs-text); line-height: 1.6; color: var(--ink-2); max-width: 40em; }

/* ---------- Contact form (UX §6) ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: var(--head-gap); align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-1); padding: 20px; min-width: 0; scroll-margin-top: calc(var(--nav-h) + 16px); }
.form:focus { outline: none; }
.form__legend { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field + .field, .field-row + .field, .field + .field-row, .field-row + .field-row, .field + .optional, .optional .field + .field { margin-top: 18px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.field-row .field + .field { margin-top: 0; }
label, .label { font: 600 14px/1.3 var(--font); }
.opt { font-weight: 400; color: var(--ink-2); }
.req { color: var(--neg); }
.hint { font-size: 13px; color: var(--ink-2); margin-top: -4px; }
.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--ink-2); border-radius: var(--r-lg);
  background: var(--surface); font-size: 16px; transition: border-color var(--ease), box-shadow var(--ease);
}
.input::placeholder { color: #6B7489; }
.input:hover { border-color: var(--ink); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.input[aria-invalid="true"] { border-color: var(--neg); border-width: 2px; }
textarea.input { min-height: 120px; resize: vertical; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 40px; background-repeat: no-repeat; background-position: right 16px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230F1335' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.err { font-size: 14px; color: var(--neg); font-weight: 500; }
.err:empty { display: none; }
.counter { font-size: 13px; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.optional { margin: 24px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.optional > legend { padding: 0; font-size: 14px; color: var(--ink-2); float: left; width: 100%; margin-bottom: 18px; }
.optional > legend + * { clear: both; }
.chips { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 8px; }
.chips__row { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  font-weight: 500; font-size: 15px; cursor: pointer; background: var(--surface);
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.chips label:hover { border-color: var(--ink); }
.chips input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 3px; }
.form__submit { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form__submit .btn { width: 100%; }
.form__submit .note { max-width: 32em; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-errors, .form-notice {
  margin-bottom: 20px; padding: 14px 16px; border-radius: var(--r-lg); border: 2px solid var(--neg); background: #FDF3F3; color: var(--ink);
}
.form-errors:focus, .form-notice:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-errors__title { font-weight: 600; }
.form-errors ul { margin-top: 8px; display: grid; gap: 4px; }
.form-errors a { color: var(--neg); font-weight: 500; text-underline-offset: 2px; }
.form-notice { display: flex; gap: 12px; align-items: flex-start; }
.form-notice > svg { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: none; stroke: var(--neg); stroke-width: 2; stroke-linecap: round; }
.form-notice__links { margin-top: 6px; }
.form-notice__links a { color: var(--brand); font-weight: 600; }
.success .chip { width: 44px; height: 44px; border-radius: 12px; background: var(--pos); }
.success .chip svg { width: 22px; height: 22px; }
.success h3 { margin-top: 16px; font-size: 22px; }
.success p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.success:focus { outline: none; }
.success:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; }
.success .btns { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.success .btns .btn { flex: 1 1 100%; }
.success__again a { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand); font-weight: 600; }
.after .h3 { font-size: 20px; }
.steps { margin-top: 18px; display: grid; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.steps li:first-child { border-top: 0; padding-top: 4px; }
.steps .n { width: 30px; height: 30px; font-size: 13px; background: var(--surface); color: var(--brand); border: 1px solid var(--line-2); }
.steps b { display: block; font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.steps div span { display: block; margin-top: 3px; font-size: var(--fs-text); line-height: 1.55; color: var(--ink-2); }
.channels { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 6px 18px; }
.channels li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; min-height: 52px; padding: 8px 0; border-top: 1px solid var(--line); }
.channels li:first-child { border-top: 0; }
.channels .k { font-size: 13px; color: var(--ink-2); min-width: 92px; }
.channels a, .channels .v { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.channels a { display: inline-flex; align-items: center; min-height: 44px; }
.channels a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Footer (UX §2.11) ---------- */
.foot { padding: 48px 0 32px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.foot__brand { grid-column: 1 / -1; }
.foot__brand img { height: 32px; width: auto; }
.foot__brand p { margin-top: 14px; font-size: 14px; color: var(--ink-2); max-width: 26em; }
.foot h2 { font: 600 13px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.foot li { font-size: 15px; color: var(--ink-2); overflow-wrap: anywhere; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot__contact li:not(:has(a)) { padding: 10px 0; line-height: 1.4; }
.foot__social { display: flex; gap: 8px; margin-top: 8px; }
.foot__social a { justify-content: center; width: 44px; border: 1px solid var(--line-2); border-radius: var(--r-md); }
.foot__social svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.foot__bottom {
  margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column;
  gap: 4px 24px; font-size: 13px; color: var(--ink-2); align-items: flex-start;
}
.foot__bottom a { font-size: 13px; }

/* ---------- Phone dock (UX §3.3) ---------- */
.dock {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  transition: transform var(--drawer-ease), visibility 0s;
}
.dock .btn { min-height: 50px; font-size: 15px; padding-inline: 12px; }
.dock.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform var(--drawer-ease), visibility 0s linear 220ms; }
body.has-dock { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }

/* ---------- Inner pages ---------- */
.crumbs { padding-top: 16px; font-size: 13px; }
.crumbs__trail { display: none; }
.crumbs__back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--brand); font-weight: 600; text-decoration: none; }
.crumbs__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.crumbs a { color: var(--brand); }
.page-hero { padding: 24px 0 var(--sec-y); }
.page-hero .lead { max-width: 40em; }
.quick { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.sec--page { padding-top: 0; }
.contact--page { margin-top: 0; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-1); padding: 20px; min-width: 0; }
.card--soft { background: var(--brand-soft); border-color: var(--line-2); }
.card__title { font: 600 13px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.card--soft .get { color: var(--ink); font-size: 17px; }
.prose { max-width: 68ch; font-size: 16px; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 14px; }
.prose h2, .prose h3 { font: 600 20px/1.3 var(--font); letter-spacing: -.02em; margin-top: 28px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--signal-text); text-decoration: underline; text-underline-offset: 2px; }
.qcards { margin-top: var(--head-gap); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.qcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; box-shadow: var(--shadow-1); }
.qcard p { margin-top: 8px; font-size: var(--fs-text); color: var(--ink-2); }
.cta-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-1); padding: 22px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px;
}
.cta-card .h2 { margin-top: 0; }
.steps--compact { margin-top: 0; }
.steps--compact li { padding: 12px 0; }
.others { margin-top: var(--head-gap); display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.other {
  display: flex; gap: 14px; align-items: center; height: 100%; padding: 18px; text-decoration: none; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color var(--ease);
}
.other:hover { border-color: var(--ink); }
.other__body { flex: 1; min-width: 0; }
.other__title { display: block; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.other__arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.callout {
  margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--brand-soft);
  border-radius: var(--r-lg); color: var(--ink); font-size: var(--fs-text); line-height: 1.55; max-width: 52em;
}
.callout svg { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; }

/* 2026 facts (teklif-8 #deyisiklikler) */
.facts { margin-top: var(--head-gap); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.fact {
  display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-card); min-width: 0;
}
.fact__n { font: 600 clamp(30px, 1.2rem + 2vw, 44px)/1.05 var(--font); letter-spacing: -.03em; color: var(--ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.fact--risk .fact__n { color: var(--brand); font-size: clamp(24px, 1rem + 1.4vw, 32px); }
.fact__text { font-size: var(--fs-text); line-height: 1.6; color: var(--ink-2); }
.fact__src { margin-top: auto; }
.facts__checked { margin-top: 18px; max-width: 60em; }

/* Monthly calendar (teklif-8, restyled) */
.cal {
  margin-top: var(--head-gap); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-1); padding: 8px 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px;
}
.cal__side { display: none; }
.cal__month { font: 600 18px/1.2 var(--font); letter-spacing: -.02em; margin-bottom: 12px; }
.cal__month::first-letter { text-transform: uppercase; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal__wd { font-size: 11px; color: var(--ink-2); text-align: center; padding: 4px 0 6px; }
.cal__d {
  aspect-ratio: 1; display: grid; place-items: center; font-size: 12px; color: var(--ink-2); border-radius: 6px; position: relative;
  font-variant-numeric: tabular-nums; border: 1px solid transparent; background: none; padding: 0;
}
.cal__d.has-item { border-color: var(--line); color: var(--ink); font-weight: 600; cursor: pointer; background: var(--surface); }
.cal__d.has-item::after { content: ""; position: absolute; bottom: 3px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brand); }
.cal__d.has-item:hover { border-color: var(--ink); }
.cal__d.is-today { box-shadow: inset 0 0 0 2px var(--brand); color: var(--ink); }
.cal__list { display: grid; }
.cal__item {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 16px 0 16px 0; border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 24px); transition: background-color var(--ease);
}
.cal__item:first-child { border-top: 0; }
.cal__item.is-next { border-left: 2px solid var(--brand); padding-left: 10px; margin-left: -12px; }
.cal__item.is-flash { background: var(--brand-soft); }
.cal__day {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); background: var(--brand-soft);
  color: var(--brand); font: 600 16px/1 var(--font); font-variant-numeric: tabular-nums;
}
.cal__day--end { width: 48px; font-size: 11px; line-height: 1.15; text-align: center; padding: 4px; }
.cal__body { min-width: 0; }
.cal__tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cal__body .h3 { margin-top: 8px; font-size: 17px; }
.cal__body p:last-child { margin-top: 4px; font-size: var(--fs-text); color: var(--ink-2); }
.pill-next { display: inline-block; padding: 4px 10px; border-radius: var(--r-pill); background: var(--brand); color: #fff; font: 600 12px/1.2 var(--font); }

.nf { padding-block: 56px 72px; }
.nf__code { font: 700 clamp(64px, 10vw, 120px)/1 var(--font); letter-spacing: -.05em; color: var(--brand-tint); }

/* ---------- No-JS fallbacks (UX §8) ---------- */
.no-js [role="tablist"] { display: none; }
.no-js [role="tabpanel"][hidden] { display: block !important; }
.no-js .tabpanel + .tabpanel, .no-js .sel__panel + .sel__panel { margin-top: 24px; }
.no-js .nav__burger, .no-js .drawer { display: none; }
.js .check__nojs { display: none; }

/* Logos: 3 columns only below 360 px (UX §2.2) */
@media (min-width: 360px) {
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   ≥ 480
   ========================================================================== */
@media (min-width: 480px) {
  .mini3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mini3 .metric:last-child { grid-column: auto; }
  .metric__delta { font-size: 13px; }
  .result__cta .btn, .success .btns .btn { flex: 0 1 auto; }
  .teaser__btn { width: auto; justify-self: start; }
  .price-foot .btn { flex: 0 0 auto; }
}

/* ==========================================================================
   ≥ 768 (tablet)
   ========================================================================== */
@media (min-width: 768px) {
  :root { --nav-h: 76px; --pad: 24px; --sec-y: 88px; --head-gap: 48px; --fs-text: 15px; }
  body { font-size: 17px; }
  body.has-dock { padding-bottom: 0; }
  .dock { display: none; }
  .nav__logo img { height: 32px; }
  .nav__cta { display: inline-flex; }
  .hero { padding-top: 56px; }
  .hero__btns .btn { flex: 0 0 auto; }
  .hero__panel { margin-top: 44px; }
  .mock__bar { padding: 11px 16px; }
  .mock__title span { display: inline; }
  .mock__body { padding: 20px; gap: 14px; }
  .block { padding: 16px 18px; }
  .metrics { gap: 14px; }
  .metric { padding: 16px 18px; }
  .hero-chart { display: block; }
  .mobile-more { display: none; }
  .bars { gap: 14px; height: 168px; }
  .bars__x { gap: 14px; }
  .bars__x span { font-size: 12px; }
  .wk .bars { height: 150px; }
  .two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mini3 { gap: 12px; }
  .mini3 .metric { padding: 12px 14px; }
  .mini3 .metric__value { font-size: 22px; }
  .rows li { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr) auto auto; gap: 12px; }
  .rows .meter { grid-column: auto; grid-row: auto; }
  .rows .spacer, .bridge .spacer { display: block; }
  .bridge li { grid-template-columns: minmax(0, 1fr) 90px auto; }
  .bridge .bar { display: flex; }
  .logos { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
  .explain { padding: 26px; }
  .anat__cap { font-size: 20px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .card-link { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px; }
  .card-link__arrow { margin-top: auto; }
  .strip__label { font-size: 16px; }
  .teaser { padding: 24px; }
  .rhythm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; margin-top: 44px; }
  .stop, .stop:last-child { padding: 38px 0 0; border-left: 0; margin-left: 0; }
  .stop::before { top: 2px; left: 0; }
  .track { padding: 18px 22px; }
  .check__chip { display: none; }
  .formula--grid, .formula--ops { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .formula--ops .op { display: none; }
  .factor { padding: 22px; }
  .qa summary { padding: 20px 24px; font-size: 17px; }
  .qa .ans { padding: 0 24px 22px; }
  .form { padding: 32px; border-radius: var(--r-xl); }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .form__submit .btn { width: auto; }
  .foot { padding: 56px 0 40px; }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
  .crumbs__trail { display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-2); }
  .crumbs__trail li { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
  .crumbs__trail a { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs__trail li + li::before { content: "/"; color: var(--line-2); }
  .crumbs__back { display: none; }
  .page-hero { padding-top: 32px; }
  .quick { display: none; }
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .card { padding: 26px; }
  .cta-card { padding: 32px; }
  .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal { grid-template-columns: 216px minmax(0, 1fr); gap: 28px; padding: 24px; }
  .cal__side { display: block; }
}

/* ==========================================================================
   ≥ 1024 (desktop: full nav, 12-col hero split)
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --pad: 32px; --sec-y: 104px; }
  .nav__in { gap: 18px; }
  .nav__logo { margin-right: 4px; }
  .nav__links { display: block; margin-left: auto; }
  .nav__links a { font-size: 14px; }
  .nav .lang--full { display: flex; }
  .lang--short, .nav__burger, .drawer, .drawer-scrim { display: none; }
  .nav__logo img { height: 34px; }
  .hero { padding-top: 72px; padding-bottom: 84px; }
  .hero__head { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
  .hero__head .h1 { grid-column: 1 / span 7; }
  .hero__side { grid-column: 8 / span 5; }
  .hero__side .lead { max-width: 30em; }
  .hero__panel { margin-top: 48px; }
  .metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; }
  .logos li { flex: 0 0 88px; }
  .sel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
  .sel--single { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
  .sel__tabs { flex-direction: column; flex-wrap: nowrap; }
  .sel__tab { width: 100%; border-radius: var(--r-lg); padding: 10px 14px 10px 10px; min-height: 56px; font-size: 16px; }
  .sel__tab .chip { border-radius: var(--r-md); }
  .sel__card { padding: 30px; }
  .sel__svc { flex: 1 1 auto; }
  .tab { font-size: 15px; padding: 8px 16px 8px 10px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .teaser { grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; gap: 32px; padding: 24px 28px; }
  .rhythm--1 { grid-template-columns: minmax(0, 1fr); }
  .rhythm--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rhythm--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rhythm--4, .rhythm--many { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rhythm--2::before, .rhythm--3::before, .rhythm--4::before {
    content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: var(--on-dark-line);
  }
  .check { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
  .check__side { display: block; position: sticky; top: calc(var(--nav-h) + 24px); }
  .check__side > .eyebrow, .check__side > .h2, .check__side > .lead { margin: 0; }
  .check__side > .h2 { margin-top: 12px; }
  .check__side > .lead { margin-top: 14px; }
  .result, .check__nojs { margin-top: 28px; }
  .check__list { order: 0; }
  .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 56px; }
  .contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; }
  .foot__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
  .foot__brand { grid-column: auto; }
  .qcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; padding: 40px; }
  .cta-card--single { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .others { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cal { grid-template-columns: 240px minmax(0, 1fr); gap: 36px; padding: 28px; }
  .cal__item { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
}

/* ==========================================================================
   ≥ 1280 (wide: phone in header, 3-col hero panel, formula row)
   ========================================================================== */
@media (min-width: 1280px) {
  .nav__in { gap: 24px; }
  .nav__links ul { gap: 24px; }
  .nav__links a { font-size: 15px; }
  .nav__tel { display: inline-flex; }
  .formula--ops { display: flex; gap: 0; align-items: stretch; }
  .formula--ops .factor { flex: 1 1 0; }
  .formula--ops .op { display: grid; flex: 0 0 36px; height: auto; font-size: 26px; }
  .formula--grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

/* ---------- Reduced motion (UX §10.1) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
