/* =========================================================
   Apiro Strata — Marketing site design system
   Modern direction: indigo primary + calm emerald spark,
   white/near-black base. All text colors verified against
   WCAG 2.2 AA contrast (>=4.5:1 normal text).
   ========================================================= */

:root{
  --navy: #0B0E14;
  --navy-2: #14181F;
  --navy-soft: #1B2029;
  --ink: #12151C;
  --bronze: #4F46E5;        /* indigo — primary accent */
  --bronze-light: #8B85F0;  /* light indigo, for use on dark backgrounds */
  --bronze-dim: #4F46E5;    /* indigo, for text on light backgrounds (6.3:1) */
  --emerald: #10B981;       /* decorative fills/borders only — not for text */
  --emerald-bg: #A7F3D0;    /* light mint highlight background */
  --cream: #FAFAFA;
  --paper: #FFFFFF;
  --line: #ECECEC;
  --muted: #5B5F68;         /* secondary text, 6.4:1 on white */
  --muted-2: #6E7178;       /* small print, 4.9:1 on white */
  --success: #047857;       /* dark emerald for text/icons needing contrast (5.5:1) */
  --alert: #DC2626;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -20px rgba(11,14,20,0.20);
  --shadow-sm: 0 8px 24px -12px rgba(11,14,20,0.12);
  --maxw: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body{
  margin:0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4{
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 560; }
h2{ font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3{ font-size: 1.3rem; }
p{ margin: 0 0 1em; color: var(--ink); }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }
.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bronze-dim); margin-bottom: 16px;
}
.eyebrow::before{ content:''; width:20px; height:2px; background: var(--bronze); display:inline-block; }
.lede{ font-size: 1.15rem; color: var(--muted); max-width: 620px; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }
.mark{ background: var(--emerald-bg); padding: 0 4px; }

/* ---------- Accessibility utilities ---------- */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:8px; top:-60px; z-index:1000;
  background: var(--navy); color:#fff; padding:12px 18px; border-radius: 0 0 8px 8px;
  font-family:'Inter',sans-serif; font-weight:600; font-size:.9rem; transition: top .15s ease;
}
.skip-link:focus{ top:0; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .swbtn:focus-visible{
  outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px;
}
[id]{ scroll-margin-top: 92px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  cursor:pointer; border: 1px solid transparent; transition: all .15s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--bronze); color: #FFFFFF; }
.btn-primary:hover{ background: #4338CA; transform: translateY(-1px); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,.5); color: inherit; }
.btn-outline:hover{ border-color: var(--bronze); color: var(--bronze); }
.btn-dark{ background: var(--navy); color: var(--cream); }
.btn-dark:hover{ background: var(--navy-2); }
.btn-row{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.btn-sm{ padding: 9px 18px; font-size: .85rem; }
.link-arrow{ display:inline-flex; align-items:center; gap:6px; font-weight:600; color: var(--bronze-dim); }
.link-arrow svg{ width:14px; height:14px; transition: transform .15s ease; }
.link-arrow:hover svg{ transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; padding: 16px 28px; max-width: var(--maxw); margin:0 auto; }
.brand{ display:flex; align-items:center; gap:10px; font-family:'Fraunces',serif; font-weight:600; font-size:1.15rem; color: var(--navy); }
.brand-mark{ width:30px; height:30px; }
.brand-sub{ font-size:.65rem; letter-spacing:.1em; text-transform:uppercase; color: var(--muted-2); font-family:'Inter',sans-serif; font-weight:600; margin-left:2px; }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{ font-size:.92rem; font-weight:600; color: var(--ink); position:relative; padding:8px 0; }
.nav-links a[aria-current="page"], .nav-links a:hover{ color: var(--bronze-dim); }
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:22px; height:2px; background:var(--navy); margin:5px 0; }

/* ---------- Sections ---------- */
section{ padding: 92px 0; }
section.tight{ padding: 60px 0; }
.section-head{ max-width: 680px; margin: 0 0 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

.bg-navy{ background: var(--navy); color: var(--cream); }
.bg-navy h1, .bg-navy h2, .bg-navy h3{ color: var(--cream); }
.bg-navy p{ color: rgba(250,250,250,.78); }
.bg-navy .lede{ color: rgba(250,250,250,.78); }
.bg-paper{ background: var(--paper); }
.bg-cream{ background: var(--cream); }

/* ---------- Hero ---------- */
.hero{ padding: 76px 0 88px; position:relative; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items:center; }
.hero h1{ margin-bottom: 22px; }
.hero .lede{ font-size:1.2rem; margin-bottom: 30px; }
.hero-art{ position:relative; }
.hero-stats{ display:grid; grid-template-columns: repeat(3,1fr); gap:1px; background: var(--line); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; margin-top:52px; }
.hero-stat{ background: var(--paper); padding: 20px 18px; border-top: 3px solid var(--emerald); }
.hero-stat .num{ font-family:'Fraunces',serif; font-size:1.7rem; color: var(--bronze-dim); font-weight:600; }
.hero-stat .lbl{ font-size:.78rem; color: var(--muted); margin-top:4px; }

/* ---------- Cards ---------- */
.grid{ display:grid; gap: 24px; }
.grid-2{ grid-template-columns: 1fr 1fr; }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }

.card{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.card-flush{ padding:0; overflow:hidden; }
.persona-card .tag{ font-size:.7rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: var(--bronze-dim); margin-bottom:10px; display:block; }
.persona-card h3{ margin-bottom:10px; }
.persona-card p{ color: var(--muted); font-size:.95rem; margin-bottom:0;}

.agent-card{ position:relative; padding-top:34px; }
.agent-icon{ width:52px; height:52px; border-radius:14px; background: var(--bronze); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.agent-icon svg{ width:26px; height:26px; stroke: #FFFFFF; }
.agent-card h3{ font-size:1.4rem; margin-bottom:4px; }
.agent-role{ font-size:.8rem; font-weight:700; color: var(--bronze-dim); text-transform:uppercase; letter-spacing:.06em; margin-bottom:14px; }
.agent-card p{ color: var(--muted); font-size:.95rem; }
.agent-myth{ margin-top:16px; padding-top:16px; border-top:1px dashed var(--line); font-size:.85rem; color: var(--muted-2); font-style:italic; }

.product-card{ background: var(--navy); color: var(--cream); border-radius: var(--radius); padding:38px; }
.product-card h3{ color: var(--cream); font-size:1.6rem; }
.product-card p{ color: rgba(250,250,250,.78); }
.product-card .tag-row{ display:flex; gap:8px; margin-bottom:18px; }
.chip{ font-size:.72rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:5px 12px; border-radius:999px; background: rgba(255,255,255,.1); color: var(--bronze-light); }

/* ---------- Stat blocks ---------- */
.stat-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat-block{ padding: 26px 22px; border-radius: var(--radius); background: var(--paper); border:1px solid var(--line); border-top: 3px solid var(--emerald); }
.stat-block .num{ font-family:'Fraunces',serif; font-size: 2.3rem; color: var(--navy); font-weight:600; }
.stat-block .lbl{ font-size:.85rem; color: var(--muted); margin-top:6px; }
.stat-block .src{ font-size:.7rem; color: var(--muted-2); margin-top:10px; }

/* ---------- Quote / callout ---------- */
.callout{ border-left: 3px solid var(--bronze); padding: 4px 0 4px 26px; margin: 0; }
.callout p{ font-family:'Fraunces',serif; font-size:1.35rem; color: var(--navy); font-style: italic; line-height:1.4; }

/* ---------- Steps ---------- */
.steps{ counter-reset: step; display:grid; grid-template-columns: repeat(3,1fr); gap:28px; }
.step{ position:relative; padding-left: 0; }
.step .step-num{ font-family:'Fraunces',serif; font-size:2.4rem; color: var(--bronze); opacity:.6; margin-bottom:8px; }

/* ---------- Table (pricing) ---------- */
.ptable{ width:100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); }
.ptable th, .ptable td{ padding:16px 20px; text-align:left; border-bottom:1px solid var(--line); font-size:.92rem; }
.ptable th{ background: var(--navy); color: var(--cream); font-weight:600; font-size:.8rem; text-transform:uppercase; letter-spacing:.04em; }
.ptable tr:last-child td{ border-bottom:none; }
.ptable td.num{ font-family:'Fraunces',serif; font-size:1.15rem; color: var(--navy); }

.price-card{ background: var(--paper); border:1px solid var(--line); border-radius: var(--radius); padding:34px; }
.price-card h3.agent-role{ font-size:.8rem; margin-bottom:2px; font-family:'Inter',sans-serif; }
h3.agent-role{ font-family:'Inter',sans-serif; }
.price-card .amount{ font-family:'Fraunces',serif; font-size:2.6rem; color: var(--navy); margin: 6px 0; }
.price-card .amount span{ font-size:1rem; color: var(--muted); font-family:'Inter',sans-serif; font-weight:600; }
.price-card ul{ list-style:none; padding:0; margin: 18px 0 0; }
.price-card li{ display:flex; gap:10px; padding:8px 0; font-size:.92rem; color: var(--muted); border-top:1px solid var(--line); }
.price-card li:first-child{ border-top:none; }
.price-card li svg{ width:16px; height:16px; flex-shrink:0; margin-top:3px; stroke: var(--success); }

/* ---------- Footer ---------- */
footer{ background: var(--navy); color: rgba(250,250,250,.75); padding: 64px 0 32px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr repeat(3,1fr); gap:40px; margin-bottom: 48px; }
footer h2{ color: var(--cream); font-family:'Inter',sans-serif; font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; font-weight:700; }
footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
footer a{ font-size:.9rem; color: rgba(250,250,250,.75); }
footer a:hover, footer a:focus-visible{ color: var(--bronze-light); }
.footer-bottom{ border-top:1px solid rgba(250,250,250,.14); padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.8rem; color: rgba(250,250,250,.62); }

/* ---------- Utility ---------- */
.mt-0{margin-top:0;} .mb-0{margin-bottom:0;}
.small{ font-size:.85rem; color: var(--muted); }
.divider{ height:1px; background: var(--line); margin: 60px 0; }
.badge-strataguard{ color:#4F46E5; }
.badge-siteguard{ color: var(--success); }
.connector-decor{ display:block; }
.bg-indigo-wash{ background:#EEEDFE; }

/* ---------- Responsive ---------- */
@media (max-width: 920px){
  .nav-links{ display:none; }
  .nav-toggle{ display:block; }
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr 1fr; }
  .stat-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .connector-decor{ display:none; }
}
@media (max-width: 600px){
  .grid-2, .grid-3, .grid-4, .hero-stats{ grid-template-columns: 1fr; }
  .stat-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  section{ padding: 60px 0; }
}

/* =========================================================
   2026-11 REDESIGN ADDITIONS: one product (StrataGuard),
   three agents, dashboard screenshots. Everything above this
   line is the earlier stylesheet, unchanged.
   ========================================================= */
.agent-avatar{ width:72px; height:72px; border-radius:50%; margin-bottom:18px; background:#F1F1F4; }
.agent-avatar.lg{ width:104px; height:104px; }
.agent-card.t-talos{ border-top:3px solid #A16207; }
.agent-card.t-argos{ border-top:3px solid #0F5A66; }
.agent-card.t-themis{ border-top:3px solid #5B4BB5; }
.plan-line{ font-size:.85rem; color: var(--muted-2); margin-top:14px; padding-top:14px; border-top:1px dashed var(--line); }

.shot{ border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; background: var(--paper); box-shadow: var(--shadow); }
.shot-bar{ display:flex; align-items:center; gap:6px; padding:10px 14px; background:#F4F4F6; border-bottom:1px solid var(--line); }
.shot-bar i{ width:9px; height:9px; border-radius:50%; background:#D4D4D8; display:block; }
.shot-bar span{ margin-left:10px; font-size:.75rem; color: var(--muted-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.shot img{ width:100%; height:auto; }
.shot-note{ font-size:.82rem; color: var(--muted-2); margin-top:12px; }

.tabs{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px; }
.tab{ font: inherit; font-size:.9rem; font-weight:600; padding:9px 18px; border-radius:999px; border:1px solid var(--line); background: var(--paper); color: var(--ink); cursor:pointer; }
.tab[aria-selected="true"]{ background: var(--navy); color: var(--cream); border-color: var(--navy); }
.tabpanel[hidden]{ display:none; }
.tab-caption{ max-width:720px; color: var(--muted); margin: 0 0 18px; }

.split{ display:grid; grid-template-columns: .85fr 1.15fr; gap:48px; align-items:center; }
.split.rev{ grid-template-columns: 1.15fr .85fr; }
.split.rev > :first-child{ order:2; }
.ticks{ list-style:none; padding:0; margin:18px 0 0; }
.ticks li{ position:relative; padding:7px 0 7px 26px; color: var(--muted); font-size:.95rem; }
.ticks li::before{ content:''; position:absolute; left:2px; top:14px; width:12px; height:7px; border-left:2px solid var(--success); border-bottom:2px solid var(--success); transform: rotate(-45deg); }
.agent-head{ display:flex; align-items:center; gap:18px; margin-bottom:14px; }
.agent-head h2{ margin:0; }
.agent-head .agent-role{ margin:0 0 2px; }

.included{ display:flex; gap:18px; align-items:center; background:#EEEDFE; border-radius: var(--radius); padding:20px 24px; margin-top:24px; }
.included img{ width:56px; height:56px; border-radius:50%; flex-shrink:0; }
.included p{ margin:0; color: var(--ink); font-size:.95rem; }

@media (max-width: 920px){
  .split, .split.rev{ grid-template-columns: 1fr; gap:28px; }
  .split.rev > :first-child{ order:0; }
}
.loop{ list-style:none; padding:0; margin:20px 0 0; }
.loop li{ padding:12px 0; border-top:1px solid rgba(250,250,250,.14); color: rgba(250,250,250,.78); }
.loop li b{ color: var(--cream); }
.bg-navy .step p b{ color: var(--cream); }
.shot video{ width:100%; height:auto; display:block; background:#ECEFF2; }
.vcard{ background: var(--paper); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); }
.vcard video{ width:100%; height:auto; display:block; background:#ECEFF2; border-bottom:1px solid var(--line); }
.vcard-body{ display:flex; gap:14px; padding:18px 20px 20px; }
.vcard-body h3{ font-size:1.08rem; margin:0 0 6px; }
.vcard-body p{ font-size:.9rem; color: var(--muted); margin:0; }
.vnum{ flex-shrink:0; width:28px; height:28px; border-radius:50%; background:#EEEDFE; color: var(--bronze-dim); font-weight:700; font-size:.85rem; display:flex; align-items:center; justify-content:center; }
.hero-shots{ display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-top:48px; }
.hero-shots figure{ margin:0; }
.hero-shots figcaption{ font-size:.92rem; color: var(--muted); margin-bottom:12px; }
.hero-shots figcaption b{ color: var(--navy); margin-right:8px; }
@media (max-width: 920px){ .hero-shots{ grid-template-columns:1fr; } }
.src-tbp{ font-style:italic; color:#92400E; }
.trust{ display:flex; align-items:center; flex-wrap:wrap; gap:10px 12px; margin-top:26px; }
.trust-text{ font-size:.88rem; color: var(--muted); }
.cert-card{ display:flex; gap:18px; align-items:flex-start; }
.cert-card h3{ margin:0 0 6px; } .cert-card p{ margin:0; color: var(--muted); font-size:.95rem; }
.cert-mark{ flex-shrink:0; width:52px; height:52px; border-radius:14px; background:#ECFDF5; color:#047857; display:flex; align-items:center; justify-content:center; }
.cert-mark svg{ width:28px; height:28px; }
.seal{ width:96px; height:96px; flex-shrink:0; filter: drop-shadow(0 6px 12px rgba(11,14,20,.18)); }
.cert-card{ align-items:center; gap:22px; }

.seal-sm{ width:64px; height:64px; filter: drop-shadow(0 4px 8px rgba(11,14,20,.16)); }
.trust{ gap:12px 14px; }
