/* ============================================================
   FNS Shield -- shared site shell
   One copy of the header/nav/theme-toggle/footer chrome used by
   every page. Extracted from backend/public/index.html so a fix
   here reaches every page instead of landing on one and not the
   others.
   Page-specific content (hero, trust strip, plan cards, etc.)
   stays inline on the page that uses it.
   ============================================================ */

@font-face{font-family:'Space Grotesk';src:url('/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2-variations');font-weight:300 700;font-display:swap}
@font-face{font-family:'Inter';src:url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');font-weight:100 900;font-display:swap}

/* ---- LIGHT is the base. Every colour is a token so the dark block only
       has to redefine values, never rules. ---- */
:root{
  --ground:#f5f6f3; --surface:#ffffff; --surface-2:#f1f5f2;
  --ink:#10271f; --body:#364c43; --muted:#596e64;
  --line:#e2e7ee; --line-strong:#cfd8e3;
  --blue:#005b46; --blue-hover:#004433; --on-blue:#ffffff;
  --navbar:#ffffff; --navink:#111111; --navpill:#f5f6f3; --navring:#dde1e8;
  --cyan:#005b46; --cyan-bright:#8bd8b9;
  --notice:#fff8e6; --notice-line:#e6c15c; --notice-ink:#5c4409;
  --band:#10271f; --band-ink:#ffffff; --band-dim:#bdd9cb; --band-line:#24604d;
  --strip:#003e30; --strip-ink:#d7eee4;
  --shadow:0 1px 2px rgb(15 23 42/.04), 0 10px 30px rgb(15 23 42/.07);
  --radius:20px;
  --display:'Space Grotesk',ui-sans-serif,system-ui,sans-serif;
  --text:'Inter',ui-sans-serif,system-ui,-apple-system,sans-serif;
  --mono:ui-monospace,'SF Mono',Menlo,monospace;
  /* Steve: fill the container. Wide, landscape, still readable on a phone. */
  --wrap:min(100% - 4rem, 1760px);
  /* Document pages get a READING measure, not the homepage's full bleed --
     terms and a privacy notice at 1760px are unreadable. The nav above stays
     full width, which is the normal shape for a doc page. */
  --doc-wrap:min(100% - 2.5rem, 800px);
  --good:#15803d; --good-wash:#f0fdf4; --good-line:#bbf7d0;
  --warn-ink:#92400e; --warn-wash:#fffbeb; --warn-line:#fde68a;
  --info-ink:#155e75; --info-wash:#ecfeff; --info-line:#a5f3fc;
  --chip-bg:#f1f5f9; --chip-ink:#475569; --chip-line:#e2e8f0;
  --code-bg:#f1f5f9;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --ground:#071b14; --surface:#10291f; --surface-2:#19382b;
    --ink:#eaf2f8; --body:#b9c9d6; --muted:#8ba0b0;
    --line:#1f2e3a; --line-strong:#2b3d4b;
    --blue:#86d9b6; --blue-hover:#b0efd1; --on-blue:#052519;
    --navbar:#10291f; --navink:#eaf2f8; --navpill:#182533; --navring:#26374a;
    --cyan:#86d9b6; --cyan-bright:#b0efd1;
    --notice:#241d05; --notice-line:#8a6d1c; --notice-ink:#f2d98a;
    --band:#052219; --band-ink:#eaf2f8; --band-dim:#8ba0b0; --band-line:#1c2b38;
    --strip:#052219; --strip-ink:#9fb6c9;
    --shadow:0 1px 2px rgb(0 0 0/.4), 0 12px 34px rgb(0 0 0/.45);
    --good:#4ade80; --good-wash:rgb(34 197 94/.13); --good-line:rgb(74 222 128/.34);
    --warn-ink:#fcd34d; --warn-wash:rgb(234 179 8/.12); --warn-line:rgb(252 211 77/.32);
    --info-ink:#b0efd1; --info-wash:rgb(34 211 238/.12); --info-line:rgb(103 232 249/.32);
    --chip-bg:#182533; --chip-ink:#b9c9d6; --chip-line:#26374a;
    --code-bg:#19382b;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --ground:#071b14; --surface:#10291f; --surface-2:#19382b;
  --ink:#eaf2f8; --body:#b9c9d6; --muted:#8ba0b0;
  --line:#1f2e3a; --line-strong:#2b3d4b;
  --blue:#86d9b6; --blue-hover:#b0efd1; --on-blue:#052519;
  --navbar:#10291f; --navink:#eaf2f8; --navpill:#182533; --navring:#26374a;
  --cyan:#86d9b6; --cyan-bright:#b0efd1;
  --notice:#241d05; --notice-line:#8a6d1c; --notice-ink:#f2d98a;
  --band:#052219; --band-ink:#eaf2f8; --band-dim:#8ba0b0; --band-line:#1c2b38;
  --strip:#052219; --strip-ink:#9fb6c9;
  --shadow:0 1px 2px rgb(0 0 0/.4), 0 12px 34px rgb(0 0 0/.45);
  --good:#4ade80; --good-wash:rgb(34 197 94/.13); --good-line:rgb(74 222 128/.34);
  --warn-ink:#fcd34d; --warn-wash:rgb(234 179 8/.12); --warn-line:rgb(252 211 77/.32);
  --info-ink:#b0efd1; --info-wash:rgb(34 211 238/.12); --info-line:rgb(103 232 249/.32);
  --chip-bg:#182533; --chip-ink:#b9c9d6; --chip-line:#26374a;
  --code-bg:#19382b;
  color-scheme:dark;
}

*{box-sizing:border-box}
body{
  margin:0;background:var(--ground);color:var(--body);
  font-family:var(--text);font-size:20px;line-height:1.62;
}
.wrap{width:var(--wrap);margin-inline:auto}
a{color:var(--blue)}
h1,h2,h3{font-family:var(--display);color:var(--ink);letter-spacing:-.02em;text-wrap:balance;margin:0}

/* ---------- split header: the arrival from the parent site ---------- */
.parentbar{background:var(--ground);color:var(--muted);font-size:15px;border-bottom:1px solid var(--line)}
.parentbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.55rem 0}
.parentbar a{color:var(--muted);text-decoration:none;font-weight:600}
.parentbar a:hover{color:var(--cyan);text-decoration:underline}

/* Matched to fasttechpc.com's own header, measured from the live site rather
   than eyeballed: a full-width white bar (not a floating pill), 12px pills in
   #f5f6f3 with a 1.5px inset ring, 17px/800 labels, and a 5px-radius CTA in
   the parent's #0076a8. Same chrome, Shield's contents. */
.navwrap{
  position:sticky;top:0;z-index:40;background:var(--navbar);
  box-shadow:0 4px 16px -8px rgb(0 0 0/.12), 0 1px 0 0 rgb(0 0 0/.04);
}
.nav{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  background:transparent;border:0;border-radius:0;box-shadow:none;
  padding:14px 0;min-height:90px;
}
.navtop{display:contents}
.burger{display:none}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;margin-right:auto;order:0}
.nav-links{order:1}
.navcall{order:2}
.brand .mark{width:47px;height:47px;flex:none;display:block}
.brand b{font-family:var(--display);font-size:22px;font-weight:800;color:var(--navink);letter-spacing:-.015em;display:block;line-height:1.14;white-space:nowrap}
.brand span{font-size:13.5px;color:var(--muted);display:block;line-height:1.25}
.nav-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nav-links a{
  display:inline-flex;align-items:center;text-decoration:none;
  color:var(--navink);font-weight:800;font-size:17px;
  padding:10px 14px;border-radius:12px;background:var(--navpill);
  box-shadow:inset 0 0 0 1.5px var(--navring);line-height:1.18;
}
.nav-links a:hover{box-shadow:inset 0 0 0 1.5px var(--blue)}
.nav-links a.active{box-shadow:inset 0 0 0 1.5px var(--blue);color:var(--blue)}
.navcall{
  background:var(--blue);color:var(--on-blue);text-decoration:none;font-weight:800;
  padding:12px 20px;border-radius:999px;white-space:nowrap;font-size:16px;line-height:1.18;
  display:inline-flex;align-items:center;gap:8px;
}
.navcall:hover{background:var(--blue-hover)}
.themetoggle{
  background:var(--navpill);color:var(--navink);border:0;
  box-shadow:inset 0 0 0 1.5px var(--navring);
  border-radius:12px;width:40px;height:40px;cursor:pointer;font-size:1rem;line-height:1;
}
.themetoggle:hover{color:var(--ink)}
.burger{
  width:44px;height:44px;border:0;background:transparent;cursor:pointer;
  padding:10px;align-items:center;justify-content:center;flex-direction:column;gap:5px;
}
.burger span{display:block;width:24px;height:2.5px;border-radius:2px;background:var(--navink);transition:transform .18s ease,opacity .18s ease}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
@media (prefers-reduced-motion:reduce){.burger span{transition:none}}
:focus-visible{outline:3px solid var(--cyan);outline-offset:2px}

footer{border-top:1px solid var(--line);margin-top:4rem;padding:2.5rem 0;color:var(--muted);font-size:1rem}
footer .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1.6rem}
footer b{display:block;color:var(--ink);font-family:var(--display);margin-bottom:.5rem}
footer a{color:var(--blue)}

/* ---------- tablet: shell-only slice of index.html's old breakpoint
   (its homepage-only rules - .hero .wrap, .rulecard, .trust div - stay
   inline on the page that uses them) ---------- */
@media (max-width:1100px){
  :root{--wrap:min(100% - 2.5rem, 1100px)}
}

/* ---------- phone ----------
   The nav is a pill only while it fits on ONE row. Wrapped, a 999px radius
   turns the whole block into an oval blob - which is exactly what shipped
   and what Steve saw. Below this width it stops being a pill and becomes a
   stacked block: brand and theme on one row, the links on their own row, and
   the call button full width with a real touch target. No hamburger: hiding
   navigation behind an icon is wrong for a 65+ reader who is already unsure
   what they are looking at.
   (Shell-only slice of index.html's old breakpoint; its homepage-only
   rules - .hero, .lede, .btn, .rulecard, .trust, .sec, .card/.step, .band,
   .plan, .price, .call - stay inline on the page that uses them.) */
@media (max-width:1099px){
  /* Fill the window. A 640px cap never helped phones (they are already
     narrower) and squeezed every laptop, tablet, and scaled desktop into
     a phone column — plans stacked in leftover gray down the middle. */
  :root{--wrap:calc(100% - 1.25rem)}
  body{font-size:18px;line-height:1.6}

  .parentbar{font-size:13.5px}
  .parentbar .wrap{flex-direction:column;align-items:flex-start;gap:.15rem;padding:.5rem 0}

  .navwrap{padding:.6rem 0}
  .nav{
    flex-direction:column;align-items:stretch;gap:0;
    border-radius:0;padding:.7rem 0;min-height:0;
  }
  /* The parent keeps the phone button visible on mobile and hides only the
     links - which is the right call here too: the primary action for a
     frightened caller must never be a tap away behind an icon. */
  .navtop{display:flex;align-items:center;gap:8px}
  .burger{display:flex;flex:none;margin-left:auto;width:40px;height:40px;padding:8px}
  /* The brand is the one element allowed to give way: it shrinks and clips
     rather than pushing the call button or the burger off the screen. */
  .brand{margin-right:0;min-width:0;flex:1 1 auto;overflow:hidden}
  .brand b{font-size:17px}
  /* The parent tie is already stated in the strip above this bar, so the
     tagline is redundant at 390px where every pixel is contested. */
  .brand > span > span{display:none}
  .brand .mark{width:38px;height:38px}
  .navcall{order:0;padding:10px 12px;font-size:14px;border-radius:5px;flex:none;gap:5px}
  .navcall .calltext{font-size:0}
  .navcall .calltext::after{content:'941-477-8324';font-size:14px}
  .themetoggle{width:100%;height:48px;border-radius:10px}

  /* Collapsed by default; opened by the burger. */
  .nav-links{
    display:none;order:0;flex-direction:column;align-items:stretch;gap:6px;
    margin-top:.8rem;padding-top:.8rem;border-top:1px solid var(--navring);
  }
  .nav-links.open{display:flex}
  .nav-links a{font-size:17px;padding:14px 16px;border-radius:10px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ============================================================
   DOCUMENT LAYER -- the reading pages (status, how it works,
   download, privacy, terms).

   Every rule here is scoped under .container, which ONLY the five
   sub-pages use (index.html lays out with .wrap). That scoping is
   deliberate and load-bearing: .btn, .card, .chip and .small are
   also defined inline on index.html, and an unscoped rule here
   would reach across and move the homepage. Verified by grep --
   index.html has no class="container" anywhere.
   ============================================================ */

.container{width:var(--doc-wrap);margin-inline:auto;padding-bottom:1rem}
main{padding-bottom:3rem}

/* The shell resets heading margins to 0 because the homepage spaces its
   headings per component. Prose needs them back. */
.container h1,.container h2,.container h3{margin:0 0 .5em;line-height:1.15}
.container h1{font-size:clamp(2.1rem,5vw,3.1rem)}
.container h2{font-size:clamp(1.5rem,3.2vw,2.1rem);font-weight:700;letter-spacing:-.01em}
.container h3{font-size:1.2rem;font-weight:600}
.container p{margin:0 0 1em}
.container ul,.container ol{padding-left:1.3em}
.container li{margin-bottom:.4em}
.container p.tight{margin-bottom:.5rem}
.container strong,.container b{color:var(--ink)}
.container a{text-underline-offset:3px}
.container a:hover{color:var(--blue-hover)}
img,svg{max-width:100%;height:auto}
code,.mono{font-family:var(--mono);font-size:.9em;background:var(--code-bg);padding:.12em .38em;border-radius:5px}

.container .small{font-size:.92rem;color:var(--muted)}
.eyebrow{
  font-family:var(--display);font-weight:700;
  font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--blue);margin-bottom:.9rem;
}
.doc-hero{padding:clamp(2.2rem,5vw,3.4rem) 0 .5rem}
.doc-hero h1{margin-bottom:.4em}
.container h2.section{margin-top:2.6rem}
.section-divider{border:0;border-top:1px solid var(--line);margin:2.8rem 0}

.container .btn{
  display:inline-flex;align-items:center;gap:.55rem;text-decoration:none;
  font-family:var(--display);font-weight:700;font-size:1.05rem;
  padding:.9rem 1.6rem;border-radius:999px;background:var(--blue);color:var(--on-blue);
  border:1px solid transparent;min-height:52px;justify-content:center;
}
.container .btn:hover{background:var(--blue-hover)}
.container .btn[aria-disabled="true"]{opacity:.65;cursor:default;pointer-events:none}

.container .card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(1.4rem,3vw,2.2rem);margin:1.6rem 0;box-shadow:var(--shadow);
}
.mini-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:1.1rem 1.25rem}
.mini-card h3{margin-bottom:.3rem;font-size:1.05rem}
.mini-card p{margin:0}
/* Two columns, and it means it. auto-fit with a 260px floor resolved to THREE
   at the 920px doc measure, which orphaned the 4th card of a 4-card grid alone
   on its own row with two-thirds of the width empty (caught on privacy.html and
   how-it-works.html). Fixed columns keep 4 cards as 2x2. */
.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
@media (max-width:640px){.two-col{grid-template-columns:1fr}}

/* Status chips. Tokenised rather than hard-coded so they invert with the
   theme -- the old copies were fixed light-mode hex and would have shown as
   pale blobs on the dark page. */
.container .chip{
  display:inline-block;font-family:var(--display);font-weight:700;
  font-size:.78rem;letter-spacing:.05em;text-transform:uppercase;
  padding:.3rem .7rem;border-radius:999px;
  background:var(--chip-bg);color:var(--chip-ink);border:1px solid var(--chip-line);
  vertical-align:middle;
}
.container .chip.now{background:var(--info-wash);color:var(--info-ink);border-color:var(--info-line)}
.container .chip.warn{background:var(--warn-wash);color:var(--warn-ink);border-color:var(--warn-line)}
.container .chip.done{background:var(--good-wash);color:var(--good);border-color:var(--good-line)}
.container .chip.soon{background:var(--chip-bg);color:var(--muted);border-color:var(--chip-line)}

.timeline{list-style:none;margin:1.4rem 0 0;padding:0 0 0 1.6rem;border-left:2px solid var(--line)}
.timeline li{position:relative;padding-bottom:1.6rem;margin-bottom:0}
.timeline li::before{
  content:'';position:absolute;left:calc(-1.6rem - 7px);top:.45rem;
  width:12px;height:12px;border-radius:50%;
  background:var(--ground);border:2px solid var(--muted);
}
.timeline li.done::before{background:var(--good);border-color:var(--good)}
.timeline li.now::before{background:var(--blue);border-color:var(--blue)}
.timeline li.next::before{border-color:var(--blue)}
.timeline .when{
  display:block;font-family:var(--display);font-weight:700;
  font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);
}
.timeline strong{display:block;color:var(--ink);font-size:1.05rem;margin:.1rem 0 .2rem}
.timeline p{margin:0;font-size:.96rem}

.callout{
  background:var(--surface-2);border:1px solid var(--line-strong);
  border-radius:var(--radius);padding:clamp(1.4rem,3vw,2.2rem);
  margin:2rem 0;text-align:center;
}
.callout h2{margin-bottom:.3rem}
.callout p{margin-inline:auto}
.tel{
  display:inline-block;font-family:var(--display);font-weight:700;
  font-size:clamp(1.9rem,6vw,2.9rem);color:var(--blue);text-decoration:none;
  letter-spacing:-.01em;margin:.3rem 0;
}
.tel:hover{color:var(--blue-hover)}

@media (max-width:760px){
  .container{padding-bottom:.5rem}
  .container .btn{width:100%}
  .timeline{padding-left:1.3rem}
}

/* ---------- alternating section bands (Steve, 2026-08-26: "make every
   section light, then dark" - sections must be tellable at a glance).
   Full-bleed stripes; the .container column rides inside each band. ---------- */
.docmain{padding-bottom:1rem}
.dband{padding:2.6rem 0 2rem}
.dband .container{padding-bottom:0}
.dband .container > h2.section:first-child{margin-top:0}
.dband.dark{background:var(--band);border-top:1px solid var(--band-line);border-bottom:1px solid var(--band-line)}
.dband.dark .container{color:var(--band-dim)}
.dband.dark .container h1,.dband.dark .container h2,.dband.dark .container h3,
.dband.dark .container h4,.dband.dark .container strong,.dband.dark .container b{color:var(--band-ink)}
.dband.dark .container .small{color:var(--band-dim)}
.dband.dark .container a{color:var(--cyan-bright)}
.dband.dark .container a:hover{color:#b0efd1}
.dband.dark .container .btn{background:var(--cyan-bright);color:#052519}
.dband.dark .container .btn:hover{background:#b0efd1}
.dband.dark .mini-card,.dband.dark .container .card{background:rgb(255 255 255/.07);border-color:var(--band-line);box-shadow:none}
.dband.dark .eyebrow{color:var(--cyan-bright)}
.dband + .dband:not(.dark){border-top:1px solid var(--line)}

/* Architectural: shared identity across every public page. */
:root{--display:'Inter',ui-sans-serif,system-ui,sans-serif;--radius:12px;--wrap:min(100% - 4rem, 1600px)}
.nav-links a{background:transparent;box-shadow:none;border-color:transparent;border-radius:6px}
.brand .mark{stroke:var(--blue)}
.navcall{background:var(--blue);border-radius:6px}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #b48027;outline-offset:4px}
@media(max-width:700px){:root{--wrap:calc(100% - 2rem)}}

.brand .mark{width:52px;height:60px;object-fit:contain}.brand b{font-size:26px}.brand span{letter-spacing:.02em}@media(max-width:700px){.brand .mark{width:38px;height:44px}.brand b{font-size:22px}}

/* Leave room for the complete brand name on narrow document-page headers. */
@media (max-width: 480px) {
  body:not(.architectural-home) .navtop { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 10px; width: 100%; }
  body:not(.architectural-home) .navtop .brand { grid-column: 1; grid-row: 1; overflow: visible; }
  body:not(.architectural-home) .navtop .burger { grid-column: 2; grid-row: 1; width: 44px; height: 44px; margin: 0; }
  body:not(.architectural-home) .navtop .navcall { grid-column: 1 / -1; grid-row: 2; justify-content: center; min-height: 44px; }
}
