/*
 * landing.css — the public home page (logged-out front door) and nothing else.
 *
 * Every colour, radius, spacing step and font stack comes from brand.css.
 * This file adds layout and the handful of components that only this page has.
 * Mobile first: the base rules are the 360px phone, and the media queries only
 * ever add. Nothing here is global — it is all scoped to classes this page owns.
 */

/* ------------------------------------------------------------------ base */

/*
 * `clip`, not `hidden`: overflow-x:hidden turns <body> into a scroll container
 * and that is what quietly breaks a position:sticky header. Nothing on the page
 * should overflow anyway — every wide table lives in its own .tblx scroller —
 * so this is only a backstop.
 */
body { overflow-x: clip; }

/* A visible focus ring everywhere, including on rows and table scrollers. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.2; margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--s4);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
}
.skip:focus {
  left: var(--s3);
  top: var(--s3);
  padding: 10px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--r-ctl);
  font-weight: 700;
}

.accent { color: var(--accent); }

/* --accent-2 at 14%, used by the locked card's glow. */
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  :root { --accent-2-glow: color-mix(in srgb, var(--accent-2) 14%, transparent); }
}

/* ---------------------------------------------------------------- header */

.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  /* --bg at 88%. The rgba() literal is the fallback for browsers without
     color-mix(); the token-derived value wins wherever it is supported. */
  background: rgba(11, 14, 20, 0.88);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .hdr { background: var(--bg); }
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 56px;
}

.logo {
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }

.hdr__nav { display: none; }
@media (min-width: 960px) {
  .hdr__nav {
    display: flex;
    gap: var(--s5);
    margin-inline: auto;
  }
  .hdr__nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
  .hdr__nav a:hover { color: var(--text); text-decoration: none; }
}

.hdr__cta { margin-left: auto; padding: 8px 12px; font-size: 14px; }
@media (min-width: 960px) { .hdr__cta { margin-left: 0; } }

.cta-long { display: none; }
@media (min-width: 420px) {
  .cta-long { display: inline; }
  .cta-short { display: none; }
}

/* ------------------------------------------------------------------ hero */

.hero { padding: var(--s6) 0 var(--s5); }

.eyebrow {
  margin: 0 0 var(--s3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 { font-size: 30px; }
.hero__sub {
  margin: var(--s4) 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 16px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s5);
}
.hero__cta .btn { padding: 12px 18px; }
.hero__note {
  margin: var(--s4) 0 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 60ch;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  list-style: none;
  margin: var(--s5) 0 0;
  padding: 0;
}
.facts li {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.facts b { color: var(--text); }

@media (min-width: 760px) {
  .hero { padding: var(--s8) 0 var(--s6); }
  .hero h1 { font-size: 46px; }
  .hero__sub { font-size: 18px; }
}

/* --------------------------------------------------------------- section */

.sec {
  padding: var(--s6) 0;
  border-top: 1px solid var(--border-soft);
  scroll-margin-top: 64px;
}

.sec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: var(--s4);
}
.sec__head h2 { font-size: 21px; }
.sec__sub {
  margin: var(--s1) 0 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 62ch;
}
.sec__link { font-size: 13.5px; font-weight: 600; white-space: nowrap; }

@media (min-width: 760px) {
  .sec { padding: var(--s7) 0; }
  .sec__head h2 { font-size: 27px; }
}

/* ------------------------------------------------------------- notices */

.note {
  display: flex;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  color: var(--muted);
  font-size: 13.5px;
}
.note--warn { border-color: rgba(245, 165, 36, 0.35); background: var(--warn-bg); color: var(--warn); }
.note--err { border-color: rgba(255, 99, 112, 0.35); background: var(--down-bg); color: var(--down); }
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .note--warn { border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
  .note--err { border-color: color-mix(in srgb, var(--down) 35%, transparent); }
}
.note b { color: inherit; }

/* --------------------------------------------------------- market cards */

.mkt { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 720px) { .mkt { grid-template-columns: repeat(3, 1fr); gap: var(--s4); } }

.pad { padding: var(--s4); }
@media (min-width: 720px) { .pad { padding: var(--s5); } }

.idx__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s2);
}
.idx__name { font-weight: 700; font-size: 15px; }
.idx__stamp {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.idx__stamp.is-live { color: var(--accent); }
.idx__val {
  margin-top: var(--s2);
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.idx__chg {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s1);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.idx__foot {
  margin: var(--s3) 0 0;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.idx__foot + .idx__foot { margin-top: var(--s1); }

/* breadth */
.bd__big {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
  margin-top: var(--s2);
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.bd__big small { font-size: 13px; font-weight: 600; color: var(--muted); }
.bar {
  display: flex;
  height: 8px;
  margin: var(--s3) 0;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--surface-3);
}
.bar span { display: block; height: 100%; }
.bar__up { background: var(--up); }
.bar__down { background: var(--down); }
.bd__row {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.bd__row + .bd__row { margin-top: var(--s1); }
.bd__row b { color: var(--text); font-weight: 600; }

/* ----------------------------------------------------------------- news */

.news { margin-top: var(--s4); }
.news__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.news__list li {
  padding: var(--s3);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-ctl);
  background: var(--surface);
}
.news__list a { color: var(--text); font-size: 13.5px; font-weight: 600; display: block; }
.news__meta { margin-top: 2px; color: var(--muted); font-size: 11.5px; }
@media (min-width: 900px) { .news__list { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------- tables */

.tblx {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}
.tblx:focus-visible { outline-offset: -2px; }

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 620px;
}
.tbl--slim { min-width: 320px; }

.tbl th, .tbl td {
  padding: 9px 12px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-soft);
}
.tbl thead th {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.tbl tbody tr:last-child td { border-bottom: 0; }
/* No hover tint on rows: they are not interactive here, and a lighter row
   background only costs the up/down colours contrast. */
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl th.num { text-align: right; }

.sym { font-weight: 700; letter-spacing: 0.01em; }
/* The company name under the ticker. --muted and not --faint: it is the part
   a first-time visitor actually reads. */
.coname {
  font-size: 11.5px; color: var(--muted); font-weight: 400;
  margin-top: 1px; max-width: 26ch; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.sector { color: var(--muted); font-size: 12px; }

.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: var(--r-pill);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: 1px;
}
.tag--kmi { background: var(--accent-bg); color: var(--accent); }
.tag--ob { background: var(--down-bg); color: var(--down); }
.tag--os { background: var(--up-bg); color: var(--up); }

/* sortable header button */
.sortbtn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.sortbtn:hover { color: var(--text); }
.sortbtn .caret { color: var(--accent); font-size: 9px; }
th[aria-sort] .sortbtn { color: var(--text); }

.tbl__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s3);
}
.cnt {
  margin: 0 0 var(--s3);
  color: var(--muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------------- controls */

.ctrls {
  display: grid;
  gap: var(--s2);
  margin-bottom: var(--s3);
}
@media (min-width: 720px) {
  .ctrls { grid-template-columns: 1.4fr auto 1fr; align-items: center; gap: var(--s3); }
}

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------- movers */

.movers { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 900px) { .movers { grid-template-columns: repeat(3, 1fr); gap: var(--s4); } }

.mover__head {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: var(--r-card) var(--r-card) 0 0;
}
.mover__head h3 { font-size: 13px; letter-spacing: 0; }
.mover { border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.mover .tblx { border: 0; border-radius: 0; background: none; }
.mover__empty { padding: var(--s4); color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------------- locked */

.lock {
  position: relative;
  display: grid;
  gap: var(--s5);
  padding: var(--s5) var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background:
    radial-gradient(1200px 260px at 50% -40%, var(--accent-2-glow, rgba(99, 102, 241, 0.14)), transparent 70%),
    var(--surface);
}
@media (min-width: 900px) {
  .lock { grid-template-columns: 1.25fr 1fr; align-items: center; padding: var(--s6); gap: var(--s6); }
}
.lock__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lock h3 { margin: var(--s3) 0 var(--s3); font-size: 20px; }
.lock p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 58ch; }
.lock__list { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); }
.lock__list li {
  display: flex;
  gap: var(--s3);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.lock__list .mark { color: var(--accent); flex: 0 0 auto; font-weight: 700; }
.lock__cta {
  display: grid;
  gap: var(--s3);
  padding: var(--s5) var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface-2);
  text-align: center;
}
.lock__cta .btn { width: 100%; padding: 12px 16px; }
.lock__cta p { margin: 0 auto; font-size: 12.5px; }
.lock__glyph { font-size: 26px; line-height: 1; }

/* ---------------------------------------------------------------- steps */

.steps {
  display: grid;
  gap: var(--s3);
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: var(--s4); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  padding: var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}
.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: var(--s3);
  border-radius: var(--r-pill);
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 15px; margin-bottom: var(--s2); }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* --------------------------------------------------------------- footer */

.ft {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: var(--s6) 0 var(--s5);
  margin-top: var(--s6);
}
.ft__top {
  display: grid;
  gap: var(--s4);
  margin-bottom: var(--s5);
}
@media (min-width: 760px) { .ft__top { grid-template-columns: 1fr auto; align-items: start; } }
.ft__tag { margin: var(--s2) 0 0; color: var(--muted); font-size: 13px; }
.ft__nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.ft__nav a { color: var(--muted); font-size: 13px; font-weight: 600; }
.ft__nav a:hover { color: var(--text); }
.ft__disc p { margin: 0 0 var(--s3); max-width: 92ch; }
.ft__disc p:last-child { margin-bottom: 0; }
.ft__legal {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 12px;
}

/* ------------------------------------------------------------ utilities */

.skel {
  height: 1em;
  border-radius: var(--r-ctl);
  background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.loading { color: var(--muted); font-size: 13px; margin: 0; }

/* Placeholders that carry no data, and the two spots that used an inline style. */
.chips--tabs { margin-bottom: var(--s3); }
.ft__brand { font-size: 16px; }
.skel--fact { display: inline-block; width: 9ch; }

/*
 * The contrast fix that used to live here — lifting --down and .disclaimer on
 * this page alone — moved into brand.css, where the app and the admin panel
 * get it too. One page correcting a shared token is how two pages end up a
 * different shade of red.
 */

/* ---------------------------------------------------------------- prose
 * The informative body copy. Narrow measure on purpose — this is the part
 * people actually read, and 62ch is where a line stops being a paragraph and
 * starts being a wall.
 */
.prose { max-width: 68ch; }
.prose p {
  margin: 0 0 var(--s3);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { font-weight: 600; }
.prose .disclaimer--block { margin-top: var(--s4); }

.sec .prose + .steps,
.sec .steps + .prose { margin-top: var(--s5); }

/* ------------------------------------------------------------------ faq
 * <details> rather than JS: the answers are in the markup whether or not the
 * script runs, which is what Google reads and what the FAQ structured data
 * has to match.
 */
.faq { display: grid; gap: var(--s2); max-width: 78ch; }

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--border-strong, var(--border)); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  min-height: 44px;
  cursor: pointer;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  flex: none;
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.faq__item[open] .faq__q::after { content: '−'; }
.faq__q:hover { color: var(--accent); }
.faq__q:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.faq__a { padding: 0 var(--s4) var(--s4); }
.faq__a p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ------------------------------------------------------- case studies
 * One card per worked example. The three-row breakdown is a real <table>
 * because it is tabular data — a screen reader should be able to say "Sector
 * ka hissa, minus 1.94 percent" and not read three floating divs.
 */
.crumbs { margin: 0 0 var(--s3); color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

.cs__kicker {
  margin: 0 0 var(--s2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cs__title { margin: 0 0 var(--s4); font-size: 22px; line-height: 1.3; }

.cs {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: var(--s4);
}

.cs__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--border);
}
.cs__head .sym { font-size: 17px; font-weight: 700; }
.cs__head .coname { display: block; margin-top: 2px; color: var(--text); font-size: 14px; }
.cs__head .sector { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.cs__num { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }

.cs__break, .cs__cmp {
  width: 100%;
  margin-top: var(--s3);
  border-collapse: collapse;
  font-size: 14px;
}
.cs__break th[scope='row'], .cs__cmp th[scope='row'] {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  padding: var(--s2) var(--s3) var(--s2) 0;
  white-space: nowrap;
}
.cs__break td, .cs__cmp td { padding: var(--s2) var(--s3) var(--s2) 0; vertical-align: top; }
.cs__break .num, .cs__cmp .num {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  width: 11ch;
}
.cs__why { color: var(--muted); font-size: 13px; line-height: 1.6; }

.cs__break tr + tr, .cs__cmp tbody tr + tr { border-top: 1px solid var(--border-soft); }
.cs__break--key th[scope='row'], .cs__break--key .num { color: var(--text); }
.cs__break--key { background: var(--surface-2); }
.cs__break--tot th[scope='row'] { color: var(--muted); }
.cs__break--tot { border-top: 1px solid var(--border) !important; }

.cs__cmp { margin-top: var(--s4); }
.cs__cmp thead th { text-align: left; color: var(--muted); font-size: 12px; font-weight: 600; padding-bottom: var(--s2); }
.cs__cmp thead th.num { text-align: right; }

.cs__sigma {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
  margin: var(--s4) 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.cs .prose { margin-top: var(--s4); }

@media (min-width: 760px) {
  .cs { padding: var(--s5); }
  .cs__title { font-size: 26px; }
  .cs__num { font-size: 34px; }
}

/* Under ~560px the three-column breakdown stops fitting: the "why" column
   drops below its own number rather than squeezing both into 6ch. */
@media (max-width: 560px) {
  .cs__break, .cs__break tbody, .cs__break tr, .cs__break th, .cs__break td { display: block; width: auto; }
  .cs__break tr { padding: var(--s3) 0; }
  .cs__break th[scope='row'] { padding: 0; }
  .cs__break .num { width: auto; text-align: left; font-size: 18px; padding: 2px 0; }
  .cs__break .cs__why { padding: 0; }
}

/* ---------------------------------------------------------------- reference skin */

body {
  background: linear-gradient(180deg, #f8f9ff 0%, #eef4ff 100%);
  color: #0b1c30;
  font-family: var(--font);
}

h1,
h2,
h3,
.logo,
.brand {
  font-family: var(--headline);
  letter-spacing: 0;
}

.wrap { max-width: 1600px; }

.hdr {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #d3e4fe;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.hdr__in { min-height: 58px; }

.logo {
  font-size: 20px;
  font-weight: 800;
}

.hdr__nav { gap: 26px; }

.hdr__nav a {
  color: #45464d;
  font-family: var(--headline);
  font-size: 14px;
  font-weight: 600;
  padding: 19px 0 16px;
  border-bottom: 2px solid transparent;
}

.hdr__nav a:hover {
  color: #0051d5;
  border-bottom-color: #0051d5;
  text-decoration: none;
}

.btn,
.hdr__cta,
.chip,
.theme-btn {
  border-radius: 4px;
  font-weight: 700;
  box-shadow: none;
}

.btn--primary {
  background: #0051d5;
  border-color: #0051d5;
}

.btn--primary:hover { background: #0043b3; }

.btn--whatsapp {
  background: #128c7e;
  border-color: #128c7e;
  color: #ffffff;
}

.btn--whatsapp:hover {
  background: #0f766c;
  text-decoration: none;
}

.hero {
  padding: 44px 0 28px;
  border-bottom: 1px solid #d3e4fe;
}

.eyebrow {
  color: #0051d5;
  font-family: var(--mono);
  letter-spacing: .08em;
}

.hero h1 {
  max-width: 980px;
  color: #0b1c30;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 800;
  letter-spacing: 0;
}

.hero__sub,
.hero__note,
.sec__sub { color: #45464d; }

.facts li,
.note,
.card,
.idx,
.tblx,
.mover,
.step,
.lock,
.lock__cta,
.news__list li,
.pad,
.cs {
  border: 1px solid #d3e4fe;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(11, 28, 48, 0.06);
}

.facts li,
.idx__stamp,
.idx__val,
.bd__big,
.tbl,
.sym,
.cnt,
.tag,
.step__n,
.cs__num {
  font-family: var(--mono);
}

.sec { border-top: 0; }

.sec__head h2 {
  color: #0b1c30;
  font-weight: 800;
}

.tbl thead th,
.mover__head,
.cs__break--key {
  background: #eff4ff;
  color: #45464d;
}

.tbl thead th {
  font-family: var(--mono);
  letter-spacing: 0;
  text-transform: none;
}

.chip {
  background: #ffffff;
  color: #45464d;
}

.chip[aria-pressed="true"] {
  background: #eff4ff;
  border-color: #0051d5;
  color: #0051d5;
}

.lock {
  background:
    linear-gradient(135deg, rgba(49, 107, 243, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.94);
}

.ft {
  background: #ffffff;
  border-top: 1px solid #d3e4fe;
}

:root[data-theme="dark"] body {
  background: #10161d;
  color: var(--text);
}

:root[data-theme="dark"] .hdr,
:root[data-theme="dark"] .facts li,
:root[data-theme="dark"] .note,
:root[data-theme="dark"] .card,
:root[data-theme="dark"] .idx,
:root[data-theme="dark"] .tblx,
:root[data-theme="dark"] .mover,
:root[data-theme="dark"] .step,
:root[data-theme="dark"] .lock,
:root[data-theme="dark"] .lock__cta,
:root[data-theme="dark"] .news__list li,
:root[data-theme="dark"] .pad,
:root[data-theme="dark"] .cs,
:root[data-theme="dark"] .ft {
  background: rgba(24, 33, 43, 0.96);
  border-color: rgba(134, 154, 176, 0.25);
}

/* ---------------------------------------------------------- home repair */

.wrap {
  max-width: 1280px;
}

.hero.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 440px);
  align-items: center;
  gap: 32px;
  min-height: calc(100svh - 58px);
  padding-top: 34px;
  padding-inline: var(--s4);
  padding-bottom: 34px;
  border-bottom: 1px solid #d3e4fe;
}

.hero__copy {
  max-width: 760px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 4.1vw, 56px);
  line-height: 1.08;
}

.hero__sub {
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.62;
}

.hero__cta .btn {
  min-height: 48px;
}

.hero-preview {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  padding: 18px;
  border: 1px solid #d3e4fe;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(49, 107, 243, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(11, 28, 48, 0.08);
}

.hero-preview__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.hero-preview__kicker {
  margin: 0 0 4px;
  color: #0051d5;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-preview h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.hero-preview__stamp {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid #d3e4fe;
  border-radius: 4px;
  background: #f8f9ff;
  color: #45464d;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.hero-index {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.hero-index__row {
  display: grid;
  grid-template-columns: minmax(74px, auto) 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border: 1px solid #d3e4fe;
  border-radius: 6px;
  background: #ffffff;
}

.hero-index__row span {
  color: #45464d;
  font-size: 13px;
  font-weight: 800;
}

.hero-index__row strong {
  color: #0b1c30;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 800;
  text-align: right;
}

.hero-change {
  min-width: 72px;
  padding: 4px 6px;
  border-radius: 4px;
  background: #eff4ff;
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.hero-breadth {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.hero-breadth div {
  padding: 12px 10px;
  border: 1px solid #d3e4fe;
  border-radius: 6px;
  background: #f8f9ff;
}

.hero-breadth span {
  display: block;
  color: #45464d;
  font-size: 11px;
  font-weight: 700;
}

.hero-breadth strong {
  display: block;
  margin-top: 4px;
  color: #0b1c30;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 800;
}

.hero-preview__foot {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #c6dafc;
  border-radius: 6px;
  background: #eff4ff;
}

.hero-preview__foot span {
  display: block;
  color: #0051d5;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-preview__foot strong {
  display: block;
  margin-top: 4px;
  color: #0b1c30;
  font-size: 15px;
}

.subscribe {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 420px);
  align-items: center;
  gap: 22px;
  margin-top: 18px;
  margin-bottom: 8px;
  padding: 22px var(--s4);
  border: 1px solid #c6dafc;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 81, 213, 0.08), transparent 46%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(11, 28, 48, 0.07);
}

.subscribe h2 {
  color: #0b1c30;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15;
}

.subscribe p {
  max-width: 72ch;
  margin: 12px 0 0;
  color: #45464d;
  font-size: 15.5px;
  line-height: 1.65;
}

.subscribe__panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid #d3e4fe;
  border-radius: 8px;
  background: #ffffff;
}

.subscribe__panel strong {
  color: #45464d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.subscribe__panel span {
  color: #0b1c30;
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 800;
}

.subscribe__panel .btn {
  justify-content: center;
  min-height: 46px;
  text-align: center;
}

.subscribe__panel small {
  color: #606b78;
  font-size: 12px;
  line-height: 1.45;
}

.sec--tight {
  padding-top: 30px;
}

.keyword-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.keyword-grid div {
  padding: 16px;
  border: 1px solid #d3e4fe;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(11, 28, 48, 0.06);
}

.keyword-grid b {
  display: block;
  color: #0b1c30;
  font-size: 14px;
}

.keyword-grid span {
  display: block;
  margin-top: 6px;
  color: #45464d;
  font-size: 13px;
  line-height: 1.55;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.compare-grid div {
  min-height: 180px;
  padding: 16px;
  border: 1px solid #d3e4fe;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(11, 28, 48, 0.06);
}

.compare-grid div span {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid #d3e4fe;
  border-radius: 4px;
  background: #eff4ff;
  color: #0051d5;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.compare-grid b {
  display: block;
  margin-top: 14px;
  color: #0b1c30;
  font-size: 17px;
  line-height: 1.25;
}

.compare-grid p {
  margin: 10px 0 0;
  color: #45464d;
  font-size: 13.5px;
  line-height: 1.6;
}

.compare-grid .compare-grid__win {
  border-color: #128c7e;
  background:
    linear-gradient(135deg, rgba(18, 140, 126, 0.12), transparent 48%),
    #ffffff;
}

.compare-grid__win span {
  border-color: rgba(18, 140, 126, 0.32);
  background: rgba(18, 140, 126, 0.10);
  color: #0f766c;
}

.journey-grid,
.feature-grid {
  display: grid;
  gap: 12px;
}

.journey-grid {
  grid-template-columns: repeat(3, 1fr);
}

.journey-grid article,
.feature-grid article,
.simple-cta {
  border: 1px solid #d3e4fe;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(11, 28, 48, 0.06);
}

.journey-grid article {
  padding: 18px;
}

.journey-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #eff4ff;
  color: #0051d5;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
}

.journey-grid h3,
.simple-cta h3 {
  margin-top: 14px;
  color: #0b1c30;
  font-size: 18px;
  font-weight: 800;
}

.journey-grid p,
.section-note,
.simple-cta p {
  color: #45464d;
  font-size: 14px;
  line-height: 1.65;
}

.journey-grid p {
  margin: 8px 0 0;
}

.section-note {
  max-width: 82ch;
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 4px solid #0051d5;
  background: rgba(255, 255, 255, 0.72);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid article {
  padding: 16px;
}

.feature-grid b {
  display: block;
  color: #0b1c30;
  font-size: 15px;
}

.feature-grid span {
  display: block;
  margin-top: 6px;
  color: #45464d;
  font-size: 13.5px;
  line-height: 1.55;
}

.simple-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(0, 81, 213, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.96);
}

.simple-cta h3 {
  margin: 0;
}

.simple-cta p {
  margin: 6px 0 0;
}

.simple-cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.simple-cta__actions .btn {
  min-height: 44px;
}

.sec {
  padding: 38px 0;
}

@media (min-width: 1040px) {
  .mkt,
  .movers {
    gap: 14px;
  }
}

@media (max-width: 980px) {
  .hero.wrap {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 30px;
  }

  .hero__copy {
    max-width: none;
  }

  .hero-preview {
    min-height: 0;
  }

  .subscribe {
    grid-template-columns: 1fr;
  }

  .keyword-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .simple-cta {
    grid-template-columns: 1fr;
  }

  .simple-cta__actions {
    justify-content: stretch;
  }

  .simple-cta__actions .btn {
    flex: 1 1 220px;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .wrap {
    padding-inline: 14px;
  }

  .hdr__in {
    gap: 8px;
  }

  .logo {
    font-size: 18px;
  }

  .hero.wrap {
    gap: 22px;
    padding-top: 26px;
    padding-inline: 14px;
    padding-bottom: 28px;
  }

  .eyebrow {
    font-size: 11px;
    line-height: 1.45;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 42px);
    line-height: 1.12;
  }

  .hero__sub {
    font-size: 15.5px;
  }

  .hero__cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .subscribe {
    margin-top: 12px;
    padding: 18px 14px;
  }

  .subscribe__panel span {
    font-size: 24px;
  }

  .keyword-grid {
    grid-template-columns: 1fr;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .compare-grid div {
    min-height: 0;
  }

  .journey-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .journey-grid article,
  .feature-grid article,
  .simple-cta {
    padding: 14px;
  }

  .simple-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .facts {
    gap: 8px;
  }

  .facts li {
    max-width: 100%;
    font-size: 12px;
  }

  .hero-preview {
    padding: 14px;
  }

  .hero-preview__head {
    display: grid;
  }

  .hero-preview h2 {
    font-size: 21px;
  }

  .hero-index__row {
    grid-template-columns: 1fr auto;
  }

  .hero-index__row span {
    grid-column: 1 / -1;
  }

  .hero-index__row strong {
    text-align: left;
    font-size: 22px;
  }

  .hero-breadth {
    grid-template-columns: 1fr;
  }

  .sec {
    padding: 30px 0;
  }

  .sec__head {
    align-items: flex-start;
  }
}

:root[data-theme="dark"] .hero-preview,
:root[data-theme="dark"] .hero-index__row,
:root[data-theme="dark"] .hero-breadth div,
:root[data-theme="dark"] .hero-preview__foot,
:root[data-theme="dark"] .hero-preview__stamp,
:root[data-theme="dark"] .subscribe,
:root[data-theme="dark"] .subscribe__panel,
:root[data-theme="dark"] .keyword-grid div,
:root[data-theme="dark"] .compare-grid div,
:root[data-theme="dark"] .journey-grid article,
:root[data-theme="dark"] .feature-grid article,
:root[data-theme="dark"] .simple-cta,
:root[data-theme="dark"] .section-note {
  background: rgba(24, 33, 43, 0.96);
  border-color: rgba(134, 154, 176, 0.25);
}

:root[data-theme="dark"] .subscribe h2,
:root[data-theme="dark"] .subscribe__panel span,
:root[data-theme="dark"] .keyword-grid b,
:root[data-theme="dark"] .compare-grid b,
:root[data-theme="dark"] .journey-grid h3,
:root[data-theme="dark"] .feature-grid b,
:root[data-theme="dark"] .simple-cta h3 {
  color: var(--text);
}

:root[data-theme="dark"] .subscribe p,
:root[data-theme="dark"] .subscribe__panel strong,
:root[data-theme="dark"] .subscribe__panel small,
:root[data-theme="dark"] .keyword-grid span,
:root[data-theme="dark"] .compare-grid p,
:root[data-theme="dark"] .journey-grid p,
:root[data-theme="dark"] .feature-grid span,
:root[data-theme="dark"] .section-note,
:root[data-theme="dark"] .simple-cta p {
  color: var(--muted);
}

:root[data-theme="dark"] .compare-grid div span {
  background: rgba(49, 107, 243, 0.14);
  border-color: rgba(134, 154, 176, 0.25);
}
