/* AddVHE x Eduba - clinical, deposition-ready layout
   Tokens sourced from brand-pack.json. No external deps beyond Inter.
*/

:root {
  --navy: #021738;
  --slate: #334155;
  --slate-2: #303D4F;
  --orange: #F94D1C;
  --neutral-light: #F5F8FC;
  --bg: #FFFFFF;
  --body: #737373;
  --heading: #021738;
  --line: #E3EAF4;
  --line-strong: #C7D2E2;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sub: 0 1px 3px rgba(2, 23, 56, 0.06);
  --shadow-med: 0 10px 24px rgba(2, 23, 56, 0.12);

  --unit: 8px;
  --section-gap: 64px;

  --body-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --maxw: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--body-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- top bar ---------- */
.top {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.logo img {
  height: 28px;
  width: auto;
}
.filenote {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono-family);
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.02em;
}
.filenote__label {
  text-transform: uppercase;
  color: var(--slate-2);
  opacity: 0.6;
}
.filenote__value {
  color: var(--navy);
}

/* ---------- hero ---------- */
.hero {
  padding-top: 72px;
  padding-bottom: 80px;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--neutral-light) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  /* very subtle graph paper to evoke audit/calculation surface */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(2,23,56,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2,23,56,0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0));
  pointer-events: none;
}
.hero .wrap { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 999px;
  font-family: var(--mono-family);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--slate);
  text-transform: uppercase;
  box-shadow: var(--shadow-sub);
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 77, 28, 0.12);
}

.hero__h1 {
  margin: 20px 0 24px;
  color: var(--heading);
  font-weight: 700;
  font-size: clamp(32px, 5.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.hero__lede {
  max-width: 62ch;
  color: var(--slate);
  font-size: 18px;
  line-height: 1.65;
}

.hero__meta {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sub);
}
.meta-cell {
  background: #fff;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.meta-cell__label {
  font-family: var(--mono-family);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-2);
  opacity: 0.7;
}
.meta-cell__value {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
}

/* ---------- sections ---------- */
.section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  border-bottom: 1px solid var(--line);
}
.section__head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.num {
  font-family: var(--mono-family);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--orange);
  font-weight: 500;
}
.section__head h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.body {
  color: var(--slate);
  font-size: 17px;
  line-height: 1.65;
  max-width: 68ch;
}

/* ---------- layers (the frame) ---------- */
.layers {
  margin: 32px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.layer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sub);
}
.layer__bar {
  height: 6px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 60%, var(--line) 60%, var(--line) 100%);
  position: relative;
}
.layer__bar--mid {
  background: linear-gradient(90deg, var(--slate) 0%, var(--slate) 30%, var(--line) 30%, var(--line) 100%);
}
.layer__bar--ai {
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 10%, var(--line) 10%, var(--line) 100%);
}
.layer__pct {
  position: absolute;
  top: -28px;
  left: 0;
  font-family: var(--mono-family);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.layer__h {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.layer__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body);
}

/* ---------- findings ---------- */
.findings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.finding {
  padding: 24px 0 26px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  position: relative;
}
.finding:first-child { border-top: 0; padding-top: 4px; }
.finding::before {
  content: counter(list-item);
  counter-increment: list-item;
  position: absolute;
  top: 26px;
  right: 0;
  font-family: var(--mono-family);
  font-size: 12px;
  color: var(--slate-2);
  opacity: 0.5;
}
.finding__h {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.35;
  padding-right: 36px;
}
.finding__body {
  margin: 0;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.65;
  max-width: 72ch;
}

/* ---------- case study ---------- */
.case {
  background: var(--navy);
  color: #E6EDF7;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-med);
  position: relative;
  overflow: hidden;
}
.case::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background:
    radial-gradient(circle at top right, rgba(249, 77, 28, 0.22), transparent 70%);
  pointer-events: none;
}
.case__meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.case__tag {
  font-family: var(--mono-family);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(249, 77, 28, 0.4);
  background: rgba(249, 77, 28, 0.08);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
}
.case__sub {
  color: #96A5BE;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.case__body {
  margin: 0;
  color: #DCE4F1;
  font-size: 17px;
  line-height: 1.6;
  max-width: 70ch;
}
.case__stats {
  margin: 4px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.stat dt {
  font-family: var(--mono-family);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8FA0BB;
  margin-bottom: 10px;
}
.stat dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.stat__from {
  color: #8FA0BB;
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.35);
  font-weight: 500;
}
.stat__arrow {
  color: var(--orange);
  font-weight: 500;
}
.stat__to { color: #fff; }
.case__note {
  margin: 6px 0 0;
  font-size: 14px;
  color: #96A5BE;
  max-width: 70ch;
}

/* ---------- paper ---------- */
.paper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sub);
}
.paper__kicker {
  font-family: var(--mono-family);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-2);
  opacity: 0.7;
  margin: 0 0 10px;
}
.paper__h {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.paper__sub {
  margin: 0 0 14px;
  color: var(--slate);
  font-size: 16px;
  font-weight: 500;
}
.paper__body {
  margin: 0;
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 60ch;
}
.paper__right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 2px solid var(--orange);
  padding-left: 18px;
}
.paper__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.paper__linklabel {
  font-family: var(--mono-family);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-2);
  opacity: 0.7;
}
.paper__linkval {
  font-family: var(--mono-family);
  font-size: 14px;
  color: var(--navy);
  word-break: break-all;
}

/* ---------- credibility list ---------- */
.cred {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.cred li {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.cred__k {
  font-family: var(--mono-family);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}
.cred__v {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- cta ---------- */
.cta {
  padding-top: var(--section-gap);
  padding-bottom: calc(var(--section-gap) + 24px);
  background: var(--neutral-light);
  border-bottom: 1px solid var(--line);
}
.cta__card {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 40px 40px 44px;
  box-shadow: var(--shadow-med);
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.cta__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--orange);
}
.cta__eyebrow {
  font-family: var(--mono-family);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-block;
  margin-bottom: 14px;
}
.cta__h {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.8vw, 36px);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.cta__body {
  margin: 0 0 26px;
  color: var(--slate);
  font-size: 17px;
  line-height: 1.6;
  max-width: 60ch;
}
.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 4px 14px rgba(2, 23, 56, 0.2);
}
.cta__btn:hover,
.cta__btn:focus-visible {
  background: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 77, 28, 0.3);
  outline: none;
}
.cta__btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.cta__arrow {
  transition: transform 180ms ease;
  display: inline-block;
}
.cta__btn:hover .cta__arrow { transform: translateX(4px); }
.cta__fine {
  margin: 18px 0 0;
  font-family: var(--mono-family);
  font-size: 12px;
  color: var(--slate-2);
  opacity: 0.75;
  letter-spacing: 0.02em;
}

/* ---------- footer ---------- */
.foot {
  padding: 28px 0 36px;
  background: #fff;
}
.foot__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono-family);
  font-size: 12px;
  color: var(--slate-2);
  letter-spacing: 0.02em;
}
.foot__left { color: var(--navy); }
.foot__right { opacity: 0.7; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { padding-top: 48px; padding-bottom: 56px; }
  .hero__meta { grid-template-columns: 1fr; }
  .meta-cell { padding: 14px 16px; }
  .layers { grid-template-columns: 1fr; }
  .paper { grid-template-columns: 1fr; padding: 22px; }
  .paper__right { border-left: 0; border-top: 2px solid var(--orange); padding-left: 0; padding-top: 14px; }
  .case { padding: 28px 22px; }
  .case__stats { grid-template-columns: 1fr; gap: 16px; }
  .cred li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .cta__card { padding: 28px 24px 32px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 20px; }
  .top__inner { padding-top: 16px; padding-bottom: 16px; }
  .logo img { height: 24px; }
  .filenote { font-size: 11px; gap: 6px; }
  .hero__h1 { font-size: 30px; letter-spacing: -0.02em; }
  .hero__lede { font-size: 16px; }
  .section__head { gap: 12px; flex-wrap: wrap; }
  .finding__h { font-size: 18px; padding-right: 24px; }
  .finding::before { top: 24px; }
  .case { padding: 24px 20px; border-radius: 12px; }
  .paper__h { font-size: 20px; }
  .cta__btn { width: 100%; justify-content: center; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cta__btn, .cta__arrow { transition: none; }
  .cta__btn:hover { transform: none; }
  .cta__btn:hover .cta__arrow { transform: none; }
}
