/* IndieSecure — site styles
   Layout: logo-derived split. Solid sky-blue block meets navy outline, cut by a slanted rule.
   Single column, max 1120px. No external requests: fonts are self-hosted in /fonts. */

/* ---------- Fonts (SIL OFL, see fonts/LICENSE-OFL.txt) ---------- */
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/exo-2-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/exo-2-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/exo-2-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --ink: #0f1d33;
  --muted: #55657d;
  --line: #d6dee9;
  --blue: #2eb2ff;
  --blue-ink: #0b6fb3;
  --navy: #13284a;
  --on-blue: #062644;
  --display: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1424; --surface: #111e33; --ink: #e7eef8; --muted: #9aabc4;
    --line: #23344f; --blue: #2eb2ff; --blue-ink: #7cc6f7; --navy: #b9cbe6; --on-blue: #06121f;
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--blue-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0; }
p { margin: 0; }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-ink); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* ---------- Wordmark ---------- */
.mark { display: inline-block; line-height: 0; }
.mark img { display: block; height: 40px; width: auto; }
.mark--small img { height: 32px; }

/* ---------- Header ---------- */
header.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
nav { display: flex; gap: 24px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding-block: 88px 72px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 300; letter-spacing: -.01em; margin-top: 18px; }
.hero h1 em { font-style: normal; background: var(--blue); color: var(--on-blue); padding: 0 .18em; }
.hero .lede { margin-top: 24px; font-size: 18px; color: var(--muted); max-width: 54ch; }
.cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; font: 500 15px/1 var(--body); padding: 14px 22px; text-decoration: none; border: 1.5px solid var(--navy); color: var(--ink); background: transparent; cursor: pointer; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.tagline { margin-top: 40px; font: 400 12px/1 var(--display); letter-spacing: .32em; color: var(--muted); }

.split { position: relative; min-width: 0; z-index: 0; isolation: isolate; }
.split .card { background: var(--surface); border: 1.5px solid var(--navy); padding: 28px; position: relative; }
.split .card h2 { font: 500 15px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.split .stat { font: 300 72px/1 var(--display); color: var(--blue-ink); margin-top: 14px; }
.split .card p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.split .card .src { font-size: 12px; margin-top: 16px; font-family: var(--mono); }
.split .block { position: absolute; inset: 22px -22px -22px 22px; background: var(--blue); z-index: -1; }

/* ---------- Sections ---------- */
section { padding-block: 72px; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 12px; }
.sec-head p { color: var(--muted); max-width: 60ch; align-self: end; }
.sec-head .copy { align-self: end; }
.sec-head .copy p + p { margin-top: 12px; }
.note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* Pillars */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--surface); }
.principles div { padding: 28px; border-right: 1px solid var(--line); min-width: 0; }
.principles div:last-child { border-right: none; }
.principles h3 { font-size: 20px; font-weight: 500; }
.principles p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Products */
.seq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod { background: var(--surface); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.prod.lead { border: 1.5px solid var(--navy); }
.prod .step { font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.prod h3 { font-size: 26px; }
.prod p { color: var(--muted); font-size: 15px; }
.prod ul { margin: 0; padding-left: 18px; font-size: 15px; display: grid; gap: 4px; }
.prod .price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.prod .price b { font: 500 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.prod .price small { font-size: 13px; color: var(--muted); }
.tag { display: inline-block; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; background: var(--blue); color: var(--on-blue); align-self: flex-start; }
.tag.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }

/* Services table */
.tbl-wrap { overflow-x: auto; border: 1.5px solid var(--navy); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 640px; table-layout: fixed; }
th, td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
tr:last-child td, tr:last-child th { border-bottom: none; }
thead th { font: 400 24px/1.2 var(--display); border-bottom: 1.5px solid var(--navy); }
thead th.compare { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-ink); }
thead th.featured { background: var(--blue); color: var(--on-blue); }
thead th small { display: block; font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; opacity: .85; }
tbody th { font: 500 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); width: 22%; }
td.num { font: 500 22px/1.2 var(--display); font-variant-numeric: tabular-nums; }
td .dash { color: var(--muted); }
thead th:nth-child(2), thead th:nth-child(3) { width: 39%; }

/* Year 1 / Year 2 */
.years { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--surface); }
.years > div { padding: 32px; min-width: 0; }
.years > div + div { border-left: 1px solid var(--line); }
.years h3 { font-size: 28px; font-weight: 300; }
.years h3 span { color: var(--blue-ink); }
.years dl { margin: 20px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; font-size: 15px; }
.years dt { font: 500 12px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.years dd { margin: 0; }

/* Contact */
.contact { background: var(--blue); color: var(--on-blue); border-top: none; }
.contact .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact .eyebrow { color: var(--on-blue); opacity: .85; }
.contact h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 300; margin-top: 12px; }
.contact .intro p { margin-top: 16px; max-width: 52ch; }
.contact form { border: 1.5px solid var(--on-blue); padding: 24px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font: 500 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.field input, .field textarea { font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--navy); padding: 10px 12px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.contact .btn { border-color: var(--on-blue); color: var(--on-blue); justify-self: start; }
.contact .fine { font-size: 13px; opacity: .85; }
.hp { position: absolute; left: -9999px; }

/* Footer */
footer { padding-block: 32px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* Thank-you page */
.thanks { padding-block: 120px; }
.thanks h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 300; margin-top: 16px; }
.thanks p { margin-top: 18px; color: var(--muted); max-width: 52ch; }
.thanks .btn { margin-top: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap, .sec-head, .contact .wrap { grid-template-columns: 1fr; }
  .seq, .principles, .years { grid-template-columns: 1fr; }
  .principles div { border-right: none; border-bottom: 1px solid var(--line); }
  .principles div:last-child { border-bottom: none; }
  .years > div + div { border-left: none; border-top: 1px solid var(--line); }
  .split { margin-right: 22px; margin-top: 12px; }
  nav { display: none; }
  .hero { padding-block: 56px 64px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .15s ease; }
  .btn:hover { transform: translateY(-1px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Privacy page ---------- */
.prose { padding-block: 96px; }
.prose h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 300; margin-top: 16px; }
.prose h2 { font-size: 22px; margin-top: 40px; }
.prose p { margin-top: 14px; max-width: 64ch; }
.prose .updated { color: var(--muted); font-size: 13px; }
.prose .who { margin-top: 40px; color: var(--muted); }
.prose .btn { margin-top: 24px; }
footer a { color: inherit; }

/* ---------- Family page ---------- */
.principles--three { grid-template-columns: repeat(3, 1fr); }
.seq--two { grid-template-columns: repeat(2, 1fr); }
.prod .price .btn { padding: 10px 16px; font-size: 14px; }
.tips { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--surface); }
.tips > div { padding: 32px; min-width: 0; }
.tips > div + div { border-left: 1px solid var(--line); }
.tips h3 { font-size: 26px; font-weight: 300; }
.tips ul { margin: 18px 0 0; padding-left: 18px; display: grid; gap: 10px; font-size: 15px; }
.band-actions { display: grid; gap: 14px; justify-items: start; align-self: center; }
.band-actions .btn.primary { background: var(--on-blue); border-color: var(--on-blue); color: var(--blue); }
.contact a:not(.btn) { color: var(--on-blue); }
@media (max-width: 860px) {
  .principles--three, .seq--two, .tips { grid-template-columns: 1fr; }
  .tips > div + div { border-left: none; border-top: 1px solid var(--line); }
}

/* Approach: framework fluency */
.frameworks { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.frameworks p { margin: 0; color: var(--muted); font-size: 15px; }
.frameworks b { color: var(--ink); font-weight: 500; }
.frameworks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.frameworks li { font: 500 12px/1 var(--mono); letter-spacing: .08em; padding: 8px 10px; border: 1px solid var(--navy); background: var(--surface); color: var(--ink); }

/* Services: retainer offers (Version B mockup) */
.offers { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--navy); background: var(--surface); }
.offer { padding: 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.offer h3 { font-size: 30px; font-weight: 300; }
.offer p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer.featured { background: var(--blue); color: var(--on-blue); }
.offer.featured .eyebrow { color: var(--on-blue); opacity: .85; }
.offer.featured p:not(.eyebrow), .offer.featured .offer-price span { color: var(--on-blue); }
.offer.featured .btn { border-color: var(--on-blue); color: var(--on-blue); }
.offer-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.offer.featured .offer-price { border-bottom-color: var(--on-blue); }
.offer-price b { font: 500 32px/1 var(--display); font-variant-numeric: tabular-nums; }
.offer-price small { font-size: 16px; font-weight: 400; }
.offer-price span { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.proof { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 4px 28px; align-items: center; padding: 22px 28px; border: 1px solid var(--line); border-left: 6px solid var(--blue); background: var(--surface); }
.proof .stat { grid-row: span 2; font: 300 56px/1 var(--display); color: var(--blue-ink); }
.proof p { color: var(--ink); }
.proof .src { font: 400 12px/1.4 var(--mono); color: var(--muted); }
.sec-head .copy em { font-style: normal; background: var(--blue); color: var(--on-blue); padding: 0 .25em; }
@media (max-width: 860px) {
  .offers { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .proof .stat { grid-row: auto; }
}
