/* =========================================================
   DigiuFind — shared design system
   One file for every page, so new pages match automatically.
   In Divi these become: Theme Customizer colours/fonts,
   global presets for buttons, cards and sections.
   ========================================================= */

/* Fonts are bundled locally (assets/fonts) so the preview works offline */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2-variations"), url(../fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-display: swap; font-weight: 100 1000; src: url(../fonts/dm-sans-latin-opsz-normal.woff2) format("woff2-variations"), url(../fonts/dm-sans-latin-opsz-normal.woff2) format("woff2"); }

:root {
  /* Brand colours (from Bree's brief) */
  --bg: #F7F8FC;          /* main background */
  --card: #FFFFFF;        /* cards, content areas */
  --navy: #101545;        /* brand, headings, header, footer */
  --navy-2: #1B2160;      /* raised navy surfaces */
  --navy-line: #2A3075;   /* borders on navy */
  --gold: #FFC928;        /* buttons, badges, highlights (fill only) */
  --gold-2: #F2B705;      /* gold hover */
  --ink: #333747;         /* main text */
  --muted: #667085;       /* secondary text */
  --line: #E5E7EB;        /* borders, dividers */
  --on-navy: #FFFFFF;
  --on-navy-muted: #C9CCE6;
  --tint: #EEF0FA;        /* soft navy tint for chips */
  --ok: #157347;
  --danger: #B42318;

  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(16, 21, 69, .06), 0 4px 14px rgba(16, 21, 69, .06);
  --shadow-up: 0 2px 4px rgba(16, 21, 69, .08), 0 10px 24px rgba(16, 21, 69, .10);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: #2A3395; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.on-navy :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 640px) { .wrap { padding-inline: 16px; } }

/* ---------- Preview notice ---------- */
.preview-bar {
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 6px 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px/1 var(--body);
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.hdr-top { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.brand img { width: 46px; height: 46px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.brand b { color: var(--gold); font-weight: 800; }
.hdr-search { flex: 1; display: flex; max-width: 560px; background: #fff; border-radius: 999px; padding: 4px; }
.hdr-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; padding: 8px 14px; color: var(--ink); }
.hdr-search input:focus { outline: none; }
.hdr-search:focus-within { box-shadow: 0 0 0 3px var(--gold); }
.hdr-search button svg { width: 18px; height: 18px; }
.hdr-search button { border: 0; background: var(--gold); color: var(--navy); border-radius: 999px; padding: 8px 16px; font: 700 14px var(--body); cursor: pointer; display: flex; align-items: center; gap: 6px; }
.hdr-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr-icon { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; text-decoration: none; font-size: 12px; padding: 6px 10px; border-radius: 10px; position: relative; }
.hdr-icon:hover { background: var(--navy-2); color: #fff; }
.hdr-icon svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 0; right: 4px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.hdr-auth { display: flex; gap: 8px; margin-left: 8px; }

.hdr-nav { border-top: 1px solid var(--navy-line); }
.hdr-nav > .wrap { display: flex; align-items: center; }
.menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: flex; align-items: center; gap: 6px;
  color: #fff; text-decoration: none; background: none; border: 0;
  font: 600 15px var(--body); padding: 13px 14px; cursor: pointer;
  border-bottom: 3px solid transparent;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li > button[aria-expanded="true"] { color: var(--gold); }
.menu > li > a[aria-current="page"] { border-bottom-color: var(--gold); }
.menu .chev { width: 12px; height: 12px; transition: transform .15s; }
.menu button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 0; z-index: 60;
  background: #fff; color: var(--ink);
  border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--shadow-up);
  padding: 18px; display: none;
  min-width: 300px;
}
.dropdown.open { display: block; }
.dropdown.wide { min-width: 640px; }
.dropdown ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dropdown.wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.dropdown a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 15px; }
.dropdown a:hover { background: var(--tint); color: var(--navy); }
.dropdown .dd-foot { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.dropdown .dd-foot a { font-weight: 700; color: var(--navy); }
.nav-promo { margin-left: auto; color: var(--on-navy-muted); font-size: 14px; }
.nav-promo a { color: var(--gold); font-weight: 700; }

.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

/* Mobile drawer */
.drawer { display: none; }
@media (max-width: 1080px) {
  .hdr-auth { display: none; }
  .nav-promo { display: none; }
}
@media (max-width: 900px) {
  .hdr-top { flex-wrap: wrap; gap: 12px; }
  .hdr-search { order: 3; flex-basis: 100%; max-width: none; }
  .hdr-nav { display: none; }
  .menu-toggle { display: block; }
  .hdr-icon .lbl { display: none; }
  .brand span { font-size: 21px; }
  .brand img { width: 40px; height: 40px; }
  .drawer.open { display: block; position: fixed; inset: 0; z-index: 80; }
  .drawer-backdrop { position: absolute; inset: 0; background: rgba(16,21,69,.55); }
  .drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; overflow-y: auto; display: flex; flex-direction: column; }
  .drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px; background: var(--navy); color: #fff; }
  .drawer-head button { background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }
  .drawer nav { padding: 8px; }
  .drawer details { border-bottom: 1px solid var(--line); }
  .drawer summary, .drawer .m-link { display: flex; justify-content: space-between; align-items: center; padding: 14px 12px; font-weight: 700; color: var(--navy); text-decoration: none; cursor: pointer; list-style: none; }
  .drawer summary::-webkit-details-marker { display: none; }
  .drawer summary::after { content: "+"; font-size: 20px; }
  .drawer details[open] summary::after { content: "−"; }
  .drawer details ul { list-style: none; margin: 0 0 10px; padding: 0 12px; }
  .drawer details li a { display: block; padding: 8px 4px; color: var(--ink); text-decoration: none; }
  .drawer .m-link { border-bottom: 1px solid var(--line); }
  .drawer-auth { padding: 16px; display: grid; gap: 10px; margin-top: auto; border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
.section-sm { padding-block: 40px; }
.section-white { background: var(--card); border-block: 1px solid var(--line); }
.on-navy { background: var(--navy); color: #fff; }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4 { color: #fff; }
.on-navy a:not(.btn) { color: var(--gold); }
.on-navy .muted { color: var(--on-navy-muted); }
.muted { color: var(--muted); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head p { margin-top: 8px; color: var(--muted); max-width: 62ch; }
.sec-head .more { font-weight: 700; white-space: nowrap; }
.center { text-align: center; }
.center .sec-head, .sec-head.center { justify-content: center; text-align: center; }
.sec-head.center p { margin-inline: auto; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #A3A9BA; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.on-navy .crumbs, .on-navy .crumbs a { color: var(--on-navy-muted); }
.on-navy .crumbs [aria-current] { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: 8px 40px; }
.page-hero h1 { margin-top: 14px; font-size: clamp(32px, 4vw, 46px); }
.page-hero p.lead { margin-top: 12px; font-size: 18px; max-width: 64ch; }

/* ---------- Home hero ---------- */
.hero { padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; max-width: 15ch; }
.hero .lead { margin-top: 18px; font-size: 18px; color: var(--on-navy-muted); max-width: 58ch; }
.big-search { margin-top: 28px; display: flex; background: #fff; border-radius: 16px; padding: 6px; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.big-search select { border: 0; border-right: 1px solid var(--line); background: transparent; font: 600 15px var(--body); color: var(--navy); padding: 0 14px; max-width: 42%; }
.big-search input { flex: 1; min-width: 0; border: 0; font: 17px var(--body); padding: 14px 16px; color: var(--ink); }
.big-search input:focus, .big-search select:focus { outline: none; }
.big-search:focus-within { box-shadow: 0 0 0 3px var(--gold), 0 8px 30px rgba(0,0,0,.25); }
.big-search button { border: 0; background: var(--gold); color: var(--navy); border-radius: 12px; padding: 0 26px; font: 800 16px var(--body); cursor: pointer; }
.big-search button:hover { background: var(--gold-2); }
.hero-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.hero-tags span { color: var(--on-navy-muted); }
.hero-tags a { color: #fff; text-decoration: none; border: 1px solid var(--navy-line); background: var(--navy-2); padding: 5px 12px; border-radius: 999px; }
.hero-tags a:hover { border-color: var(--gold); color: var(--gold); }
.hero-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* The shelf: stacked covers on the right of the hero */
.hero-shelf { position: relative; height: 440px; }
.hero-shelf .cover { position: absolute; width: 190px; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.hero-shelf .cover:nth-child(1) { left: 0; top: 90px; width: 170px; transform: rotate(-7deg); }
.hero-shelf .cover:nth-child(2) { left: 115px; top: 20px; z-index: 2; width: 220px; }
.hero-shelf .cover:nth-child(3) { left: 300px; top: 110px; width: 170px; transform: rotate(7deg); }
.hero-stats { display: flex; gap: 28px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--navy-line); flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--display); font-size: 28px; color: var(--gold); line-height: 1; }
.hero-stats div span { font-size: 14px; color: var(--on-navy-muted); }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-shelf { display: none; }
}
@media (max-width: 560px) {
  .big-search { flex-wrap: wrap; }
  .big-search select { max-width: none; flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .big-search button { flex-basis: 100%; padding: 14px; margin-top: 6px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ---------- Product cover (fallback cover system) ----------
   Used when a product has no cover image. Same size everywhere.
   Real covers replace .cover-art with an <img>. */
.cover {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  display: flex; flex-direction: column;
  isolation: isolate;
}
.cover img.cover-img { width: 100%; height: 100%; object-fit: cover; }
.cover-band { background: var(--gold); color: var(--navy); font: 800 11px var(--body); letter-spacing: .04em; padding: 7px 12px; display: flex; justify-content: space-between; }
.cover-title { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; padding: 14px 14px 0; font-size: clamp(17px, 1.7vw, 22px); text-wrap: balance; position: relative; z-index: 2; }
.cover-sub { padding: 8px 14px 0; font-size: 12px; color: var(--on-navy-muted); position: relative; z-index: 2; }
.cover-mark { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; opacity: .95; z-index: 2; }
.cover-pixels { position: absolute; left: 0; bottom: 0; width: 70%; height: 46%; z-index: 1; }
.cover-pixels i { position: absolute; width: 16%; aspect-ratio: 1; border-radius: 3px; background: var(--gold); }
.cover-pixels i:nth-child(1) { left: 10%; bottom: 14%; opacity: .9; }
.cover-pixels i:nth-child(2) { left: 26%; bottom: 14%; opacity: .55; }
.cover-pixels i:nth-child(3) { left: 26%; bottom: 32%; opacity: .75; }
.cover-pixels i:nth-child(4) { left: 42%; bottom: 32%; opacity: .35; }
.cover-pixels i:nth-child(5) { left: 10%; bottom: 50%; opacity: .25; }
.cover-pixels i:nth-child(6) { left: 58%; bottom: 14%; opacity: .2; }
.cover[data-variant="1"] { background: #17205A; }
.cover[data-variant="1"] .cover-pixels { transform: scaleX(-1); left: auto; right: 0; }
.cover[data-variant="1"] .cover-mark { right: auto; left: 12px; }
.cover[data-variant="2"] { background: linear-gradient(160deg, #101545 55%, #26307E); }
.cover[data-variant="2"] .cover-pixels { height: 30%; }
.cover[data-variant="3"] { background: #0C1038; }
.cover[data-variant="3"] .cover-band { background: #232C78; color: var(--gold); }

/* ---------- Product card ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .grid { gap: 12px; } }

.p-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; position: relative; }
.p-card:hover { box-shadow: var(--shadow-up); border-color: #D3D7E3; }
.p-card .cover { border-radius: var(--r); }
.p-actions { display: flex; gap: 6px; align-items: center; position: relative; z-index: 2; }
.wish { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; padding: 0; }
.wish:hover { border-color: var(--navy); }
.wish svg { width: 17px; height: 17px; }
.wish[aria-pressed="true"] svg { fill: var(--navy); }
.cover-flag { background: var(--navy); color: var(--gold); border-radius: 4px; padding: 2px 6px; font-weight: 800; }
.cover[data-variant="3"] .cover-flag { background: var(--gold); color: var(--navy); }
.p-body { padding: 12px 4px 4px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-title { font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1.3; font-size: 15px; }
.p-title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-title:hover { text-decoration: underline; }
.p-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: var(--tint); color: var(--navy); border-radius: 999px; padding: 3px 9px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.chip.plain { background: #F2F4F7; color: var(--muted); }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.p-price { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--navy); }
.p-price.free { color: var(--ok); }
.p-foot .btn { position: relative; z-index: 2; }
.badge { display: inline-block; font: 800 11px var(--body); letter-spacing: .04em; padding: 4px 9px; border-radius: 6px; background: var(--gold); color: var(--navy); }
.badge.navy { background: #fff; color: var(--navy); }
.badge.green { background: #DCF5E7; color: var(--ok); }

/* ---------- Tiles (categories / topics) ---------- */
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tile { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-decoration: none; color: var(--navy); font-weight: 700; transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: var(--navy); box-shadow: var(--shadow); color: var(--navy); }
.tile .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.tile .ico svg { width: 24px; height: 24px; }
.tile small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }
.topic-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; text-decoration: none; color: var(--navy); font-weight: 600; }
.topic-pill:hover { border-color: var(--navy); color: var(--navy); }
.topic-pill.hot { background: var(--navy); color: #fff; border-color: var(--navy); }
.topic-pill.hot:hover { background: var(--navy-2); color: #fff; }
.topic-pill em { font-style: normal; color: var(--muted); font-size: 13px; font-weight: 500; }
.topic-pill.hot em { color: var(--on-navy-muted); }

/* ---------- Boxes / panels ---------- */
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.box-tint { background: var(--tint); border-color: transparent; }
.notice { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #FFF6D6; border: 1px solid #F5D77A; border-radius: var(--r); padding: 14px 18px; }
.notice strong { color: var(--navy); }

/* ---------- Plans ---------- */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan h3 { font-size: 22px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price strong { font-family: var(--display); font-size: 40px; color: var(--navy); line-height: 1; }
.plan .price span { color: var(--muted); }
.plan .note { font-size: 14px; color: var(--muted); min-height: 2.6em; }
.plan .limit { background: var(--tint); color: var(--navy); border-radius: 10px; padding: 10px 12px; font-weight: 800; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--ok); }
.plan li.no { color: var(--muted); }
.plan li.no svg { color: #A3A9BA; }
.plan .btn { margin-top: auto; }
.plan.best { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow-up); }
.plan.best h3, .plan.best .price strong { color: #fff; }
.plan.best .price span, .plan.best .note { color: var(--on-navy-muted); }
.plan.best .limit { background: var(--gold); color: var(--navy); }
.plan.best li svg { color: var(--gold); }
.plan .flag { position: absolute; top: -13px; left: 22px; }
.fine { font-size: 14px; color: var(--muted); text-align: center; margin-top: 18px; }

/* Comparison table */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-family: var(--display); color: var(--navy); font-size: 18px; background: #FAFBFE; }
.compare thead th small { display: block; font-family: var(--body); font-weight: 500; color: var(--muted); font-size: 13px; }
.compare .vip { background: #FFF8E1; }
.compare thead .vip { background: var(--navy); color: #fff; }
.compare thead .vip small { color: var(--on-navy-muted); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); font-weight: 800; }
.compare .no { color: #98A2B3; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--gold); font: 800 17px var(--display); margin-bottom: 14px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Benefits (navy band) */
.benefits { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.benefit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.benefit { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--r-lg); padding: 20px; }
.benefit h3 { font-size: 18px; margin-bottom: 6px; }
.benefit p { color: var(--on-navy-muted); font-size: 15px; }
.benefit .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--gold); color: var(--navy); display: grid; place-items: center; margin-bottom: 12px; }
.benefit .ico svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .benefits { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .benefit-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Resources ---------- */
.articles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.article-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); position: relative; }
.article-card:hover { box-shadow: var(--shadow-up); color: var(--ink); }
.article-thumb { aspect-ratio: 16 / 8; background: var(--navy); color: #fff; padding: 18px; display: flex; align-items: flex-end; position: relative; overflow: hidden; }
.article-thumb span { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.05; max-width: 14ch; position: relative; z-index: 2; }
.article-thumb::after { content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; border: 14px solid var(--gold); opacity: .9; }
.article-card:nth-child(3n+2) .article-thumb::after { border-color: #fff; opacity: .25; }
.article-card:nth-child(3n) .article-thumb { background: #1B2160; }
.article-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-body h3 { font-size: 18px; }
.article-body p { color: var(--muted); font-size: 15px; }
.article-body .meta { margin-top: auto; font-size: 13px; color: var(--muted); }

/* Article page */
.prose { max-width: 70ch; font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: 26px; margin: 34px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--navy); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; color: var(--ink); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--gold); border-radius: var(--r-lg); padding: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: center; }
.newsletter h2 { font-size: clamp(24px, 2.6vw, 32px); }
.newsletter p { color: var(--navy); margin-top: 8px; }
.nl-form { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 5px; }
.nl-form input { flex: 1; min-width: 0; border: 0; font: inherit; padding: 10px 16px; background: transparent; }
.nl-form input:focus { outline: none; }
.nl-form:focus-within { box-shadow: 0 0 0 3px var(--navy); }
.nl-ok { font-weight: 700; color: var(--navy); margin-top: 10px; display: none; }
.nl-ok.show { display: block; }
@media (max-width: 760px) { .newsletter { grid-template-columns: minmax(0, 1fr); padding: 24px; } }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trust div { display: flex; gap: 12px; align-items: flex-start; }
.trust svg { flex: none; width: 26px; height: 26px; color: var(--navy); }
.trust strong { display: block; color: var(--navy); }
.trust span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: 56px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer .brand { margin-bottom: 14px; }
.foot-about p { font-size: 15px; max-width: 34ch; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--navy-line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.pay-note { display: flex; gap: 8px; align-items: center; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-help { grid-column: 1 / -1; } }

/* ---------- Listing page ---------- */
.list-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding-top: 28px; }
.filters { position: sticky; top: 130px; padding: 0; overflow: hidden; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.filters-head h2 { font-size: 18px; }
.filters fieldset { border: 0; margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.filters fieldset:last-of-type { border-bottom: 0; }
.filters legend { font-weight: 800; color: var(--navy); margin-bottom: 8px; padding: 0; float: left; width: 100%; }
.filters label { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 15px; cursor: pointer; clear: both; }
.filters label em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 13px; }
.filters input[type=checkbox], .filters input[type=radio] { width: 18px; height: 18px; accent-color: var(--navy); }
.price-range { display: flex; gap: 8px; align-items: center; clear: both; }
.price-range input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px; font: inherit; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results-bar select { font: inherit; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters button { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--navy); background: #fff; color: var(--navy); border-radius: 999px; padding: 5px 12px; font: 600 13px var(--body); cursor: pointer; }
.empty { text-align: center; padding: 48px 24px; }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 18px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--navy); font-weight: 700; padding: 0 12px; }
.pager [aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter-toggle { display: none; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.subnav a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--navy-line); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.subnav a:hover, .subnav a[aria-current] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
@media (max-width: 900px) {
  .list-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
}

/* ---------- Product page ---------- */
.prod { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding-top: 24px; align-items: start; }
.gallery .cover { max-width: 460px; margin-inline: auto; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; max-width: 460px; margin-inline: auto; }
.thumbs button { border: 2px solid var(--line); border-radius: 10px; padding: 0; overflow: hidden; background: none; cursor: pointer; aspect-ratio: 1; }
.thumbs button[aria-current="true"] { border-color: var(--navy); }
.thumbs .cover { aspect-ratio: 1; border-radius: 0; }
.thumbs .cover-title, .thumbs .cover-sub { display: none; }
.prod-info h1 { font-size: clamp(30px, 3.4vw, 42px); margin: 12px 0; }
.prod-info .lead { font-size: 18px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 14px; }
.facts strong { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.facts b { color: var(--navy); }
.buybox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.buy-price { display: flex; justify-content: space-between; align-items: baseline; }
.buy-price strong { font-family: var(--display); font-size: 38px; color: var(--navy); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.elig { display: grid; gap: 8px; }
.elig div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 9px 12px; border-radius: 10px; background: #F8F9FC; }
.elig div.hi { background: #FFF8E1; font-weight: 700; }
.elig .y { color: var(--ok); font-weight: 700; }
.prod-tabs { margin-top: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.prod-tabs h2 { font-size: 22px; margin-bottom: 12px; }
.prod-tabs ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.rights { display: grid; gap: 8px; list-style: none; padding: 0 !important; }
.rights li { display: flex; gap: 10px; align-items: center; }
.rights .y, .rights .n { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.rights .y { background: #DCF5E7; color: var(--ok); }
.rights .n { background: #FEE4E2; color: var(--danger); }
.howto { counter-reset: h; list-style: none; padding: 0 !important; }
.howto li { counter-increment: h; display: flex; gap: 12px; }
.howto li::before { content: counter(h); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
@media (max-width: 900px) { .prod, .prod-tabs { grid-template-columns: minmax(0, 1fr); } .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Forms (auth, support) ---------- */
.auth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 640px; max-width: 1080px; margin: 40px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.auth-side { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.auth-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.auth-side li { display: flex; gap: 10px; align-items: flex-start; }
.auth-side li svg { flex: none; width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.auth-form { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.auth-form h1 { font-size: 32px; margin-bottom: 6px; }
@media (max-width: 860px) { .auth { grid-template-columns: minmax(0, 1fr); } .auth-side { order: 2; padding: 28px; } .auth-form { padding: 28px; } }
.form { display: grid; gap: 16px; margin-top: 22px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--navy); font-size: 14px; }
.field input, .field select, .field textarea { font: inherit; border: 1px solid #CDD2DE; border-radius: 10px; padding: 12px 14px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16,21,69,.15); }
.field .hint { font-size: 13px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); margin-top: 2px; }
.plan-pick { display: grid; gap: 8px; }
.plan-pick label { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; font-size: 15px; }
.plan-pick label:has(input:checked) { border-color: var(--navy); background: var(--tint); }
.plan-pick input { accent-color: var(--navy); width: 18px; height: 18px; }
.plan-pick span { flex: 1; }
.plan-pick b { color: var(--navy); }
.form-foot { font-size: 14px; color: var(--muted); text-align: center; margin-top: 18px; }
.success { background: #DCF5E7; color: var(--ok); border-radius: 10px; padding: 12px 14px; font-weight: 600; display: none; }
.success.show { display: block; }

/* ---------- Account ---------- */
.acct { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding-top: 28px; align-items: start; }
.acct-nav { padding: 10px; position: sticky; top: 130px; }
.acct-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.acct-nav a:hover { background: var(--tint); color: var(--navy); }
.acct-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.acct-nav a svg { width: 18px; height: 18px; flex: none; }
.acct-panel { display: none; }
.acct-panel.on { display: grid; gap: 20px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpis .box { padding: 18px; }
.kpis strong { display: block; font-family: var(--display); font-size: 28px; color: var(--navy); line-height: 1.1; }
.kpis span { font-size: 14px; color: var(--muted); }
.meter { height: 10px; background: #EAECF5; border-radius: 99px; overflow: hidden; margin-top: 10px; }
.meter i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
.data th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.data td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data tr:last-child td { border-bottom: 0; }
.status { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.status.ok { background: #DCF5E7; color: var(--ok); }
.status.wait { background: #FFF1C2; color: #7A5B00; }
.status.info { background: var(--tint); color: var(--navy); }
.lib-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lib-item:last-child { border-bottom: 0; }
.lib-item .cover { width: 54px; flex: none; border-radius: 8px; }
.lib-item .cover-title, .lib-item .cover-sub, .lib-item .cover-band { display: none; }
.lib-item div.info { flex: 1; min-width: 0; }
.lib-item strong { color: var(--navy); display: block; }
.lib-item span { font-size: 13px; color: var(--muted); }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.toggle-row:last-child { border-bottom: 0; }
.switch { appearance: none; width: 44px; height: 26px; border-radius: 99px; background: #D0D5DD; position: relative; cursor: pointer; flex: none; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .15s; }
.switch:checked { background: var(--navy); }
.switch:checked::after { left: 21px; }
@media (max-width: 900px) {
  .acct { grid-template-columns: minmax(0, 1fr); }
  .acct-nav { position: static; display: flex; overflow-x: auto; gap: 4px; }
  .acct-nav a { white-space: nowrap; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  table.data.stack thead { display: none; }
  table.data.stack tr { display: grid; padding: 10px 0; border-bottom: 1px solid var(--line); }
  table.data.stack td { border: 0; padding: 3px 0; }
}

/* ---------- Cart ---------- */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 24px; padding-top: 28px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 70px 1fr auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line .cover { width: 70px; border-radius: 8px; }
.cart-line .cover-title, .cart-line .cover-sub, .cart-line .cover-band { display: none; }
.cart-line strong { color: var(--navy); }
.summary { position: sticky; top: 130px; display: grid; gap: 14px; }
.sum-row { display: flex; justify-content: space-between; font-size: 15px; }
.sum-row.total { font-size: 20px; font-weight: 800; color: var(--navy); border-top: 1px solid var(--line); padding-top: 14px; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; font: inherit; border: 1px solid #CDD2DE; border-radius: 10px; padding: 10px 12px; }
.pay-marks { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pay-marks span { border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 800; color: var(--muted); }
@media (max-width: 900px) { .cart { grid-template-columns: minmax(0, 1fr); } .summary { position: static; } }
@media (max-width: 520px) { .cart-line { grid-template-columns: 56px 1fr; } .cart-line .cover { width: 56px; } .cart-line > :nth-child(3), .cart-line > :nth-child(4) { grid-column: 2; } }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 270px 1fr; gap: 28px; padding-top: 28px; align-items: start; }
.legal-nav { padding: 10px; position: sticky; top: 130px; }
.legal-nav h2 { font-size: 15px; padding: 8px 12px; color: var(--muted); font-family: var(--body); }
.legal-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.legal-nav a:hover { background: var(--tint); }
.legal-nav a[aria-current="page"] { background: var(--navy); color: #fff; font-weight: 700; }
.legal-doc { padding: 36px; }
.legal-doc .updated { color: var(--muted); font-size: 14px; margin-top: 6px; }
@media (max-width: 900px) { .legal { grid-template-columns: minmax(0, 1fr); } .legal-nav { position: static; } .legal-doc { padding: 22px; } }

/* ---------- Support ---------- */
.support-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.help-cards { display: grid; gap: 14px; }
.help-card { display: flex; gap: 14px; align-items: flex-start; }
.help-card .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--tint); color: var(--navy); display: grid; place-items: center; }
.help-card .ico svg { width: 22px; height: 22px; }
.help-card h3 { font-size: 17px; margin-bottom: 4px; }
.help-card p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .support-grid { grid-template-columns: minmax(0, 1fr); } }

/* License explainer */
.lic-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lic-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.lic-card h3 { font-size: 18px; margin: 10px 0 6px; }
.lic-card p { font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .lic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lic-grid { grid-template-columns: minmax(0, 1fr); } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow-up); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Related-topic links on light page headers */
.subnav-light a { border-color: var(--line); color: var(--navy); background: var(--bg); }
.subnav-light a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.subnav-label { font-size: 14px; color: var(--muted); align-self: center; margin-right: 4px; }
.tile.hot { background: var(--navy); color: #fff; border-color: var(--navy); }
.tile.hot:hover { background: var(--navy-2); color: #fff; }
.tile.hot small { color: var(--on-navy-muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 44px; align-items: start; }
.article-side { display: grid; gap: 18px; position: sticky; top: 130px; }
.feature-card { display: grid; grid-template-columns: 1.1fr 1fr; margin-bottom: 28px; }
@media (max-width: 900px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-side { position: static; } }
@media (max-width: 760px) { .feature-card { grid-template-columns: minmax(0, 1fr); } .feature-card .article-thumb span { font-size: 28px !important; } }

@media (max-width: 560px) {
  .p-foot { flex-wrap: wrap; }
  .p-actions { width: 100%; }
  .p-actions .btn { flex: 1; }
  .p-card { padding: 8px; }
  .cover-title { font-size: 16px; padding: 10px 10px 0; }
  .cover-sub { padding: 6px 10px 0; font-size: 11px; }
  .cover-band { padding: 6px 10px; font-size: 10px; }
  .results-bar > span { flex-basis: 100%; order: 3; }
}

.free-steps { grid-template-columns: repeat(3, minmax(150px, 200px)); gap: 12px; }
.free-steps li { background: var(--navy-2); border-color: var(--navy-line); padding: 16px; }
.free-steps h3 { font-size: 16px; color: #fff; }
@media (max-width: 700px) { .free-steps { grid-template-columns: minmax(0, 1fr); width: 100%; } .free-steps li { display: flex; gap: 12px; align-items: center; } .free-steps li::before { margin: 0; flex: none; } }
