/* ==========================================================================
   TheMarketGuide.com — Design System
   One stylesheet, no build step. Load with <link rel="stylesheet" href="/css/styles.css">
   Palette: navy blue · white · charcoal gray · soft gold · green accents
   Sections: 1) Tokens  2) Reset/base  3) Layout  4) Header/nav  5) Buttons
             6) Cards  7) Hero  8) Sections/components  9) Article/prose
             10) Tables  11) Reviews  12) Forms  13) Footer  14) Utilities
   ========================================================================== */

/* 1) DESIGN TOKENS ------------------------------------------------------- */
:root {
  /* Brand palette (per brief) */
  --navy: #10315c;        /* primary navy blue */
  --navy-700: #16406f;
  --navy-900: #0b1f3a;    /* deep ink */
  --ink: #1a2430;         /* body text (charcoal) */
  --charcoal: #2b3844;    /* charcoal gray */
  --slate: #566472;       /* secondary text */
  --white: #ffffff;
  --gray-50: #f5f7fa;     /* section wash */
  --gray-100: #eceff4;
  --gray-200: #dde3ea;    /* borders */
  --forest: #1f7a4d;      /* green accent */
  --forest-600: #196a42;
  --forest-50: #e8f4ee;
  --warm-blue: #2f6bd6;   /* link / highlight blue */
  --warm-blue-600: #235cbe;
  --warm-blue-50: #eaf1fd;
  --gold: #c8a02c;        /* soft gold */
  --gold-600: #b08d20;
  --gold-50: #f8f1dd;
  --amber: #c8a02c;       /* star ratings = soft gold */

  /* Type scale (fluid) */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.18rem, 1.1rem + 0.4vw, 1.35rem);
  --step-2:  clamp(1.4rem, 1.25rem + 0.7vw, 1.75rem);
  --step-3:  clamp(1.7rem, 1.4rem + 1.4vw, 2.35rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.4vw, 3.3rem);
  --step-5:  clamp(2.5rem, 1.8rem + 3.4vw, 4.2rem);

  /* Space, radius, shadow */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 3rem;    --sp-8: 4.5rem;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(14,42,71,.06), 0 1px 3px rgba(14,42,71,.08);
  --shadow: 0 6px 18px rgba(14,42,71,.08), 0 2px 6px rgba(14,42,71,.05);
  --shadow-lg: 0 18px 46px rgba(14,42,71,.14);
  --container: 1160px;
  --ring: 0 0 0 3px rgba(47,128,237,.4);
}

/* 2) RESET / BASE ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.15; color: var(--navy-900); margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
a { color: var(--warm-blue-600); text-decoration-color: rgba(47,128,237,.35); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: var(--warm-blue-50); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: .6rem 1rem; border-radius: 0 0 10px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* 3) LAYOUT ------------------------------------------------------------- */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2rem, 760px); margin-inline: auto; }
.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-7); }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: #dce6f2; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--step--1); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--forest); margin-bottom: .6rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--forest); border-radius: 2px; }
.section-head { max-width: 640px; margin-bottom: var(--sp-6); }
.section-head p { color: var(--slate); font-size: var(--step-1); margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }

/* Signature: TheMarketGuide rising "trend line" divider */
.arch-divider { display: block; width: 100%; height: 40px; color: var(--gray-50); }
.arch-divider path { fill: currentColor; }
.trend-rule { display: block; width: 100%; height: 30px; color: var(--gold); }
.trend-rule path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* 4) HEADER / NAV ------------------------------------------------------- */
.topbar {
  background: var(--navy-900); color: #b9c9dc; font-size: var(--step--1);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { color: #cdddf0; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .topbar-note { display: inline-flex; align-items: center; gap: .4rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--gray-200); }
.site-header .container { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.28rem; color: var(--navy-900); text-decoration: none; letter-spacing: -0.02em; margin-right: auto; }
.brand:hover { color: var(--navy); }
.brand .brand-mark { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--gold-600); }

.nav { display: flex; align-items: center; gap: .2rem; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem;
  padding: .5rem .7rem; border-radius: 10px; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--gray-100); color: var(--navy); }
.nav .has-sub { position: relative; }
.nav .submenu {
  position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff;
  border: 1px solid var(--gray-200); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: .5rem; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: .16s ease; z-index: 50;
}
.nav .has-sub:hover .submenu, .nav .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(4px); }
.nav .submenu a { padding: .5rem .6rem; font-size: .9rem; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--gray-200);
  background: #fff; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--navy); }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-lg);
    padding: .75rem; gap: 2px; max-height: calc(100vh - 68px); overflow-y: auto;
    transform: translateY(-120%); transition: transform .22s ease; visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav a { padding: .8rem .9rem; font-size: 1rem; }
  .nav .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-left: 2px solid var(--gray-200); border-radius: 0; margin: 0 0 .3rem .6rem; padding: 0 0 0 .4rem;
  }
}

/* 5) BUTTONS ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
  padding: .85rem 1.3rem; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  transition: transform .12s ease, box-shadow .16s ease, background .16s ease; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--forest); color: #fff; box-shadow: 0 6px 16px rgba(31,111,84,.28); }
.btn--primary:hover { background: var(--forest-600); color: #fff; box-shadow: 0 10px 22px rgba(31,111,84,.34); }
.btn--blue { background: var(--warm-blue); color: #fff; box-shadow: 0 6px 16px rgba(47,128,237,.28); }
.btn--blue:hover { background: var(--warm-blue-600); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--gray-200); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--gray-50); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn--gold { background: var(--gold); color: #23324a; box-shadow: 0 6px 16px rgba(200,160,44,.30); }
.btn--gold:hover { background: var(--gold-600); color: #23324a; box-shadow: 0 10px 22px rgba(200,160,44,.36); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.06rem; }
.btn--block { width: 100%; }

/* 6) CARDS -------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .16s ease, box-shadow .16s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 16 / 10; position: relative; }
.card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__tag { font-size: var(--step--1); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--forest); }
.card__title { font-size: var(--step-1); margin: 0; }
.card__title a { color: var(--navy-900); text-decoration: none; }
.card__title a:hover { color: var(--warm-blue-600); }
.card__excerpt { color: var(--slate); font-size: .96rem; margin: 0; }
.card__meta { margin-top: auto; display: flex; align-items: center; gap: .5rem; font-size: var(--step--1); color: var(--slate); }
.card__link { margin-top: .4rem; font-weight: 700; color: var(--warm-blue-600); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.card__link:hover { gap: .55rem; }

/* Category tile */
.tile { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); text-decoration: none; color: var(--navy-900); box-shadow: var(--shadow-sm); transition: .16s ease; }
.tile:hover { border-color: var(--warm-blue); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--navy-900); }
.tile .tile__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: var(--forest-50); color: var(--forest); border-radius: 12px; }
.tile .tile__icon svg { width: 24px; height: 24px; }
.tile b { display: block; font-weight: 700; }
.tile span { display: block; font-size: var(--step--1); color: var(--slate); }

/* Media placeholder (documented image slots) */
.ph {
  position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 55%, var(--forest) 130%);
  font-weight: 700; letter-spacing: .02em; text-align: center; padding: 1rem;
}
.ph--green { background: linear-gradient(135deg, var(--forest) 0%, var(--forest-600) 60%, var(--navy) 130%); }
.ph--blue  { background: linear-gradient(135deg, var(--warm-blue) 0%, var(--warm-blue-600) 60%, var(--navy) 130%); }
.ph svg { width: 40px; height: 40px; opacity: .9; margin-bottom: .4rem; }
.ph small { display: block; opacity: .82; font-weight: 600; font-size: .8rem; margin-top: .3rem; }

/* 7) HERO --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy-900), var(--navy)); color: #eaf1f8; }
.hero::after { /* soft-gold glow backdrop */
  content: ""; position: absolute; right: -8%; bottom: -35%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(200,160,44,.30), transparent 70%);
  filter: blur(6px); pointer-events: none;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-7); align-items: center; padding-block: var(--sp-8); }
.hero__eyebrow { color: #e6c766; }
.hero__eyebrow::before { background: #e6c766; }
.hero h1 { color: #fff; font-size: var(--step-5); margin-bottom: .4rem; }
.hero h1 .accent { color: #e6c766; }
.hero__sub { font-size: var(--step-1); color: #c9d6e6; max-width: 40ch; margin-bottom: 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: var(--step--1); color: #aec3da; }
.hero__trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust svg { width: 18px; height: 18px; color: #e6c766; }
.hero__media { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; border: 1px solid rgba(255,255,255,.12); }
.hero__badge {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 3; background: rgba(255,255,255,.96);
  color: var(--navy-900); border-radius: 14px; padding: .7rem .9rem; box-shadow: var(--shadow); font-size: .86rem; display: flex; align-items: center; gap: .6rem;
}
.hero__badge .star { color: var(--amber); }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero__media { max-width: 420px; }
}

/* 8) COMPONENTS --------------------------------------------------------- */
/* Breadcrumbs */
.breadcrumbs { font-size: var(--step--1); color: var(--slate); padding-block: .9rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumbs li::after { content: "›"; margin-left: .4rem; color: var(--gray-200); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--slate); text-decoration: none; }
.breadcrumbs a:hover { color: var(--warm-blue-600); }
.breadcrumbs [aria-current] { color: var(--navy-900); font-weight: 600; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.stats .stat { text-align: center; padding: 1rem; }
.stats .stat b { display: block; font-size: var(--step-3); color: var(--forest); line-height: 1; }
.stats .stat span { font-size: var(--step--1); color: var(--slate); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2,1fr); } }

/* Pills / chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--gray-200); font-size: .9rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.chip:hover { border-color: var(--warm-blue); color: var(--warm-blue-600); }

/* Testimonials */
.quote { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.05rem; color: var(--ink); }
.quote .quote__by { display: flex; align-items: center; gap: .7rem; margin-top: .8rem; }
.quote .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--forest-50); color: var(--forest); display: grid; place-items: center; font-weight: 800; }
.quote .quote__by b { color: var(--navy-900); }
.quote .quote__by span { font-size: var(--step--1); color: var(--slate); }
.stars { color: var(--amber); letter-spacing: 1px; }

/* Newsletter band */
.newsletter { background: linear-gradient(120deg, var(--forest) 0%, var(--forest-600) 60%, var(--navy) 130%); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 3rem); text-align: center; }
.newsletter h2 { color: #fff; }
.newsletter p { color: #e4f2ec; max-width: 52ch; margin-inline: auto; }
.newsletter form { display: flex; gap: .6rem; max-width: 460px; margin: 1.3rem auto 0; }
.newsletter input[type=email] { flex: 1; padding: .9rem 1rem; border-radius: var(--radius-pill); border: none; font-size: 1rem; }
@media (max-width: 520px) { .newsletter form { flex-direction: column; } }

/* Callout / disclosure box */
.callout { border: 1px solid var(--gray-200); border-left: 4px solid var(--warm-blue); background: var(--warm-blue-50); border-radius: 12px; padding: 1rem 1.2rem; font-size: .95rem; color: var(--ink); }
.callout--green { border-left-color: var(--forest); background: var(--forest-50); }
.callout--amber { border-left-color: var(--amber); background: #fff8e8; }
.callout strong { color: var(--navy-900); }

/* FAQ accordion */
.faq { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; background: #fff; }
.faq details { border-bottom: 1px solid var(--gray-200); }
.faq details:last-child { border-bottom: none; }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--navy-900); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--forest); font-weight: 400; transition: transform .18s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 1.3rem 1.2rem; color: var(--slate); }

/* 9) ARTICLE / PROSE ---------------------------------------------------- */
.article { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: var(--sp-7); align-items: start; }
@media (max-width: 940px) { .article { grid-template-columns: 1fr; } }
.article__head h1 { margin-bottom: .5rem; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; color: var(--slate); font-size: var(--step--1); margin-bottom: 1.2rem; }
.article__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gray-200); }
.byline { display: inline-flex; align-items: center; gap: .5rem; }
.byline .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }

.prose { font-size: 1.06rem; color: var(--ink); }
.prose > h2 { margin-top: 2.2rem; scroll-margin-top: 90px; }
.prose > h3 { margin-top: 1.6rem; scroll-margin-top: 90px; }
.prose p, .prose li { line-height: 1.75; }
.prose ul, .prose ol { margin: 0 0 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose img, .prose figure { border-radius: var(--radius); margin: 1.5rem 0; }
.prose figcaption { font-size: var(--step--1); color: var(--slate); text-align: center; margin-top: .5rem; }
.prose blockquote { margin: 1.5rem 0; padding: .4rem 0 .4rem 1.3rem; border-left: 4px solid var(--forest); color: var(--navy-700); font-style: italic; }
.prose a { font-weight: 600; }

/* Table of contents */
.toc { position: sticky; top: 90px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); margin-bottom: .7rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.toc a { color: var(--slate); text-decoration: none; font-size: .92rem; font-weight: 600; }
.toc a:hover, .toc a.active { color: var(--warm-blue-600); }
.aside-stack { display: grid; gap: 1.2rem; }
@media (max-width: 940px) { .toc { position: static; } .aside-stack { display: none; } }

/* Medically reviewed badge */
.reviewed { display: inline-flex; align-items: center; gap: .5rem; background: var(--forest-50); color: var(--forest-600); border: 1px solid #cfe6dc; padding: .35rem .75rem; border-radius: var(--radius-pill); font-size: var(--step--1); font-weight: 700; }
.reviewed svg { width: 16px; height: 16px; }

/* 10) TABLES ------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
table.compare th, table.compare td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
table.compare thead th { background: var(--navy); color: #fff; font-size: .9rem; letter-spacing: .02em; position: sticky; top: 0; }
table.compare tbody tr:nth-child(even) { background: var(--gray-50); }
table.compare .rank { font-weight: 800; color: var(--forest); }
table.compare .best { background: var(--forest-50) !important; }
table.compare td .btn { padding: .55rem 1rem; font-size: .9rem; }

/* 11) REVIEW ------------------------------------------------------------ */
.rating-badge { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; background: var(--forest); color: #fff; box-shadow: 0 8px 20px rgba(31,111,84,.3); flex: none; }
.rating-badge b { font-size: 1.9rem; line-height: 1; }
.rating-badge span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.procon { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 640px) { .procon { grid-template-columns: 1fr; } }
.procon .box { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.procon .box.pros { background: var(--forest-50); border-color: #cfe6dc; }
.procon .box.cons { background: #fdf0ee; border-color: #f3d3cc; }
.procon h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; }
.procon ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.procon li { padding-left: 1.7rem; position: relative; }
.procon .pros li::before { content: "✓"; position: absolute; left: 0; color: var(--forest); font-weight: 800; }
.procon .cons li::before { content: "✕"; position: absolute; left: 0; color: #c0483a; font-weight: 800; }
.specs { list-style: none; padding: 0; margin: 0; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.specs li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--gray-200); }
.specs li:last-child { border-bottom: none; }
.specs li:nth-child(even) { background: var(--gray-50); }
.specs b { color: var(--navy-900); }
.buybox { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.3rem; display: grid; gap: .7rem; }
.buybox .price { font-size: 1.5rem; font-weight: 800; color: var(--navy-900); }
.buybox .price small { font-size: .8rem; color: var(--slate); font-weight: 600; }

/* 12) FORMS ------------------------------------------------------------- */
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label { font-weight: 700; color: var(--navy-900); font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem .95rem; border: 1px solid var(--gray-200); border-radius: 12px;
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--warm-blue); box-shadow: var(--ring); outline: none; }
.field .hint { font-size: var(--step--1); color: var(--slate); }
.form-note { font-size: var(--step--1); color: var(--slate); }
.form-status { margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--forest-50); color: var(--forest-600); }

/* 13) FOOTER ------------------------------------------------------------ */
.site-footer { background: var(--navy-900); color: #a9bdd4; padding-block: var(--sp-7) var(--sp-5); font-size: .95rem; }
.site-footer a { color: #c3d5ea; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-brand .brand { color: #fff; margin-bottom: .8rem; }
.footer-brand p { color: #90a6c1; max-width: 32ch; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-social a:hover { background: var(--forest); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: var(--sp-6); padding-top: var(--sp-5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--step--1); color: #8299b6; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1rem; }

/* 14) UTILITIES --------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); }
.lead { font-size: var(--step-1); color: var(--slate); }
.muted { color: var(--slate); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.badge { display: inline-block; padding: .2rem .6rem; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--forest-50); color: var(--forest-600); }
.badge--blue { background: var(--warm-blue-50); color: var(--warm-blue-600); }
.badge--amber { background: #fff3d6; color: #a9760a; }
.divider { height: 1px; background: var(--gray-200); border: none; margin: var(--sp-6) 0; }
.flow > * + * { margin-top: 1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* Back to top */
.to-top { position: fixed; right: 1rem; bottom: 1rem; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; border: none; display: grid; place-items: center; box-shadow: var(--shadow-lg); cursor: pointer; opacity: 0; visibility: hidden; transition: .2s ease; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top svg { width: 20px; height: 20px; }

/* Reveal on scroll (progressive enhancement — visible by default if JS off) */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
