/* =========================================================================
   MY PC DOCTOR — the product design system.

   Layered on top of styles.css, which still serves the landing pages. This
   file owns the premium chrome (header, footer) and every homepage component.

   Palette rule: white, soft sky blue, pastel cyan, pearl grey, light silver —
   and ONE strong accent, used for one thing at a time. Status colour is
   reserved for status: green protected, amber attention, red issue, grey
   unknown. Nothing here is dark, neon, or a gradient for its own sake.
   ========================================================================= */

:root {
  /* Surfaces */
  --white: #FFFFFF;
  --pearl: #F4F7FA;
  --silver: #E8EEF5;
  --sky: #E8F1FE;
  --sky-deep: #D6E6FD;
  --mist: #E6F6F7;

  /* Ink. Every value below clears WCAG AA (4.5:1) against the surface it is used on;
     the status colours are checked against their own wash, not against white. */
  /* Ink */
  --ink: #0E1A2B;
  --ink-soft: #46586E;
  --ink-faint: #5E6E85;

  /* Lines */
  --line: #E2E9F1;
  --line-strong: #CDD9E7;

  /* The one accent */
  --brand: #1D6BF0;
  --brand-deep: #134FBE;
  --brand-wash: #EAF2FE;

  /* Status */
  --ok: #0F7A4E;
  --ok-wash: #E4F4EC;
  --warn: #8A5A00;
  --warn-wash: #FBF1DD;
  --bad: #C0392F;
  --bad-wash: #FBECEA;
  --unknown: #566579;
  --unknown-wash: #EDF1F6;

  /* Shape */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  /* Depth — soft, layered, never a hard drop shadow */
  --lift-1: 0 1px 2px rgba(16, 33, 56, .05), 0 2px 8px rgba(16, 33, 56, .04);
  --lift-2: 0 2px 6px rgba(16, 33, 56, .06), 0 12px 28px rgba(16, 33, 56, .07);
  --lift-3: 0 4px 12px rgba(16, 33, 56, .07), 0 28px 60px rgba(16, 33, 56, .10);

  --shell: 1200px;
  --gutter: 24px;
}

.home {
  background: var(--white);
  color: var(--ink);
  font-family: "Segoe UI Variable Display", "Segoe UI", -apple-system, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

.home .wrap { max-width: var(--shell); padding: 0 var(--gutter); }

/* ---------- Typography scale ---------- */

.home h1, .home h2, .home h3 { letter-spacing: -0.022em; line-height: 1.12; margin: 0; }
.home h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 700; }
.home h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; }
.home h3 { font-size: clamp(17px, 1.5vw, 20px); font-weight: 650; line-height: 1.3; }
.home p { margin: 0; }

.eyebrow-2 {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase;
  color: var(--brand-deep); background: var(--brand-wash);
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--sky-deep);
}

.lede-2 { font-size: clamp(16px, 1.35vw, 18.5px); color: var(--ink-soft); line-height: 1.65; }
.muted { color: var(--ink-soft); }
.small { font-size: 13.5px; color: var(--ink-faint); }

/* ---------- Section rhythm ---------- */

.band { padding: clamp(56px, 7vw, 104px) 0; }
.band--tint { background: var(--pearl); }
.band--sky { background: linear-gradient(180deg, var(--sky) 0%, var(--white) 100%); }
.band--edge { border-top: 1px solid var(--line); }

.band-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.band-head p { margin-top: 14px; }
.band-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */

.btn2 {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 15.5px; font-weight: 640; text-decoration: none;
  padding: 13px 24px; border-radius: 12px; border: 1px solid transparent;
  transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn2--primary { background: var(--brand); color: #fff; box-shadow: var(--lift-1); }
.btn2--primary:hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: var(--lift-2); }
.btn2--ghost { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn2--ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn2--quiet { background: transparent; color: var(--brand-deep); padding-left: 4px; padding-right: 4px; }
.btn2--quiet:hover { text-decoration: underline; }
.btn2--lg { font-size: 16.5px; padding: 15px 30px; }
.btn2:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.cta-pair { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* =========================================================================
   Header
   ========================================================================= */

.home header.site-header,
header.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .18s ease, background .18s ease;
}
header.site-header.is-compact { box-shadow: var(--lift-1); background: rgba(255, 255, 255, .94); }

header.site-header .nav {
  display: flex; align-items: center; gap: 20px;
  max-width: var(--shell); margin: 0 auto;
  padding: 14px var(--gutter);
  transition: padding .18s ease;
}
header.site-header.is-compact .nav { padding-top: 9px; padding-bottom: 9px; }

header.site-header .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; flex-shrink: 0; }
header.site-header .brand-mark { height: 34px; width: auto; transition: height .18s ease; }
header.site-header.is-compact .brand-mark { height: 28px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-weight: 750; font-size: 15.5px; letter-spacing: .01em; }
.brand-parent { font-size: 10.5px; color: var(--ink-faint); letter-spacing: .03em; }

.nav-main { margin-left: auto; }
header.site-header .nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
header.site-header .nav-links > li > a {
  display: block; text-decoration: none; color: var(--ink-soft);
  font-size: 14.5px; font-weight: 570; padding: 9px 12px; border-radius: 9px;
  transition: color .14s ease, background .14s ease;
}
header.site-header .nav-links > li > a:hover { color: var(--ink); background: var(--pearl); }
header.site-header .nav-links > li > a[aria-current="page"] { color: var(--brand-deep); background: var(--brand-wash); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--line); }
.nav-signin { font-size: 14px; font-weight: 600; color: var(--ink-soft); text-decoration: none; padding: 8px 6px; }
.nav-signin:hover { color: var(--brand-deep); }
.nav-cta {
  background: var(--brand); color: #fff !important; text-decoration: none;
  font-size: 14.5px; font-weight: 640; padding: 10px 18px; border-radius: 10px;
  transition: background .16s ease;
}
.nav-cta:hover { background: var(--brand-deep); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--white); border: 1px solid var(--line-strong); color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 21px; height: 21px; }

@media (max-width: 980px) {
  .nav-main {
    position: fixed; inset: 64px 0 auto 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--lift-2);
    max-height: 0; overflow: hidden; transition: max-height .24s ease;
  }
  .nav-main.open { max-height: 82vh; overflow-y: auto; }
  header.site-header .nav-links { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 22px; }
  header.site-header .nav-links > li > a { padding: 14px 12px; font-size: 16px; border-radius: 11px; }
  .nav-actions { flex-direction: column; align-items: stretch; margin: 12px 0 0; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); gap: 10px; }
  .nav-signin, .nav-cta { text-align: center; padding: 14px; border-radius: 11px; }
  .nav-signin { border: 1px solid var(--line-strong); }
  .nav-toggle { display: inline-flex; }
}

/* =========================================================================
   Hero
   ========================================================================= */

.hero2 {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 460px at 78% -8%, var(--sky) 0%, rgba(232, 241, 254, 0) 62%),
    linear-gradient(180deg, #FBFDFF 0%, var(--white) 70%);
  border-bottom: 1px solid var(--line);
}
.hero2-inner {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(40px, 5.5vw, 84px) 0 clamp(44px, 5.5vw, 76px);
}
.hero2 h1 { margin: 20px 0 0; }
.hero2 h1 .line-accent { color: var(--brand-deep); }
.hero2 .lede-2 { margin-top: 20px; max-width: 54ch; }
.hero2 .cta-pair { margin-top: 28px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; padding: 0; list-style: none; }
.hero-trust li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 560; color: var(--ink-soft);
  background: var(--white); border: 1px solid var(--line);
  padding: 7px 13px; border-radius: 999px;
}
.hero-trust .tick { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }

/* The product window — a real screenshot in a window frame, not a stock laptop photo. */
.device {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line-strong);
  padding: 6px;
  box-shadow: var(--lift-3);
  overflow: hidden;
}
.device-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: var(--pearl); border-bottom: 1px solid var(--line);
}
.device-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.device-title { margin-left: 8px; font-size: 11.5px; font-weight: 640; color: var(--ink-faint); letter-spacing: .04em; }
.device img { display: block; width: 100%; height: auto; }

.hero-visual { position: relative; }

/* A small live health ring floating over the product shot. */
.ring-card {
  position: absolute; right: -14px; bottom: 58px;
  display: flex; align-items: center; gap: 13px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 13px 17px 13px 13px; box-shadow: var(--lift-2);
}
.ring { width: 54px; height: 54px; flex-shrink: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.ring .track { stroke: var(--silver); }
.ring .value { stroke: var(--ok); stroke-dasharray: 138; stroke-dashoffset: 138; animation: ring-fill 1.9s .5s cubic-bezier(.22,.8,.3,1) forwards; }
@keyframes ring-fill { to { stroke-dashoffset: 28; } }
.ring-card b { display: block; font-size: 14.5px; }
.ring-card span { font-size: 12.5px; color: var(--ink-soft); }

/* =========================================================================
   The product flow: CHECK → UNDERSTAND → PROTECT → IMPROVE → CONNECT
   ========================================================================= */

.flowline { margin-top: 30px; }
.flowline ol {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  gap: 0; list-style: none; margin: 0; padding: 0;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--white);
  overflow: hidden;
}
.flowline li {
  position: relative; padding: 15px 14px 15px 18px;
  border-right: 1px solid var(--line);
}
.flowline li:last-child { border-right: 0; }
.flowline b { display: block; font-size: 12px; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; color: var(--brand-deep); }
.flowline span { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; line-height: 1.4; }
.flowline li::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--brand); transform: scaleY(0); transform-origin: top;
  animation: flow-mark .5s forwards;
}
.flowline li:nth-child(1)::before { animation-delay: .25s; }
.flowline li:nth-child(2)::before { animation-delay: .55s; }
.flowline li:nth-child(3)::before { animation-delay: .85s; }
.flowline li:nth-child(4)::before { animation-delay: 1.15s; }
.flowline li:nth-child(5)::before { animation-delay: 1.45s; }
@keyframes flow-mark { to { transform: scaleY(1); } }

/* =========================================================================
   Trust strip
   ========================================================================= */

.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--pearl); }
.trustbar ul {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  list-style: none; margin: 0; padding: 0; background: var(--line);
}
.trustbar li { background: var(--pearl); padding: 20px 18px; text-align: center; }
.trustbar b { display: block; font-size: 14.5px; font-weight: 660; }
.trustbar span { display: block; font-size: 12.5px; color: var(--ink-faint); margin-top: 3px; }

/* =========================================================================
   Interactive PC map
   ========================================================================= */

.pcmap { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }

.pcmap-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pcmap-btn {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 14px; cursor: pointer; font: inherit; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.pcmap-btn img { width: 24px; height: 24px; flex-shrink: 0; }
.pcmap-btn span { font-size: 13.8px; font-weight: 600; }
.pcmap-btn:hover { border-color: var(--line-strong); box-shadow: var(--lift-1); }
.pcmap-btn[aria-selected="true"] { border-color: var(--brand); background: var(--brand-wash); box-shadow: 0 0 0 3px rgba(29, 107, 240, .10); }
.pcmap-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.pcmap-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 34px); box-shadow: var(--lift-1); min-height: 260px;
}
.pcmap-panel h3 { font-size: 22px; }
.pcmap-row { margin-top: 18px; }
.pcmap-row dt { font-size: 11.5px; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); }
.pcmap-row dd { margin: 6px 0 0; font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.pcmap-limit {
  margin-top: 20px; padding: 13px 16px; border-radius: var(--r-sm);
  background: var(--unknown-wash); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-soft);
}
.pcmap-limit b { color: var(--ink); }

/* A tall column of cards next to one image: the image follows instead of leaving a hole. */
.sticky-visual { position: sticky; top: 96px; }
@media (max-width: 1080px) { .sticky-visual { position: static; } }

/* =========================================================================
   Capability cards / gallery
   ========================================================================= */

.cardgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }

.pcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; box-shadow: var(--lift-1);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--lift-2); border-color: var(--line-strong); }
.pcard h3 { margin-bottom: 9px; }
.pcard p { font-size: 14.3px; color: var(--ink-soft); line-height: 1.6; }
.pcard-icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--brand-wash);
  display: grid; place-items: center; margin-bottom: 15px; border: 1px solid var(--sky-deep);
}
.pcard-icon img { width: 22px; height: 22px; }

.tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 6px; margin-bottom: 10px;
}
.tag--ok { background: var(--ok-wash); color: var(--ok); }
.tag--partial { background: var(--warn-wash); color: var(--warn); }
.tag--none { background: var(--unknown-wash); color: var(--unknown); }

.limit-note {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-strong);
  font-size: 13px; color: var(--ink-soft);
}
.limit-note b { color: var(--warn); font-weight: 680; }

/* Scroll-snap gallery of real screenshots */
.gallery { position: relative; }
.gallery-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 46%);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 22px; margin: 0 -4px;
  scrollbar-width: thin;
}
.gallery-track > figure { scroll-snap-align: start; margin: 0; }
.gallery-track .device { box-shadow: var(--lift-2); }
.gallery figcaption { margin-top: 12px; }
.gallery figcaption b { display: block; font-size: 15px; }
.gallery figcaption span { font-size: 13.5px; color: var(--ink-soft); }
.gallery-nav { display: flex; gap: 9px; margin-top: 4px; }
.gallery-nav button {
  width: 40px; height: 40px; border-radius: 11px; cursor: pointer;
  background: var(--white); border: 1px solid var(--line-strong); color: var(--ink);
  display: grid; place-items: center; font-size: 17px; line-height: 1;
}
.gallery-nav button:hover { border-color: var(--brand); color: var(--brand-deep); }

/* =========================================================================
   Health findings
   ========================================================================= */

.findings { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.finding {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--unknown);
  border-radius: var(--r); padding: 20px 22px; box-shadow: var(--lift-1);
}
.finding--ok { border-left-color: var(--ok); }
.finding--warn { border-left-color: var(--warn); }
.finding--unknown { border-left-color: var(--unknown); }
.finding-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.finding-top h3 { font-size: 16.5px; }
.status {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.status--ok { background: var(--ok-wash); color: var(--ok); }
.status--warn { background: var(--warn-wash); color: var(--warn); }
.status--unknown { background: var(--unknown-wash); color: var(--unknown); }
.finding dl { margin: 15px 0 0; }
.finding dt { font-size: 11px; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); margin-top: 12px; }
.finding dt:first-child { margin-top: 0; }
.finding dd { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* =========================================================================
   Shield
   ========================================================================= */

.shield-band {
  background:
    radial-gradient(900px 400px at 15% 0%, var(--mist) 0%, rgba(230, 246, 247, 0) 60%),
    linear-gradient(180deg, var(--pearl) 0%, var(--white) 100%);
}
.shield-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: center; }

.shield-emblem { position: relative; display: grid; place-items: center; padding: 20px 0; }
.shield-emblem svg { width: min(100%, 320px); height: auto; }
.shield-emblem .pulse { transform-origin: center; animation: shield-pulse 3.4s ease-in-out infinite; }
@keyframes shield-pulse { 0%, 100% { opacity: .25; transform: scale(.94); } 50% { opacity: .7; transform: scale(1.04); } }

.shield-promise {
  margin-top: 22px; padding: 18px 20px; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--sky-deep);
  font-size: 14.8px; color: var(--ink-soft); line-height: 1.65;
}
.shield-promise b { color: var(--ink); }

.notlist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; }
.notlist li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.notlist li::before { content: "—"; color: var(--ink-faint); flex-shrink: 0; }

/* =========================================================================
   Security matrix — a table on desktop, expandable cards on mobile
   ========================================================================= */

.matrix-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; box-shadow: var(--lift-1); }
table.matrix { width: 100%; border-collapse: collapse; font-size: 14.3px; }
table.matrix caption { text-align: left; padding: 20px 22px 0; font-size: 13.5px; color: var(--ink-faint); }
table.matrix th, table.matrix td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.matrix thead th { background: var(--pearl); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
table.matrix tbody tr:last-child td { border-bottom: 0; }
table.matrix tbody th { font-weight: 640; color: var(--ink); width: 22%; }
table.matrix td { color: var(--ink-soft); }
table.matrix td:last-child { color: var(--ink); font-weight: 560; }

.matrix-cards { display: none; }
.mcard { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); margin-bottom: 10px; overflow: hidden; }
.mcard summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; cursor: pointer; font-weight: 640; font-size: 15px; list-style: none;
}
.mcard summary::-webkit-details-marker { display: none; }
.mcard[open] summary { border-bottom: 1px solid var(--line); }
.mcard-body { padding: 16px 18px; }
.mcard-body dt { font-size: 11px; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); margin-top: 12px; }
.mcard-body dt:first-child { margin-top: 0; }
.mcard-body dd { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }

/* =========================================================================
   Help me choose
   ========================================================================= */

.chooser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.chooser-options { display: grid; gap: 9px; }
.chooser-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  font: inherit; color: var(--ink); cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.chooser-opt:hover { border-color: var(--line-strong); box-shadow: var(--lift-1); }
.chooser-opt[aria-selected="true"] { border-color: var(--brand); background: var(--brand-wash); box-shadow: 0 0 0 3px rgba(29, 107, 240, .10); }
.chooser-opt:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.chooser-opt .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); flex-shrink: 0; }
.chooser-opt[aria-selected="true"] .dot { background: var(--brand); }
.chooser-opt span { font-size: 14.6px; font-weight: 570; }

.chooser-answer {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--lift-1); position: sticky; top: 96px;
}
.chooser-answer h3 { font-size: 21px; }
.chooser-answer p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); line-height: 1.65; }
.chooser-where { margin-top: 18px; font-size: 13.5px; color: var(--ink-faint); }
.chooser-where b { color: var(--brand-deep); }
.chooser-note { margin-top: 20px; font-size: 13px; color: var(--ink-faint); border-top: 1px solid var(--line); padding-top: 14px; }

/* =========================================================================
   Journeys — engineer and dealer
   ========================================================================= */

.journey { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; counter-reset: jstep; }
.jstep { position: relative; padding: 0 16px 0 0; }
.jstep .jdot {
  width: 30px; height: 30px; border-radius: 50%; background: var(--white);
  border: 2px solid var(--brand); color: var(--brand-deep);
  display: grid; place-items: center; font-size: 12.5px; font-weight: 750;
  counter-increment: jstep; position: relative; z-index: 2;
}
.jstep .jdot::before { content: counter(jstep); }
.jstep::after {
  content: ""; position: absolute; left: 30px; right: 0; top: 14px; height: 2px;
  background: var(--sky-deep);
}
.jstep:last-child::after { display: none; }
.jstep b { display: block; margin-top: 14px; font-size: 14.5px; }
.jstep span { display: block; margin-top: 5px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

.dealer-band { background: linear-gradient(180deg, var(--white) 0%, var(--sky) 100%); }

.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.benefit { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.benefit b { display: block; font-size: 15px; margin-bottom: 6px; }
.benefit span { font-size: 13.8px; color: var(--ink-soft); line-height: 1.55; }

.factlist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.factlist li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.factlist li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  flex-shrink: 0; margin-top: 8px;
}

/* =========================================================================
   Steps / pillars / privacy / credibility
   ========================================================================= */

.steps2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.step2 {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 20px; position: relative; overflow: hidden;
}
.step2 .n { font-size: 40px; font-weight: 750; color: var(--sky-deep); line-height: 1; letter-spacing: -.03em; }
.step2 b { display: block; margin: 12px 0 7px; font-size: 16px; }
.step2 span { font-size: 13.8px; color: var(--ink-soft); line-height: 1.55; }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pillar { background: var(--white); padding: clamp(24px, 2.6vw, 34px); }
.pillar b { display: block; font-size: 13px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-deep); }
.pillar p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

.privacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.privacy-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; gap: 13px; }
.privacy-card .shieldmark { width: 26px; height: 26px; flex-shrink: 0; color: var(--ok); }
.privacy-card b { display: block; font-size: 15px; margin-bottom: 5px; }
.privacy-card span { font-size: 13.8px; color: var(--ink-soft); line-height: 1.55; }

.credibility { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cred { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: var(--white); }
.cred b { display: block; font-size: 15.5px; margin-bottom: 8px; }
.cred p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

.brandlock {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  padding: 22px 24px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--lift-1);
}
.brandlock img { height: 44px; width: auto; }
.brandlock .bl { display: flex; flex-direction: column; }
.brandlock .bl b { font-size: 16px; }
.brandlock .bl span { font-size: 13px; color: var(--ink-faint); }
.brandlock .bl-sep { width: 1px; align-self: stretch; background: var(--line); }

/* =========================================================================
   FAQ
   ========================================================================= */

.faq2 { display: grid; gap: 10px; max-width: 860px; }
.faq2 details {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--white);
  overflow: hidden; transition: border-color .15s ease;
}
.faq2 details[open] { border-color: var(--line-strong); box-shadow: var(--lift-1); }
.faq2 summary {
  padding: 18px 22px; cursor: pointer; font-weight: 640; font-size: 15.8px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none;
}
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::after { content: "+"; font-size: 21px; font-weight: 400; color: var(--ink-faint); flex-shrink: 0; line-height: 1; }
.faq2 details[open] summary::after { content: "\2212"; }
.faq2 summary:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.faq2 .a { padding: 0 22px 20px; font-size: 14.8px; color: var(--ink-soft); line-height: 1.7; }

/* =========================================================================
   Final CTA + download block
   ========================================================================= */

.finale {
  background: linear-gradient(180deg, var(--sky) 0%, #DCE9FC 100%);
  border-top: 1px solid var(--sky-deep);
}
.finale-inner { text-align: center; max-width: 780px; margin: 0 auto; }
.finale .cta-pair { justify-content: center; margin-top: 30px; }

.dl-panel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  margin-top: 30px; text-align: left;
}
.dl-cell { background: var(--white); padding: 18px 20px; }
.dl-cell dt { font-size: 11px; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); }
.dl-cell dd { margin: 6px 0 0; font-size: 14.5px; font-weight: 570; word-break: break-word; }
.dl-cell dd.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 11.5px; font-weight: 400; color: var(--ink-soft); line-height: 1.5; }
.dl-cell dd .unsigned { color: var(--warn); font-weight: 640; }

/* =========================================================================
   Footer
   ========================================================================= */

footer.site-footer { background: var(--pearl); border-top: 1px solid var(--line); padding: clamp(44px, 5vw, 66px) 0 26px; margin-top: 0; }
footer.site-footer .footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
footer.site-footer .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
footer.site-footer .brand-mark { height: 30px; width: auto; }
.footer-tagline { margin: 14px 0 0; font-size: 14.5px; font-weight: 600; max-width: 30ch; }
.footer-parent { margin: 9px 0 0; font-size: 13.5px; color: var(--ink-soft); max-width: 36ch; line-height: 1.6; }
.footer-parent a { color: var(--brand-deep); font-weight: 600; }
.footer-col h2 { font-size: 12px; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 13px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.footer-col a:hover { color: var(--brand-deep); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  margin-top: clamp(30px, 4vw, 46px); padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-faint);
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: var(--ink-faint); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--brand-deep); }

/* =========================================================================
   Scroll reveal — additive only, so the page is complete without JavaScript
   ========================================================================= */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.shown { opacity: 1; transform: none; }
.no-js .reveal, html:not(.js) .reveal { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1080px) {
  .hero2-inner { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .ring-card { right: 8px; bottom: 16px; }
  .shield-hero { grid-template-columns: 1fr; }
  .pcmap { grid-template-columns: 1fr; }
  .chooser { grid-template-columns: 1fr; }
  .chooser-answer { position: static; }
  .journey { grid-auto-flow: row; grid-auto-columns: auto; gap: 0; }
  .jstep { padding: 0 0 22px 0; display: grid; grid-template-columns: 30px 1fr; column-gap: 16px; }
  .jstep .jdot { grid-row: 1 / span 3; }
  .jstep::after { left: 14px; right: auto; top: 30px; bottom: 0; width: 2px; height: auto; }
  .jstep b { margin-top: 4px; }
  footer.site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .trustbar ul { grid-template-columns: 1fr 1fr; }
  .trustbar li:last-child { grid-column: 1 / -1; }
  .flowline ol { grid-auto-flow: row; }
  .flowline li { border-right: 0; border-bottom: 1px solid var(--line); }
  .flowline li:last-child { border-bottom: 0; }
  .matrix-wrap { display: none; }
  .matrix-cards { display: block; }
  .pcmap-list { grid-template-columns: 1fr 1fr; }
  .gallery-track { grid-auto-columns: minmax(260px, 86%); }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .hero2 .cta-pair .btn2 { width: 100%; }
  .pcmap-list { grid-template-columns: 1fr; }
  .steps2 { grid-template-columns: 1fr 1fr; }
  footer.site-footer .footer-grid { grid-template-columns: 1fr; }
  .brandlock .bl-sep { display: none; }
}

/* =========================================================================
   Motion preference — honoured, not decorated around
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .ring .value { stroke-dashoffset: 28; }
  .flowline li::before { transform: scaleY(1); }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   Download page
   ========================================================================= */

.dl-builds { display: grid; gap: 14px; margin-top: 22px; }
.dlrow {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; box-shadow: var(--lift-1);
}
.dlrow-main { flex: 1 1 340px; min-width: 0; }
.dlrow-main b { display: block; font-size: 16.5px; }
.dlrow-main span { display: block; font-size: 13.8px; color: var(--ink-soft); margin: 5px 0 10px; }
.dlrow-main code {
  display: block; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 11px; color: var(--ink-faint); word-break: break-all; line-height: 1.5;
}
.dlrow-side { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.relnotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: none; }
.relnotes li {
  display: grid; grid-template-columns: 82px 1fr; gap: 16px; align-items: start;
  padding: 15px 18px; background: var(--white); border: 1px solid var(--line);
}
.relnotes li:first-child { border-radius: var(--r) var(--r) 0 0; }
.relnotes li:last-child { border-radius: 0 0 var(--r) var(--r); }
.relnotes li:not(:first-child) { border-top: 0; }
.relnotes .ver {
  font-size: 12.5px; font-weight: 720; color: var(--brand-deep);
  background: var(--brand-wash); border-radius: 6px; padding: 3px 8px; text-align: center;
}
.relnotes span { font-size: 14.2px; color: var(--ink-soft); line-height: 1.6; }
.relnotes li:first-child span { color: var(--ink); }

@media (max-width: 640px) {
  .relnotes li { grid-template-columns: 1fr; gap: 8px; }
  .relnotes .ver { justify-self: start; }
  .dlrow-side { width: 100%; justify-content: space-between; }
}

/* A page whose h1 is a title rather than a hero line. */
.home h1.page-title { font-size: clamp(28px, 3.4vw, 40px); margin-top: 16px; }
