/* ==========================================================================
   Veltrahire — pre-launch landing page
   A quiet, editorial front end on sky blue. Hand-built, no framework.
   ========================================================================== */

/* ---- Fonts ---------------------------------------------------------------
   Newsreader: editorial serif for display type (optical-size axis kept).
   Libre Franklin: clean, classic sans for everything else.
   Both self-hosted and subset — no external requests.
   ------------------------------------------------------------------------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/librefranklin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ------------------------------------------------------ */
:root {
  --sky: #c7e3f4;
  --sky-pale: #e6f2fa;
  --paper: #f8f5ee;
  --white: #fffdfa;
  --ink: #0a2639;
  --ink-soft: #2f5369;
  --muted: #3f5f72;
  --navy: #0c3d64;
  --navy-deep: #082d49;
  --gold: #b07a26;
  --gold-ink: #7b5417;
  --line: rgba(12, 45, 68, 0.16);
  --line-soft: rgba(12, 45, 68, 0.09);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: 1180px;
  --radius: 6px;
}

/* ---- Base --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--sky);
  background-image: url("../img/grain.png");
  background-repeat: repeat;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

[hidden] {
  display: none !important;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

::selection {
  background: var(--navy);
  color: #f4fafd;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

main:focus {
  outline: none;
}

.shell {
  width: min(var(--shell), calc(100% - 56px));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--navy);
  color: #f4fafd;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---- Type helpers ------------------------------------------------------- */
.display {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.05rem, 3.4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-optical-sizing: auto;
}

.display em {
  font-style: italic;
  color: var(--navy);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #f5fafd;
}

.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(12, 61, 100, 0.42);
  color: var(--navy);
}

.btn-ghost:hover {
  background: rgba(255, 253, 250, 0.55);
  border-color: var(--navy);
}

.btn-small {
  padding: 11px 18px;
  font-size: 13.5px;
}

.btn-block {
  width: 100%;
  padding: 15px 24px;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background-color: var(--sky);
  background-image: url("../img/grain.png");
  background-repeat: repeat;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 84px;
  transition: height 0.3s ease;
}

.site-header.is-stuck .header-inner {
  height: 70px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}

.brand img {
  width: 174px;
  transition: width 0.3s ease;
}

.site-header.is-stuck .brand img {
  width: 152px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 7px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 10px 13px;
  background: transparent;
  border: 1px solid rgba(12, 61, 100, 0.32);
  border-radius: 3px;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 12px;
}

.nav-toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: top 0.2s ease, transform 0.2s ease;
}

.nav-toggle-icon span:first-child {
  top: 2px;
}

.nav-toggle-icon span:last-child {
  top: 9px;
}

.nav-toggle.is-open .nav-toggle-icon span:first-child {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-icon span:last-child {
  top: 5px;
  transform: rotate(-45deg);
}

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: clip;
  padding-top: 10px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -8%;
  width: 72%;
  height: 78%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(40px, 6vw, 78px);
  align-items: center;
  padding: 58px 0 66px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 5.5vw, 4.7rem);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-optical-sizing: auto;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  color: var(--navy);
}

.lede {
  max-width: 47ch;
  text-wrap: pretty;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.25vw, 1.14rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #35576c;
  font-size: 13px;
  line-height: 1.5;
}

.hero-note .icon {
  width: 15px;
  height: 15px;
  color: var(--navy);
}

/* Hero preview */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 468px;
  margin: 0;
  justify-self: end;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 28px -18px -18px 26px;
  border: 1px solid rgba(12, 61, 100, 0.22);
  border-radius: 8px;
  pointer-events: none;
}

.preview {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(12, 61, 100, 0.2);
  border-radius: 8px;
  box-shadow: 0 34px 64px -46px rgba(7, 40, 61, 0.7);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: #fbf8f1;
  border-bottom: 1px solid var(--line-soft);
}

.preview-app {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.preview-app svg {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.preview-badge {
  padding: 3px 6px;
  border: 1px solid rgba(176, 122, 38, 0.45);
  border-radius: 2px;
  color: var(--gold-ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.preview-body {
  padding: 18px 18px 2px;
}

.preview-head {
  padding-bottom: 10px;
}

.preview-title {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.preview-sub {
  margin-top: 3px;
  color: #526d7e;
  font-size: 11.5px;
}

.people {
  margin: 0;
  padding: 0;
  list-style: none;
}

.person {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
}

.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(12, 61, 100, 0.12);
  border-radius: 50%;
  background: #e9f4fb;
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.person-main {
  display: block;
  min-width: 0;
}

.person-main strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-main span {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #58707f;
  font-size: 10.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chip {
  padding: 4px 7px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.chip-interview {
  border-color: rgba(12, 61, 100, 0.18);
  background: rgba(12, 61, 100, 0.08);
  color: var(--navy);
}

.chip-shortlist {
  border-color: rgba(176, 122, 38, 0.3);
  background: rgba(176, 122, 38, 0.1);
  color: #7c5719;
}

.chip-new {
  border-color: rgba(12, 61, 100, 0.16);
  color: #4d6778;
}

.preview-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 11px 18px;
  background: var(--sky-pale);
  border-top: 1px solid var(--line-soft);
  color: #2d566c;
  font-size: 10.5px;
  line-height: 1.4;
}

.preview-foot svg {
  width: 14px;
  height: 14px;
  color: var(--navy);
}

.preview-note {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  padding-right: 4px;
  color: #33586d;
  font-family: var(--serif);
  font-size: 15.5px;
  font-style: italic;
  line-height: 1.45;
  text-align: right;
}

/* Hero facts strip */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-left: 1px solid var(--line);
  color: #31556b;
  font-size: 12.5px;
  line-height: 1.4;
}

.hero-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts li:last-child {
  padding-right: 0;
}

.hero-facts .icon {
  width: 17px;
  height: 17px;
  color: var(--navy);
  opacity: 0.85;
}

/* ---- Sections ----------------------------------------------------------- */
.section {
  position: relative;
  padding: clamp(64px, 8vw, 104px) 0;
}

section[id] {
  scroll-margin-top: 92px;
}

/* Why */
.why {
  overflow: clip;
}

.why-mark {
  position: absolute;
  top: 34px;
  right: -30px;
  width: min(400px, 32vw);
  height: auto;
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
}

.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.why-intro {
  position: sticky;
  top: 118px;
}

.why-lead {
  max-width: 46ch;
  margin-top: 24px;
  color: #33566b;
  font-size: 16px;
  line-height: 1.66;
}

.principles {
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 25px 0 27px;
  border-top: 1px solid var(--line);
}

.principle:last-child {
  border-bottom: 1px solid var(--line);
}

.principle-num {
  padding-top: 3px;
  color: var(--gold-ink);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.2;
}

.principle h3 {
  font-size: 18px;
  letter-spacing: -0.005em;
  line-height: 1.35;
}

.principle p {
  max-width: 46ch;
  margin-top: 7px;
  color: #3b5a6d;
  font-size: 14.5px;
  line-height: 1.62;
}

/* How it works */
.how {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.how-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 56px;
}

.how-note {
  max-width: 33ch;
  margin-bottom: 4px;
  color: #6a5f4c;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.5;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 52px;
}

.how-col {
  padding-right: clamp(28px, 4vw, 56px);
}

.how-col + .how-col {
  padding-right: 0;
  padding-left: clamp(28px, 4vw, 56px);
  border-left: 1px solid rgba(12, 45, 68, 0.14);
}

.how-col-title {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.steps {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 21px 0;
  border-top: 1px solid rgba(12, 45, 68, 0.13);
}

.step:last-child {
  border-bottom: 1px solid rgba(12, 45, 68, 0.13);
}

.step-num {
  padding-top: 3px;
  color: var(--gold-ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.step h4 {
  font-size: 15.5px;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

.step p {
  max-width: 42ch;
  margin-top: 6px;
  color: #4b626f;
  font-size: 13.5px;
  line-height: 1.6;
}

/* Register */
.register {
  padding-bottom: clamp(72px, 9vw, 116px);
}

.register-card {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(12, 61, 100, 0.18);
  border-radius: 10px;
  box-shadow: 0 44px 90px -74px rgba(7, 40, 61, 0.8);
}

.register-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4.2vw, 52px);
  background: var(--sky-pale);
  border-right: 1px solid var(--line-soft);
}

.register-copy .display {
  font-size: clamp(1.95rem, 2.9vw, 2.5rem);
}

.register-lead {
  margin-top: 18px;
  color: #33566b;
  font-size: 14.5px;
  line-height: 1.65;
}

.checks {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #2f5066;
  font-size: 13.5px;
  line-height: 1.5;
}

.check-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid rgba(12, 61, 100, 0.3);
  border-radius: 50%;
  color: var(--navy);
  flex-shrink: 0;
}

.check-icon svg {
  width: 10px;
  height: 10px;
}

.register-follow {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(12, 61, 100, 0.14);
}

.register-follow-label {
  color: var(--navy);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.follow-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.follow-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2e5067;
  font-size: 12.5px;
  text-decoration: none;
}

.follow-links a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(12, 61, 100, 0.45);
  text-underline-offset: 3px;
}

.follow-links svg {
  width: 14px;
  height: 14px;
  color: var(--navy);
  opacity: 0.72;
}

.register-follow .soon {
  border-color: rgba(12, 61, 100, 0.25);
  color: #5d7584;
}

.register-signoff {
  margin-top: auto;
  padding-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(12, 61, 100, 0.14);
  color: #47657a;
  font-family: var(--serif);
  font-size: 14.5px;
  font-style: italic;
}

.register-form-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4.2vw, 52px);
}

.register-form {
  max-width: 420px;
}

.form-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.form-sub {
  margin-top: 4px;
  margin-bottom: 26px;
  color: #58707f;
  font-size: 12.5px;
}

.field {
  margin: 0 0 20px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  padding: 0;
  color: var(--navy);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid rgba(12, 61, 100, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.5;
}

.field input::placeholder {
  color: #617a8a;
  opacity: 1;
}

.field input:focus {
  outline: none;
  border-bottom-color: var(--navy);
  box-shadow: 0 1px 0 var(--navy);
}

.field input:focus-visible {
  outline: 2px solid rgba(12, 61, 100, 0.5);
  outline-offset: 4px;
}

.field input[aria-invalid="true"] {
  border-bottom-color: #9a3a2c;
  box-shadow: 0 1px 0 #9a3a2c;
}

.field-error {
  margin-top: 6px;
  color: #8f3527;
  font-size: 12px;
  line-height: 1.45;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-noscript {
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 2px solid var(--gold);
  background: #f8f2e6;
  color: #5c4a31;
  font-size: 12px;
  line-height: 1.55;
}

.form-note-break {
  display: block;
  content: "";
  margin-top: 3px;
}

.form-note {
  margin-top: 14px;
  color: #5a7283;
  font-size: 11.5px;
  line-height: 1.55;
}

.form-note a,
.faq-intro a {
  color: var(--navy);
  text-decoration-color: rgba(12, 61, 100, 0.4);
  text-underline-offset: 3px;
}

.form-note a:hover,
.faq-intro a:hover {
  text-decoration-color: currentColor;
}

.form-status {
  margin-top: 12px;
  color: #8f3527;
  font-size: 13px;
  line-height: 1.5;
}

.register-success {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 340px;
  max-width: 420px;
}

.success-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(12, 61, 100, 0.2);
  border-radius: 50%;
  background: rgba(12, 61, 100, 0.06);
  color: var(--navy);
}

.success-badge svg {
  width: 19px;
  height: 19px;
}

.register-success h3 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.register-success h3:focus {
  outline: none;
}

.register-success p {
  margin-top: 8px;
  color: #3b5a6d;
  font-size: 14px;
  line-height: 1.6;
}

.soon {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 4px;
  border: 1px solid rgba(207, 231, 245, 0.32);
  border-radius: 2px;
  color: rgba(207, 231, 245, 0.72);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  vertical-align: 1px;
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 118px;
}

.faq-intro p {
  margin-top: 20px;
  color: #33566b;
  font-size: 14px;
  line-height: 1.6;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--navy);
}

.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  margin-top: 5px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1px;
  background: var(--navy);
  transition: transform 0.25s ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: rotate(0deg);
}

.faq-answer {
  max-width: 64ch;
  padding: 0 34px 22px 0;
  color: #3b5a6d;
  font-size: 14px;
  line-height: 1.66;
}

.faq-item[open] .faq-answer {
  animation: faq-in 0.28s ease both;
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- Footer ------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 7vw, 80px);
  background: var(--navy-deep);
  color: #d9e9f3;
}

.footer-mark {
  position: absolute;
  right: -34px;
  bottom: -64px;
  width: 380px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.65fr) minmax(0, 0.75fr) minmax(0, 0.7fr);
  gap: clamp(28px, 4vw, 56px);
}

.footer-brand img {
  width: 178px;
}

.footer-tagline {
  max-width: 30ch;
  margin-top: 18px;
  color: rgba(222, 238, 248, 0.72);
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 6px 10px;
  border: 1px solid rgba(207, 231, 245, 0.24);
  border-radius: 2px;
  color: #cfe7f5;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c48a3a;
}

.footer-col h4 {
  margin: 5px 0 16px;
  color: rgba(207, 231, 245, 0.6);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e5f1f9;
  font-size: 13.5px;
  line-height: 1.5;
  text-decoration: none;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
}

.footer-col a svg {
  width: 15px;
  height: 15px;
  color: rgba(207, 231, 245, 0.58);
}

.footer-col a[data-unset] {
  color: rgba(229, 241, 249, 0.78);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 28px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: 22px 0 26px;
  border-top: 1px solid rgba(207, 231, 245, 0.16);
  color: rgba(217, 233, 243, 0.62);
  font-size: 12px;
  line-height: 1.5;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.footer-bottom .icon {
  width: 13px;
  height: 13px;
}

.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---- Toast -------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  z-index: 120;
  max-width: calc(100% - 32px);
  padding: 11px 18px;
  border-radius: 4px;
  background: var(--ink);
  color: #f2f8fc;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---- Reveal on scroll --------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-copy .reveal:nth-child(1) {
  transition-delay: 0.04s;
}
.hero-copy .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.hero-copy .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.hero-copy .reveal:nth-child(4) {
  transition-delay: 0.22s;
}
.hero-copy .reveal:nth-child(5) {
  transition-delay: 0.28s;
}
.hero-visual.reveal {
  transition-delay: 0.18s;
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid {
    gap: 44px;
  }

  .hero-facts li {
    padding-inline: 16px;
    font-size: 12px;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 6px 28px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 34px -30px rgba(7, 40, 61, 0.55);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .nav-link {
    padding: 15px 0;
    border-bottom: 1px solid rgba(12, 45, 68, 0.1);
    font-size: 15px;
  }

  .site-nav .nav-link::after {
    display: none;
  }

  .site-nav .btn {
    margin-top: 18px;
    padding: 14px 20px;
    font-size: 14.5px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding: 42px 0 56px;
  }

  .hero-visual {
    justify-self: center;
    max-width: 500px;
  }

  .preview-note {
    text-align: left;
  }

  .why-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .why-intro,
  .faq-intro {
    position: static;
  }

  .why-intro .display,
  .faq-intro .display {
    max-width: 22ch;
  }

  .why-mark {
    width: 340px;
    opacity: 0.05;
  }

  .register-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .register-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .register-form-panel {
    padding-top: 36px;
  }

  .register-form,
  .register-success {
    max-width: 520px;
  }
}

@media (max-width: 780px) {
  .how-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 36px;
  }

  .how-col {
    padding-right: 0;
  }

  .how-col + .how-col {
    margin-top: 38px;
    padding-top: 36px;
    padding-left: 0;
    border-top: 1px solid rgba(12, 45, 68, 0.14);
    border-left: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand img {
    width: 164px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: calc(100% - 40px);
  }

  .eyebrow {
    gap: 9px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .eyebrow::before {
    width: 18px;
  }

  .header-inner {
    height: 74px;
  }

  .site-header.is-stuck .header-inner {
    height: 64px;
  }

  .brand img {
    width: 146px;
  }

  .site-header.is-stuck .brand img {
    width: 132px;
  }

  .site-nav {
    padding-inline: 20px;
  }

  .hero {
    padding-top: 0;
  }

  .hero-grid {
    padding-top: 32px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 10.6vw, 3.35rem);
  }

  .lede {
    margin-top: 22px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-note {
    align-items: flex-start;
  }

  .hero-note .icon {
    margin-top: 2px;
  }

  .hero-visual::before {
    inset: 22px -6px -12px 18px;
  }

  .preview-body {
    padding: 16px 15px 2px;
  }

  .preview-top {
    padding: 11px 15px;
  }

  .preview-foot {
    padding-inline: 15px;
  }

  .person {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .avatar {
    width: 32px;
    height: 32px;
    font-size: 9.5px;
  }

  .person-main span {
    font-size: 10px;
  }

  .chip {
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .preview-note {
    margin-top: 16px;
    font-size: 14.5px;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-facts li {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    font-size: 12.5px;
  }

  .hero-facts li:first-child {
    border-top: 0;
  }

  .why-intro .display,
  .faq-intro .display {
    max-width: none;
  }

  .why-mark {
    display: none;
  }

  .principle {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .principle-num {
    font-size: 17px;
  }

  .how-head {
    gap: 18px;
  }

  .how-note {
    font-size: 14px;
  }

  .step {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .register-copy,
  .register-form-panel {
    padding: 28px 22px;
  }

  .register-signoff {
    margin-top: 26px;
  }

  .faq-item summary {
    padding: 18px 0;
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 400px) {
  .chip {
    display: none;
  }

  .person {
    grid-template-columns: 32px minmax(0, 1fr);
  }
}

/* ---- Motion & print ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-nav,
  .hero-visual,
  .register-form-panel,
  .toast {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .site-footer {
    background: #ffffff;
    color: #000000;
  }
}

/* ---- 404 ---------------------------------------------------------------- */
.error-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.error-main {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 0;
  padding: clamp(56px, 9vw, 110px) 0;
}

.error-inner {
  max-width: 760px;
}

.error-inner .display {
  max-width: 14ch;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.02;
}

.error-lead {
  max-width: 46ch;
  margin-top: 20px;
  color: #33566b;
  font-size: 16px;
  line-height: 1.65;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.error-back {
  margin-left: auto;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.error-back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.error-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  color: #3f5f72;
  font-size: 12.5px;
}

.error-footer .shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
}

.error-footer a {
  color: inherit;
}

.success-reset {
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(12, 61, 100, 0.42);
  text-underline-offset: 4px;
  cursor: pointer;
}

.success-reset:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}
