/* The HAB Report -- shared look for the home page and the product pages.
   Deep navy-black ground, blue accent, Plus Jakarta Sans with IBM Plex Mono labels.
   Text colours are chosen for at least 4.5:1 contrast on their backgrounds. */
:root {
  --ground: #070B14;
  --ground-2: #0A1120;
  --panel: #0D1628;
  --panel-2: #10233F;
  --line: #141E30;
  --line-2: #1E2C46;
  --edge: #22355A;
  --white: #FFFFFF;
  --ink: #E6ECF5;
  --ink-2: #C5CFDE;
  --muted: #A7B4C8;
  --muted-2: #8C9AB0;
  --faint: #7D8BA1;
  --accent: #2F6FEB;
  --accent-hover: #2560D6;
  --link: #7FB0FF;
  --link-hover: #B3D0FF;
  --warm-bg: #3A2210;
  --warm: #FFB37A;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img, video { max-width: 100%; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 16px; background: var(--white); color: var(--ground); border-radius: 8px; }
.skip:focus { left: 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--link); }

/* header and nav */
header.site { border-bottom: 1px solid var(--line); background: var(--ground); }
header.site .bar { max-width: 1200px; margin: 0 auto; padding: 0 28px; min-height: 72px; display: flex; flex-wrap: wrap;
                   align-items: center; justify-content: space-between; column-gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--white); text-decoration: none;
         font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand:hover { color: var(--white); }
nav.main { display: flex; flex-wrap: wrap; align-items: center; column-gap: 26px; row-gap: 0; font-size: 15px; font-weight: 500; }
nav.main a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
nav.main a:hover { color: var(--white); }
nav.main a[aria-current="page"] { color: var(--white); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
       border-radius: 10px; font-weight: 600; font-size: 17px; text-decoration: none; }
.btn.primary { background: var(--accent); color: var(--white); }
.btn.primary:hover { background: var(--accent-hover); color: var(--white); }
.btn.ghost { border: 1px solid #2A3B5C; color: var(--ink); }
.btn.ghost:hover { border-color: var(--link); color: var(--white); }
.btn.small { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 8px; }
nav.main .btn.primary { color: var(--white); }

/* hero */
.hero { background: radial-gradient(1100px 520px at 50% -80px, #12305E 0%, var(--ground) 70%); padding: 96px 28px 0; }
.hero .inner { max-width: 900px; margin: 0 auto; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px 6px 6px; border: 1px solid var(--edge);
        border-radius: 999px; background: var(--panel); color: var(--ink-2); text-decoration: none; font-size: 14px; }
.pill:hover { color: var(--white); border-color: var(--link); }
.pill .tag { padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--white); font-weight: 600; font-size: 12px; }
h1 { font-weight: 800; font-size: clamp(38px, 6.2vw, 64px); line-height: 1.05; letter-spacing: -0.035em; color: var(--white); margin: 26px 0 22px; }
.lede { margin: 0 auto 36px; max-width: 680px; color: var(--muted); font-size: 20px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.fine { margin: 18px 0 0; color: var(--faint); font-size: 14px; }
.screen { max-width: 1120px; margin: 64px auto 0; padding: 10px; border-radius: 18px; border: 1px solid var(--edge);
          background: linear-gradient(180deg, #13223D 0%, #0B1322 100%); box-shadow: 0 40px 120px rgba(20, 60, 140, 0.35); }
.screen video, .screen img { display: block; width: 100%; height: auto; border-radius: 10px; background: #0F1722; }
.screen figcaption { margin: 10px 6px 4px; color: var(--muted-2); font-size: 14px; line-height: 1.5; text-align: left; }
figure { margin: 0; }

/* facts */
.facts { padding: 56px 28px; border-bottom: 1px solid var(--line); }
.facts .grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.fact b { display: block; font-weight: 800; font-size: clamp(26px, 4vw, 34px); color: var(--white); letter-spacing: -0.02em; line-height: 1.25; }
.fact span { color: var(--muted-2); font-size: 15px; }
.facts .note { max-width: 1120px; margin: 24px auto 0; text-align: center; color: var(--muted-2); font-size: 14px; }

/* sections */
section.block { padding: 112px 28px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 80px; }
h2 { font-weight: 800; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; color: var(--white); margin: 14px 0 16px; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; margin-bottom: 112px; }
.row:last-child { margin-bottom: 0; }
.row.flip { flex-wrap: wrap-reverse; }
.row .text { flex: 1 1 380px; min-width: 0; }
.row .media { flex: 1.4 1 520px; min-width: 0; }
.row .media .frame { border-radius: 14px; border: 1px solid var(--edge); overflow: hidden; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5); background: #0F1722; }
.row .media img, .row .media video { display: block; width: 100%; height: auto; }
.row .media figcaption { margin-top: 10px; color: var(--muted-2); font-size: 14px; line-height: 1.5; }
.chip { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--panel-2); color: var(--link); font-size: 13px; font-weight: 600; }
.chip.warm { background: var(--warm-bg); color: var(--warm); }
h3 { font-weight: 700; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.02em; color: var(--white); margin: 16px 0 14px; }
.row .text p { margin: 0 0 18px; color: var(--muted); }
.row .text p.aside { color: var(--ink-2); font-size: 15px; margin-bottom: 0; }
.row .text p.small { color: var(--muted-2); font-size: 14px; }
.figlabel { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; font-weight: 600; }

/* how it works */
section.how { background: var(--ground-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { border: 1px solid var(--line-2); border-radius: 14px; padding: 30px; background: var(--panel); }
.step .n { font-family: var(--mono); color: var(--link); font-size: 14px; }
.step h3 { font-size: 21px; margin: 10px 0 8px; letter-spacing: 0; }
.step p { margin: 0 0 10px; color: var(--muted); font-size: 16px; }
.step p:last-child { margin-bottom: 0; }

/* pricing */
.pricing { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.pricing .left { flex: 1 1 400px; min-width: 0; }
.pricing .left > p { margin: 0 0 22px; color: var(--muted); }
.reqs-label { display: block; margin-top: 8px; }
ul.reqs { margin: 10px 0 0; padding-left: 20px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
ul.reqs li { margin-bottom: 8px; }
.nj { margin: 16px 0 0; color: var(--white); font-weight: 600; font-size: 16px; }
.card-edge { flex: 1 1 420px; min-width: 0; border-radius: 18px; padding: 2px; background: linear-gradient(160deg, var(--accent) 0%, var(--edge) 55%); }
.card { border-radius: 16px; background: var(--panel); padding: 36px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-head h3 { font-size: 22px; margin: 0; letter-spacing: 0; }
.tagpill { padding: 4px 12px; border-radius: 999px; background: var(--panel-2); color: var(--link); font-size: 13px; font-weight: 600; }
.price { margin: 18px 0 4px; color: var(--muted-2); }
.price b { font-weight: 800; font-size: 56px; letter-spacing: -0.03em; color: var(--white); margin-right: 6px; }
ul.ticks { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 12px; color: var(--ink-2); font-size: 16px; }
ul.ticks li { display: flex; gap: 10px; }
ul.ticks svg { flex: 0 0 20px; margin-top: 3px; }
.check { display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; align-items: start; margin: 0 0 14px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.check label { cursor: pointer; }
.buy { width: 100%; }
button.btn { border: 0; font-family: inherit; cursor: pointer; }
button.btn:disabled { cursor: not-allowed; }
.buy[aria-disabled="true"] { background: var(--line-2); color: var(--muted); pointer-events: none; }
.gate { margin: 10px 0 0; color: var(--faint); font-size: 14px; text-align: center; }
.final { margin: 18px 0 0; padding-left: 12px; border-left: 3px solid var(--accent); color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.final b { color: var(--white); font-weight: 700; }

/* daily brief band */
.band { max-width: 1120px; margin: 0 auto; border-radius: 18px; border: 1px solid var(--edge);
        background: radial-gradient(600px 240px at 85% 0%, #14305C 0%, var(--panel) 70%); padding: 48px;
        display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.band .text { flex: 1 1 480px; min-width: 0; }
.band h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 12px 0 10px; }
.band p { margin: 0; color: var(--muted); }
.btn.light { background: var(--white); color: var(--ground); font-weight: 700; }
.btn.light:hover { background: #E6ECF5; color: var(--ground); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq h2 { text-align: center; margin: 0 0 32px; }
.faq dl { margin: 0; border-top: 1px solid var(--line-2); }
.faq dt { margin: 0; padding: 22px 0 6px; font-size: 18px; font-weight: 700; color: var(--white); }
.faq dd { margin: 0; padding: 0 0 22px; border-bottom: 1px solid var(--line-2); color: var(--muted); font-size: 16px; }

/* products grid (home) */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.product { border: 1px solid var(--edge); border-radius: 18px; background: var(--panel); overflow: hidden; display: flex; flex-direction: column; }
.product img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--edge); }
.product .body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product h3 { font-size: 24px; margin: 0; letter-spacing: -0.01em; }
.product p { margin: 0; color: var(--muted); }
.product .meta { color: var(--ink-2); font-size: 15px; }
/* while there is one product, its card takes the full row, picture beside the text */
@media (min-width: 861px) {
  .products > .product:only-child { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .products > .product:only-child picture { flex: 1.4 1 0; min-width: 0; }
  .products > .product:only-child img { border-bottom: 0; border-right: 1px solid var(--edge); }
  .products > .product:only-child .body { flex: 1 1 0; }
}

/* footer */
footer.site { border-top: 1px solid var(--line); background: #05080F; }
footer.site .inner { max-width: 1120px; margin: 0 auto; padding: 48px 28px 56px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
footer.site .about { flex: 1 1 320px; min-width: 0; }
footer.site .name { font-weight: 800; font-size: 17px; color: var(--white); margin-bottom: 4px; }
footer.site .about p { margin: 0; color: var(--muted-2); font-size: 14px; }
footer.site .cols { display: flex; gap: 48px; flex-wrap: wrap; font-size: 14px; }
footer.site .col { display: flex; flex-direction: column; }
footer.site .col .head { color: var(--white); font-weight: 600; margin-bottom: 2px; }
footer.site .col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted-2); text-decoration: none; }
footer.site .col a:hover { color: var(--white); text-decoration: underline; }
footer.site .legal { flex: 1 1 100%; margin: 0; color: var(--faint); font-size: 13px; line-height: 1.6; }
footer.site .legal + .legal { margin-top: -12px; }

/* small screens */
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .facts .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  section.block { padding: 80px 20px; }
  .section-head { margin-bottom: 56px; }
  .row { gap: 32px; margin-bottom: 80px; }
}
@media (max-width: 600px) {
  .wrap, header.site .bar, footer.site .inner { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 56px 16px 0; }
  .lede { font-size: 18px; }
  .screen { margin-top: 40px; padding: 6px; border-radius: 14px; }
  .facts { padding: 40px 16px; }
  section.block { padding: 64px 16px; }
  .band { padding: 28px 22px; }
  .card { padding: 24px 20px; }
  .price b { font-size: 46px; }
  nav.main { column-gap: 18px; font-size: 15px; }
  .ctas .btn { width: 100%; }
}
