/* ==========================================================================
   IDFactors homepage demo
   Brand tokens → base → layout → components → sections → motion
   ========================================================================== */

/* Registered properties so LED and key glows can transition inside <use> artwork */
@property --glow-r { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --glow-a { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --glow-g { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --glow-b { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --key-glow { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --led-r { syntax: "<color>"; inherits: true; initial-value: #4a1c1c; }
@property --led-a { syntax: "<color>"; inherits: true; initial-value: #4a3a14; }
@property --led-g { syntax: "<color>"; inherits: true; initial-value: #173a22; }
@property --led-b { syntax: "<color>"; inherits: true; initial-value: #1a2440; }

:root {
  /* Brand */
  --red: #C80000;
  --red-hover: #A60000;
  --red-tint: #F15C63;
  --red-wash: #FCEBEB;
  --navy: #1B2A47;
  --navy-deep: #0D1524;
  --navy-soft: #3B527E;
  --teal: #0D9488;
  --teal-tint: #2DD4BF;
  --amber: #D97706;
  --amber-tint: #FBBF24;
  --ok: #34D058;
  --no: #FF3B30;

  /* Neutrals */
  --black: #06070A;
  --text: #16181D;
  --muted: #5B6270;
  --muted-light: #C4CBD7;
  --on-dark: #E2E6ED;        /* body copy on dark sections */
  --on-dark-2: #D2D8E2;      /* secondary copy on dark sections */
  --line: #E2E5EA;
  --bg-light: #F4F5F7;
  --white: #FFFFFF;

  /* Type */
  --font-text: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 14px;
  --radius-lg: 24px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; }

:focus-visible { outline: 3px solid #4D8DFF; outline-offset: 3px; border-radius: 4px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--text); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1em; height: 1em; flex: none; }

/* Type scale ------------------------------------------------------------- */
.h1 { font-size: clamp(2.25rem, 4.8vw, 4rem); line-height: 1.05; letter-spacing: -0.028em; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -0.024em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--muted); }
.lead--light { color: var(--on-dark-2); }
.eyebrow {
  font-size: .95rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.eyebrow--light { color: var(--red-tint); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 1rem; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-hover); }
.btn--ghost-light { color: var(--white); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.btn--ghost-light:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.1); }

.link-arrow { color: var(--red); font-weight: 600; text-decoration: none; }
.link-arrow::after { content: "→"; display: inline-block; margin-left: .35em; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Chips (standards placed next to the claims they support) */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips li {
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2); color: #D5DAE3;
}
.chips--light li { border-color: var(--line); color: var(--muted); background: var(--white); }

/* Announcement bar -------------------------------------------------------- */
.announce { background: var(--navy-deep); color: var(--white); font-size: .875rem; }
.announce__link {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 40px; padding: 6px var(--gutter); text-decoration: none; text-align: center;
}
.announce__link:hover .announce__more { text-decoration: underline; text-underline-offset: 3px; }
.announce__pill {
  flex: none; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: var(--red);
}
.announce__more { color: #C9D2E3; }
.announce .icon { color: var(--red-tint); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13,21,36,.35); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .25s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 56px; }
.brand img { width: 148px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(14px, 1.6vw, 26px); }
.nav__list a { font-size: .875rem; font-weight: 500; color: #2A2E36; text-decoration: none; white-space: nowrap; }
.nav__list a:hover { color: var(--red); }
.nav__cta-mobile { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0;
  border: 0; background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; width: 20px; height: 1.8px; background: var(--text); border-radius: 2px;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    box-shadow: 0 24px 40px -24px rgba(13,21,36,.35);
    display: none;
  }
  .nav-open .nav { display: block; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__cta-mobile { display: flex; margin-top: 20px; width: 100%; }
  .site-header__actions .btn { display: none; }
  .site-header__actions { margin-left: auto; }
}
@media (min-width: 1081px) and (max-width: 1200px) {
  .nav__list a { font-size: .8125rem; }
  .site-header__inner { gap: 20px; }
}

/* Sections --------------------------------------------------------------- */
.section { padding-block: var(--section-y); overflow-x: clip; }
.section--light { background: var(--bg-light); }
.section--white { background: var(--white); }
.section--dark { background: var(--navy-deep); color: var(--white); }
.section--black { background: var(--black); color: var(--white); }
.section--navy { background: linear-gradient(180deg, var(--navy) 0%, #142039 55%, var(--navy-deep) 100%); color: var(--white); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.brand-mark { height: clamp(20px, 2.4vw, 26px); width: auto; margin: 0 auto 28px; }
.brand-mark--left { margin-left: 0; }

/* Reader illustration states (used by hero, specs, flow and animation) */
.reader { overflow: visible; transition: --glow-r .3s, --glow-a .3s, --glow-g .3s, --glow-b .3s, --led-r .3s, --led-a .3s, --led-g .3s, --led-b .3s; }
.reader--lit {
  --led-r: #FF5A4F; --glow-r: .75;
  --led-a: #FFC04D; --glow-a: .7;
  --led-g: #4BE27A; --glow-g: .7;
  --led-b: #6EA4FF; --glow-b: .9;
}

/* 1. Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--black); color: var(--white);
  min-height: min(calc(100svh - 104px), 820px);
  display: flex; align-items: center;
  padding-block: clamp(56px, 8vw, 96px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: saturate(.65) brightness(.7); transform: scale(1.04); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,7,10,.92) 0%, rgba(6,7,10,.68) 36%, rgba(6,7,10,.16) 68%, rgba(6,7,10,.2) 100%),
    linear-gradient(0deg, rgba(6,7,10,.85) 0%, rgba(6,7,10,0) 30%);
}
.hero__inner { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__title {
  font-family: "Segoe UI Black", var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 5.4rem); line-height: 1; letter-spacing: -0.035em; font-weight: 900;
}
.hero__title span { display: block; }
@media (min-width: 600px) { .hero__title span { white-space: nowrap; } }
.hero__lead { margin-top: 28px; max-width: 34em; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__product { position: relative; display: grid; justify-items: center; }
.hero__glow {
  position: absolute; inset: 8% 0 14%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(110,164,255,.28), rgba(200,0,0,.12) 55%, transparent 100%);
  filter: blur(18px);
}
.reader--hero {
  height: clamp(300px, 52vh, 500px); width: auto; aspect-ratio: 2 / 3;
  filter: drop-shadow(0 50px 50px rgba(0,0,0,.65)) drop-shadow(0 0 1px rgba(255,255,255,.25));
}
.hero__caption { margin-top: 18px; font-size: .95rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #C2C8D3; }

@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__product { margin-top: 8px; }
  .reader--hero { height: clamp(240px, 56vw, 340px); }
  .hero__bg::after { background: linear-gradient(0deg, rgba(6,7,10,.92) 0%, rgba(6,7,10,.72) 55%, rgba(6,7,10,.45) 100%); }
}

/* 2. Credibility strip --------------------------------------------------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip__inner { display: flex; align-items: center; gap: 24px 40px; padding-block: 28px; flex-wrap: wrap; justify-content: center; }
.trust-strip__label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); max-width: 16em; line-height: 1.35; }
.trust-strip__logos { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); flex-wrap: wrap; justify-content: center; }
.trust-strip__logos img { height: 40px; width: auto; max-width: 110px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .62; mix-blend-mode: multiply; }

/* 3. Risk + proof -------------------------------------------------------- */
.risk__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.risk__copy .lead { margin-top: 24px; max-width: 36em; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 44px 0 0; }
.stat { border-top: 2px solid var(--text); padding-top: 18px; }
.stat__value { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--red); }
.stat__label { margin: 12px 0 0; color: var(--muted); font-size: .95rem; max-width: 22em; }
.risk__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 40px 70px -40px rgba(13,21,36,.5); }
@media (max-width: 860px) {
  .risk__grid { grid-template-columns: 1fr; }
  .risk__media { max-width: 420px; }
}
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* Challenge-response animation */
.cr { max-width: 1040px; margin-inline: auto; }
.cr__stage {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 6vw, 88px);
  border-radius: 28px; border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(60% 80% at 80% 50%, rgba(110,164,255,.10), transparent 70%),
    radial-gradient(50% 70% at 15% 50%, rgba(255,255,255,.05), transparent 70%),
    #0A1120;
}
.cr__card-slot { position: relative; width: clamp(170px, 24vw, 270px); aspect-ratio: 172 / 108; }
.cr__card { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.45)); transition: --key-glow .35s; }
.cr__card.is-key { --key-glow: 1; }
.cr__card--copy { opacity: 0; }
.cr__path { position: relative; align-self: stretch; display: flex; align-items: center; min-width: 80px; margin-inline: 20px; }
.cr__line { width: 100%; height: 0; border-top: 2px dotted rgba(255,255,255,.22); }
.cr__reader-slot { position: relative; }
.cr__reader { height: clamp(190px, 25vw, 290px); width: auto; aspect-ratio: 2 / 3; filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)); }
.cr__reader.is-ready { --led-b: #6EA4FF; --glow-b: .9; }
.cr__reader.is-ok { --led-g: #4BE27A; --glow-g: 1; --led-b: #1a2440; --glow-b: 0; }
.cr__reader.is-no { --led-r: #FF5A4F; --glow-r: 1; --led-b: #1a2440; --glow-b: 0; }

/* the token travels in stage coordinates; JS moves .cr__token-pos */
.cr__token {
  position: absolute; left: 0; top: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: var(--white); color: var(--navy-deep);
  font: 600 .8rem/1 var(--font-mono); white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,0,0,.4), 0 0 0 4px rgba(110,164,255,.18);
  opacity: 0; pointer-events: none;
}
.cr__sig { display: none; align-items: center; gap: 4px; color: var(--teal); font-family: var(--font-text); font-weight: 700; }
.cr__sig svg { width: 14px; height: 14px; }
.cr__token.is-signed .cr__sig { display: inline-flex; }
.cr__token.is-signed { box-shadow: 0 10px 24px rgba(0,0,0,.4), 0 0 0 4px rgba(45,212,191,.28); }
.cr__token.is-fail { color: #8A93A3; box-shadow: 0 10px 24px rgba(0,0,0,.4), 0 0 0 4px rgba(255,59,48,.25); }

.cr__verdict {
  position: absolute; top: -14px; right: -18px;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  color: var(--white); opacity: 0; transform: scale(.6);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.cr__verdict svg { width: 26px; height: 26px; }
.cr__verdict--ok { background: #1FA34A; box-shadow: 0 0 0 6px rgba(52,208,88,.18); }
.cr__verdict--no { background: #E0261B; box-shadow: 0 0 0 6px rgba(255,59,48,.18); }
.cr__verdict.is-on { opacity: 1; transform: scale(1); }

.cr__footer { display: grid; justify-items: center; gap: 14px; margin-top: 22px; text-align: center; }
.cr__progress { display: flex; gap: 6px; }
.cr__progress li { width: 28px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); transition: background-color .3s; }
.cr__progress li.is-on { background: var(--white); }
.cr__progress li.is-on:nth-child(n+5) { background: var(--red-tint); }
.cr__caption { min-height: 1.4em; max-width: 40em; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; line-height: 1.35; color: var(--white); transition: opacity .25s; }
.cr__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-top: 6px; }
.cr__caption.is-swap { opacity: 0; }
.cr__closing {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 2.6vw, 2rem); opacity: 0; transform: translateY(8px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.cr__closing.is-on { opacity: 1; transform: none; }
.cr__replay { visibility: hidden; opacity: 0; transition: opacity .3s, background-color .2s; background: var(--white); color: var(--navy-deep); min-height: 46px; }
.cr__replay:hover { background: #E3E7EE; }
.cr__replay.is-on { visibility: visible; opacity: 1; }

/* Static version: screen-reader summary, visible only for reduced motion */
.cr__static {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.cr__static-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 14px; }
.cr__static ol { list-style: decimal; padding-left: 1.3em; display: grid; gap: 8px; color: var(--on-dark-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--ok { background: var(--ok); }
.dot--no { background: var(--no); }

@media (max-width: 720px) {
  .cr__stage { grid-template-columns: 1fr; justify-items: center; padding: 32px 20px; }
  .cr__reader-slot { order: 1; }
  .cr__path { order: 2; flex-direction: column; justify-content: center; min-width: 0; width: 100%; height: 96px; margin: 8px 0; }
  .cr__line { width: 0; height: 100%; border-top: 0; border-left: 2px dotted rgba(255,255,255,.22); }
  .cr__card-slot { order: 3; width: min(240px, 70vw); }
  .cr__reader { height: 180px; }
}

/* 4. TrustPoint Readers -------------------------------------------------- */
.readers .section-head .lead { max-width: 40em; margin-inline: auto; }
.specs { display: grid; grid-template-columns: 1fr minmax(240px, 380px) 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.specs__col { display: grid; gap: clamp(32px, 4vw, 52px); }
.specs__col--left { text-align: right; }
.specs__col--left .chips { justify-content: flex-end; }
.spec__title { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.spec__list, .spec__text { color: var(--on-dark-2); font-size: .975rem; line-height: 1.6; }
.specs__product { position: relative; display: grid; justify-items: center; }
.specs__glow {
  position: absolute; inset: 0 -20%; z-index: 0;
  background: radial-gradient(closest-side, rgba(255,255,255,.10), rgba(110,164,255,.06) 50%, transparent 75%);
}
.reader--spec { position: relative; height: clamp(340px, 44vw, 540px); width: auto; aspect-ratio: 2 / 3; filter: drop-shadow(0 40px 50px rgba(0,0,0,.8)); }
.specs__caption { position: relative; margin-top: 22px; font-size: .95rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #C2C8D3; text-align: center; }
@media (min-width: 961px) { .specs__caption { white-space: nowrap; } }
.usa { display: flex; align-items: center; gap: 14px; }
.usa img { width: 44px; height: 44px; border-radius: 50%; }
.usa p { font-weight: 600; line-height: 1.25; }
@media (max-width: 960px) {
  .specs { grid-template-columns: 1fr 1fr; }
  .specs__product { grid-column: 1 / -1; order: -1; margin-bottom: 16px; }
  .specs__col--left { text-align: left; }
  .specs__col--left .chips { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .specs { grid-template-columns: 1fr; }
  .reader--spec { height: 300px; }
}

/* Family comparison */
.family__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.model {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.model:hover { box-shadow: 0 24px 48px -28px rgba(13,21,36,.35); transform: translateY(-2px); }
.model__img { display: grid; place-items: center; height: 220px; margin-bottom: 20px; }
.model__img img { height: 196px; width: auto; max-width: 100%; object-fit: contain; }
.model__img--wide img { height: 172px; }
.model__name { font-size: 1.1rem; line-height: 1.25; letter-spacing: -0.01em; min-height: 2.5em; }
.model__specs { margin: 16px 0 20px; flex: 1; }
.model__specs div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.model__specs dt { color: var(--muted); }
.model__specs dd { margin: 0; font-weight: 600; text-align: right; }
.factors { display: inline-flex; gap: 4px; vertical-align: middle; }
.factors i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.factors i.on { background: var(--red); }
.model .link-arrow { font-size: .9rem; }
@media (max-width: 1000px) { .family__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .family__grid { grid-template-columns: 1fr; } }

/* 5. TrustPoint Cards + integration -------------------------------------- */
.cards__intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-bottom: clamp(48px, 7vw, 88px); }
.cards__copy .lead { margin-top: 20px; max-width: 34em; }
.cards__copy .chips { margin-top: 24px; }
.cards__media { position: relative; display: grid; place-items: center; padding: 32px; }
.cards__media::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200,0,0,.10), rgba(27,42,71,.06) 60%, transparent);
}
.cards__media img {
  position: relative; width: clamp(180px, 20vw, 250px);
  transform: rotate(-6deg); border-radius: 12px;
  box-shadow: 0 40px 60px -30px rgba(13,21,36,.55), 0 10px 20px -10px rgba(13,21,36,.3);
}
@media (max-width: 760px) { .cards__intro { grid-template-columns: 1fr; } }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { background: var(--bg-light); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.benefit__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--muted); color: var(--white); margin-bottom: 20px; }
.benefit__icon svg { width: 24px; height: 24px; }
.benefit__title { font-size: 1.25rem; margin-bottom: 10px; }
.benefit p { color: var(--muted); font-size: .975rem; }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr; } }

.integration {
  margin-top: clamp(64px, 9vw, 112px);
  padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 64px);
  border-radius: 28px; background: var(--bg-light);
}
.integration__head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.integration__head .lead { margin-top: 16px; }
.flow { display: flex; align-items: center; justify-content: center; gap: 0; }
.flow__group {
  position: relative; display: flex; align-items: center; gap: 0;
  padding: 36px 20px 22px; border-radius: 20px;
}
.flow__group--new { border: 2px solid var(--red); background: var(--white); }
.flow__group--old { border: 2px dashed #B3BAC6; }
.flow__group-label {
  position: absolute; top: -12px; left: 18px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  padding: 4px 10px; border-radius: 999px;
}
.flow__group--new .flow__group-label { background: var(--red); color: var(--white); }
.flow__group--old .flow__group-label { background: var(--bg-light); color: var(--muted); border: 1px solid #B3BAC6; }
.flow__node { display: grid; justify-items: center; gap: 10px; width: 132px; text-align: center; }
.flow__card { width: 116px; height: auto; filter: drop-shadow(0 8px 12px rgba(13,21,36,.18)); }
.flow__reader { height: 96px; width: auto; aspect-ratio: 2 / 3; filter: drop-shadow(0 8px 12px rgba(13,21,36,.25)); }
.flow__box { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); color: var(--navy-soft); }
.flow__box svg { width: 44px; height: 44px; }
.flow__name { font-size: .85rem; font-weight: 600; line-height: 1.25; }
.flow__arrow { position: relative; flex: none; width: 44px; height: 2px; background: #9AA1AD; }
.flow__arrow::after {
  content: ""; position: absolute; right: -1px; top: 50%; width: 8px; height: 8px;
  border-top: 2px solid #9AA1AD; border-right: 2px solid #9AA1AD; transform: translateY(-50%) rotate(45deg);
}
.flow__arrow--wire { width: 132px; }
.flow__arrow span {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: .7rem; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.flow__exchange { display: grid; gap: 30px; padding: 18px 6px 0; }
.flow__xarrow { position: relative; display: block; width: 104px; height: 2px; background: var(--red); }
.flow__xarrow::after {
  content: ""; position: absolute; top: 50%; width: 8px; height: 8px;
  border-top: 2px solid var(--red); border-right: 2px solid var(--red);
}
.flow__xarrow--to-reader::after { right: -1px; transform: translateY(-50%) rotate(45deg); }
.flow__xarrow--to-card::after { left: -1px; transform: translateY(-50%) rotate(-135deg); }
.flow__xarrow span {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  font-size: .7rem; font-weight: 700; color: var(--red); white-space: nowrap;
}
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: clamp(32px, 5vw, 48px); }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
@media (max-width: 1000px) {
  .flow { flex-direction: column; }
  .flow__arrow { width: 2px; height: 40px; }
  .flow__arrow::after { right: auto; top: auto; bottom: -1px; left: 50%; transform: translateX(-50%) rotate(135deg); }
  .flow__arrow--wire { height: 64px; }
  .flow__arrow span { bottom: auto; top: 50%; left: 14px; transform: translateY(-50%); }
}
@media (max-width: 480px) {
  .flow__group { flex-direction: column; padding: 32px 24px 20px; width: 100%; max-width: 320px; }
  .flow__exchange { grid-auto-flow: column; gap: 56px; padding: 14px 0; }
  .flow__xarrow { width: 2px; height: 56px; }
  .flow__xarrow--to-card::after { left: 50%; top: -1px; transform: translateX(-50%) rotate(-45deg); }
  .flow__xarrow--to-reader::after { left: 50%; top: auto; right: auto; bottom: -1px; transform: translateX(-50%) rotate(135deg); }
  .flow__xarrow span { bottom: auto; top: 50%; transform: translateY(-50%); }
  .flow__xarrow--to-card span { left: auto; right: 12px; }
  .flow__xarrow--to-reader span { left: 12px; }
}

/* 6. Authara ------------------------------------------------------------- */
.authara__intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.authara__logo { height: clamp(36px, 4vw, 46px); width: auto; }
.authara__title span { display: block; }
.authara__copy .lead { margin-top: 24px; }
.authara__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.keypair {
  margin: 32px 0 36px; padding: 20px 24px;
  border-left: 3px solid var(--teal-tint); border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255,255,255,.06);
  font-size: 1.05rem; line-height: 1.55; color: var(--on-dark);
}
.keypair p::before { content: "Own your key pair. "; font-weight: 700; color: var(--white); }
.authara__screens { position: relative; aspect-ratio: 1.25 / 1; }
.window {
  position: absolute; overflow: hidden; border-radius: 12px; background: var(--white);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08);
}
.window__bar { display: flex; justify-content: flex-end; gap: 8px; align-items: center; height: 26px; padding: 0 12px; background: #EEF1F5; border-bottom: 1px solid #E0E4EA; }
.window__bar i { width: 9px; height: 9px; border-radius: 2px; border: 1.5px solid #9AA1AD; }
.window img { width: 100%; display: block; }
.window--back { top: 0; right: 0; width: 64%; }
.window--front { bottom: 0; left: 0; width: 84%; }

.columns3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(56px, 8vw, 104px); padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.col__title { font-size: 1.15rem; margin-bottom: 14px; }
.col p, .dash-list { color: var(--on-dark-2); font-size: .975rem; }
.dash-list { display: grid; gap: 10px; }
.dash-list li { position: relative; padding-left: 20px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--teal-tint); }

.lifecycle {
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.lifecycle__title { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 32px; text-align: center; }
.lifecycle__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.stage { position: relative; padding-top: 22px; border-top: 3px solid var(--stage-color); }
.stage:not(:last-child)::after {
  content: ""; position: absolute; top: -9px; right: -26px; width: 12px; height: 12px;
  border-top: 3px solid rgba(255,255,255,.35); border-right: 3px solid rgba(255,255,255,.35); transform: rotate(45deg);
}
.stage--enroll { --stage-color: #A9BBDD; }
.stage--issue { --stage-color: var(--red-tint); }
.stage--verify { --stage-color: var(--teal-tint); }
.stage__num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--stage-color); color: var(--navy-deep); font-weight: 700; font-size: .85rem; margin-bottom: 12px;
}
.stage__name { font-size: 1.4rem; }
.stage__who { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--stage-color); margin: 4px 0 14px; }
.stage ul { display: grid; gap: 8px; color: var(--on-dark-2); font-size: .925rem; }
.stage li { padding-left: 16px; position: relative; }
.stage li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.4); }
.stage em { color: #A9B2C1; font-style: normal; }

.hardware { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(56px, 8vw, 96px); }
.hardware__media {
  position: relative; display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg);
  background: radial-gradient(70% 70% at 50% 45%, #FFFFFF, #DCE2EA);
}
.hardware__media > img:first-child { max-height: 320px; width: auto; }
.hardware__key { position: absolute; right: 12%; bottom: 10%; width: 64px; transform: rotate(18deg); filter: drop-shadow(0 10px 14px rgba(13,21,36,.35)); }
.hardware__copy p { margin-top: 14px; color: var(--on-dark-2); max-width: 36em; }

@media (max-width: 960px) {
  .authara__intro, .hardware { grid-template-columns: 1fr; }
  .authara__screens { max-width: 620px; }
  .columns3, .lifecycle__steps { grid-template-columns: 1fr; }
  .stage:not(:last-child)::after { display: none; }
}

/* 7. Specialist products ------------------------------------------------- */
.products2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product {
  display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden;
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line);
}
.product__media { display: grid; place-items: center; padding: 28px 20px; background: linear-gradient(180deg, #FFFFFF, #EEF0F4); }
.product__media img { max-height: 300px; width: auto; object-fit: contain; }
.product__body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; align-items: flex-start; }
.product__logo { height: 20px; width: auto; }
.product__kind { margin-top: 12px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.check-list { display: grid; gap: 8px; margin-top: 18px; font-size: .95rem; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='%23C80000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.product__ideal { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.product__ideal strong { color: var(--text); }
.product .chips { margin-top: 16px; }
.product .link-arrow { margin-top: auto; padding-top: 20px; display: inline-block; }
.specialist__note { margin-top: 32px; text-align: center; color: var(--muted); font-size: .95rem; }
.specialist__note .link-arrow { margin-left: 6px; }
@media (max-width: 1080px) { .products2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .product { grid-template-columns: 1fr; } .product__media img { max-height: 240px; } }

/* 8. Evidence + demo ----------------------------------------------------- */
.evidence { padding-bottom: clamp(56px, 8vw, 96px); }
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.logo-wall li { display: grid; place-items: center; height: 96px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.logo-wall img { max-height: 56px; max-width: 132px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.logo-wall li:hover img { filter: none; opacity: 1; }
@media (max-width: 860px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
.certs { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
.cert { display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 14px; border-radius: 16px; background: var(--bg-light); }
.cert img { height: 38px; width: auto; border-radius: 6px; }
.cert__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--white); }
.cert__icon img { height: 24px; border-radius: 0; }
.cert span { display: grid; font-size: .85rem; color: var(--muted); line-height: 1.3; }
.cert strong { color: var(--text); font-size: .95rem; }

.demo__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.demo__intro .lead { margin-top: 20px; }
.contact-list { display: grid; gap: 16px; margin-top: 40px; color: var(--on-dark-2); }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--red-tint); }
.contact-list a { color: var(--white); text-underline-offset: 3px; }
@media (max-width: 960px) { .demo__grid { grid-template-columns: 1fr; } }

.demo__form-wrap { background: var(--white); color: var(--text); border-radius: 28px; padding: clamp(24px, 4vw, 44px); }
.form { display: grid; gap: 18px; }
.form[hidden] { display: none; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row--2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: .85rem; font-weight: 600; }
.req { color: var(--red); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  border: 1px solid #CDD3DC; border-radius: 10px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%235B6270' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 14px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-soft); box-shadow: 0 0 0 4px rgba(59,82,126,.18); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(200,0,0,.15); }
.field__error { font-size: .8rem; color: #B00000; min-height: 0; }
.field__error:empty { display: none; }
.field--checks { border: 0; padding: 0; margin: 0; }
.field--checks legend { margin-bottom: 8px; padding: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .925rem; font-weight: 400; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--red); }
.field--consent .check { font-size: .875rem; color: var(--muted); }
.field--consent a { color: var(--text); }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.form__note { font-size: .8rem; color: var(--muted); }
.form-success { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 48px 16px; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #E7F7EC; color: #1FA34A; margin-bottom: 8px; }
.form-success__icon svg { width: 32px; height: 32px; }
.form-success p { color: var(--muted); }

/* Authara page ------------------------------------------------------------ */
.nav__list a[aria-current="page"] { color: var(--red); }
html:has(.subnav) { scroll-padding-top: 124px; }

/* Product sub-navigation: sticks directly under the main header (JS keeps `top` in sync) */
.subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(13,21,36,.94); color: var(--white);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.subnav__inner { display: flex; align-items: center; gap: 24px; height: 50px; }
.subnav__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--white); text-decoration: none; }
.subnav__links { display: flex; gap: clamp(14px, 2vw, 28px); margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a {
  display: block; padding: 14px 0 12px; border-bottom: 2px solid transparent;
  font-size: .875rem; color: #C9D2E3; text-decoration: none; white-space: nowrap;
}
.subnav__links a:hover, .subnav__links a.is-active { color: var(--white); }
.subnav__links a.is-active { border-bottom-color: var(--red-tint); }
@media (max-width: 640px) {
  .subnav__title { display: none; }
  .subnav__links { margin-left: 0; }
}

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; font-size: .875rem; color: var(--on-dark-2); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: var(--white); text-underline-offset: 3px; }

/* Hero */
.ahero { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 112px); }
.ahero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ahero__logo { width: clamp(240px, 28vw, 360px); max-width: 100%; height: auto; margin-bottom: 32px; }
.ahero__title { max-width: 13em; }
.ahero__tagline { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.02em; color: var(--on-dark); }
.ahero__tagline span:nth-child(1) { color: var(--red-tint); }
.ahero__tagline span:nth-child(2) { color: var(--white); }
.ahero__tagline span:nth-child(3) { color: var(--teal-tint); }
.ahero__lead { margin: 22px 0 32px; max-width: 34em; }
.glance { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; color: var(--on-dark-2); font-size: .95rem; }
.glance li { display: flex; align-items: center; gap: 10px; }
.glance svg { width: 22px; height: 22px; color: var(--teal-tint); flex: none; }
.window--solo { position: relative; width: 100%; }
.ahero__visual .window { box-shadow: 0 50px 90px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }
@media (max-width: 960px) { .ahero__grid { grid-template-columns: 1fr; } }

/* Media placeholder (screens and photos still to be supplied) */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 24px; text-align: center; color: var(--muted);
  background:
    linear-gradient(160deg, rgba(27,42,71,.08), rgba(27,42,71,.02)),
    repeating-linear-gradient(135deg, #ECEEF2 0 12px, #F4F5F7 12px 24px);
}
.ph--app { aspect-ratio: 1600 / 1099; }
.ph__label {
  font: 600 11px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 6px; background: var(--white); border: 1px dashed #9AA1AD; color: #4A5160;
}
.ph__title { font-weight: 600; color: var(--text); font-size: 1.05rem; }
.ph__desc { font-size: .875rem; line-height: 1.45; max-width: 34ch; }

/* Challenge */
.gaps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gap { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); }
.gap__who { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.gap .h3 { margin-bottom: 12px; }
.gap p:last-child { color: var(--muted); }
.compare { margin-top: clamp(40px, 6vw, 64px); }
.compare__title { font-size: 1.25rem; margin-bottom: 16px; }
.compare__table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.compare__table th, .compare__table td { padding: 16px 22px; text-align: left; vertical-align: top; }
.compare__table thead th { background: var(--navy); color: var(--white); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.compare__table tbody th { width: 34%; font-weight: 600; }
.compare__table tbody td { color: var(--muted); }
.compare__table tbody tr + tr > * { border-top: 1px solid var(--line); }
.compare__answer { margin-top: 24px; font-size: 1.15rem; max-width: 46em; }
.compare__answer strong { color: var(--red); }
@media (max-width: 760px) {
  .gaps { grid-template-columns: 1fr; }
  .compare__table thead { display: none; }
  .compare__table, .compare__table tbody, .compare__table tr, .compare__table th, .compare__table td { display: block; width: auto; }
  .compare__table tbody th { width: auto; padding-bottom: 4px; }
  .compare__table tbody td { padding-top: 0; }
  .compare__table tbody tr + tr { border-top: 1px solid var(--line); }
  .compare__table tbody tr + tr > * { border-top: 0; }
}

/* How it works: feature rows */
.frow { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.frow + .frow { margin-top: clamp(64px, 9vw, 112px); }
.frow--flip .frow__copy { order: 2; }
.frow__step { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.frow__step span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: var(--white); letter-spacing: 0; }
.frow__copy .h3 { margin: 14px 0 14px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.frow__copy p:last-child { color: var(--muted); font-size: 1.05rem; max-width: 32em; }
.frow__media .window { box-shadow: 0 40px 80px -40px rgba(13,21,36,.45), 0 0 0 1px var(--line); }
@media (max-width: 860px) {
  .frow { grid-template-columns: 1fr; }
  .frow--flip .frow__copy { order: 0; }
}

/* Lifecycle chart: navy = identity, crimson = Authara issuance, teal = access; amber marks optional inputs */
.lc { display: grid; grid-template-columns: 1fr 34px 1.15fr 34px 1fr; align-items: start; }
.lc__col {
  --col: var(--navy); --tint: #EDF1F7; --edge: #A9B7D0; --deep: var(--navy);
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; padding-bottom: 20px;
}
.lc__col--issue { --col: var(--red); --tint: #FCEBEB; --edge: #EBA6A6; --deep: #7B080D; }
.lc__col--access { --col: #115E59; --tint: #E6F6F4; --edge: #8FD3CB; --deep: #115E59; }
.lc__head { background: var(--col); color: var(--white); font-family: var(--font-text); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 13px 16px; }
.lc__flow { display: grid; gap: 34px; padding: 22px 18px 0; }
.lc__node {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 14px; border-radius: 12px; text-align: center;
  background: var(--tint); border: 1.5px solid var(--edge);
}
.lc__node strong { color: var(--deep); font-size: .95rem; }
.lc__node span { font-size: .85rem; color: #3F4654; line-height: 1.35; }
.lc__node--solid { background: var(--col); border-color: var(--col); }
.lc__node--solid strong, .lc__node--solid span { color: var(--white); }
.lc__node--aside { margin: 22px 18px 0; }
.lc__flow > .lc__node + .lc__node::before {
  content: ""; position: absolute; top: -26px; left: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--col); border-bottom: 2.5px solid var(--col); transform: translateX(-50%) rotate(45deg);
}
.lc__node[data-step]::after {
  content: attr(data-step); position: absolute; top: -27px; left: calc(50% + 16px);
  font-size: .75rem; font-weight: 600; color: var(--deep); white-space: nowrap;
}
.lc__opt {
  margin-top: 6px; padding: 2px 9px; border-radius: 999px;
  font-size: .68rem; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: #FEF3C7; color: #92400E;
}
.lc__steps { list-style: decimal; text-align: left; margin: 6px 0 4px; padding-left: 1.3em; font-size: .85rem; color: #3F4654; }
.lc__note { font-size: .78rem !important; font-weight: 600; color: var(--deep) !important; margin-top: 4px; }
.lc__bridge { position: relative; align-self: center; height: 34px; }
.lc__bridge::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px;
  border-right: 3px solid #9AA1AD; border-top: 3px solid #9AA1AD; transform: translate(-70%, -50%) rotate(45deg);
}
.lc__scope { margin-top: 24px; padding: 16px 22px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-size: .925rem; color: var(--muted); }
.lc__scope strong { margin-right: 12px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
@media (max-width: 960px) {
  .lc { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .lc__bridge::before { transform: translate(-50%, -70%) rotate(135deg); }
}

/* Security */
.specs__img { position: relative; width: clamp(240px, 28vw, 380px); height: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.75)); }
/* Dark product photo on a dark section: rim light + brighter backdrop so the outline reads */
.specs__img--photo { filter: drop-shadow(0 0 1px rgba(255,255,255,.55)) drop-shadow(0 0 18px rgba(169,194,255,.18)) drop-shadow(0 40px 50px rgba(0,0,0,.75)); }
@media (min-width: 961px) {
  /* Keep the long hardware caption from expanding the image's grid track. */
  .page-authara #security .specs__product { min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .page-authara #security .specs__caption { white-space: normal; }
}
.specs__product:has(.specs__img--photo) .specs__glow { background: radial-gradient(closest-side, rgba(255,255,255,.16), rgba(110,164,255,.08) 55%, transparent 80%); }
.rsm {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: clamp(56px, 8vw, 96px); padding: clamp(24px, 4vw, 44px);
  border-radius: 28px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.rsm p { margin-top: 12px; color: var(--on-dark-2); }
.rsm__features { display: grid; gap: 12px; color: var(--on-dark); }
.rsm__features li { position: relative; padding-left: 30px; }
.rsm__features li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 860px) { .rsm { grid-template-columns: 1fr; } }

/* Deployment + integrations */
.deploy { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.deploy__copy .lead { margin-top: 20px; }
.deploy__note { margin-top: 14px; font-size: .925rem; color: var(--muted); }
.deploy__need-title { margin: 32px 0 14px; font-family: var(--font-text); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.need { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.need li { display: grid; padding: 14px 16px; border-radius: 14px; background: var(--bg-light); }
.need span { font-size: .875rem; color: var(--muted); }
.deploy__media .window { box-shadow: 0 40px 80px -40px rgba(13,21,36,.45), 0 0 0 1px var(--line); }
.deploy__media figcaption { margin-top: 14px; font-size: .875rem; color: var(--muted); text-align: center; }
.integ-head { margin-top: clamp(72px, 10vw, 120px); }
@media (max-width: 860px) { .deploy { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .need { grid-template-columns: 1fr; } }

/* Who it's for */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.role { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.role h3 { font-size: 1.1rem; }
.role p { margin-top: 10px; color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .roles { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  position: relative; padding: 22px 48px 22px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 66ch; }

/* Closing CTA */
.acta__inner { max-width: 780px; text-align: center; }
.acta .lead { margin-top: 18px; }
.acta__actions { justify-content: center; margin-top: 32px; }
.acta__phone { margin-top: 18px; color: var(--on-dark-2); }
.acta__phone a { color: var(--white); text-underline-offset: 3px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--black); color: #B0B7C3; font-size: .9rem; padding-block: 72px 32px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__brand img { width: 160px; margin-bottom: 22px; }
.site-footer address { line-height: 1.8; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__title { font-family: var(--font-text); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-footer nav ul { display: grid; gap: 10px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.site-footer__bottom ul { display: flex; gap: 24px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Motion ----------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

.js .hero__copy > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.js .hero__copy > :nth-child(2) { animation-delay: .08s; }
.js .hero__copy > :nth-child(3) { animation-delay: .18s; }
.js .hero__copy > :nth-child(4) { animation-delay: .28s; }
.js .hero__product { opacity: 0; transform: translateY(28px) scale(.97); animation: rise 1.2s .15s var(--ease) forwards; }
.reader--hero { animation: ready-pulse 2.8s 1.4s ease-in-out infinite; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes ready-pulse { 50% { --glow-b: .35; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero__copy > *, .js .hero__product { opacity: 1; transform: none; animation: none; }
  /* challenge-response: show the static frames instead of the animation */
  .cr__stage, .cr__progress, .cr__caption, .cr__replay { display: none; }
  .cr__static {
    position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  }
  .cr__static-col { padding: 28px; border-radius: 20px; background: #0A1120; border: 1px solid rgba(255,255,255,.08); }
  .cr__footer { order: 2; margin-top: 24px; }
  .cr { display: flex; flex-direction: column; }
  .cr__closing { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 720px) { .cr__static { grid-template-columns: 1fr; } }

/* Consent controls and contact-form spam trap. */
.cookie-settings { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.cookie-settings:hover { text-decoration: underline; }
.cookie-settings:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form [type="submit"]:disabled { opacity: .65; cursor: wait; }
