/* Shared chrome for the ARfield marketing pages.
 *
 * Each page still carries its own body styles; this file supplies only the
 * pieces that must look identical everywhere — the sticky nav, the header
 * treatment and the footer. Loaded as a separate stylesheet because the CSP
 * allows 'unsafe-inline' for style but not for script, and keeping it external
 * means one edit updates every page instead of four. */

:root{
  --navy:#0A1628;--navy2:#16294A;--blue:#4F8EF7;--blue-dk:#2f6fd0;
  /* Brand blue #4F8EF7 is 3.21:1 on white — below WCAG AA's 4.5:1 for small
     text. This darker shade of the same hue passes at 4.52:1 and is used
     wherever blue carries small text or sits under white text. */
  --blue-a11y:#1669f5;
  --line:#e4eaf2;--muted:#5b6875;
  --shadow-lg:0 1px 2px rgba(10,22,40,.06),0 8px 18px rgba(10,22,40,.07),0 28px 60px rgba(10,22,40,.10);
}

/* Inline links are underlined, not colour-only (WCAG 1.4.1). Nav, footer and
   button links opt out because their shape already identifies them. */
.page-body a:not(.btn):not(.cta){text-decoration:underline;text-underline-offset:2px}

/* --- sticky nav --- */
.site-nav{position:sticky;top:0;z-index:50;background:rgba(10,22,40,.94);
  backdrop-filter:saturate(150%) blur(10px);border-bottom:1px solid rgba(255,255,255,.08)}
.site-nav .navwrap{max-width:1060px;margin:0 auto;padding:0 22px;display:flex;
  align-items:center;justify-content:space-between;height:58px}
.site-nav .logo{color:#fff;font-weight:800;font-size:16px;letter-spacing:.2px;text-decoration:none}
.site-nav .links{display:flex;gap:22px;align-items:center}
.site-nav .links a{color:rgba(255,255,255,.76);font-size:14px;font-weight:500;text-decoration:none}
.site-nav .links a:hover{color:#fff}
.site-nav .navcta{background:var(--blue-a11y);color:#fff!important;padding:9px 16px;
  border-radius:9px;font-weight:700;text-decoration:none}
.site-nav .navcta:hover{background:var(--blue-dk)}
@media(max-width:760px){.site-nav .links a:not(.navcta){display:none}}

/* --- page header --- */
.page-head{background:linear-gradient(150deg,var(--navy) 0%,var(--navy2) 65%,#1d3560 100%);
  color:#fff;padding:52px 0 46px;position:relative;overflow:hidden}
.page-head::after{content:'';position:absolute;inset:auto -10% -70% -10%;height:70%;
  background:radial-gradient(ellipse at center,rgba(79,142,247,.2),transparent 70%);pointer-events:none}
.page-head .eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.7px;
  text-transform:uppercase;color:#9cc0ff;background:rgba(79,142,247,.14);
  border:1px solid rgba(79,142,247,.3);padding:5px 13px;border-radius:999px;margin-bottom:16px}

/* --- footer ---
   The child selectors are NOT redundant. Each page carries its own
   `p{color:var(--ink)}` rule, which beats an inherited colour and rendered
   near-black text on the navy footer at 1.3:1 — caught by the accessibility
   gate on three pages at once. Setting the colour on the actual elements is
   what makes it stick. */
.site-foot{background:var(--navy);color:rgba(255,255,255,.82);padding:36px 0;
  text-align:center;font-size:14px}
.site-foot p,.site-foot strong,.site-foot div,.site-foot span{
  color:rgba(255,255,255,.82)}
.site-foot strong{color:#fff}
/* Underlined, not colour-only (WCAG 1.4.1). The email link sits mid-sentence
   in the footer paragraph, so a reader who can't distinguish the blue has no
   other cue that it's a link — the accessibility gate flagged exactly this. */
.site-foot a{color:#9cc0ff;text-decoration:underline;text-underline-offset:2px}
.site-foot a:hover{color:#fff}
.site-foot .fl{margin-top:10px;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}

/* Touch targets stay finger-sized on the devices this is actually read on. */
@media(max-width:760px){
  .site-nav .navcta,.site-foot a{min-height:44px;display:inline-flex;align-items:center}
}

/* ==========================================================================
   BLOG
   Used by web/blog/*.html, which are GENERATED by scripts/build-blog.mjs —
   edit the generator or this file, never the generated HTML.
   Unlike the other marketing pages, blog pages carry no inline <style> at
   all: everything they need lives here, so an article can never drift away
   from the product's look.
   ========================================================================== */

.blog{
  --ink:#141c26;--bg:#f6f8fc;--card:#fff;
  --font:'Space Grotesk',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  font-family:var(--font);background:var(--bg);color:var(--ink);
  line-height:1.6;-webkit-font-smoothing:antialiased;margin:0;
}
@font-face{font-family:'Space Grotesk';
  src:url('/assets/fonts/SpaceGrotesk-Variable.ttf') format('truetype');
  font-weight:400 800;font-display:swap}
.blog *{box-sizing:border-box}
.blog .wrap{max-width:1060px;margin:0 auto;padding:0 22px}
/* ~68ch is the readable measure for long prose. The homepage's 1060px is
   right for a grid of cards and much too wide for a paragraph. */
.blog .wrap.narrow{max-width:720px}
.blog section{padding:56px 0}
.blog a{color:var(--blue-a11y);text-decoration:underline;text-underline-offset:2px}
.blog .site-nav a,.blog .btn,.blog .pcard,.blog .back{text-decoration:none}

.bloghead{background:linear-gradient(150deg,var(--navy) 0%,var(--navy2) 65%,#1d3560 100%);
  color:#fff;padding:60px 0 54px;text-align:center}
.bloghead h1{font-size:clamp(28px,4.4vw,40px);font-weight:800;letter-spacing:-.5px;line-height:1.12}
.bloghead .sub{color:rgba(255,255,255,.8);max-width:620px;margin:16px auto 0;font-size:16.5px}

/* --- post cards (blog index + homepage strip) --- */
.pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:900px){.pgrid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.pgrid{grid-template-columns:1fr}}
.pcard{display:block;background:var(--card);border:1px solid var(--line);border-radius:16px;
  padding:24px 22px;color:inherit;
  transition:transform .22s cubic-bezier(.22,.61,.36,1),box-shadow .22s,border-color .22s}
.pcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:#cfdcee}
.pcard h3{font-size:17.5px;font-weight:700;margin:10px 0 8px;letter-spacing:-.15px;line-height:1.3}
.pcard p{color:var(--muted);font-size:14.2px;margin:0}
.ptag{display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.6px;
  text-transform:uppercase;color:var(--blue-dk);background:#eaf1fe;border:1px solid #d3e1f8;
  padding:4px 10px;border-radius:999px}
.pmeta{display:block;margin-top:14px;font-size:12.8px;color:var(--muted);font-weight:500}

/* --- article --- */
.post{padding:44px 0 64px}
.post .back{display:inline-block;font-size:14px;color:var(--blue-a11y);font-weight:600;margin-bottom:20px}
.post h1{font-size:clamp(27px,4.2vw,38px);font-weight:800;line-height:1.14;
  letter-spacing:-.6px;margin:12px 0 10px}
.post .pmeta{margin:0 0 30px;padding-bottom:22px;border-bottom:1px solid var(--line)}

.prose{font-size:16.6px;line-height:1.72}
.prose h2{font-size:23px;font-weight:800;margin:38px 0 12px;letter-spacing:-.35px}
.prose h3{font-size:18.5px;font-weight:700;margin:30px 0 10px}
.prose p{margin:0 0 18px}
.prose ul,.prose ol{margin:0 0 18px;padding-left:22px}
.prose li{margin-bottom:9px}
.prose strong{font-weight:700}
.prose img{max-width:100%;height:auto;border-radius:12px;border:1px solid var(--line);margin:8px 0 20px}
.prose blockquote{margin:0 0 20px;padding:14px 20px;border-left:3px solid var(--blue);
  background:#eef3fa;border-radius:0 10px 10px 0;color:#33404f}
.prose code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em;
  background:#eef2f8;border:1px solid var(--line);border-radius:5px;padding:1px 5px}
/* Wide content scrolls inside its own box — the page body must never scroll
   sideways on a phone. */
.prose pre{background:var(--navy);color:#dce6f5;border-radius:12px;padding:16px 18px;
  overflow-x:auto;margin:0 0 20px;font-size:13.8px;line-height:1.55}
.prose pre code{background:none;border:none;padding:0;color:inherit;font-size:inherit}
.prose hr{border:none;border-top:1px solid var(--line);margin:30px 0}
.prose table{width:100%;border-collapse:collapse;margin:0 0 22px;font-size:14.6px}
.prose th,.prose td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--line)}
.prose th{background:#eef3fa;font-weight:700;font-size:13.6px}

.postcta{margin-top:44px;background:#fff;border:1.5px solid var(--blue);border-radius:18px;
  padding:28px 26px;box-shadow:0 14px 40px rgba(79,142,247,.14)}
.postcta h3{font-size:20px;font-weight:800;margin-bottom:8px}
.postcta p{color:var(--muted);font-size:15px;margin-bottom:18px}
.postcta .btn{display:inline-flex;align-items:center;min-height:48px;padding:13px 24px;
  border-radius:11px;font-weight:700;font-size:15px;background:var(--blue-a11y);color:#fff}
.postcta .btn:hover{background:var(--blue-dk)}

.pnav{display:flex;justify-content:space-between;gap:18px;margin-top:40px;
  padding-top:22px;border-top:1px solid var(--line);font-size:14.4px;font-weight:600}
.pnav a{max-width:46%}
@media(max-width:620px){.pnav{flex-direction:column;gap:10px}.pnav a{max-width:none}}

@media(prefers-reduced-motion:reduce){.pcard:hover{transform:none}}
