:root {
  /* wine-fuchsia, the dominant. Hue 322 sits in the largest unused band of the
     layout ledger; every band value clears 10:1 against white. */
  --brand:          #781152;
  --brand-dark:     #540836;
  --brand-deep:     #380422;
  --brand-ink:      #660A43;   /* links and the heading keyword on white */
  --brand-light:    #B84692;   /* decorative and hover only, never text */
  --brand-grad-a:   #8F1D70;
  --brand-grad-b:   #9E2C8F;
  --navy:           #42132E;   /* shortcut-tile ground */

  /* acid lime, the one sharp accent. Hue 64 is the ledger's other large gap.
     It is a light colour, so it carries ink labels, never white ones. */
  --accent:         #D4E028;
  --accent-dk:      #B7BD17;
  --accent-soft:    #F4F8C4;
  --accent-line:    #E2E98F;

  /* neutrals, warmed very slightly toward the wine */
  --ink:            #141117;
  --ink-70:         #463F4C;
  --ink-50:         #6A6172;
  --bg:             #FFFFFF;
  --bg-alt:         #FDF8FB;
  --bg-tint:        #FBF0F6;
  --bg-violet-soft: #F3DCEB;
  --border:         #EBE5E9;
  --border-strong:  #DBD2D8;
  --border-on-dark: rgba(255, 255, 255, .18);

  --radius:      8px;
  --radius-sm:   4px;
  --radius-lg:   16px;
  --radius-pill: 100px;

  --shadow-sm: 0 1px 2px rgba(20, 17, 23, .06);
  --shadow:    0 6px 24px rgba(20, 17, 23, .09);
  --shadow-lg: 0 18px 48px rgba(84, 8, 54, .18);

  --container: 1216px;
  --gutter:    1.5rem;

  --font: 'Geist', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ==========================================================================
   Freaky Funday - "The Ledger"
   A dense editorial-data layout: utility strip, compact masthead, a full
   ranking table as the centrepiece, then a main column running beside a
   sticky rail. Tight vertical rhythm throughout; a 12-column span planner
   means a grid row is never left with an empty cell.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg-alt);
  color: var(--ink);
  font-family: var(--font);
  font-size: .95rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.021em;
  margin: 0 0 .55rem;
  color: var(--ink);
}
h1 { font-size: clamp(1.75rem, 3.1vw, 2.65rem); line-height: 1.1; letter-spacing: -.028em; }
h2 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }
h3 { font-size: clamp(1rem, 1.3vw, 1.1rem); }
h4 { font-size: .95rem; }

.kw { color: var(--brand-ink); }
.on-dark .kw, .masthead .kw, .band .kw { color: var(--accent); }

p { margin: 0 0 .8rem; color: var(--ink-70); }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-ink); text-decoration: none; }
a:hover { color: var(--brand); }
strong { color: var(--ink); font-weight: 600; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--ink);
  padding: .6rem 1rem; z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   The 12-column span planner
   Every grid uses 12 tracks and each tile declares its own span, so the
   builder can always fill the final row exactly. No empty cells.
   ========================================================================== */

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: .7rem;
}
.grid12 > * { grid-column: span var(--span, 4); }

/* ==========================================================================
   Utility strip + header
   ========================================================================== */

.topbar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .72);
  font-size: .76rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar__inner {
  display: flex; align-items: center; gap: 1.1rem;
  min-height: 34px;
  flex-wrap: wrap;
}
.topbar__item { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.topbar__item--age { color: var(--ink); background: var(--accent); border-radius: 2px; padding: .05rem .4rem; font-weight: 700; }
.topbar__spacer { margin-left: auto; }
.topbar a { color: rgba(255, 255, 255, .72); text-decoration: underline; text-underline-offset: 2px; }
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--brand);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 56px; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(56, 4, 34, .3); }

.brand { display: flex; align-items: center; gap: .55rem; color: #fff; flex: 0 0 auto; }
.brand__mark { display: block; width: 30px; height: 30px; border-radius: 3px; overflow: hidden; flex: 0 0 auto; }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__mark--lg { width: 44px; height: 44px; }
.brand__word { font-weight: 700; font-size: 1rem; letter-spacing: -.02em; line-height: 1.05; }
.brand__word-a { color: #fff; }
.brand__word-b { color: var(--accent); }
.brand__kicker {
  display: block; font-size: .6rem; font-weight: 500;
  letter-spacing: .11em; text-transform: uppercase; color: rgba(255, 255, 255, .55);
}

.nav { margin-left: auto; position: relative; }
.nav__list { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: .3rem;
  font-weight: 500; font-size: .88rem;
  color: rgba(255, 255, 255, .84);
  padding: .95rem .8rem;
  border-bottom: 2px solid transparent;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.nav-item > a:hover, .nav-item > a.active { color: #fff; border-bottom-color: var(--accent); }
.nav-parent__chev {
  width: 5px; height: 5px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.nav__indicator { display: none; }

.nav-item--has-submenu::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: .6rem; pointer-events: auto;
}
.nav-submenu {
  position: absolute;
  top: calc(100% + .55rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 440px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  opacity: 0; visibility: hidden;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  z-index: 95;
}
.nav-submenu--single { min-width: 290px; }
.nav-item--has-submenu:hover .nav-submenu,
.nav-item--has-submenu:focus-within .nav-submenu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-submenu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem; }
.nav-submenu__grid--single { grid-template-columns: 1fr; }
.nav-submenu__item {
  display: flex; align-items: center; gap: .6rem;
  padding: .4rem .5rem; border-radius: 3px;
  color: var(--ink-70);
  transition: background .14s var(--ease), color .14s var(--ease);
}
.nav-submenu__item:hover { background: var(--bg-tint); color: var(--brand-ink); }
.nav-submenu__name { font-weight: 600; font-size: .87rem; }
.jaali-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-dk); flex: 0 0 auto; }

.burger {
  display: none; width: 38px; height: 38px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 3px; cursor: pointer; padding: 0; position: relative;
}
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: #fff;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 12px; }
.burger span:nth-child(2) { top: 18px; }
.burger span:nth-child(3) { top: 24px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-family: var(--font); font-weight: 600; font-size: .88rem;
  padding: .6rem 1.1rem;
  border-radius: 4px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: var(--ink); }
.btn--violet { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--violet:hover { background: var(--brand-grad-a); border-color: var(--brand-grad-a); color: #fff; }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn--ghost { background: #fff; color: var(--brand-ink); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--bg-tint); }
.btn--sm    { padding: .45rem .8rem; font-size: .8rem; }
.btn--xs    { padding: .32rem .62rem; font-size: .74rem; }
.btn--block { display: flex; width: 100%; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .85rem; color: var(--brand-ink);
  text-decoration: underline; text-underline-offset: 3px; white-space: nowrap;
}
.arrow-link::after {
  content: ''; width: 14px; height: 9px; background: currentColor;
  -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M11 0l5 5-5 5-1.4-1.4L12.2 6H0V4h12.2L9.6 1.4z'/%3E%3C/svg%3E");
          mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M11 0l5 5-5 5-1.4-1.4L12.2 6H0V4h12.2L9.6 1.4z'/%3E%3C/svg%3E");
  transition: transform .18s var(--ease);
}
.arrow-link:hover::after { transform: translateX(3px); }
.masthead .arrow-link, .on-dark .arrow-link { color: #fff; }

/* ==========================================================================
   Masthead - compact, data-led. No tall empty band.
   ========================================================================== */

.masthead {
  position: relative;
  background: linear-gradient(118deg, var(--brand-dark) 0%, var(--brand) 58%, var(--brand-grad-a) 122%);
  color: #fff;
  overflow: hidden;
  padding-block: 1.6rem 1.4rem;
}
.masthead__art { position: absolute; inset: 0; z-index: 0; opacity: .14; }
.masthead__art img { width: 100%; height: 100%; object-fit: cover; }
.masthead::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--brand-dark) 2%, rgba(120, 17, 82, .8) 52%, rgba(143, 29, 112, .58) 100%);
}
.masthead > .container { position: relative; z-index: 2; }
.masthead h1 { color: #fff; margin-bottom: .5rem; }
.masthead__lede { color: rgba(255, 255, 255, .84); max-width: none; margin-bottom: 0; }

.masthead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.6rem;
  align-items: start;
}
.masthead__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem;
  margin-top: .85rem;
  font-size: .82rem; color: rgba(255, 255, 255, .78);
}
.masthead__actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }

/* the compact "editor's pick" plate that rides the masthead */
.pick-plate {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: .85rem;
}
.pick-plate__head {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .6rem;
}
.pick-plate__body { display: flex; align-items: center; gap: .7rem; }
.pick-plate__name { font-weight: 700; font-size: .98rem; color: #fff; display: block; }
.pick-plate__bonus { font-size: .84rem; color: rgba(255, 255, 255, .8); }
.pick-plate__foot { display: flex; gap: .4rem; margin-top: .7rem; }
.pick-plate__foot .btn { flex: 1; }

.breadcrumb { font-size: .78rem; color: rgba(255, 255, 255, .68); margin-bottom: .55rem; }
.breadcrumb a { color: rgba(255, 255, 255, .68); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 .35rem; opacity: .5; }

.review-byline { display: flex; align-items: center; gap: .55rem; }
.review-byline__avatar {
  width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .3); flex: 0 0 auto;
}
.review-byline__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-byline__name { font-weight: 700; font-size: .84rem; color: #fff; display: block; }
.review-byline__role { font-size: .76rem; color: rgba(255, 255, 255, .68); }
.review-byline__verified {
  display: inline-flex; font-size: .62rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: var(--accent);
  border-radius: 2px; padding: .1rem .35rem; margin-left: .35rem;
}

.rating-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 700; font-size: .85rem; color: #fff;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 3px; padding: .2rem .5rem; vertical-align: middle;
}

/* ==========================================================================
   The ranking table - the page's centrepiece
   ========================================================================== */

.rank-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.rank-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem 1rem;
  background: var(--brand-deep);
  color: #fff;
  flex-wrap: wrap;
}
.rank-head h2 { color: #fff; margin: 0; font-size: 1.02rem; }
.rank-head__note { font-size: .76rem; color: rgba(255, 255, 255, .66); }

.rank-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.rank-table .col-rank   { width: 42px; }
.rank-table .col-bonus  { width: 122px; }
.rank-table .col-metric { width: 156px; }
.rank-table .col-score  { width: 92px; }
.rank-table .col-act    { width: 124px; }
.rank-table thead th {
  text-align: left; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-50);
  background: var(--bg-tint);
  padding: .5rem .6rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.rank-table td { padding: .55rem .6rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.rank-table tbody tr:last-child td { border-bottom: 0; }
.rank-table tbody tr:hover td { background: var(--bg-alt); }
.rank-table tbody tr.is-top td { background: var(--accent-soft); }
.rank-table tbody tr.is-top:hover td { background: var(--accent-line); }

.rank-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 3px;
  background: var(--bg-violet-soft); color: var(--brand-ink);
  font-weight: 700; font-size: .8rem;
}
.rank-table tr.is-top .rank-no { background: var(--brand); color: #fff; }
.rank-brand { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.rank-brand > span:last-child { min-width: 0; }
.rank-brand__name { font-weight: 700; font-size: .92rem; display: block; }
.rank-brand__sub { font-size: .76rem; color: var(--ink-50); }
.rank-bonus { font-weight: 600; font-size: .84rem; color: var(--ink); }
.rank-metric { font-size: .77rem; color: var(--ink-70); }
.rank-metric b { color: var(--ink); font-weight: 700; }

/* score as a number plus a bar, no filled background track */
.score { display: flex; align-items: center; gap: .4rem; }
.score__n { font-weight: 700; font-size: .92rem; color: var(--brand-ink); min-width: 1.75rem; }
.score__bar { width: 40px; height: 4px; border-radius: 2px; overflow: hidden; }
.score__fill { display: block; height: 100%; background: var(--brand); }
.rank-table tr.is-top .score__fill { background: var(--brand-deep); }

.rank-act { display: flex; flex-direction: column; align-items: stretch; gap: .3rem; }
.rank-act .btn { width: 100%; }
.rank-act__read { font-size: .76rem; font-weight: 600; white-space: nowrap; text-align: center; text-decoration: underline; text-underline-offset: 3px; }

.logo-plate {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #FFFDFA 0%, #F5F2EC 100%);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .3rem .45rem;
  flex: 0 0 auto;
}
.logo-plate img { height: auto; width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-plate--xs { width: 64px; height: 34px; }
.logo-plate--xs img { max-height: 24px; }
.logo-plate--sm { width: 92px; height: 42px; }
.logo-plate--sm img { max-height: 30px; }
.logo-plate--md { width: 132px; height: 62px; }
.logo-plate--md img { max-height: 44px; }

/* ==========================================================================
   Page shell: main column beside a sticky rail
   ========================================================================== */

.shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 1.5rem;
  align-items: start;
  padding-block: 1.5rem 2.25rem;
}
.shell__main { min-width: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.shell__rail { position: sticky; top: 72px; display: flex; flex-direction: column; gap: .8rem; }

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .6rem .85rem;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border);
}
.panel__head h2, .panel__head h3 {
  margin: 0; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink);
}
.panel__body { padding: .9rem .95rem; }
.panel__body > :last-child { margin-bottom: 0; }

/* rail: compact ranked list */
.rail-rank { list-style: none; margin: 0; padding: 0; }
.rail-rank li {
  display: grid;
  grid-template-columns: 1.25rem 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: .55rem;
  padding: .5rem .85rem;
  border-bottom: 1px solid var(--border);
}
.rail-rank li:last-child { border-bottom: 0; }
.rail-rank li:hover { background: var(--bg-alt); }
.rail-rank__n { font-weight: 700; font-size: .78rem; color: var(--ink-50); }
.rail-rank__name { font-weight: 600; font-size: .84rem; display: block; }
.rail-rank__bonus { font-size: .72rem; color: var(--ink-50); }
.rail-rank__score { font-weight: 700; font-size: .82rem; color: var(--brand-ink); }

/* rail: key/value fact list */
.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  display: flex; align-items: baseline; justify-content: space-between; gap: .75rem;
  padding: .42rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: .84rem;
}
.facts li:last-child { border-bottom: 0; }
.facts dt, .facts .k { color: var(--ink-50); }
.facts dd, .facts .v { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }

/* rail: link list */
.rail-links { list-style: none; margin: 0; padding: 0; }
.rail-links li { border-bottom: 1px solid var(--border); }
.rail-links li:last-child { border-bottom: 0; }
.rail-links a {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .85rem; font-size: .85rem; color: var(--ink-70);
}
.rail-links a:hover { background: var(--bg-tint); color: var(--brand-ink); }

/* rail: CTA */
.rail-cta { background: linear-gradient(140deg, var(--brand-dark), var(--brand)); color: #fff; padding: 1rem .95rem; }
.rail-cta h3 { color: #fff; font-size: 1rem; margin-bottom: .35rem; }
.rail-cta p { color: rgba(255, 255, 255, .8); font-size: .82rem; margin-bottom: .8rem; }

/* rail: on-page contents */
.toc { list-style: none; margin: 0; padding: 0; max-height: 15rem; overflow-y: auto; }
.toc li { border-bottom: 1px solid var(--border); }
.toc li:last-child { border-bottom: 0; }
.toc a { display: block; padding: .42rem .85rem; font-size: .82rem; color: var(--ink-70); }
.toc a:hover { background: var(--bg-tint); color: var(--brand-ink); }

/* ==========================================================================
   Content sections inside the main column
   ========================================================================== */

.content-section { padding-block: 0; }
.content-section > .container { padding-inline: 0; max-width: none; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .6rem .95rem;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
}
.section-head > div { min-width: 0; }
.section-head h2 { margin: 0; font-size: 1.05rem; }
.section-head p { margin: .3rem 0 0; font-size: .84rem; }

/* a section is one bordered block: head + body, no floating cards */
.block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: .95rem;
}
.block > :last-child { margin-bottom: 0; }

.plain-card, .floor-tile, .verdict-card, .support-card, .split-layout__body, .bento-tile {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem .95rem;
}
.floor-tile { display: flex; flex-direction: column; }
.floor-tile h3 { margin-bottom: .35rem; }
[data-mono]::after { content: none; }
.support-card__corner { display: none; }

/* builder grids adopt the 12-col planner */
.floor-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: .7rem;
  align-items: start;
}
.floor-grid > * { grid-column: span var(--span, 4); }

/* two-column prose where a section is text only */
.prose-2col { columns: 2; column-gap: 1.6rem; }
.prose-2col p { break-inside: avoid; }

/* ==========================================================================
   Check-lists. R10: li MUST be block, never grid.
   ========================================================================== */

.feature-check-list { list-style: none; margin: 0; padding: 0; }
.feature-check-list li {
  display: block; position: relative;
  padding-left: 1.5rem; margin-bottom: .4rem;
  color: var(--ink-70); font-size: .89rem;
}
.feature-check-list li:last-child { margin-bottom: 0; }
.feature-check-list li::before {
  content: ''; position: absolute; left: 0; top: .42rem;
  width: 9px; height: 9px; border-radius: 2px;
  background: var(--accent); border: 1px solid var(--accent-dk);
}
.feature-check-list li strong { color: var(--ink); }

/* a "Title: value" run reads as a spec table, two up */
.feature-check-list--plain { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem .9rem; }
.feature-check-list--plain li {
  padding: .34rem 0 .34rem 1.5rem;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 0;
}
.feature-check-list--plain li::before { top: .58rem; }

.band .feature-check-list li { color: rgba(255, 255, 255, .86); }
.band .feature-check-list li strong { color: #fff; }

.content-list-ol { padding-left: 1.15rem; color: var(--ink-70); margin: 0 0 .8rem; font-size: .89rem; }
.content-list-ol li { margin-bottom: .3rem; }
.content-list-ol li::marker { color: var(--brand-ink); font-weight: 700; }

/* ==========================================================================
   Split layout, divider, tables
   ========================================================================== */

.split-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.split-layout--reverse { grid-template-columns: minmax(0, 1fr) 260px; }
.split-layout--reverse .split-layout__media { order: 2; }
.split-layout__media {
  position: relative; border-radius: 4px; overflow: hidden;
  min-height: 190px; background: var(--bg-tint);
}
.split-layout__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.split-layout__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border: 0; padding: 0; background: transparent; }
.split-layout__body > ul, .split-layout__body > p { width: 100%; }
.split-layout__body > .btn { align-self: flex-start; margin-top: .4rem; }

.image-divider { position: relative; aspect-ratio: 32 / 9; border-radius: var(--radius); overflow: hidden; }
.image-divider img { width: 100%; height: 100%; object-fit: cover; }

.table-wrap { overflow-x: auto; margin: 0 0 .8rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 520px; }
.data-table th {
  text-align: left; font-weight: 700; font-size: .7rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-50);
  padding: .5rem .7rem; background: var(--bg-tint);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.data-table td { padding: .5rem .7rem; color: var(--ink-70); border-bottom: 1px solid var(--border); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: var(--bg-alt); }
.data-table td:first-child { color: var(--ink); font-weight: 600; }

.faq-item { border-bottom: 1px solid var(--border); padding: .7rem 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { font-size: .95rem; margin-bottom: .25rem; }
.faq-item p { margin-bottom: 0; font-size: .88rem; }

.intro-block { color: var(--ink-70); }
.intro-block p:first-child { color: var(--ink); }

/* ==========================================================================
   Stat strip - inline, dense, no tall tiles
   ========================================================================== */

.stat-strip__inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.stat-tile { padding: .75rem .9rem; border-left: 1px solid var(--border); }
.stat-tile:first-child { border-left: 0; }
.stat-tile__value { display: block; font-weight: 700; font-size: 1.3rem; color: var(--brand-ink); letter-spacing: -.02em; line-height: 1.1; }
.stat-tile__label { display: block; font-size: .76rem; color: var(--ink-50); margin-top: .15rem; }

/* ==========================================================================
   Stars, verdict
   ========================================================================== */

.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.star {
  position: relative; width: 12px; height: 12px; background: var(--border-strong);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.star--full { background: var(--brand-ink); }
.star--half { overflow: hidden; }
.star--half::before { content: ''; position: absolute; inset: 0; width: 50%; background: var(--brand-ink); }
.masthead .star, .on-dark .star, .band .star { background: rgba(255, 255, 255, .3); }
.masthead .star--full, .on-dark .star--full, .band .star--full { background: var(--accent); }
.masthead .star--half::before, .on-dark .star--half::before, .band .star--half::before { background: var(--accent); }

.verdict { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1rem; }
.verdict-card { border: 0; padding: 0; }
.rating-list { list-style: none; margin: 0; padding: 0; }
.rating-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center; gap: .75rem;
  padding: .42rem 0; border-bottom: 1px solid var(--border);
}
.rating-list li:last-child { border-bottom: 0; }
.rating-list li.is-overall { border-bottom: 2px solid var(--brand); padding-bottom: .6rem; }
.rating-list__name { font-weight: 500; font-size: .87rem; color: var(--ink-70); }
.rating-list li.is-overall .rating-list__name { font-size: .98rem; font-weight: 700; color: var(--ink); }
.rating-list__score { font-weight: 700; color: var(--brand-ink); font-size: .88rem; min-width: 2rem; text-align: right; }
.verdict-note { background: var(--bg-tint); border: 1px solid var(--border); border-radius: 4px; padding: .9rem; }
.verdict-note__quote { font-weight: 600; font-size: .98rem; line-height: 1.45; color: var(--ink); }
.verdict-note__by { margin-top: .7rem; font-size: .8rem; color: var(--ink-50); font-weight: 600; }
.verdict-disclaimer { margin-top: .6rem; font-size: .76rem; color: var(--ink-50); }
.jaali-rule { display: block; width: 34px; height: 3px; border-radius: 2px; background: var(--accent-dk); margin-bottom: .7rem; }

/* CTA strip inside a review masthead */
.cta-strip { margin-top: .9rem; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-strip__main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .8rem .95rem; }
.cta-strip__label { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-50); }
.cta-strip__bonus { display: block; font-weight: 700; font-size: 1rem; color: var(--ink); line-height: 1.3; margin-top: .12rem; }
.cta-strip__bar {
  display: flex; align-items: center; gap: .45rem;
  background: var(--accent-soft); border-top: 1px solid var(--accent-line);
  padding: .45rem .95rem; font-size: .8rem; color: var(--ink-70); margin: 0;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 0 rgba(120, 17, 82, .5); animation: pulse 2.2s infinite; flex: 0 0 auto;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 8px rgba(120, 17, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(120, 17, 82, 0); }
}
@media (prefers-reduced-motion: reduce) { .pulse-dot { animation: none; } }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, .72); }
.ornament-band { height: 3px; background: linear-gradient(90deg, var(--accent) 0%, var(--brand-light) 60%, var(--brand-grad-a) 100%); }
.site-footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr;
  gap: 1.6rem; padding-block: 2rem 1.5rem;
}
.footer-pedestal__word { font-weight: 700; font-size: 1.05rem; margin: .5rem 0 .4rem; color: #fff; }
.footer-pedestal__line { color: rgba(255, 255, 255, .58); font-size: .84rem; }
.accreditations { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .8rem; }
.accred { font-size: .68rem; color: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .18); border-radius: 2px; padding: .2rem .45rem; }
.accred--age { color: var(--ink); background: var(--accent); border-color: var(--accent); font-weight: 700; }
.footer-col__head { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: .65rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .35rem; }
.footer-col a { color: rgba(255, 255, 255, .68); font-size: .85rem; }
.footer-col a:hover { color: var(--accent); }
.footer-vip { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 1rem; }
.footer-vip__head { font-size: .98rem; margin-bottom: .35rem; color: #fff; }
.footer-vip p { color: rgba(255, 255, 255, .7); font-size: .84rem; margin-bottom: .8rem; }
.footer-vip__read { display: block; margin-top: .6rem; font-size: .8rem; color: rgba(255, 255, 255, .68); text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.footer-vip__read:hover { color: var(--accent); }
.site-footer__base { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.1rem 1.6rem; text-align: center; }
.disclaimer { color: rgba(255, 255, 255, .5); font-size: .78rem; }
.copyright { color: rgba(255, 255, 255, .5); font-size: .78rem; margin-bottom: 0; }

/* ==========================================================================
   404
   ========================================================================== */

.page-404 { text-align: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-404 .btn { margin: .3rem; }
.page-404 .jaali-rule { margin-inline: auto; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.js .reveal { opacity: 0; transform: translateY(10px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal.is-in { transition: none; }
}

/* ==========================================================================
   Breakpoints: 1100 / 900 / 700 / 560 / 480
   ========================================================================== */

@media (max-width: 1100px) {
  .shell { grid-template-columns: minmax(0, 1fr) 280px; }
  .masthead__grid { grid-template-columns: minmax(0, 1fr) 290px; }
  .brand__kicker { display: none; }
  .rank-table .col-opt { display: none; }
}

@media (max-width: 980px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .shell__rail { position: static; flex-direction: row; flex-wrap: wrap; }
  .shell__rail > * { flex: 1 1 280px; }
  .masthead__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .burger { display: block; margin-left: auto; }
  .site-header__cta { display: none; }
  .nav {
    position: fixed; inset: 0; margin: 0;
    background: var(--brand-deep); padding: 5rem 1.5rem 2rem;
    transform: translateX(100%); transition: transform .3s var(--ease), visibility .3s;
    overflow-y: auto; z-index: 89; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item > a { padding: .85rem .25rem; font-size: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .12); justify-content: space-between; }
  .nav-item > a:hover, .nav-item > a.active { border-bottom-color: rgba(255, 255, 255, .12); }
  .nav-item--has-submenu::after { display: none; }
  .nav-submenu {
    position: static; transform: none; min-width: 0;
    opacity: 1; visibility: visible; display: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--accent);
    background: transparent; padding: .3rem 0 .6rem .7rem; border-radius: 0;
  }
  .nav-item--has-submenu.is-open .nav-submenu { display: block; }
  .nav-item--has-submenu:hover .nav-submenu { display: none; }
  .nav-item--has-submenu.is-open:hover .nav-submenu { display: block; }
  .nav-submenu__grid { grid-template-columns: 1fr; }
  .nav-submenu__item { color: rgba(255, 255, 255, .78); }
  .nav-submenu__item:hover { background: rgba(255, 255, 255, .1); color: #fff; }
  body.nav-lock { overflow: hidden; }

  .verdict { grid-template-columns: 1fr; }
  .floor-grid > *, .grid12 > * { grid-column: span 6; }
  .rank-table .col-metric { display: none; }
}

@media (max-width: 700px) {
  .prose-2col { columns: 1; }
  .feature-check-list--plain { grid-template-columns: 1fr; }
  .split-layout, .split-layout--reverse { grid-template-columns: 1fr; }
  .split-layout--reverse .split-layout__media { order: 0; }
  .split-layout__media { min-height: 0; aspect-ratio: 16 / 9; }
  .stat-strip__inner { grid-template-columns: 1fr 1fr; }
  .stat-tile:nth-child(3) { border-left: 0; }
  .stat-tile:nth-child(n+3) { border-top: 1px solid var(--border); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .footer-pedestal, .footer-vip { grid-column: span 2; }
  .rank-table .col-bonus { display: none; }
  .rank-table thead { display: none; }
  .rank-table, .rank-table tbody, .rank-table tr, .rank-table td { display: block; width: 100%; }
  .rank-table tr { border-bottom: 1px solid var(--border); padding: .6rem .8rem; display: grid; grid-template-columns: 24px 92px minmax(0,1fr); gap: .5rem .7rem; align-items: center; }
  .rank-table td { border: 0; padding: 0; }
  .rank-table td.col-rank { grid-row: 1; }
  .rank-table td.col-brand { grid-column: 2 / 4; grid-row: 1; }
  .rank-table td.col-score { grid-column: 1 / 4; }
  .rank-table td.col-act { grid-column: 1 / 4; }
  .rank-act { justify-content: flex-start; }
}

@media (max-width: 560px) {
  :root { --gutter: 1rem; }
  .floor-grid > *, .grid12 > * { grid-column: span 12; }
  .masthead__meta { font-size: .78rem; }
  .cta-strip__main { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: .7rem; }
}

@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-pedestal, .footer-vip { grid-column: span 1; }
  .stat-strip__inner { grid-template-columns: 1fr 1fr; }
}
