/* Auditor Owl — auditorowl.grcowl.com
   Institutional Assurance Editorial design system.
   Palette aligned with the official Auditor Owl / GRC Owl Brand Kit:
   Deep Navy #0B223D, Midnight #143256, Steel Slate #476A87, Warm Copper #B8662E. */

:root {
  --navy: #0B223D;
  --navy-mid: #143256;
  --navy-soft: #1E4470;
  --slate: #476A87;
  --copper: #B8662E;
  --copper-bright: #D48146;
  --copper-hover: #9A4F22;
  --copper-tint: #FBF1E8;
  --copper-border: #EBD2BC;

  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --surface-alt: #EDF2F7;
  --ink: #0B223D;
  --text: #2C3E50;
  --muted: #586B7E;
  --line: #DAE3EE;
  --line-strong: #C0CFE0;

  --ok: #0E7A55;
  --ok-bg: #E9F7F1;
  --warn: #A3510A;
  --warn-bg: #FEF3E6;
  --danger: #B42318;
  --danger-bg: #FDECEC;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 34, 61, .06), 0 4px 14px -6px rgba(11, 34, 61, .08);
  --shadow: 0 2px 6px rgba(11, 34, 61, .06), 0 18px 40px -16px rgba(11, 34, 61, .16);
  --shadow-lg: 0 4px 12px rgba(11, 34, 61, .10), 0 32px 68px -20px rgba(11, 34, 61, .26);

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.03125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--copper); }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .48em; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.35rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.55rem); }
h3 { font-family: var(--sans); font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
h4 { font-family: var(--sans); font-size: .95rem; font-weight: 600; line-height: 1.35; }
h1 em, h2 em { font-style: italic; color: var(--copper); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 300; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 8px; box-shadow: var(--shadow); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--copper);
  border-radius: 2px;
}
.lead { font-size: 1.125rem; color: var(--text); max-width: 42em; line-height: 1.65; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  font: 600 .95rem/1 var(--sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .14s ease, box-shadow .16s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-copper { background: var(--copper); color: #FFFFFF; box-shadow: 0 1px 2px rgba(11, 34, 61, .16); }
.btn-copper:hover { background: var(--copper-hover); color: #FFFFFF; }
.btn-navy { background: var(--navy); color: #FFFFFF; }
.btn-navy:hover { background: var(--navy-mid); color: #FFFFFF; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark { background: rgba(255, 255, 255, .06); color: #FFFFFF; border-color: rgba(255, 255, 255, .24); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); color: #FFFFFF; }
.btn-sm { height: 40px; padding: 0 16px; font-size: .88rem; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 34, 61, .94);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  background: rgba(11, 34, 61, .98);
  box-shadow: 0 8px 28px -12px rgba(5, 16, 30, .45);
}
.nav { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #FFFFFF;
  text-decoration: none !important;
  flex-shrink: 0;
}
.brand:hover { color: #FFFFFF; }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; letter-spacing: .04em; text-transform: uppercase; color: #FFFFFF; }
.brand-name span { color: var(--copper-bright); }
.brand-sub { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: #9CB4CC; margin-top: 2px; }

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0 auto 0 18px;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: #D2DFEC;
  font-size: .9rem;
  font-weight: 500;
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a[aria-current="true"] {
  color: #FFFFFF;
  background: rgba(255, 255, 255, .08);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-parent-link { font-size: .84rem; color: #9CB4CC; padding: 6px 10px; border-radius: 8px; }
.nav-parent-link:hover { color: #FFFFFF; background: rgba(255, 255, 255, .06); }
.nav-mobile-cta { display: none; }
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font-size: 1.15rem;
  color: #FFFFFF;
  cursor: pointer;
}

/* ---- Hero ---- */
.hero {
  background:
    radial-gradient(900px 560px at 88% 12%, rgba(184, 102, 46, .20), transparent 62%),
    radial-gradient(760px 520px at 14% 92%, rgba(71, 106, 135, .28), transparent 64%),
    linear-gradient(165deg, #081A30 0%, #0B223D 52%, #112D4E 100%);
  color: #E2ECF5;
  padding: 68px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 20%, transparent 80%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}
.hero .eyebrow { color: var(--copper-bright); }
.hero .eyebrow::before { background: var(--copper-bright); }
.hero h1 { color: #FFFFFF; margin-bottom: 18px; }
.hero h1 em { color: #E8A06A; }
.hero .lead { color: #C8D8E8; margin-bottom: 28px; max-width: 34em; font-size: 1.09rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  list-style: none;
  font-size: .88rem;
  color: #D2DFEC;
}
.hero-pillars li { display: flex; align-items: center; gap: 9px; }
.hero-pillars li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper-bright);
  flex-shrink: 0;
}

/* ---- Interactive Hero Workspace Preview ---- */
.workspace-card {
  background: #FFFFFF;
  color: var(--text);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 28px 70px -18px rgba(3, 12, 24, .65), 0 0 0 1px rgba(11, 34, 61, .2);
  overflow: hidden;
}
.ws-topbar {
  background: #0F2948;
  color: #D8E4F0;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.ws-chrome { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: #9CB4CC; }
.ws-dots { display: flex; gap: 5px; }
.ws-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); display: block; }
.ws-url { font-family: var(--mono); font-size: .73rem; color: #BFD2E6; }

.ws-switch {
  display: inline-flex;
  background: rgba(5, 16, 30, .48);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}
.ws-switch button {
  border: 0;
  background: transparent;
  color: #B4C8DC;
  font: 600 .74rem/1 var(--sans);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.ws-switch button[aria-pressed="true"] {
  background: var(--copper);
  color: #FFFFFF;
}
.ws-switch button:hover:not([aria-pressed="true"]) { color: #FFFFFF; }

.ws-body { padding: 18px; background: #F8FAFC; }
.ws-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.ws-firm-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--navy);
  background: #E8EFF7;
  padding: 4px 9px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.ws-title { font-weight: 600; font-size: .98rem; color: var(--navy); line-height: 1.25; }
.ws-meta { font-size: .76rem; color: var(--muted); margin-top: 3px; }
.ws-role-badge {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
.ws-role-badge.firm { background: var(--navy); color: #FFFFFF; }
.ws-role-badge.auditee { background: var(--copper-tint); color: var(--copper-hover); border: 1px solid var(--copper-border); }

.ws-grid { display: grid; grid-template-columns: 1fr; gap: 11px; }
.ws-panel {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
.ws-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--navy);
}
.ws-tag {
  font-size: .68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px;
  white-space: nowrap;
  display: inline-block;
}
.ws-tag-hidden { background: #0B223D; color: #F5C396; }
.ws-tag-ok { background: var(--ok-bg); color: var(--ok); }
.ws-tag-warn { background: var(--warn-bg); color: var(--warn); }
.ws-tag-danger { background: var(--danger-bg); color: var(--danger); }
.ws-tag-slate { background: #EDF2F7; color: var(--slate); }

.ws-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid #EEF2F7;
  font-size: .79rem;
}
.ws-file-row:first-of-type { border-top: 0; padding-top: 0; }
.ws-file-name { font-weight: 500; color: var(--ink); }
.ws-file-hash { font-family: var(--mono); font-size: .67rem; color: var(--muted); display: block; margin-top: 1px; }

.ws-private-box {
  background: linear-gradient(135deg, #0D2644 0%, #163861 100%);
  color: #E3EDF7;
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #244B78;
}
.ws-private-box .ws-panel-head { color: #FFFFFF; }
.ws-private-note { font-size: .78rem; color: #C9DAEC; line-height: 1.5; margin: 0 0 8px; }
.ws-signoff-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .72rem;
  color: #DCE8F4;
}
.ws-signoff-chip {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 4px 8px;
  border-radius: 6px;
}

.ws-shield-box {
  background: #F4F7FB;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: .79rem;
  color: var(--slate);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ws-shield-box strong { color: var(--navy); display: block; margin-bottom: 2px; }

.ws-footer-bar {
  background: #FFFFFF;
  border-top: 1px solid var(--line);
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: .74rem;
  color: var(--muted);
}
.ws-footer-bar .mono { white-space: nowrap; flex-shrink: 0; }

/* ---- Real Application Screenshot Frames & Lightbox ---- */
.shot-stage {
  position: relative;
  background: #FFFFFF;
  overflow: hidden;
  cursor: zoom-in;
}
.shot-stage img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .25s ease;
}
.shot-stage:hover img { transform: scale(1.012); }
.shot-zoom-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(11, 34, 61, .86);
  color: #FFFFFF;
  font-size: .72rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 7px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .16);
  pointer-events: none;
  opacity: .9;
  transition: opacity .15s, background .15s;
}
.shot-stage:hover .shot-zoom-badge { opacity: 1; background: var(--copper); }

.shot-frame {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shot-frame-dark {
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 28px 64px -20px rgba(3, 12, 24, .65);
}
.shot-bar {
  background: var(--navy);
  color: #D2DFEC;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.shot-caption-bar {
  background: #F8FAFC;
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .78rem;
  color: var(--muted);
}
.shot-caption-bar strong { color: var(--navy); }
.shot-toggle-pills {
  display: inline-flex;
  background: rgba(5, 16, 30, .45);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}
.shot-toggle-pills button {
  border: 0;
  background: transparent;
  color: #B4C8DC;
  font: 600 .73rem/1 var(--sans);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.shot-toggle-pills button[aria-pressed="true"] { background: var(--copper); color: #FFFFFF; }
.shot-toggle-pills button:hover:not([aria-pressed="true"]) { color: #FFFFFF; }

.ecosystem-shot-wrap { margin-top: 32px; }
.findings-shot-wrap { margin-top: 24px; }

/* Lightbox modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 20, 38, .88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-inner {
  max-width: min(1240px, 95vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .55);
}
.lightbox-head {
  background: var(--navy);
  color: #FFFFFF;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: .86rem;
}
.lightbox-close {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #FFFFFF;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: var(--copper); border-color: var(--copper); }
.lightbox-body { overflow: auto; background: #F1F5F9; }
.lightbox-body img { width: 100%; height: auto; display: block; }

/* ---- Proof Strip ---- */
.metrics-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.metric-cell {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}
.metric-cell:last-child { border-right: 0; }
.metric-val {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 4px;
}
.metric-val span { color: var(--copper); }
.metric-label { font-size: .84rem; color: var(--muted); line-height: 1.35; }

/* ---- Sections ---- */
.section { padding: 88px 0; }
.section-tight { padding: 68px 0; }
.section-surface { background: var(--surface); border-block: 1px solid var(--line); }
.section-alt { background: var(--surface-alt); border-block: 1px solid var(--line); }
.section-navy {
  background: linear-gradient(165deg, #091D35 0%, #0B223D 55%, #122E50 100%);
  color: #D2DFEC;
  border-block: 1px solid rgba(255,255,255,.08);
}
.section-navy h2, .section-navy h3, .section-navy h4 { color: #FFFFFF; }
.section-navy h2 em { color: #E8A06A; }
.section-navy .eyebrow { color: var(--copper-bright); }
.section-navy .eyebrow::before { background: var(--copper-bright); }
.section-navy .lead { color: #C6D7E8; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }

/* ---- Challenge / Problem vs Flip ---- */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.challenge-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--slate);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.challenge-card h3 { margin-bottom: 14px; font-size: 1.08rem; }
.pain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: .92rem; color: var(--text); }
.pain-list li { position: relative; padding-left: 22px; }
.pain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 8px;
  height: 2px;
  background: var(--copper);
}
.pain-list strong { color: var(--ink); }

.flip-banner {
  margin-top: 28px;
  background: linear-gradient(135deg, #0B223D 0%, #143256 100%);
  color: #E2ECF5;
  border-radius: var(--radius);
  padding: 26px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.flip-banner h3 { color: #FFFFFF; font-family: var(--serif); font-size: 1.48rem; font-weight: 500; margin-bottom: 8px; }
.flip-banner h3 em { font-style: italic; color: #E8A06A; }
.flip-banner p { color: #C5D6E8; font-size: .96rem; margin: 0; }
.flip-pills { display: grid; gap: 10px; }
.flip-pill {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: .86rem;
  color: #E6EFF8;
}
.flip-pill strong { color: #F1B382; display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }

/* ---- Interactive Feature Tabs ---- */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.tab-btn {
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font: 600 .85rem/1.2 var(--sans);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s ease;
}
.tab-btn:hover { border-color: var(--slate); color: var(--navy); }
.tab-btn[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -10px rgba(11, 34, 61, .5);
}

.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: start;
  animation: fadeSlide .22s ease;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.feature-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.feature-copy h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; margin-bottom: 12px; color: var(--navy); }
.feature-copy > p { color: var(--text); margin-bottom: 20px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; font-size: .95rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .32em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--copper-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.2l2.4 2.4 5.1-5.2' fill='none' stroke='%23B8662E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.check-list strong { color: var(--ink); }

.feature-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.fv-bar {
  background: var(--navy);
  color: #D2DFEC;
  padding: 12px 18px;
  font-size: .78rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.fv-bar span.fv-pill {
  background: rgba(212, 129, 70, .2);
  color: #F4BA8B;
  border: 1px solid rgba(212, 129, 70, .35);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: .7rem;
}
.fv-body { padding: 20px; background: #F9FBFD; }

.mini-table { width: 100%; border-collapse: collapse; font-size: .82rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mini-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #F1F5F9; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.mini-table td { padding: 10px 12px; border-bottom: 1px solid #EEF2F7; vertical-align: middle; }
.mini-table tr:last-child td { border-bottom: 0; }

.step-cards-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.step-mini { background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.step-num { font-family: var(--mono); font-size: .74rem; font-weight: 700; color: var(--copper); margin-bottom: 4px; display: block; }
.step-mini h4 { font-size: .9rem; margin-bottom: 5px; }
.step-mini p { font-size: .8rem; color: var(--muted); line-height: 1.45; }

/* ---- 6-Stage Findings Lifecycle Interactive Bar ---- */
.stage-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.stage-btn {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: left;
  cursor: pointer;
  transition: all .15s ease;
}
.stage-btn:hover { border-color: var(--slate); }
.stage-btn[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}
.stage-btn .s-idx { font-family: var(--mono); font-size: .7rem; color: var(--copper); display: block; margin-bottom: 3px; }
.stage-btn[aria-pressed="true"] .s-idx { color: #F1B382; }
.stage-btn .s-name { font-size: .82rem; font-weight: 600; display: block; line-height: 1.25; }

.stage-detail {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr);
  gap: 22px;
  align-items: center;
}
.stage-detail h4 { font-size: 1.05rem; margin-bottom: 6px; color: var(--navy); }
.stage-detail p { font-size: .9rem; color: var(--text); margin-bottom: 0; }
.stage-meta-box {
  background: #F4F7FB;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  font-size: .82rem;
  display: grid;
  gap: 6px;
}
.stage-meta-row { display: flex; justify-content: space-between; gap: 10px; }
.stage-meta-row span { color: var(--muted); }
.stage-meta-row strong { color: var(--navy); text-align: right; }

/* ---- Frameworks Explorer ---- */
.fw-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}
.fw-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font: 600 .84rem/1 var(--sans);
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s;
}
.filter-pill:hover { border-color: var(--navy); color: var(--navy); }
.filter-pill[aria-pressed="true"] { background: var(--copper); border-color: var(--copper); color: #FFFFFF; }
.fw-search {
  min-width: 240px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: 400 .88rem var(--sans);
  color: var(--ink);
  background: var(--surface);
}
.fw-search:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(184, 102, 46, .14); }

.fw-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.fw-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 17px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.fw-card:hover { border-color: var(--slate); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.fw-card[hidden] { display: none; }
.fw-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.fw-name { font-weight: 600; font-size: .93rem; color: var(--navy); line-height: 1.25; }
.fw-ver { font-family: var(--mono); font-size: .68rem; background: #EDF2F7; color: var(--slate); padding: 2px 6px; border-radius: 5px; white-space: nowrap; }
.fw-desc { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.fw-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px solid #EEF2F7; font-size: .75rem; }
.fw-count { font-weight: 600; color: var(--navy); }
.fw-cat { font-size: .7rem; font-weight: 600; color: var(--copper); }

.fw-note-bar {
  margin-top: 22px;
  background: var(--copper-tint);
  border: 1px solid var(--copper-border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: .9rem;
  color: #4A2B13;
}
.fw-note-bar strong { color: var(--navy); }

/* ---- Co-Branding Interactive Studio ---- */
.cobrand-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
}
.brand-controls {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.brand-controls label { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin-bottom: 8px; }
.brand-input-row { display: flex; gap: 8px; margin-bottom: 10px; }
.brand-input-row input {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font: 500 .9rem var(--sans);
  color: var(--ink);
}
.brand-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.preset-btn {
  background: #F1F5F9;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 10px;
  font: 500 .76rem var(--sans);
  color: var(--navy);
  cursor: pointer;
}
.preset-btn:hover { border-color: var(--copper); color: var(--copper); }

.deliverable-mockup {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dm-header {
  background: var(--navy);
  color: #FFFFFF;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 3px solid var(--copper);
}
.dm-firm-lockup { display: flex; align-items: center; gap: 10px; }
.dm-monogram {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--copper);
  color: #FFFFFF;
  font-weight: 700;
  font-size: .9rem;
  display: grid;
  place-items: center;
}
.dm-firm-name { font-weight: 600; font-size: .98rem; line-height: 1.2; }
.dm-powered { font-size: .7rem; color: #9CB4CC; }
.dm-frozen-pill {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 600;
  background: rgba(14, 122, 85, .24);
  color: #8CF0C9;
  border: 1px solid rgba(140, 240, 201, .32);
  padding: 4px 9px;
  border-radius: 6px;
}
.dm-body { padding: 22px; }
.dm-report-title { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.dm-report-sub { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.dm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.dm-stat { background: #F6F8FB; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.dm-stat strong { display: block; font-size: 1.1rem; color: var(--navy); }
.dm-stat span { font-size: .74rem; color: var(--muted); }
.dm-hash-box {
  background: #0D2440;
  color: #CFE0F2;
  border-radius: 9px;
  padding: 11px 14px;
  font-family: var(--mono);
  font-size: .73rem;
  line-height: 1.5;
  margin-bottom: 16px;
  word-break: break-all;
}
.dm-hash-box strong { color: #F1B382; display: block; font-family: var(--sans); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.dm-exports { display: flex; flex-wrap: wrap; gap: 8px; }
.dm-chip {
  font-size: .76rem;
  font-weight: 600;
  background: #EDF2F7;
  color: var(--navy);
  padding: 6px 10px;
  border-radius: 7px;
  border: 1px solid var(--line);
}

/* ---- GRC Owl Ecosystem Link ---- */
.link-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.link-step {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.link-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--copper);
  color: #FFFFFF;
  font-family: var(--mono);
  font-weight: 700;
  font-size: .84rem;
  margin-bottom: 14px;
}
.link-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.link-step p { font-size: .9rem; color: #C2D4E6; }
.link-crypto-bar {
  margin-top: 24px;
  background: rgba(5, 16, 30, .42);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: .86rem;
  color: #D2DFEC;
}
.id-badge {
  font-family: var(--mono);
  font-size: .78rem;
  background: rgba(212, 129, 70, .18);
  color: #F4BA8B;
  border: 1px solid rgba(212, 129, 70, .35);
  padding: 4px 9px;
  border-radius: 6px;
}

/* ---- Roles & Security Cards ---- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.role-card, .sec-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.role-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: #EDF2F7;
  color: var(--slate);
  margin-bottom: 12px;
}
.role-tag.free { background: var(--ok-bg); color: var(--ok); }
.role-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.role-card p { font-size: .89rem; color: var(--muted); }

.sec-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--copper-tint);
  color: var(--copper);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.sec-icon svg { width: 20px; height: 20px; }
.sec-card h3 { font-size: 1.04rem; margin-bottom: 7px; }
.sec-card p { font-size: .9rem; color: var(--muted); }

/* ---- Comparison Table ---- */
.compare-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: .92rem;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  background: #F1F5F9;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--slate);
}
.compare-table thead th.col-ao {
  background: var(--navy);
  color: #FFFFFF;
}
.compare-table tbody td:first-child { font-weight: 600; color: var(--navy); }
.compare-table tbody td.col-ao {
  background: #F8FBFF;
  color: var(--navy);
  font-weight: 600;
  border-left: 2px solid var(--copper);
}
.compare-table tbody tr:last-child td { border-bottom: 0; }

/* ---- Launch Steps ---- */
.launch-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.launch-steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
}
.launch-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}
.launch-steps h3 { font-size: 1.03rem; margin-bottom: 6px; }
.launch-steps p { font-size: .88rem; color: var(--muted); }

/* ---- FAQ ---- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--copper);
  transition: transform .15s;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 22px 18px; font-size: .94rem; color: var(--text); border-top: 1px solid #EEF2F7; padding-top: 14px; }

/* ---- Demo CTA Band ---- */
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}
.cta-checks { list-style: none; padding: 0; margin: 24px 0 26px; display: grid; gap: 12px; color: #DCE8F4; font-size: .96rem; }
.cta-checks li { position: relative; padding-left: 28px; }
.cta-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .34em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(212, 129, 70, .24) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.2l2.4 2.4 5.1-5.2' fill='none' stroke='%23F4BA8B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.form-card {
  background: #FFFFFF;
  color: var(--text);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; color: var(--navy); }
.field .req { color: var(--copper); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 10px 12px;
  font: 400 .92rem var(--sans);
  color: var(--ink);
  background: #FFFFFF;
}
.field textarea { min-height: 82px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(184, 102, 46, .15);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  margin: 14px 0 0;
  padding: 10px 13px;
  background: var(--danger-bg);
  color: var(--danger);
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 500;
}
.form-actions { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.form-actions .btn { width: 100%; height: 48px; }
.form-note { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.form-note a { color: var(--copper); font-weight: 600; }
.form-done { display: none; text-align: center; padding: 24px 10px; }
.form-done.show { display: block; }
.form-done h3 { font-family: var(--serif); font-size: 1.65rem; color: var(--navy); margin-bottom: 8px; }

/* ---- Footer ---- */
.site-footer {
  background: #07172B;
  color: #A9BDD2;
  padding: 58px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .9rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer h4 { color: #FFFFFF; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer ul a { color: #A9BDD2; font-size: .88rem; }
.site-footer ul a:hover { color: #FFFFFF; }
.foot-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: .82rem;
  color: #7F97B0;
}
.foot-bottom a { color: #B5C8DC; }
.foot-bottom a:hover { color: #FFFFFF; }

/* ---- Scroll Reveal ---- */
.reveal { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .hero-grid, .cobrand-grid, .cta-grid, .tab-panel.active, .flip-banner { grid-template-columns: 1fr; }
  .fw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric-cell { border-bottom: 1px solid var(--line); }
  .grid-4, .launch-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: #0B223D;
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 16px 20px 22px;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  }
  .nav-links.open { display: flex; }
  .nav-mobile-cta { display: block; margin-top: 8px; }
  .nav-mobile-cta .btn { width: 100%; }
  .nav-cta .btn, .nav-parent-link { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }

  .challenge-grid, .grid-3, .link-flow { grid-template-columns: 1fr; }
  .fw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-detail { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 60px; }
  .hero-pillars, .metrics-grid, .grid-4, .launch-steps, .fw-grid, .form-grid, .step-cards-4, .stage-track, .dm-stats {
    grid-template-columns: 1fr;
  }
  .metric-cell { border-right: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .feature-copy, .form-card { padding: 22px; }
}
