:root{
  --navy: #101F3C;
  --navy-2: #17294D;
  --amber: #FFB020;
  --panel: #F5F6F4;
  --panel-line: #DDE1DD;
  --ink: #14213D;
  --ink-soft: #4A5568;
  --white: #FFFFFF;
  --green-ok: #2E7D5B;
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background: var(--panel);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height:1.6;
  -webkit-font-smoothing: antialiased;
}
.mono{ font-family:'IBM Plex Mono', monospace; }
a{color:inherit;}
img{max-width:100%;display:block;}
h1,h2,h3{ font-family:'Inter', sans-serif; letter-spacing:-0.01em; }

/* ---------- Top bar ---------- */
.topbar{
  background: var(--white);
  color: var(--ink-soft);
  padding: 9px 24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-family:'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--panel-line);
  flex-wrap: wrap;
  gap: 6px;
}
.topbar .dot{ color: var(--amber); }

/* ---------- Header / nav ---------- */
header.site-header{
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px 0;
}
.nav{
  max-width: 1100px;
  margin: 0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}
.logo{
  font-family:'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .02em;
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: var(--white);
}
.logo .badge{
  background: var(--amber);
  color: var(--navy);
  padding: 3px 8px;
  border-radius: 3px;
  font-size:11px;
  font-weight: 700;
}
.nav-links{ display:flex; gap:28px; font-size:14px; font-weight:500; }
.nav-links a{ text-decoration:none; opacity:.85; }
.nav-links a:hover{ opacity:1; }
.nav-links a.active{ opacity:1; border-bottom: 2px solid var(--amber); padding-bottom:2px; }

/* ---------- Generic section rhythm ---------- */
section{ max-width: 1100px; margin: 0 auto; padding: 84px 24px; }
.section-tag{
  font-family:'IBM Plex Mono', monospace;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-bottom: 10px;
}
h2{ font-size: 28px; font-weight:800; margin: 0 0 8px; letter-spacing:-.01em; }
.section-sub{ color: var(--ink-soft); max-width: 60ch; margin-bottom: 36px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration:none;
  border: 1px solid transparent;
  cursor:pointer;
}
.btn-primary{ background: var(--amber); color: var(--navy); }
.btn-primary:hover{ filter: brightness(1.05); }
.btn-ghost{ background: transparent; color: var(--white); border-color: #3A4B6E; }
.btn-ghost:hover{ background: #1c2f57; }
.btn-small{
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration:none;
  white-space:nowrap;
}
.btn-small:hover{ background: var(--navy-2); }

/* ---------- Hero (home) ---------- */
.hero{
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items:center;
  position: relative;
  overflow: hidden;
}
.plane-fly{
  position: absolute;
  width: 60px;
  height: 60px;
  fill: var(--amber);
  opacity: 0;
  top: 55%;
  left: -60px;
  z-index: -1;
  pointer-events: none;
  animation: fly-across 12s ease-in-out infinite;
  animation-delay: .5s;
}
@keyframes fly-across{
  0%   { transform: translate(0, 0) rotate(8deg) scale(0.9); opacity: 0; }
  10%  { opacity: .85; }
  45%  { transform: translate(60vw, -90px) rotate(2deg) scale(1); opacity: .85; }
  62%  { opacity: 0; }
  100% { transform: translate(60vw, -90px) rotate(2deg) scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .plane-fly{ animation: none; opacity: 0; }
}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  color: var(--amber);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
h1{
  font-size: 42px;
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 800;
}
.hero p.lede{
  font-size: 17px;
  color: #C7CEDC;
  max-width: 46ch;
  margin-bottom: 28px;
}
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; }

/* ---------- Split-flap board ---------- */
.board{
  background: #0B1730;
  border: 1px solid #24345A;
  border-radius: 10px;
  padding: 18px 18px 10px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
}
.board-head{
  display:flex;
  justify-content:space-between;
  font-family:'IBM Plex Mono', monospace;
  color: #8FA0C7;
  font-size: 11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding: 4px 8px 12px;
  border-bottom: 1px solid #24345A;
  margin-bottom: 6px;
}
.board-row{
  display:grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 8px;
  padding: 10px 8px;
  align-items:center;
  border-bottom: 1px solid #182848;
}
.board-row:last-child{ border-bottom:none; }
.flap{
  font-family:'IBM Plex Mono', monospace;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing:.02em;
}
.flap.price{ color: var(--amber); text-align:right; }
.flap.status{
  font-size: 11px;
  color: var(--green-ok);
  background: #123024;
  border-radius: 3px;
  padding: 3px 6px;
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.06em;
}

/* ---------- Comparison cards ---------- */
.compare-grid{ display:grid; gap: 14px; }
.compare-card{
  background: var(--white);
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  padding: 20px 22px;
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr auto;
  gap: 18px;
  align-items:center;
}
.compare-card .name{ font-weight:700; font-size:15.5px; }
.compare-card .sub{ font-size: 12.5px; color: var(--ink-soft); margin-top:2px; }
.metric-label{
  font-family:'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-soft);
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:3px;
}
.metric-value{ font-weight:700; font-size: 14.5px; }
.metric-value.price{ color: var(--navy); font-family:'IBM Plex Mono', monospace; font-size:16px; }

/* ---------- How it works ---------- */
.steps{ display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step{ border-left: 2px solid var(--amber); padding-left: 18px; }
.step .num{ font-family:'IBM Plex Mono', monospace; color:var(--amber); font-weight:700; font-size:13px; margin-bottom:8px; }
.step h3{ font-size:16px; margin:0 0 6px; }
.step p{ font-size: 14px; color: var(--ink-soft); margin:0; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom: 1px solid var(--panel-line); padding: 18px 0; }
.faq-item h3{ font-size:15.5px; margin:0 0 6px; }
.faq-item p{ font-size:14px; color: var(--ink-soft); margin:0; max-width: 70ch; }

/* ---------- Disclosure box ---------- */
.disclosure{
  background: var(--white);
  border: 1px solid var(--panel-line);
  border-left: 3px solid var(--amber);
  border-radius: 6px;
  padding: 18px 20px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.disclosure strong{ color: var(--ink); }

/* ---------- Photo strip (humanizing) ---------- */
.photo-strip{
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}
.photo-strip img{
  width: 100%; height: 100%;
  object-fit: cover;
  display:block;
}
.photo-strip .caption{
  position: absolute;
  left: 24px; bottom: 20px;
  background: rgba(16,31,60,.82);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  max-width: 380px;
  backdrop-filter: blur(2px);
}
@media (max-width: 860px){
  .photo-strip{ height: 220px; }
}

/* ---------- Trust section with photo ---------- */
.trust-layout{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items:center;
}
.trust-photo{
  border-radius: 12px;
  overflow:hidden;
  aspect-ratio: 4/5;
}
.trust-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width: 860px){
  .trust-layout{ grid-template-columns: 1fr; }
  .trust-photo{ order:-1; aspect-ratio: 16/9; }
}

/* ---------- Article byline ---------- */
.article-byline{
  font-size: 13px;
  color: #9FB0D0;
  margin: -4px 0 8px;
}
.breadcrumb{
  max-width:1100px; margin: 0 auto; padding: 18px 24px 0;
  font-family:'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
}
.breadcrumb a{ text-decoration:none; }
.breadcrumb a:hover{ text-decoration:underline; }

/* ---------- Article / guide pages ---------- */
.article-hero{
  background: var(--navy);
  color: var(--white);
  padding: 36px 24px 48px;
}
.article-hero-inner{ max-width: 760px; margin:0 auto; }
.article-hero h1{ font-size: 34px; margin-bottom: 10px; }
.article-meta{
  font-family:'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #9FB0D0;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.article-body{ max-width: 720px; margin: 0 auto; padding: 48px 24px 24px; }
.article-body h2{ font-size: 22px; margin-top: 40px; }
.article-body h3{ font-size: 17px; margin-top: 28px; }
.article-body p{ font-size: 16px; color: var(--ink); margin: 0 0 16px; }
.article-body ul{ padding-left: 20px; margin: 0 0 20px; }
.article-body li{ margin-bottom: 8px; font-size: 15.5px; }
.callout{
  background: var(--white);
  border: 1px solid var(--panel-line);
  border-left: 3px solid var(--amber);
  border-radius: 6px;
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 24px 0;
}

/* ---------- Guides hub ---------- */
.guides-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.guide-card{
  background: var(--white);
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  padding: 22px;
  text-decoration:none;
  color: var(--ink);
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.guide-card:hover{ border-color: var(--amber); }
.guide-card .tag{
  font-family:'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--amber);
  text-transform:uppercase;
  letter-spacing:.06em;
}
.guide-card h3{ font-size: 17px; margin:0; }
.guide-card p{ font-size: 13.5px; color: var(--ink-soft); margin:0; }

/* ---------- Footer ---------- */
footer.site-footer{
  background: var(--navy);
  color: #93A0BE;
  padding: 40px 24px;
  font-size: 13px;
}
.footer-inner{ max-width:1100px; margin:0 auto; display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px; }
.footer-inner .col{ max-width: 340px; }
.footer-inner a{ text-decoration:none; opacity:.9; }
.footer-inner a:hover{ opacity: 1; text-decoration:underline; }

/* ---------- Mobile nav toggle ---------- */
.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px; height:38px;
  background:transparent;
  border:1px solid #3A4B6E;
  border-radius:6px;
  cursor:pointer;
  padding:0;
}
.nav-toggle span{
  display:block; width:18px; height:2px; background:#fff; margin:0 auto;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Reveal-on-scroll ---------- */
.reveal{ opacity:0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------- Icons ---------- */
.icon{ width:20px; height:20px; flex-shrink:0; stroke: var(--amber); fill:none; stroke-width:1.8; }
.icon-navy{ stroke: var(--navy); }
.step-icon-row{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.compare-card .name-col{ display:flex; gap:12px; align-items:flex-start; }
.compare-card .icon-wrap{
  width:38px; height:38px; border-radius:8px;
  background: var(--panel);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.compare-card .icon-wrap .icon{ stroke: var(--navy); }

/* ---------- Stat bar ---------- */
.stat-bar{
  background: var(--white);
  border-top: 1px solid var(--panel-line);
  border-bottom: 1px solid var(--panel-line);
}
.stat-bar-inner{
  max-width: 1100px; margin:0 auto; padding: 28px 24px;
  display:grid; grid-template-columns: repeat(4,1fr); gap: 16px;
  text-align:center;
}
.stat-num{
  font-family:'IBM Plex Mono', monospace;
  font-size: 26px; font-weight:700; color: var(--navy);
}
.stat-label{ font-size: 12.5px; color: var(--ink-soft); margin-top:4px; }

/* ---------- Filter / sort bar ---------- */
.filter-bar{
  display:flex; flex-wrap:wrap; gap:10px;
  align-items:center;
  margin-bottom: 22px;
}
.filter-chip{
  font-family:'IBM Plex Mono', monospace;
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--panel-line);
  background: var(--white);
  color: var(--ink-soft);
  cursor:pointer;
  transition: all .15s ease;
}
.filter-chip:hover{ border-color: var(--amber); }
.filter-chip.active{ background: var(--navy); color: var(--white); border-color: var(--navy); }
.sort-select{
  font-family:'IBM Plex Mono', monospace;
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--panel-line);
  background: var(--white);
  color: var(--ink);
  margin-left:auto;
}
.compare-card{ transition: box-shadow .2s ease, transform .2s ease; }
.compare-card:hover{ box-shadow: 0 12px 24px -14px rgba(16,31,60,.25); transform: translateY(-4px); }
.compare-card.hidden{ display:none; }
.compare-card:nth-child(1){ transition-delay: 0s; }
.compare-card:nth-child(2){ transition-delay: .08s; }
.compare-card:nth-child(3){ transition-delay: .16s; }
.compare-card:nth-child(4){ transition-delay: .24s; }

.btn-primary, .btn-small{ transition: transform .15s ease, filter .15s ease, background .15s ease; }
.btn-primary:hover{ transform: translateY(-2px); }
.btn-small:hover{ transform: translateY(-2px); }
.btn-ghost{ transition: background .15s ease, transform .15s ease; }
.btn-ghost:hover{ transform: translateY(-2px); }
.guide-card{ transition: border-color .15s ease, transform .15s ease; }
.guide-card:hover{ transform: translateY(-3px); }
.board-row{ transition: background .3s ease; }
.board-row.highlight{ background: rgba(255,176,32,.08); }

/* ---------- FAQ accordion ---------- */
.faq-item{ cursor:pointer; }
.faq-q{ display:flex; justify-content:space-between; align-items:center; gap:12px; }
.faq-q h3{ margin:0; }
.faq-chevron{ transition: transform .2s ease; flex-shrink:0; }
.faq-item.open .faq-chevron{ transform: rotate(180deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a{ max-height: 200px; margin-top:8px; }

/* ---------- Trust section ---------- */
.trust-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.trust-card{
  background: var(--white);
  border: 1px solid var(--panel-line);
  border-radius:10px;
  padding: 22px;
}
.trust-card .icon-wrap{
  width:38px; height:38px; border-radius:8px;
  background: var(--panel);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
}
.trust-card h3{ font-size:15.5px; margin:0 0 6px; }
.trust-card p{ font-size:13.5px; color:var(--ink-soft); margin:0; }

@media (max-width: 860px){
  .hero{ grid-template-columns: 1fr; padding-top:10px; }
  h1{ font-size: 32px; }
  .compare-card{ grid-template-columns: 1fr 1fr; row-gap:12px; }
  .compare-card .name-col{ grid-column: 1 / -1; }
  .compare-card .cta-col{ grid-column: 1 / -1; }
  .steps{ grid-template-columns: 1fr; }
  .guides-grid{ grid-template-columns: 1fr; }
  .trust-grid{ grid-template-columns: 1fr; }
  .stat-bar-inner{ grid-template-columns: 1fr 1fr; }
  .article-hero h1{ font-size: 26px; }

  .nav-toggle{ display:flex; }
  .nav-links{
    display:none;
    position:absolute;
    top: 100%; left:0; right:0;
    background: var(--navy);
    flex-direction:column;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 3px solid var(--amber);
    z-index: 50;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding: 12px 0; border-bottom: 1px solid #23345c; }
  .nav{ position:relative; }
  .filter-bar{ flex-direction:column; align-items:stretch; }
  .sort-select{ margin-left:0; }
}


/* ---------- Article two-column layout with TOC ---------- */
.article-layout{
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.article-toc{ position: relative; }
.toc-sticky{
  position: sticky;
  top: 24px;
  background: var(--white);
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  padding: 18px;
}
.toc-title{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.toc-sticky ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.toc-sticky a{
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.4;
  display:block;
  border-left: 2px solid transparent;
  padding-left: 10px;
}
.toc-sticky a:hover{ color: var(--navy); border-left-color: var(--amber); }

.article-body-inner{ min-width: 0; }
.article-body-inner h2{ font-size: 21px; margin-top: 38px; scroll-margin-top: 24px; }
.article-body-inner h3{ font-size: 16.5px; margin-top: 26px; }
.article-body-inner p{ font-size: 15.5px; color: var(--ink); margin: 0 0 15px; }
.article-body-inner ul{ padding-left: 20px; margin: 0 0 18px; }
.article-body-inner li{ margin-bottom: 7px; font-size: 15px; }
.article-body-inner .callout{ margin: 22px 0; }

@media (max-width: 860px){
  .article-layout{ grid-template-columns: 1fr; padding-top: 32px; }
  .toc-sticky{ position: static; }
}

/* ---------- Cookie consent banner ---------- */
.po-consent{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--navy);
  color: #fff;
  padding: 16px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 200;
  box-shadow: 0 -8px 24px -8px rgba(0,0,0,.3);
}
.po-consent p{ margin:0; font-size: 13px; max-width: 640px; color:#C7CEDC; }
.po-consent a{ color:#fff; text-decoration:underline; }
.po-consent-actions{ display:flex; gap:10px; flex-shrink:0; }
.po-consent-actions button{
  border:none; border-radius:6px; padding: 9px 16px; font-size:13px; font-weight:700; cursor:pointer;
}
#poConsentDecline{ background: transparent; color:#fff; border:1px solid #3A4B6E; }
#poConsentAccept{ background: var(--amber); color: var(--navy); }
@media (max-width: 640px){
  .po-consent{ flex-direction: column; align-items: stretch; text-align:center; }
  .po-consent-actions{ justify-content:center; }
}

/* ---------- Data table ---------- */
.data-table-wrap{ overflow-x:auto; margin: 20px 0 28px; border: 1px solid var(--panel-line); border-radius: 10px; }
.data-table{ width:100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
.data-table th, .data-table td{ padding: 12px 14px; text-align:left; border-bottom: 1px solid var(--panel-line); }
.data-table th{ background: var(--navy); color:#fff; font-family:'IBM Plex Mono', monospace; font-size:12px; text-transform:uppercase; letter-spacing:.03em; }
.data-table td:first-child{ font-weight:700; background: var(--panel); }
.data-table tbody tr:last-child td{ border-bottom:none; }

/* ---------- Quick decision block ---------- */
.decision-block{
  background: var(--white);
  border: 1px solid var(--panel-line);
  border-radius: 14px;
  padding: 32px;
}
.decision-step{ display:none; }
.decision-step.active{ display:block; }
.decision-q{ font-weight:700; font-size:16px; margin-bottom:16px; }
.decision-options{ display:grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap:10px; }
.decision-opt{
  border: 1px solid var(--panel-line);
  background: var(--panel);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align:left;
  transition: all .15s ease;
}
.decision-opt:hover{ border-color: var(--amber); background:#FFF8EC; }
.decision-result{ text-align:center; }
.decision-result h3{ font-size: 19px; margin: 0 0 8px; }
.decision-result p{ color: var(--ink-soft); font-size:14px; margin:0 0 20px; }
.decision-restart{ background:none; border:none; color: var(--ink-soft); font-size:12.5px; text-decoration:underline; cursor:pointer; margin-top:14px; }
