:root {
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --paper: #ffffff;
  --soft: #f7f9fc;
  --blue: #1769aa;
  --blue-dark: #0f4f84;
  --blue-soft: #eaf4fb;
  --cyan: #86d7fb;
  --max: 1180px;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus {
  left: 16px; top: 16px; z-index: 999;
  background: white; color: var(--ink); padding: 10px 14px;
  border-radius: 8px; box-shadow: var(--shadow);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16,24,40,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: white; text-decoration: none; font-weight: 800;
  letter-spacing: -.02em; font-size: 1.28rem; white-space: nowrap;
}
.brand-mark {
  width: 35px; height: 35px; border-radius: 9px;
  border: 2px solid #69c6ef; position: relative;
  box-shadow: inset 0 0 0 5px rgba(105,198,239,.08);
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: #69c6ef; }
.brand-mark::before { width: 18px; height: 2px; left: 7px; top: 15px; }
.brand-mark::after { width: 2px; height: 18px; left: 15px; top: 7px; }
.brand span { color: #69c6ef; }
.nav-toggle {
  display: none; margin-left: auto; background: transparent;
  border: 1px solid rgba(255,255,255,.2); color: white;
  border-radius: 9px; padding: 9px 12px; font: inherit; cursor: pointer;
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { color: #e7edf5; text-decoration: none; font-weight: 600; font-size: .94rem; }
.site-nav a:hover, .site-nav a:focus { color: white; }
.site-nav .nav-cta {
  color: white; border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 8px 13px;
}

/* Hero */
.hero {
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(85,184,232,.20), transparent 30%),
    linear-gradient(135deg, #0d1523 0%, #132c48 56%, #1769aa 100%);
  overflow: hidden;
}
.hero-grid {
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 56px;
  align-items: center;
  padding: 74px 0;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: #bfe8fb; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 800;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: #69c6ef; }
.hero h1 {
  margin: 14px 0 20px; max-width: 760px;
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  line-height: .98; letter-spacing: -.05em;
}
.hero-copy {
  max-width: 680px; color: #dbe7f3;
  font-size: clamp(1.06rem, 1.8vw, 1.26rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 800;
  border-radius: 10px; padding: 12px 18px;
}
.button-primary { background: white; color: var(--blue-dark); }
.button-secondary { color: white; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.06); }



.blueprint {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    rgba(6, 38, 65, .32);
  background-size: 28px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  overflow: hidden;
  padding: 26px;
}
.blueprint::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  pointer-events: none;
}
.hero-figure {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.hero-figure img {
  width: 90%;
  max-width: 90%;
  height: auto;
  max-height: 90%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
  background: #eef2f6;
}
.bp-caption {
  position: absolute;
  left: 28px;
  top: 16px;
  z-index: 2;
  color: rgba(210,240,255,.88);
  font-size: .70rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Sections */
.section { padding: 82px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: white; background: #111827; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2 {
  margin: 0 0 12px; font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.08; letter-spacing: -.035em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.section-dark .section-heading p { color: #cbd5e1; }

.cards-4, .cards-3, .cards-2 { display: grid; gap: 22px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 3px 10px rgba(16,24,40,.03);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark);
  font-weight: 900; margin-bottom: 18px;
}
.card h3 { margin: 0 0 9px; font-size: 1.22rem; }
.card p { margin: 0 0 14px; color: var(--muted); }
.card a { font-weight: 800; text-decoration: none; }
.card a:hover { text-decoration: underline; }

.feature {
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: 46px; align-items: center;
}
.feature-panel {
  border-radius: 20px; min-height: 360px; padding: 28px;
  background: linear-gradient(135deg, rgba(23,105,170,.08), rgba(85,184,232,.14));
  border: 1px solid #d6e8f5; position: relative; overflow: hidden;
}
.feature-panel::before {
  content: ""; position: absolute; inset: 24px;
  border: 1px dashed #8fc8e8; border-radius: 16px;
}
.feature-diagram { position: absolute; inset: 70px 55px; }
.feature-diagram .bar {
  height: 18px; margin: 18px 0;
  background: linear-gradient(90deg, #1769aa, #55b8e8); border-radius: 999px;
}
.feature-diagram .bar:nth-child(1) { width: 84%; }
.feature-diagram .bar:nth-child(2) { width: 62%; }
.feature-diagram .bar:nth-child(3) { width: 72%; }
.feature-diagram .bar:nth-child(4) { width: 48%; }
.feature-diagram .dot-row { display: flex; gap: 12px; margin-top: 32px; }
.feature-diagram .dot { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--blue); }
.feature-copy h2 {
  margin: 0 0 14px; font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.08; letter-spacing: -.035em;
}
.feature-copy p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li { position: relative; padding-left: 28px; margin: 10px 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.cta-strip {
  border-radius: 20px; padding: 34px;
  background: linear-gradient(135deg, #0f4f84, #1769aa);
  color: white; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.cta-strip h2 { margin: 0 0 6px; }
.cta-strip p { margin: 0; color: #dcecf7; }

/* Internal pages */
.page-hero { background: linear-gradient(135deg, #111827, #173e62); color: white; padding: 68px 0 58px; }
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1; letter-spacing: -.045em; margin: 10px 0 16px;
}
.page-hero p { max-width: 760px; color: #dce7f2; font-size: 1.1rem; }
.breadcrumb { font-size: .88rem; color: #b9c8d7; }
.breadcrumb a { color: #dff4ff; }
.content-wrap { width: min(calc(100% - 32px), 900px); margin-inline: auto; }
.content-wrap h2 { margin-top: 38px; }
.content-wrap p, .content-wrap li { color: #475467; }
.note { border-left: 4px solid var(--blue); background: var(--blue-soft); padding: 18px 20px; border-radius: 8px; }

/* Footer */
.site-footer { background: #0b1220; color: #b8c1cf; padding: 46px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.footer-brand { color: white; font-weight: 800; font-size: 1.18rem; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #dbe4ef; text-decoration: none; font-size: .92rem; }
.footer-small { margin-top: 12px; font-size: .88rem; color: #98a2b3; }

@media (max-width: 980px) {
  .hero-grid, .feature { grid-template-columns: 1fr; }
  .blueprint {
    width: min(100%, 720px);
    margin-inline: auto;
  }
  .hero-figure img {
    width: 92%;
    max-width: 92%;
    max-height: 88%;
  }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .site-header { position: static; }
  .header-inner { min-height: 68px; position: relative; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 16px; right: 16px; top: 66px;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px;
    background: #111827; border: 1px solid #263448; border-radius: 12px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 12px; }
  .site-nav .nav-cta { border-radius: 8px; }
  .cards-4, .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-grid { min-height: auto; padding: 60px 0; }
  .blueprint {
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 20px;
  }
  .hero-figure {
    min-height: 0;
  }
  .hero-figure img {
    width: 94%;
    max-width: 94%;
    height: auto;
    max-height: 86%;
  }
  .cta-strip { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* Version 9: subcategory and article layouts */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}
.subnav a {
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid #cfe5f4;
  border-radius: 999px;
  padding: 8px 12px;
}
.subnav a:hover { background: #dfeff9; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.category-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 3px 10px rgba(16,24,40,.03);
}
.category-card h3 { margin-top: 0; }
.category-card p { color: var(--muted); }
.category-card ul { margin: 16px 0 0; padding-left: 20px; }
.category-card li { margin: 6px 0; color: #475467; }
.category-card a { font-weight: 800; text-decoration: none; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 46px;
  align-items: start;
}
.article {
  max-width: 820px;
}
.article h2 {
  margin-top: 44px;
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
}
.article h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 1.25rem;
}
.article p,
.article li {
  color: #475467;
}
.article ul,
.article ol {
  padding-left: 22px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: .92rem;
}
.article-intro {
  font-size: 1.13rem;
  color: #344054 !important;
}
.article-summary {
  border: 1px solid #cfe5f4;
  background: #f6fbff;
  border-radius: 14px;
  padding: 22px;
  margin: 28px 0;
}
.article-summary h2 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.article-summary ul { margin-bottom: 0; }

.article-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: var(--soft);
  margin-bottom: 18px;
}
.sidebar-box h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}
.sidebar-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-box li { margin: 8px 0; }
.sidebar-box a { text-decoration: none; font-weight: 700; }

.callout {
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
  padding: 18px 20px;
  border-radius: 8px;
  margin: 26px 0;
}
.callout strong { color: var(--ink); }

.comparison-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
  background: white;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.comparison-table th {
  background: #f8fafc;
  color: var(--ink);
  font-size: .9rem;
}
.comparison-table tr:last-child td { border-bottom: 0; }

.article-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: white;
  box-shadow: 0 4px 14px rgba(16,24,40,.04);
}
.article-card h3 { margin-top: 0; }
.article-card p { color: var(--muted); }
.article-card a { font-weight: 800; text-decoration: none; }

.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 800;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 12px;
}

.placeholder-product {
  border: 1px dashed #98a2b3;
  border-radius: 14px;
  padding: 22px;
  background: #fcfcfd;
  margin: 24px 0;
}
.placeholder-product h3 { margin-top: 0; }

@media (max-width: 980px) {
  .category-grid,
  .article-list { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 680px) {
  .category-grid,
  .article-list { grid-template-columns: 1fr; }
}


/* Version 10: product comparison article */
.pick-grid {
  display: grid;
  gap: 22px;
  margin: 28px 0;
}
.pick-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(16,24,40,.04);
}
.pick-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.pick-number {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-dark);
  color: white;
  font-weight: 900;
}
.pick-title {
  flex: 1;
}
.pick-title h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  line-height: 1.2;
}
.pick-title p {
  margin: 0;
  color: var(--muted);
}
.pick-label {
  display: inline-flex;
  margin: 16px 0 10px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: .8rem;
  font-weight: 900;
}
.pick-details {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin: 18px 0;
}
.pick-detail {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 10px;
  padding: 12px;
}
.pick-detail strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 4px;
}
.pick-detail span {
  color: var(--ink);
  font-weight: 700;
  font-size: .92rem;
}
.pick-card ul {
  margin-bottom: 0;
}
.affiliate-slot {
  margin-top: 18px;
  border: 1px dashed #98a2b3;
  background: #fcfcfd;
  border-radius: 10px;
  padding: 13px 15px;
  font-size: .9rem;
  color: #475467;
}
.editorial-note {
  border: 1px solid #d0d5dd;
  background: #f9fafb;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 26px 0;
}
.editorial-note p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .pick-head { flex-direction: column; }
  .pick-details { grid-template-columns: 1fr; }
}

/* Version 11: affiliate link UI */
.affiliate-disclosure-banner{border:1px solid #f1d6a8;background:#fff9ed;color:#594315;border-radius:12px;padding:16px 18px;margin:24px 0;font-size:.94rem}.affiliate-disclosure-banner strong{color:#3f2f0e}.amazon-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px}.amazon-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border-radius:9px;text-decoration:none;font-weight:800;color:#111827;background:#f6c453;border:1px solid #d6a431}.amazon-button:hover,.amazon-button:focus{background:#ffd36b;color:#111827}.paid-link-label{display:inline-block;color:#667085;font-size:.82rem;font-weight:700}.site-associate-statement{margin-top:10px;font-size:.84rem;color:#98a2b3}
