/* ============================================================
   eNotarize — design system
   palette: cool neutral canvas · ink ground · indigo accent
   type: Inter Tight (display) + Inter (text) + IBM Plex Mono (labels)
   ============================================================ */

:root {
  /* ---------- surfaces ---------- */
  --paper:      #FFFFFF;
  --paper-2:    #F9FAFB;
  --paper-3:    #F4F6F8;
  --card:       #FFFFFF;

  /* ---------- ink ---------- */
  --deep:       #161C24;   /* gray-900 */
  --deep-2:     #212B36;   /* gray-800 */
  --deep-3:     #0D1219;
  --deep-line:  rgba(22,28,36,.12);

  /* ---------- primary (teal) ---------- */
  --emerald-wash:  #ECFDF5;   /* light emerald ground for info-toned surfaces */
  --primary-lighter: #CAF8E4;
  --primary-light:   #5ED9BA;
  --primary:         #088178;
  --primary-dark:    #056D6E;
  --primary-darker:  #04535C;
  --primary-a16:     rgba(0,171,85,.16);

  --brand:        #056D6E;   /* 6.14:1 on white — links & text */
  --brand-dark:   #04535C;
  --brand-bright: #5ED9BA;   /* light teal, for dark grounds */
  --brand-soft:   rgba(8,129,120,.08);
  --brand-line:   rgba(8,129,120,.20);

  /* gradient endpoints — white text clears 4.5:1 at both ends */
  --g1: #088178;   /* primary  4.75:1 */
  --g2: #04535C;   /* darker   8.76:1 */
  --g3: #00BAA7;   /* teal-500, light band — needs ink text */
  --g4: #00776E;   /* teal-700 */

  /* ---------- accents (light band — pair with ink text) ---------- */
  --accent-1: #A0E2E0;
  --accent-2: #FFEB69;
  --accent-3: #FFC091;
  --accent-4: #FFD6EF;
  --accent-5: #92BDF5;
  --accent-6: #FAB851;
  --accent-7: #9EE872;

  /* ---------- secondary / info ---------- */
  --secondary-lighter: #D6E4FF;
  --secondary:         #3366FF;
  --secondary-dark:    #1939B7;
  --info-lighter:      #D0F2FF;
  --info:              #1890FF;
  --info-dark:         #0C53B7;   /* white on --info is only 3.24:1 */

  /* ---------- status ---------- */
  --success-lighter: #E9FCD4;
  --success:         #54D62C;
  --success-dark:    #229A16;
  --success-a16:     rgba(84,214,44,.16);
  --warning-lighter: #FFF7CD;
  --warning-light:   #FFE16A;
  --warning:         #FFC107;
  --warning-dark:    #B78103;
  --warning-a16:     rgba(255,193,7,.16);
  --error-lighter:   #FCD1CA;
  --error-light:     #EF6168;
  --error:           #CB0233;   /* white clears 5.84:1 here */
  --error-dark:      #AE013C;
  --error-a16:       rgba(255,72,66,.16);

  /* ---------- text ---------- */
  --t:          #161C24;
  --t-primary:  #212529;   /* light-primary-text */
  --t-secondary:#495057;   /* light-secondary-text */
  --t-mute:     #454F5B;   /* gray-700 */
  --t-faint:    #637381;   /* gray-600 / dark-disabled-text */
  --t-disabled: #919EAB;   /* light-disabled-text — 2.7:1, non-text only */
  --t-inv:      #FFFFFF;
  --t-inv-mut:  #919EAB;

  /* ---------- status ---------- */
  --ok:         #229A16;   /* success-dark, 4.5:1 on white */
  --ok-soft:    #E9FCD4;   /* success-lighter */
  --err:        #CB0233;   /* 5.84:1 with white */
  --err-soft:   #FCD1CA;

  --line:       rgba(22,28,36,.14);
  --line-2:     rgba(22,28,36,.08);

  --sh-sm: 0 2px 10px rgba(22,28,36,.07);
  --sh-md: 0 12px 32px rgba(22,28,36,.11);

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;

  --gut: clamp(20px, 4vw, 56px);
  --wrap: 1320px;

  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-ui);
  font-size: .93rem;
  line-height: 1.68;
  color: var(--t);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { text-wrap: pretty; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
  position: relative;
  z-index: 1;
}

/* ============================================================
   TYPE
   ============================================================ */
h1, h2, h3, h4, .logo {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.25rem);
  line-height: 1.12;
  /* -.045em at 52px is roughly -2.3px of tracking, which closes the
     counters up and makes the word shapes run together */
  letter-spacing: -.022em;
  font-weight: 700;
}
h2 { font-size: clamp(1.5rem, 2.7vw, 2.2rem); line-height: 1.2; letter-spacing: -.021em; }
h3 { font-size: clamp(1rem, .5vw + .95rem, 1.12rem); letter-spacing: -.016em; }
h4 { font-size: .92rem; letter-spacing: -.02em; }

.caps {
  display: block;
  font-family: var(--font-mono);
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .45rem;
}
.caps--inv { color: var(--brand-bright); }

.lead {
  font-size: clamp(1rem, .3vw + .97rem, 1.1rem);
  color: var(--t-mute);
  max-width: 54ch;
  line-height: 1.66;
}

/* ============================================================
   BUTTONS
   Teal gradient runs primary -> primary-darker so white text
   clears 4.5:1 at BOTH ends (#088178 + white is 4.75:1).
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  /* No-op while the button shrink-wraps its label, but keeps the label
     centred once a button is stretched to a column or full width. */
  justify-content: center;
  gap: 7px;
  padding: 9px 20px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all .3s;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.btn i { font-size: .95em; line-height: 1; }
.btn .arw { transition: transform .3s ease; }
.btn:hover .arw { transform: translateX(3px); }
.btn--lg   { padding: 11px 26px; font-size: .92rem; }
.btn--full { width: 100%; }

/* primary */
.btn--brand {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
  box-shadow: 0 4px 15px rgba(8,129,120,.30);
}
.btn--brand:hover { box-shadow: 0 8px 25px rgba(8,129,120,.40); }

/* secondary — outline, fills on hover */
.btn--line {
  color: var(--brand);
  background: none;
  border-color: var(--brand);
}
.btn--line:hover {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 25px rgba(8,129,120,.30);
}

/* tertiary — ink, white text */
.btn--ink {
  color: #fff;
  background: linear-gradient(135deg, var(--deep-2) 0%, var(--deep) 100%);
  box-shadow: 0 4px 15px rgba(22,28,36,.16);
}
.btn--ink:hover { box-shadow: 0 8px 25px rgba(22,28,36,.24); }

/* partner */
.btn--teal {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 15px rgba(8,129,120,.28);
}
.btn--teal:hover { box-shadow: 0 8px 25px rgba(8,129,120,.38); }

/* on dark ground */
.btn--inv {
  color: #fff;
  background: none;
  border-color: rgba(255,255,255,.45);
}
.btn--inv:hover {
  background: var(--g1);
  border-color: var(--g1);
  box-shadow: 0 8px 25px rgba(8,129,120,.30);
}

.btn--ghost {
  color: var(--t-mute);
  background: none;
  border-color: transparent;
  padding-inline: 12px;
}
.btn--ghost:hover { color: var(--brand); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 100%);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

/* links & triggers are always white on the teal ground */
.nav .nav__links > a,
.nav .nav__trigger {
  color: rgba(255,255,255,.82);
}
.nav .nav__links > a:hover,
.nav .nav__trigger:hover,
.nav .nav__links > a.is-current {
  color: #fff;
}
.nav .nav__links > a::after,
.nav .nav__trigger::after {
  background: rgba(255,255,255,.70);
}

/* scroll-depth cue: tighten shadow + add a subtle bottom line */
.nav.is-stuck {
  border-bottom-color: rgba(255,255,255,.15);
  box-shadow: 0 4px 24px rgba(8,129,120,.32);
}

/* logo text & mark — always white on the teal ground */
.nav .logo {
  color: #fff;
}
.nav .logo em {
  color: var(--brand-bright);
}
.nav .logo__mark {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.nav .logo:hover .logo__mark {
  background: rgba(255,255,255,.28);
}

/* CTA buttons — always adapted for the teal nav */
.nav .btn--brand {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.nav .btn--brand:hover {
  box-shadow: 0 8px 22px rgba(0,0,0,.24);
}
.nav .btn--line {
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.nav .btn--line:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
  box-shadow: none;
}

/* burger icon — always white on teal */
.nav .burger {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
}
.nav .burger span {
  background: #fff;
}

.nav__progress {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-bright), #fff);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: opacity .3s ease;
}
.nav.is-stuck .nav__progress { opacity: 1; }

.nav__row { display: flex; align-items: center; gap: 1.5rem; padding-block: .62rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.22rem; font-weight: 700; color: var(--deep); }
.logo em { font-style: normal; color: var(--brand); }
.logo__mark {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--deep);
  color: var(--brand-bright);
  font-size: .85rem;
  transition: background-color .25s ease;
}
.logo:hover .logo__mark { background: var(--brand); color: #fff; }
.logo__txt { display: inline-flex; align-items: baseline; }

.nav__links { display: flex; align-items: center; gap: .1rem; margin-left: auto; }
.nav__links > a,
.nav__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .7rem;
  border: 0;
  border-radius: var(--r-xs);
  background: transparent;
  font-size: .89rem;
  font-weight: 500;
  color: var(--t-mute);
  cursor: pointer;
  transition: color .2s ease;
}
.nav__links > a::after,
.nav__trigger::after {
  content: '';
  position: absolute;
  left: .7rem; right: .7rem;
  bottom: .1rem;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.nav__links > a:hover,
.nav__trigger:hover,
.nav__links > a.is-current { color: var(--deep); }
.nav__links > a:hover::after,
.nav__trigger:hover::after,
.nav__links > a.is-current::after { transform: scaleX(1); }
.nav__trigger i { font-size: .58rem; transition: transform .3s ease; }
.nav__trigger[aria-expanded="true"] i { transform: rotate(180deg); }
.nav__item { position: relative; }

.mega {
  position: absolute;
  top: calc(100% + .7rem);
  left: 50%;
  width: min(440px, calc(100vw - 40px));
  translate: -50% 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--brand-line);
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .26s cubic-bezier(.2,.7,.3,1), visibility .22s;
}
.mega::before { content: ''; position: absolute; inset: -10px 0 100% 0; }
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega__cols { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem; }
.mega__link {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .55rem .6rem;
  border-radius: var(--r-xs);
  transition: background-color .2s ease;
}
.mega__link i { flex: none; font-size: .85rem; color: var(--brand); margin-top: .15rem; }
.mega__link b { display: block; font-family: var(--font-ui); font-size: .87rem; font-weight: 600; color: var(--t); }
.mega__link small { font-size: .73rem; color: var(--t-faint); line-height: 1.45; }
.mega__link:hover { background: var(--brand-soft); }

.nav__cta { display: flex; align-items: center; gap: .4rem; margin-left: 1.5rem; }
.nav__mobile-cta { display: none; }

.burger {
  display: none;
  width: 40px; height: 40px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: #fff;
  cursor: pointer;
  place-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--deep);
  transition: transform .3s ease;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.2px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.2px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(2.2rem, 4.5vw, 3.4rem) 0 0;
  background: linear-gradient(150deg, var(--paper-3) 0%, var(--paper) 46%, #fff 100%);
  border-bottom: 1px solid var(--line-2);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-bottom: clamp(1.8rem, 3.4vw, 2.6rem);
}
.hero__copy { max-width: 38rem; }
.hero__art { margin: 0; }
.hero__art svg { width: 100%; height: auto; overflow: visible; }

/* ---------- hero illustration: live signing ---------- */
.ha-doc,
.ha-float {
  transform-box: fill-box;
  transform-origin: center;
  animation: haFloat 7s ease-in-out infinite;
}
.ha-float--a { animation-duration: 8.5s; animation-delay: -2s; }
.ha-float--b { animation-duration: 9.5s; animation-delay: -5s; }

@keyframes haFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* ---------- notary seal: stamps down, then sits ---------- */
.ha-seal {
  transform-box: fill-box;
  transform-origin: center;
  animation: haStamp 6s cubic-bezier(.3,1.5,.5,1) infinite;
}
@keyframes haStamp {
  0%        { transform: scale(1.5) rotate(-16deg); opacity: 0; }
  8%        { opacity: 0; }
  16%       { transform: scale(.94) rotate(3deg);  opacity: 1; }
  22%       { transform: scale(1.02) rotate(-1.5deg); }
  28%, 88%  { transform: scale(1) rotate(0deg); opacity: 1; }
  100%      { transform: scale(1.5) rotate(-16deg); opacity: 0; }
}

/* scalloped rim turns slowly, like a rolling stamp */
.ha-rim {
  transform-box: fill-box;
  transform-origin: center;
  animation: haSpin 26s linear infinite;
}
.ha-ring2 { transform-box: fill-box; transform-origin: center; }

/* uneven ink coverage over the disc */
.ha-ink { opacity: .16; mix-blend-mode: screen; }

/* engraved arc text, very slightly raised */
.ha-seal-txt {
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
}

/* the tick presses in just after the stamp lands */
.ha-tick {
  stroke-dasharray: 46;
  stroke-dashoffset: 46;
  animation: haTick 6s cubic-bezier(.4,0,.3,1) infinite;
}
@keyframes haTick {
  0%, 30%   { stroke-dashoffset: 46; opacity: 0; }
  34%       { opacity: 1; }
  50%, 88%  { stroke-dashoffset: 0; opacity: 1; }
  100%      { stroke-dashoffset: -46; opacity: 0; }
}

/* the signature writes itself, then rests */
.ha-sign {
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
  animation: haSign 5.5s cubic-bezier(.5,0,.3,1) infinite;
}
@keyframes haSign {
  0%        { stroke-dashoffset: 210; }
  45%, 85%  { stroke-dashoffset: 0; }
  100%      { stroke-dashoffset: -210; }
}

/* text lines shimmer as if content is settling */
.ha-line { animation: haShimmer 5.5s ease-in-out infinite; }
/* child 1 is the page rect, so the title bar is child 2 */
.ha-doc .ha-line:nth-child(3) { animation-delay: .15s; }
.ha-doc .ha-line:nth-child(4) { animation-delay: .3s; }
.ha-doc .ha-line:nth-child(5) { animation-delay: .45s; }
@keyframes haShimmer {
  0%, 100% { opacity: .16; }
  40%      { opacity: .32; }
}
.ha-doc .ha-line:nth-child(2) { animation: none; opacity: .82; }

/* status badge */
.ha-badge {
  transform-box: fill-box;
  transform-origin: center;
  animation: haBadge 2.8s ease-in-out infinite;
}
@keyframes haBadge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .78; transform: scale(1.05); }
}

/* ---------- live video call ---------- */
/* feed scanline sweeping down, like a live camera preview */
.ha-scan {
  transform-box: fill-box;
  transform-origin: center;
  animation: haScan 3.4s cubic-bezier(.5,0,.5,1) infinite;
}
@keyframes haScan {
  0%   { transform: translateY(-14px); opacity: 0; }
  18%  { opacity: .85; }
  82%  { opacity: .85; }
  100% { transform: translateY(48px); opacity: 0; }
}

/* LIVE badge breathes */
.ha-live { animation: haLivePulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes haLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .78; transform: scale(1.06); }
}
.ha-live-dot { animation: haBlink 1.2s steps(1,end) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes haBlink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .25; } }

/* audio level bars — staggered, like speech */
.ha-audio { transform-box: fill-box; transform-origin: bottom center; }
.ha-audio rect {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: haLevel 1s ease-in-out infinite;
}
.ha-audio rect:nth-child(1) { animation-delay: 0s; }
.ha-audio rect:nth-child(2) { animation-delay: .18s; }
.ha-audio rect:nth-child(3) { animation-delay: .36s; }
.ha-audio rect:nth-child(4) { animation-delay: .54s; }
@keyframes haLevel {
  0%, 100% { transform: scaleY(.45); }
  50%      { transform: scaleY(2.6); }
}

/* play chip — reads as a live call in progress */
.ha-play { animation: haCall 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes haCall {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

/* chart trace draws in */
.ha-spark {
  stroke-dasharray: 62;
  stroke-dashoffset: 62;
  animation: haSpark 5s cubic-bezier(.5,0,.3,1) infinite;
}
@keyframes haSpark {
  0%        { stroke-dashoffset: 62; }
  50%, 88%  { stroke-dashoffset: 0; }
  100%      { stroke-dashoffset: -62; }
}

/* ambient dots */
.ha-dot   { animation: haDot 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ha-dot--2 { animation-duration: 5.5s; animation-delay: -2.5s; }
@keyframes haDot {
  0%, 100% { transform: translateY(0); opacity: .28; }
  50%      { transform: translateY(-9px); opacity: .5; }
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.1rem;
}
.hero__kicker::before { content: ''; width: 1.6rem; height: 1px; background: var(--brand); }
.hero h1 { margin-bottom: .9rem; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--g3) 0%, var(--primary) 42%, var(--primary-darker) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* readable fallback if background-clip:text is unsupported */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em { color: var(--brand); -webkit-text-fill-color: currentColor; }
}
.hero .lead strong { color: var(--t); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1rem; }
.hero__note {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--t-faint);
}
.hero__note i { color: var(--brand); }

.hero__band {
  position: relative;
  background: linear-gradient(180deg, var(--paper-2), #fff);
  border-block: 1px solid var(--line-2);
}
/* edge glow along the top rule — emerald to amber to lime, no blue */
.hero__band::before {
  content: '';
  position: absolute;
  inset: -1px 0 auto;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--emerald-wash) 14%,
    var(--primary) 30%,
    var(--accent-6) 56%,
    var(--accent-7) 74%,
    var(--primary-lighter) 88%,
    transparent);
  opacity: .9;
}
.facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.facts li {
  position: relative;
  display: grid;
  grid-template-columns: 2.15rem 1fr;
  grid-template-areas:
    "ico k"
    "ico v";
  align-items: center;
  column-gap: .85rem;
  padding: 1.1rem 1.4rem;
  border-right: 1px solid var(--line-2);
  transition: background-color .3s ease;
}
.facts li:last-child { border-right: 0; padding-right: 0; }
.facts li:hover { background: linear-gradient(180deg, rgba(8,129,120,.05), transparent); }

/* icon tile per fact — accent tint under ink, matching the card tiles */
.facts__ico {
  grid-area: ico;
  align-self: center;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: var(--r-sm);
  font-size: .88rem;
  color: var(--deep);
  transition: transform .32s cubic-bezier(.34,1.35,.64,1), box-shadow .32s ease;
}
.facts__ico--time    { background: var(--emerald-wash);   box-shadow: 0 3px 10px rgba(8,129,120,.20); }
.facts__ico--doc     { background: var(--accent-1);        box-shadow: 0 3px 10px rgba(160,226,224,.55); }
.facts__ico--people  { background: var(--accent-5);        box-shadow: 0 3px 10px rgba(146,189,245,.55); }
.facts__ico--none    { background: var(--accent-7);        box-shadow: 0 3px 10px rgba(158,232,114,.55); }

.facts li:hover .facts__ico { transform: translateY(-2px) scale(1.06); }
.facts li:hover .facts__ico--time   { box-shadow: 0 8px 20px rgba(8,129,120,.30); }
.facts li:hover .facts__ico--doc    { box-shadow: 0 8px 20px rgba(8,129,120,.24); }
.facts li:hover .facts__ico--people { box-shadow: 0 8px 20px rgba(51,102,255,.24); }
.facts li:hover .facts__ico--none   { box-shadow: 0 8px 20px rgba(84,214,44,.30); }

.facts__k {
  grid-area: k;
  align-self: end;
  display: block;
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--t-faint);
  margin-bottom: .15rem;
}
.facts__v { grid-area: v; align-self: start; display: block; font-size: .88rem; font-weight: 500; color: var(--t); line-height: 1.4; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(2.2rem, 4.4vw, 3.6rem) 0; }
.section--tint { background: var(--paper-2); border-block: 1px solid var(--line-2); }

/* ---------- section separation without a flat tint ---------- */
.section { position: relative; }

/* hairline between stacked sections */
.section + .section::before {
  content: '';
  position: absolute;
  inset: 0 var(--gut) auto;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--line-2) 12%,
    var(--line-2) 88%,
    transparent);
  pointer-events: none;
}

/* soft accent wash bleeding in from the top-left of each section */
.section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58rem 26rem at 8% -6%, rgba(8,129,120,.055), transparent 62%),
    radial-gradient(44rem 22rem at 96% 4%, rgba(250,184,81,.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.section > * { position: relative; z-index: 1; }

/* alternate which corner the wash favours */
.section:nth-of-type(even)::after {
  background:
    radial-gradient(58rem 26rem at 94% -6%, rgba(8,129,120,.055), transparent 62%),
    radial-gradient(44rem 22rem at 6% 4%, rgba(250,184,81,.05), transparent 60%);
}

/* the wash breathes very slightly */
.section::after { animation: washDrift 18s ease-in-out infinite; }
@keyframes washDrift {
  0%, 100% { opacity: 1; }
  50%      { opacity: .72; }
}
.section--dark {
  background: var(--deep);
  color: var(--t-inv);
  position: relative;
  isolation: isolate;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3));
  z-index: 1;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.split-head {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 1rem clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(1.4rem, 2.8vw, 2.1rem);
}
.split-head h2 { margin: 0; }
.split-head > p { color: var(--t-mute); font-size: .92rem; padding-bottom: .3rem; }

/* stacked variant — intro sits directly under the heading */
.split-head--stack {
  display: block;
  max-width: 46rem;
  margin-bottom: clamp(1.8rem, 3.4vw, 2.6rem);
}
.split-head--stack h2 { margin-bottom: .7rem; }
.split-head--stack > p {
  max-width: 38rem;
  font-size: .95rem;
  line-height: 1.65;
  padding-bottom: 0;
}
.section--dark .split-head > p { color: var(--t-inv-mut); }

/* ============================================================
   CARDS
   ============================================================ */
.cards { display: grid; gap: .9rem; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: grid;
  align-content: start;
  padding: 1.3rem 1.35rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 24px rgba(22,28,36,.07);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.card:hover {
  border-color: rgba(8,129,120,.34);
  box-shadow: 0 12px 40px rgba(8,129,120,.22);
  transform: translateY(-4px);
}
.card__i {
  width: 2.5rem; height: 2.5rem;
  display: grid;
  place-items: center;
  margin-bottom: .75rem;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
  color: #fff;
  font-size: .95rem;
  box-shadow: 0 3px 10px rgba(8,129,120,.30);
  transition: transform .3s ease;
}
.card:hover .card__i { transform: translateY(-2px) rotate(-4deg); }
.card__n {
  position: absolute;
  top: 1.3rem; right: 1.35rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--t-faint);
}
.card b {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.024em;
  color: var(--t);
  margin-bottom: .3rem;
}
.card small { font-size: .82rem; line-height: 1.55; color: var(--t-mute); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line-2); }
.card:not(.card--all) .card__foot { margin-top: 1rem; }
.card__lang { display: inline-flex; align-items: center; padding: .2rem .6rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--paper-2); font-size: .76rem; font-weight: 600; color: var(--t-secondary); }
.card__lang i { margin-right: .35rem; color: var(--brand); }
.card .card__go { margin-top: 0; margin-left: auto; color: var(--brand); }
.card__go {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .85rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand);
}
.card__go i { font-size: .68rem; transition: transform .25s ease; }
.card:hover .card__go i { transform: translateX(4px); }

.card--all {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
  border-color: transparent;
  box-shadow: 0 8px 26px rgba(8,129,120,.28);
}
.card--all .card__i { background: rgba(255,255,255,.22); color: #fff; box-shadow: none; }
.card.card--all b { color: #fff; }
.card.card--all small { color: rgba(255,255,255,.95); }
.card--all .card__go { color: #fff; }
.card--all:hover { box-shadow: 0 14px 40px rgba(8,129,120,.34); border-color: transparent; }

/* ---------- accent tiles ----------
   Every accent sits in the light band, so the glyph is ink, never white. */
.card--a1 .card__i { background: var(--accent-1); color: var(--deep); }
.card--a2 .card__i { background: var(--accent-2); color: var(--deep); }
.card--a3 .card__i { background: var(--accent-3); color: var(--deep); }
.card--a4 .card__i { background: var(--accent-4); color: var(--deep); }
.card--a5 .card__i { background: var(--accent-5); color: var(--deep); }
.card--a6 .card__i { background: var(--accent-6); color: var(--deep); }
.card--a7 .card__i { background: var(--accent-7); color: var(--deep); }
.card--a1 .card__i { box-shadow: 0 3px 10px rgba(8,129,120,.22); }
.card--a5 .card__i { box-shadow: 0 3px 10px rgba(146,189,245,.45); }
.card--a6 .card__i { box-shadow: 0 3px 10px rgba(250,184,81,.45); }
.card--a7 .card__i { box-shadow: 0 3px 10px rgba(158,232,114,.45); }
.card--a3 .card__i { box-shadow: 0 3px 10px rgba(255,192,145,.45); }

/* hairline picks up a hint of the accent */
.card--a1:hover { border-color: rgba(160,226,224,.9); }
.card--a5:hover { border-color: rgba(146,189,245,.9); }
.card--a6:hover { border-color: rgba(250,184,81,.9); }
.card--a7:hover { border-color: rgba(158,232,114,.9); }
.card--a3:hover { border-color: rgba(255,192,145,.9); }

/* phase + duo washes */
/* live-video badge uses the error red from the scale */
.ha-live rect { fill: var(--error); }

/* two-up */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.duo__item {
  display: grid;
  align-content: start;
  padding: 1.4rem 1.45rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 24px rgba(22,28,36,.07);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.duo__item:hover { border-color: rgba(8,129,120,.34); box-shadow: 0 12px 40px rgba(8,129,120,.22); transform: translateY(-4px); }
.duo__item b {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -.024em;
  color: var(--t);
  margin-bottom: .35rem;
}
.duo__item small { font-size: .85rem; line-height: 1.6; color: var(--t-mute); }
.duo__tag {
  justify-self: start;
  margin-top: .9rem;
  padding: .3rem .7rem;
  border-radius: 99px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ============================================================
   PROCESS — steps timeline
   ============================================================ */

.how__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: clamp(1.2rem, 2.4vw, 1.6rem); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: start; }
.faq__aside { position: sticky; top: 110px; }
.faq__aside h2 { margin-bottom: .7rem; }
.faq__aside p { color: var(--t-inv-mut); font-size: .87rem; margin-bottom: 1rem; }
.faq__aside a { color: var(--brand-bright); border-bottom: 1px solid rgba(94,217,186,.42); }

.acc { display: grid; }
.acc details { border-bottom: 1px solid var(--deep-line); }
.acc details:first-child { border-top: 1px solid var(--deep-line); }
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  list-style: none;
  cursor: pointer;
  padding: 1rem .2rem;
  font-family: var(--font-display);
  font-size: .97rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #fff;
  transition: color .2s ease;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--brand-bright); }
.acc summary i { flex: none; font-size: .7rem; color: var(--t-inv-mut); transition: transform .3s ease, color .2s ease; }
.acc details[open] summary i { transform: rotate(45deg); color: var(--brand-bright); }
.acc details p { padding: 0 .2rem 1.1rem; font-size: .87rem; line-height: 1.65; color: var(--t-inv-mut); max-width: 64ch; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta {
  position: relative;
  background:
    radial-gradient(760px 320px at 10% 130%, rgba(8,129,120,.34), transparent 68%),
    var(--deep);
  color: #fff;
  padding: clamp(2rem, 4.4vw, 3rem) 0;
}
.cta__inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.cta h2 { margin-bottom: .5rem; }
.cta p { color: #C4CDD5; font-size: .95rem; }
.cta__actions { display: grid; gap: .6rem; justify-items: stretch; }
.cta__actions .btn { width: 100%; }

.foot {
  background: var(--deep-3);
  color: var(--t-inv-mut);
  padding: clamp(2.2rem, 4.4vw, 3rem) 0 1.4rem;
  border-top: 1px solid var(--deep-line);
}
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem 1.5rem; align-items: start; }
.logo--light { color: #fff; margin-bottom: .9rem; }
.logo--light em { color: var(--brand-bright); }
.foot__brand p { font-size: .85rem; max-width: 36ch; }
.foot__social { display: flex; gap: .4rem; margin-top: 1.1rem; }
.foot__social a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  font-size: .8rem;
  color: var(--t-inv-mut);
  border: 1px solid var(--deep-line);
  transition: all .3s ease;
}
.foot__social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.foot h4 {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8D97A6;
  margin-bottom: 1rem;
}
.foot__col a {
  display: block;
  width: fit-content;
  font-size: .88rem;
  line-height: 1.5;
  padding-block: .34rem;
  color: var(--t-inv-mut);
  transition: color .2s ease;
}
.foot__col a:hover { color: var(--brand-bright); }

/* The <address> element carries the class itself, so these target
   `.foot__addr` directly rather than a descendant. */
.foot__addr {
  display: block;
  font-style: normal;
  font-size: .86rem;
  line-height: 1.85;
  color: var(--t-inv-mut);
}
.foot__addr b { display: block; color: #fff; font-weight: 600; margin-bottom: .15rem; }
.foot__addr-meta { display: grid; gap: .35rem; margin-top: .9rem; }
.foot__addr-meta > div { display: flex; align-items: baseline; gap: .7rem; }
.foot__addr-meta dt {
  flex: 0 0 4.4rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6A7282;
}
.foot__addr-meta dd { margin: 0; font-size: .84rem; color: #fff; }
.foot__addr-meta a:hover { color: var(--brand-bright); }
.foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--deep-line);
  font-size: .76rem;
  color: #6A7282;
}

.totop {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 70;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--brand-line);
  background: #fff;
  color: var(--deep);
  font-size: .8rem;
  cursor: pointer;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
}
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .07s }
.reveal[data-delay="2"] { transition-delay: .14s }
.reveal[data-delay="3"] { transition-delay: .21s }
.reveal[data-delay="4"] { transition-delay: .28s }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero__art { max-width: 400px; }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(2) { border-right: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__addr-meta { grid-template-columns: 1fr 1fr; }
  .foot__addr-meta > div { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .foot__addr-meta dt { flex: none; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; padding-bottom: 0; }
  .hero__copy { max-width: none; }
  .hero__art { display: none; }

  .burger { display: grid; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: .6rem var(--gut) 1.2rem;
    background: rgba(255,255,255,.99);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .32s ease;
  }
  .nav__links.open { clip-path: inset(0 0 0 0); }
  .nav__links > a,
  .nav__trigger { padding: .7rem .2rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .nav__links > a::after, .nav__trigger::after { display: none; }
  .mega {
    position: static;
    width: auto;
    translate: none;
    grid-template-columns: 1fr;
    padding: .5rem 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    display: none;
    transform: none;
  }
  .mega.open { display: grid; opacity: 1; visibility: visible; }
  .nav__mobile-cta { display: flex; gap: .5rem; margin-top: 1rem; }
  .nav__mobile-cta .btn { flex: 1; }

  .faq, .cta__inner, .duo, .split-head { grid-template-columns: 1fr; }
  .split-head { align-items: start; }
  .faq__aside { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .cards--3, .cards--4, .duo, .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts li { border-right: 0; }
  .facts li:nth-child(n+2) { border-top: 1px solid var(--line-2); }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__base { flex-direction: column; }
  .foot__addr-meta { grid-template-columns: 1fr; }
}

/* ---------- status palette, applied where it is legible ----------
   Mid-tones (success #54D62C, warning #FFC107, info #1890FF,
   error-light #EF6168) sit below 4.5:1 as body text, so they are used
   as fills with ink on top, or for non-text marks only.
   The -lighter steps carry text; the -dark steps carry text on white. */
.caps { color: var(--secondary-dark); }
.card__n { color: var(--t-disabled); }
.card small { color: var(--t-secondary); }
.card__go { color: var(--secondary); }
.card:hover .card__go { color: var(--info-dark); }
.card b, .steps b, .duo__item b { color: var(--t-primary); }

.duo__tag { background: var(--brand-soft); color: var(--primary-dark); }
.duo__item--a5 .duo__tag {
  background: var(--secondary-lighter);
  color: var(--secondary-dark);
}

/* phase status chips: lighter steps hold text comfortably */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .16rem .5rem;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--deep);
}
.chip--info    { background: var(--emerald-wash); }
.chip--sign    { background: var(--secondary-lighter); }
.chip--warn    { background: var(--warning-lighter); }
.chip--success { background: #E8F5EE; }
.chip--seal   { background: #E8F5EE; }
.chip--error   { background: var(--error-lighter); }

/* hairline tints from the alpha steps */
.step--book    { border-left: 2px solid var(--primary-a16); }
.card--a1 { border-top: 2px solid var(--primary-a16); }
.card--a7:hover { border-color: rgba(158,232,114,.9); }

/* ---------- content effects ---------- */

/* steps read as one continuous timeline */
/* ---------- journey: three phase timelines ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
}
.steps__group {
  position: relative;
  padding: 1.35rem 1.35rem 1.15rem;
  border: 1px solid var(--wash-line, var(--line-2));
  border-radius: var(--r-lg);
  background: var(--wash, var(--card));
  transition: transform .32s cubic-bezier(.34,1.35,.64,1),
              box-shadow .32s ease, border-color .3s ease;
}
.steps__group:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(22,28,36,.09);
}
.steps__group--info:hover    { border-color: rgba(8,129,120,.30); }
.steps__group--sign:hover    { border-color: rgba(25,57,183,.45); }
.steps__group--success:hover { border-color: rgba(13,74,51,.45); }

.steps__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem .7rem;
  padding-bottom: .9rem;
  margin-bottom: .3rem;
}
.steps__head b {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -.022em;
  /* hue-matched rather than near-black: 4.8-7.1:1 on the wash,
     which reads lighter than ink at 12-16:1 without going faint */
  color: var(--dot);
}
.steps__list { list-style: none; display: grid; }

/* the rail runs behind the dots */
.step {
  position: relative;
  display: grid;
  grid-template-columns: 1.85rem 1fr;
  gap: 0 .75rem;
  padding: .7rem 0;
}
.step::before {
  content: '';
  position: absolute;
  left: .9rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--rail, var(--primary-a16)), transparent);
  opacity: .5;
}
.step:first-child::before { top: .95rem; }
.step:last-child::before  { bottom: auto; height: .95rem; }
.step:first-child:last-child::before { display: none; }

.step__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 600;
  color: var(--t-mute);
  transition: transform .3s cubic-bezier(.34,1.4,.64,1),
              background-color .3s ease, color .3s ease, border-color .3s ease;
}
.step:hover .step__dot { transform: scale(1.1); }
.step__body { padding-top: .28rem; }
.step__body b {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.018em;
  color: var(--t-primary);
  margin-bottom: .15rem;
}
.step__body small { display: block; font-size: .8rem; line-height: 1.5; color: var(--t-secondary); }

/* filled dot in the group's own hue once reached */
.steps__group--info {
  --rail: rgba(8,129,120,.40); --dot: var(--primary);
  --wash: var(--emerald-wash); --wash-line: rgba(8,129,120,.22);
}
.steps__group--sign {
  --rail: rgba(25,57,183,.34); --dot: var(--secondary-dark);
  --wash: var(--secondary-lighter); --wash-line: rgba(25,57,183,.22);
}
.steps__group--success {
  --rail: rgba(13,74,51,.35); --dot: var(--nh-green, #0D4A33);
  --wash: #E8F5EE; --wash-line: rgba(13,74,51,.22);
}
.step:hover .step__dot { border-color: var(--dot); color: var(--dot); }

/* the live call is the one step that is happening right now */
.step--live .step__dot {
  background: var(--nh-green, #0D4A33);  /* the live marker */
  border-color: var(--nh-green, #0D4A33);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(30,155,106,.55);
  animation: stepLive 2.2s ease-out infinite;
}
@keyframes stepLive {
  0%   { box-shadow: 0 0 0 0 rgba(30,155,106,.5); }
  70%  { box-shadow: 0 0 0 11px rgba(30,155,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,155,106,0); }
}
.step__tag {
  display: inline-block;
  margin-left: .4rem;
  padding: .1rem .42rem;
  border-radius: 99px;
  background: #E8F5EE;
  color: #0D4A33;
  font-family: var(--font-mono);
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  vertical-align: middle;
}

.how__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: clamp(1.2rem, 2.4vw, 1.6rem); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: start; }
.faq__aside { position: sticky; top: 110px; }
.faq__aside h2 { margin-bottom: .7rem; }
.faq__aside p { color: var(--t-inv-mut); font-size: .87rem; margin-bottom: 1rem; }
.faq__aside a { color: var(--brand-bright); border-bottom: 1px solid rgba(94,217,186,.42); }

.acc { display: grid; }
.acc details { border-bottom: 1px solid var(--deep-line); }
.acc details:first-child { border-top: 1px solid var(--deep-line); }
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  list-style: none;
  cursor: pointer;
  padding: 1rem .2rem;
  font-family: var(--font-display);
  font-size: .97rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #fff;
  transition: color .2s ease;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--brand-bright); }
.acc summary i { flex: none; font-size: .7rem; color: var(--t-inv-mut); transition: transform .3s ease, color .2s ease; }
.acc details[open] summary i { transform: rotate(45deg); color: var(--brand-bright); }
.acc details p { padding: 0 .2rem 1.1rem; font-size: .87rem; line-height: 1.65; color: var(--t-inv-mut); max-width: 64ch; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta {
  position: relative;
  background:
    radial-gradient(760px 320px at 10% 130%, rgba(8,129,120,.34), transparent 68%),
    var(--deep);
  color: #fff;
  padding: clamp(2rem, 4.4vw, 3rem) 0;
}
.cta__inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.cta h2 { margin-bottom: .5rem; }
.cta p { color: #C4CDD5; font-size: .95rem; }
.cta__actions { display: grid; gap: .6rem; justify-items: stretch; }
.cta__actions .btn { width: 100%; }

.foot {
  background: var(--deep-3);
  color: var(--t-inv-mut);
  padding: clamp(2.2rem, 4.4vw, 3rem) 0 1.4rem;
  border-top: 1px solid var(--deep-line);
}
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem 1.5rem; align-items: start; }
.logo--light { color: #fff; margin-bottom: .9rem; }
.logo--light em { color: var(--brand-bright); }
.foot__brand p { font-size: .85rem; max-width: 36ch; }
.foot__social { display: flex; gap: .4rem; margin-top: 1.1rem; }
.foot__social a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  font-size: .8rem;
  color: var(--t-inv-mut);
  border: 1px solid var(--deep-line);
  transition: all .3s ease;
}
.foot__social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.foot h4 {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8D97A6;
  margin-bottom: 1rem;
}
.foot__col a {
  display: block;
  width: fit-content;
  font-size: .88rem;
  line-height: 1.5;
  padding-block: .34rem;
  color: var(--t-inv-mut);
  transition: color .2s ease;
}
.foot__col a:hover { color: var(--brand-bright); }

/* The <address> element carries the class itself, so these target
   `.foot__addr` directly rather than a descendant. */
.foot__addr {
  display: block;
  font-style: normal;
  font-size: .86rem;
  line-height: 1.85;
  color: var(--t-inv-mut);
}
.foot__addr b { display: block; color: #fff; font-weight: 600; margin-bottom: .15rem; }
.foot__addr-meta { display: grid; gap: .35rem; margin-top: .9rem; }
.foot__addr-meta > div { display: flex; align-items: baseline; gap: .7rem; }
.foot__addr-meta dt {
  flex: 0 0 4.4rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6A7282;
}
.foot__addr-meta dd { margin: 0; font-size: .84rem; color: #fff; }
.foot__addr-meta a:hover { color: var(--brand-bright); }
.foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--deep-line);
  font-size: .76rem;
  color: #6A7282;
}

.totop {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 70;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--brand-line);
  background: #fff;
  color: var(--deep);
  font-size: .8rem;
  cursor: pointer;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
}
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .07s }
.reveal[data-delay="2"] { transition-delay: .14s }
.reveal[data-delay="3"] { transition-delay: .21s }
.reveal[data-delay="4"] { transition-delay: .28s }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero__art { max-width: 400px; }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(2) { border-right: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__addr-meta { grid-template-columns: 1fr 1fr; }
  .foot__addr-meta > div { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .foot__addr-meta dt { flex: none; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; padding-bottom: 0; }
  .hero__copy { max-width: none; }
  .hero__art { display: none; }

  .burger { display: grid; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: .6rem var(--gut) 1.2rem;
    background: rgba(255,255,255,.99);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .32s ease;
  }
  .nav__links.open { clip-path: inset(0 0 0 0); }
  .nav__links > a,
  .nav__trigger { padding: .7rem .2rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .nav__links > a::after, .nav__trigger::after { display: none; }
  .mega {
    position: static;
    width: auto;
    translate: none;
    grid-template-columns: 1fr;
    padding: .5rem 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    display: none;
    transform: none;
  }
  .mega.open { display: grid; opacity: 1; visibility: visible; }
  .nav__mobile-cta { display: flex; gap: .5rem; margin-top: 1rem; }
  .nav__mobile-cta .btn { flex: 1; }

  .faq, .cta__inner, .duo, .split-head { grid-template-columns: 1fr; }
  .split-head { align-items: start; }
  .faq__aside { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .cards--3, .cards--4, .duo, .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts li { border-right: 0; }
  .facts li:nth-child(n+2) { border-top: 1px solid var(--line-2); }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__base { flex-direction: column; }
  .foot__addr-meta { grid-template-columns: 1fr; }
}

/* ---------- accent washes ----------
   Placed last so these win over the .duo__item base rules. */

.duo__item--a1 { background: var(--emerald-wash); }
.duo__item--a5 { background: #EFF5FE; }
.duo__item--a1:hover { border-color: rgba(8,129,120,.34); }
.duo__item--a5:hover { border-color: rgba(25,57,183,.34); }

/* ---------- status palette, applied where it is legible ----------
   Mid-tones (success #54D62C, warning #FFC107, info #1890FF,
   error-light #EF6168) sit below 4.5:1 as body text, so they are used
   as fills with ink on top, or for non-text marks only.
   The -lighter steps carry text; the -dark steps carry text on white. */
.caps { color: var(--secondary-dark); }
.card__n { color: var(--t-disabled); }
.card small { color: var(--t-secondary); }
.card__go { color: var(--secondary); }
.card:hover .card__go { color: var(--info-dark); }
.card b, .steps b, .duo__item b { color: var(--t-primary); }

.duo__tag { background: var(--brand-soft); color: var(--primary-dark); }
.duo__item--a5 .duo__tag {
  background: var(--secondary-lighter);
  color: var(--secondary-dark);
}

/* phase status chips: lighter steps hold text comfortably */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .16rem .5rem;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--deep);
}
.chip--info    { background: var(--emerald-wash); }
.chip--sign    { background: var(--secondary-lighter); }
.chip--warn    { background: var(--warning-lighter); }
.chip--success { background: #E8F5EE; }
.chip--seal   { background: #E8F5EE; }
.chip--error   { background: var(--error-lighter); }

/* hairline tints from the alpha steps */
.step--book    { border-left: 2px solid var(--primary-a16); }
.card--a1 { border-top: 2px solid var(--primary-a16); }
.card--a7:hover { border-color: rgba(158,232,114,.9); }

/* ---------- content effects ---------- */

.steps__list .step { transition: transform .3s cubic-bezier(.34,1.35,.64,1); }
.steps__list .step:hover { transform: translateX(3px); }

/* cards lift on a spring, accent border follows */
.card { transition: transform .32s cubic-bezier(.34,1.35,.64,1), box-shadow .32s ease, border-color .3s ease; }
.card:hover { transform: translateY(-5px); }
.card:hover .card__i { transform: translateY(-2px) rotate(-4deg) scale(1.06); }

/* phase cards get a coloured left edge on hover */

.duo__item { transition: transform .32s cubic-bezier(.34,1.35,.64,1), box-shadow .32s ease, border-color .3s ease; }
.duo__item:hover { transform: translateY(-4px); }

/* chips brighten on hover */
.chip { transition: transform .25s ease, box-shadow .25s ease; }
.chip:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(22,28,36,.12); }

/* section headings settle in */
.split-head h2 { position: relative; }
.split-head h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -.45rem;
  width: 2.4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity .5s ease .1s, transform .5s cubic-bezier(.4,0,.2,1) .1s;
}
.reveal.in .split-head h2::after { opacity: 1; transform: scaleX(1); }

/* Phase headings take their phase hue.
   Placed after `.steps b { color: var(--t-primary) }`, which also
   matches the Book/Sign/Seal headings inside the .steps container. */
.steps__head b { color: var(--dot); }

/* ---------- card link hover on the teal gradient card ----------
   `.card:hover .card__go` (0,3,0) outranks `.card--all .card__go` (0,2,0),
   so the gradient card's link flipped to blue on hover. Restate it with
   matching specificity. `--warning-light` is the theme's warm-on-dark step
   (the live marker uses it the same way); white would read as no change,
   and the saturated --warning only manages 2.91:1 on the light end. */
.card--all .card__go { color: #fff; }
.card.card--all:hover .card__go { color: var(--warning-light); }

/* ---------- footer brand column, contact bar, legal links ----------
   The registered office sits in a full-width bar under the link grid, not in a
   grid cell. As a cell it was one of five narrow columns, which wrapped the
   address to ~11 lines and set the grid height for the whole footer. Across
   the full width it fits in two or three lines and costs ~90px total. */
.foot__brand p { margin: 0; }
.foot__brand .foot__social { margin-top: 1.4rem; }

.foot__contact {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1rem 2.5rem;
  align-items: start;
  margin-top: clamp(1.8rem, 3.4vw, 2.4rem);
  padding-top: clamp(1.2rem, 2.4vw, 1.6rem);
  border-top: 1px solid var(--deep-line);
}
.foot__contact-addr h4 { margin-bottom: .45rem; }
.foot__contact .foot__addr { margin-top: 0; line-height: 1.7; }

/* Flex, not grid: `auto` grid columns collapsed the value side to 29px
   (word-break let min-content collapse) and wrapped every contact row. */
.foot__addr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.8rem;
  margin-top: 0;
}
.foot__addr-meta > div { display: flex; align-items: baseline; gap: .45rem; }
.foot__addr-meta dt { flex: 0 0 auto; white-space: nowrap; }
.foot__addr-meta dt i { margin-right: .35rem; color: var(--brand-bright); }
.foot__addr-meta dd { margin: 0; font-size: .82rem; white-space: nowrap; }
.foot__addr-meta dd a:hover { color: var(--brand-bright); }

/* Labels stay inline with their values here. The pre-existing tablet rule
   flipped these rows to `flex-direction: column` with a fixed 4.4rem basis,
   which wrapped "Email" across three lines and made the block 362px tall. */
@media (max-width: 900px) {
  .foot__contact { grid-template-columns: 1fr; gap: 1.4rem; }
  .foot__addr-meta { flex-direction: column; gap: .35rem; }
}

.foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.4rem;
}.foot__legal a {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--t-inv-mut);
  transition: color .2s ease;
}
.foot__legal a:hover { color: var(--brand-bright); }

/* ---------- footer depth, borders, gradients, theme hovers ----------
   The dividers used --deep-line (rgba(22,28,36,.12)) which is dark ink on a
   dark ground, so the section breaks were effectively invisible and the whole
   footer read as one flat slab. Everything below works off theme tokens:
   --brand / --primary for hover, --brand-bright for text on dark. */
.foot {
  background:
    radial-gradient(820px 300px at 12% 0%, rgba(8,129,120,.22), transparent 70%),
    radial-gradient(620px 260px at 92% 100%, rgba(8,129,120,.12), transparent 72%),
    var(--deep-3);
}

/* Contact bar becomes a lifted card so it reads as its own block. */
.foot__contact {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, rgba(255,255,255,.055) 0%, rgba(255,255,255,.015) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 40px -24px rgba(0,0,0,.75);
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.foot__contact:hover {
  border-color: rgba(94,217,186,.28);
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 22px 48px -22px rgba(8,129,120,.55);
}

.foot__base { border-top: 1px solid rgba(255,255,255,.10); align-items: center; gap: .6rem 2rem; }
.foot__base-l { display: grid; gap: .25rem; }

/* Column headings carry the theme gradient, matching the card headings. */
.foot__col h4 {
  background: linear-gradient(96deg, var(--brand-bright) 0%, #fff 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.foot__col a {
  position: relative;
  transition: color .2s ease, transform .2s ease;
}
.foot__col a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .18rem;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-bright), rgba(94,217,186,0));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity .2s ease, transform .25s cubic-bezier(.4,0,.2,1);
}
.foot__col a:hover { color: var(--brand-bright); transform: translateX(3px); }
.foot__col a:hover::after { opacity: 1; transform: scaleX(1); }
.foot__col a:focus-visible { color: var(--brand-bright); }

.foot__addr b { transition: color .2s ease; }
.foot__contact:hover .foot__addr b { color: var(--brand-bright); }

.foot__social a { font-size: .95rem; }
.foot__social a i.fa-whatsapp { font-size: 1.05rem; }
.foot__social a[aria-label="Facebook"]:hover,
.foot__social a[aria-label="X (formerly Twitter)"]:hover,
.foot__social a[aria-label="LinkedIn"]:hover,
.foot__social a[aria-label="Instagram"]:hover,
.foot__social a[aria-label="YouTube"]:hover,
.foot__social a[aria-label="WhatsApp"]:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(8,129,120,.65);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---- dynamic documents: loading, few-item and message states ---- */
.cards--1 { grid-template-columns: minmax(0, 1fr); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card--skel { min-height: 170px; pointer-events: none; background: linear-gradient(100deg, #F1F3F5 30%, #F8F9FA 50%, #F1F3F5 70%); background-size: 200% 100%; animation: cardShimmer 1.4s linear infinite; }
@keyframes cardShimmer { to { background-position: -200% 0; } }
.cards__msg { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.4rem; border: 1px dashed #C9D1D9; border-radius: 14px; background: #F8F9FA; }
.cards__msg b { font-size: 1rem; }
.cards__msg p { color: #5B6670; max-width: 60ch; }
.cards[aria-busy="true"] .card--skel { display: block; }
@media (max-width: 600px) { .cards--2 { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .card--skel { animation: none; } }

/* ---- hero: gradient + dotted pattern ---- */
.hero {
  isolation: isolate;
  background:
    radial-gradient(58% 75% at 92% 0%, rgba(94,217,186,.38) 0, transparent 70%),
    radial-gradient(48% 60% at 0% 100%, rgba(146,189,245,.28) 0, transparent 70%),
    radial-gradient(35% 45% at 55% 0%, rgba(160,226,224,.30) 0, transparent 70%),
    linear-gradient(150deg, var(--paper-3) 0%, var(--paper) 46%, #fff 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(5,109,110,.30) 1.3px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(75% 100% at 78% 22%, #000 0%, rgba(0,0,0,.45) 45%, transparent 80%);
          mask-image: radial-gradient(75% 100% at 78% 22%, #000 0%, rgba(0,0,0,.45) 45%, transparent 80%);
}

/* ---- notary seal: real ink stamp ---- */
.ha-stamp { color: #C4122F; mix-blend-mode: multiply; opacity: .93; }
.ha-stamp .ha-seal-txt { text-transform: uppercase; }

/* ---- language switcher ---- */
.lang { position: relative; margin-left: .5rem; }
.lang__btn {
  display: inline-flex; align-items: center; gap: .4rem;
  height: 38px; padding: 0 .7rem;
  border: 1px solid rgba(255,255,255,.40); border-radius: var(--r-xs); background: rgba(255,255,255,.12);
  font: 600 .8rem/1 var(--font-ui); color: #fff; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.lang__btn:hover { border-color: rgba(255,255,255,.70); background: rgba(255,255,255,.22); color: #fff; }
.lang__chev { font-size: .6rem; transition: transform .2s; }
.lang.open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 156px; margin: 0; padding: .35rem; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 16px 40px rgba(22,28,36,.14);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__opt {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  width: 100%; padding: .55rem .7rem; border: 0; border-radius: 6px; background: none;
  font: 500 .9rem/1.2 var(--font-ui); color: var(--t); text-align: left; cursor: pointer;
}
.lang__opt:hover { background: var(--brand-soft); }
.lang__opt[aria-current="true"] { color: var(--brand); font-weight: 600; }
.lang__opt[aria-current="true"]::after { content: "✓"; font-size: .8rem; }
@media (max-width: 900px) {
  .lang { margin-left: auto; }
  .burger { margin-left: .5rem; }
}

/* ---- Hindi: Devanagari fallback fonts and calmer spacing ---- */
html[lang="hi"] {
  --font-display: 'Inter Tight', 'Inter', 'Noto Sans Devanagari', system-ui, sans-serif;
  --font-ui: 'Inter', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Noto Sans Devanagari', ui-monospace, monospace;
}
html[lang="hi"] body *:not(svg):not(svg *) { letter-spacing: normal !important; }
html[lang="hi"] body { line-height: 1.7; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { line-height: 1.25; }

/* ---- header: keep labels on one line now the switcher takes space ---- */
.nav__links > a, .nav__trigger { white-space: nowrap; }
.nav__row { gap: 1rem; }
.nav__cta { margin-left: .75rem; }
@media (min-width: 901px) and (max-width: 1180px) {
  .nav__links > a, .nav__trigger { padding-inline: .5rem; font-size: .86rem; }
  .nav__cta .btn--ghost { display: none; }
}

/* ---- wider page ---- */
:root { --wrap: 1320px; --gut: clamp(20px, 4vw, 56px); }
@media (min-width: 1700px) { :root { --wrap: 1520px; } }
@media (min-width: 2200px) { :root { --wrap: 1760px; } }
@media (min-width: 1700px) {
  .cards--3:not(.cards--1):not(.cards--2) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* container: --wrap is the CONTENT width; gutters sit outside it */
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); }

/* ---- smaller hero ---- */
.hero { padding-top: clamp(1rem, 2vw, 1.5rem); }
.hero__grid { padding-bottom: .9rem; gap: clamp(1rem, 3vw, 2.5rem); }
.hero__kicker { margin-bottom: .6rem; }
.hero h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; margin-bottom: .6rem; }
.hero .lead { font-size: 1rem; line-height: 1.55; margin-bottom: 0; }
.hero__actions { margin-top: 1rem; }
.hero__actions .btn--lg { padding-block: .7rem; }
.hero__note { margin-top: .7rem; }
.hero__art { max-width: 330px; width: 100%; justify-self: end; }
.facts li { padding-block: .7rem; }
@media (max-width: 900px) { .hero__art { display: none; } }

/* ---- hero: balanced size (between compact and original) ---- */
.hero { padding-top: clamp(1.6rem, 3vw, 2.4rem); }
.hero__grid { padding-bottom: 1.4rem; }
.hero__kicker { margin-bottom: .9rem; }
.hero h1 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); margin-bottom: .9rem; }
.hero .lead { font-size: 1.08rem; }
.hero__actions { margin-top: 1.3rem; }
.hero__actions .btn--lg { padding-block: .85rem; }
.hero__note { margin-top: 1rem; }
.hero__art { max-width: 450px; }
.facts li { padding-block: .9rem; }

/* ---- hero: feature chips floating around the notarised document ---- */
.hero__art { position: relative; }
.hero__chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .7rem; border-radius: 999px;
  background: #fff; border: 1px solid #DFE3E8;
  box-shadow: 0 6px 18px rgba(22,28,36,.10);
  font-size: .74rem; font-weight: 600; color: #161C24; white-space: nowrap;
}
.hero__chip i { color: var(--brand); font-size: .8rem; }
.hero__chip--a { top: 4%;  left: -4%; }
.hero__chip--b { top: 46%; right: -6%; }
.hero__chip--c { bottom: 2%; left: 2%; }

/* ---- hero chips: gentle float on all, plus per-chip icon motion ---- */
.hero__chip { animation: haFloat 7s ease-in-out infinite; }
.hero__chip--b { animation-duration: 8.5s; animation-delay: -3s; }
.hero__chip--c { animation-duration: 9s; animation-delay: -5s; }
.hero__chip i { display: inline-block; }

/* Aadhaar eSign: shield pulses with an expanding verification ring, label shimmers */
.hero__chip--a { overflow: hidden; }
.hero__chip--a i { position: relative; animation: chipShield 2.6s ease-in-out infinite; }
.hero__chip--a i::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--brand); opacity: 0;
  animation: chipRing 2.6s ease-out infinite;
}
.hero__chip--a::before {
  content: ''; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(94,217,186,.45), transparent);
  transform: translateX(-120%); animation: chipShine 3.8s ease-in-out infinite;
}
@keyframes chipShield { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.22); } }
@keyframes chipRing   { 0% { transform: scale(.6); opacity: .8; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes chipShine  { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(380%); } }

/* Sealed PDF: icon bobs like a download arrow */
.hero__chip--c { position: absolute; overflow: hidden; }
.hero__chip--c i { animation: chipDownload 1.8s ease-in-out infinite; }
@keyframes chipDownload { 0%, 100% { transform: translateY(-1.5px); } 50% { transform: translateY(2px); } }

/* Live video chip: red "on air" dot with a broadcast ripple, camera icon pulses */
.hero__chip--b { padding-left: .55rem; }
.hero__chip--b::before {
  content: ''; width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--error, #CB0233); flex: none;
  box-shadow: 0 0 0 0 rgba(203,2,51,.55);
  animation: chipLive 1.6s ease-out infinite;
}
.hero__chip--b i { animation: chipCam 3.2s ease-in-out infinite; }
@keyframes chipLive {
  0%   { box-shadow: 0 0 0 0 rgba(203,2,51,.55); opacity: 1; }
  70%  { box-shadow: 0 0 0 7px rgba(203,2,51,0); opacity: .55; }
  100% { box-shadow: 0 0 0 0 rgba(203,2,51,0); opacity: 1; }
}
@keyframes chipCam { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.25); } 94% { transform: scale(.95); } }


/* ============================================================
   DOCUMENT CATEGORY FILTERS
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.2rem; }
.filters[hidden] { display: none; }
.filters__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .95rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--card);
  color: var(--deep);
  font: inherit; font-size: .86rem; font-weight: 500;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.filters__btn small { font-size: .72rem; opacity: .6; }
.filters__btn:hover { border-color: var(--primary); }
.filters__btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.filters__btn[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.filters__btn[aria-pressed="true"] small { opacity: .85; }

.docbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.2rem; margin: 0 0 1.2rem; }
.docbar .filters { margin: 0; }
.docsearch { position: relative; display: block; flex: 0 1 18rem; min-width: 12rem; }
.docsearch i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); font-size: .8rem; color: var(--t-mute); pointer-events: none; }
.docsearch input {
  width: 100%; padding: .6rem 1rem .6rem 2.5rem;
  border: 1px solid var(--line); border-radius: 99px;
  background: var(--card); color: var(--deep); font: inherit; font-size: .9rem;
}
.docsearch input:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-color: var(--primary); }


/* ============================================================
   HERO (left): headline + feature tiles
   ============================================================ */
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin-bottom: 1rem;
}
/* plain headline — no gradient on a single word */
.hero h1 em {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  font-style: normal;
  color: inherit;
}
.hero .lead { max-width: 31rem; font-size: 1.1rem; line-height: 1.55; color: var(--t-secondary); }

/* feature tiles */
.feats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem;
  max-width: 35rem; margin-top: 1.7rem;
}
.feat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: .8rem;
  align-items: start;
  padding: .8rem .9rem;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(22,28,36,.08);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(22,28,36,.04), 0 10px 26px -14px rgba(22,28,36,.25);
}
.feat__ico {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  margin-top: .1rem;
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: 12px; font-size: 1rem; color: var(--deep);
}
.feat__ico--video  { background: var(--info-lighter); color: var(--info-dark); }
.feat__ico--simple { background: var(--warning-lighter); color: var(--warning-dark); }
.feat__ico--sign   { background: var(--secondary-lighter); color: var(--secondary-dark); }
.feat__ico--seal   { background: var(--primary-lighter); color: var(--primary-darker); }
.feat b { grid-column: 2; grid-row: 1; font: 600 .92rem/1.25 var(--font-display); color: var(--t); align-self: end; }
.feat small { grid-column: 2; grid-row: 2; font-size: .76rem; line-height: 1.35; color: var(--t-faint); align-self: start; margin-top: .1rem; }

/* actions */
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; margin: 1.3rem 0 0; }
.hero__note { margin-top: 1.4rem; }

@media (max-width: 520px) {
  .feats { grid-template-columns: minmax(0, 1fr); }
  .hero__actions { gap: 1rem; }
}


/* ---- hero (left) refinements: headline lines, live dot, play link, trust lines ---- */
.hero .h1__a, .hero .h1__b { display: block; }
.hero .h1__b {
  background: linear-gradient(100deg, var(--primary) 0%, var(--g3) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero .h1__b { color: var(--brand); -webkit-text-fill-color: currentColor; }
}
.hero .h1__a, .hero .h1__b { animation: h1Rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .h1__b { animation-delay: .12s; }
@keyframes h1Rise { from { opacity: 0; transform: translateY(.5em); } to { opacity: 1; transform: none; } }

.feat { position: relative; transition: transform .2s, border-color .2s, box-shadow .2s; }
.feat:hover {
  transform: translateY(-2px);
  border-color: var(--brand-line);
  box-shadow: 0 1px 2px rgba(22,28,36,.04), 0 16px 30px -14px rgba(8,129,120,.35);
}
.feat__ico { position: relative; }
.feat__live {
  position: absolute; top: -3px; right: -3px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--error); box-shadow: 0 0 0 2px #fff;
  animation: featLive 1.8s ease-out infinite;
}
@keyframes featLive {
  0%   { box-shadow: 0 0 0 2px #fff, 0 0 0 2px rgba(203,2,51,.5); }
  70%  { box-shadow: 0 0 0 2px #fff, 0 0 0 8px rgba(203,2,51,0); }
  100% { box-shadow: 0 0 0 2px #fff, 0 0 0 8px rgba(203,2,51,0); }
}




.hero__trust { list-style: none; display: grid; gap: .45rem; max-width: 35rem; margin-top: 1.4rem; }
.hero__trust li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .82rem; line-height: 1.45; color: var(--t-faint);
}
.hero__trust i { color: var(--brand); margin-top: .22rem; flex: none; }

@media (prefers-reduced-motion: reduce) {
  .hero .h1__a, .hero .h1__b, .feat__live { animation: none; }
  .feat { transition: none; }
  .feat:hover { transform: none; }
}


/* ---- hero: spacious layout ---- */
.hero { padding-top: clamp(3.2rem, 6vw, 5rem); }
.hero__grid {
  padding-bottom: clamp(2.8rem, 5vw, 4.2rem);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { font-size: clamp(2.4rem, 3.8vw, 3.4rem); line-height: 1.07; margin-bottom: .8rem; }
.hero .lead { font-size: 1.08rem; line-height: 1.62; max-width: 36rem; margin-top: .6rem; }

.feats { gap: .75rem; margin-top: 1.6rem; max-width: 36rem; }
.feat { padding: .75rem 1rem; border-radius: 14px; align-items: start; }
.feat__ico { grid-row: 1 / span 2; width: 2.4rem; height: 2.4rem; border-radius: 10px; font-size: .9rem; }
.feat small { display: block; }
.feat b { align-self: end; font-size: .9rem; margin-bottom: .1rem; }

.hero__actions { margin-top: 1.8rem; gap: .75rem 1.4rem; }

.hero__trust { margin-top: 1.4rem; gap: .5rem; max-width: 40rem; }
.hero__trust li { font-size: .82rem; line-height: 1.5; }

.hero__art { max-width: 520px; }
.facts li { padding-block: .85rem; }
.hero__band .facts__v { white-space: nowrap; }


/* ============================================================
   HERO (left) — 2×2 feature card grid
   ============================================================ */
.hero h1 { letter-spacing: -.03em; }
.hero .h1__a { color: var(--deep); }

/* second line: highlighter swipe animation */
.hero .h1__b {
  display: inline-block;
  color: var(--primary-darker);
  -webkit-text-fill-color: currentColor;
  background: linear-gradient(var(--primary-lighter), var(--primary-lighter)) 0 88% / 0% .46em no-repeat;
  -webkit-background-clip: border-box; background-clip: border-box;
  padding-inline: .08em;
  margin-inline: -.08em;
  animation: h1Rise .7s cubic-bezier(.2,.7,.2,1) .12s both, h1Swipe .8s cubic-bezier(.65,0,.25,1) .7s forwards;
}
@keyframes h1Swipe { to { background-size: 100% .46em; } }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero .h1__b { color: var(--primary-darker); }
}

/* 2×2 feature card grid */
.hero .feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  max-width: 38rem;
  margin-top: 1.4rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero .feat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: .75rem;
  align-items: start;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(22,28,36,.08);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(22,28,36,.06), 0 12px 28px -14px rgba(22,28,36,.18);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hero .feat:hover {
  transform: translateY(-2px);
  border-color: var(--brand-line);
  box-shadow: 0 2px 8px rgba(22,28,36,.06), 0 18px 32px -14px rgba(8,129,120,.28);
}
.hero .feat + .feat { border-left: 0; }
.hero .feat__ico {
  grid-row: 1 / span 2;
  width: 2.2rem; height: 2.2rem;
  border-radius: 10px; font-size: .88rem;
  flex: none;
  align-self: start;
  margin-top: .15rem;
  transition: transform .2s;
}
.hero .feat:hover .feat__ico { transform: scale(1.08); }
.hero .feat b {
  font: 600 .88rem/1.3 var(--font-display);
  color: var(--t);
  white-space: normal;
  align-self: end;
  margin-bottom: .15rem;
}
.hero .feat small {
  display: block;
  font-size: .74rem;
  line-height: 1.4;
  color: var(--t-faint);
  align-self: start;
}
.hero .feat__live { top: -2px; right: -2px; width: 8px; height: 8px; }

@media (max-width: 640px) {
  .hero .feats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .h1__b { animation: none; background-size: 100% .46em; }
  .hero .feat { transition: none; }
  .hero .feat:hover .feat__ico { transform: none; }
}



/* ============================================================
   HERO (right) v5 — soft, borderless live walkthrough
   ============================================================ */
.hero__art { max-width: 440px; justify-self: end; width: 100%; }
.tk { position: relative; padding: .4rem 0; font-size: .8rem; line-height: 1.3; color: var(--t); }

.tk__win {
  position: relative; padding: .8rem .9rem .75rem; border-radius: 26px;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(94,217,186,.30) 0, transparent 70%),
    radial-gradient(60% 55% at 0% 100%, rgba(146,189,245,.26) 0, transparent 70%),
    linear-gradient(160deg, #F6FFFC, #fff 55%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 2px 4px rgba(22,28,36,.04), 0 36px 70px -28px rgba(22,28,36,.45);
}
.tk__url { display: flex; width: fit-content; margin: 0 auto .5rem; align-items: center; gap: .4rem; padding: .22rem .8rem; border-radius: 999px; background: rgba(255,255,255,.85); box-shadow: 0 4px 12px -6px rgba(22,28,36,.3); font-size: .68rem; font-weight: 600; color: var(--t-secondary); }
.tk__url i { font-size: .58rem; color: var(--success-dark); }

/* ---- screens: one per step, cross-faded ---- */
.tk__screen { display: grid; min-height: 222px; }
.tk__s { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; gap: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.985);
  transition: opacity .35s, transform .45s, visibility 0s .35s; }
.tk__s.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s .1s, transform .45s .1s, visibility 0s; }
.s-sub { font-size: .72rem; font-weight: 500; color: var(--t-faint); line-height: 1.4; }
.s-h { font: 700 .98rem/1.25 var(--font-display); color: var(--t); }

/* footer: floating pill with dots, live name, counter */
.tk__foot { display: flex; align-items: center; gap: .8rem; width: fit-content; max-width: 100%; margin: .6rem auto 0; padding: .42rem .9rem; border-radius: 999px; background: rgba(255,255,255,.85); box-shadow: 0 8px 20px -10px rgba(22,28,36,.35); }
.tk__dots { display: flex; gap: 4px; flex: none; }
.tk__dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(22,28,36,.14); transition: width .3s, background .3s; }
.tk__dots i.is-done { background: var(--primary); }
.tk__dots i.is-on { width: 18px; background: var(--primary); }
.tk__now { display: flex; align-items: center; gap: .5rem; min-width: 0; font-size: .76rem; }
.tk__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: tkPulse 1.6s ease-out infinite; flex: none; }
@keyframes tkPulse { 0% { box-shadow: 0 0 0 0 rgba(8,129,120,.5); } 100% { box-shadow: 0 0 0 8px rgba(8,129,120,0); } }
.tk__steps { display: inline-grid; }
.tk__steps > span { grid-area: 1 / 1; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(5px); transition: opacity .3s, transform .3s; }
.tk__steps > span.is-on { opacity: 1; transform: none; }
.tk__n { flex: none; font-size: .68rem; color: var(--t-faint); }
.tk__n b { font-weight: 800; color: var(--t); }

@keyframes sFade { to { opacity: 1; } }
@keyframes sUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sDraw { to { stroke-dashoffset: 0; } }
@keyframes sPickOn { to { opacity: 1; } }

/* 1 · documents: pill choices */
.s-docs { list-style: none; display: grid; gap: .6rem; padding: 0 .3rem; }
.s-docs li { position: relative; display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem .7rem .7rem; border-radius: 999px; background: #fff; box-shadow: 0 10px 22px -12px rgba(22,28,36,.3); font: 700 .9rem/1.2 var(--font-display); opacity: 0; }
.s-docs li::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(100deg, var(--primary), var(--primary-dark)); opacity: 0; }
.s-docs li > * { position: relative; z-index: 1; }
.s-docs li > i { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .86rem; flex: none; transition: background .3s, color .3s; }
.s-docs li b { flex: 1; transition: color .3s; }
.s-docs li em { font-size: 1rem; color: #fff; opacity: 0; transform: scale(.5); transition: opacity .25s, transform .3s; }
.tk__s.is-on .s-docs li { animation: sUp .45s ease both; }
.tk__s.is-on .s-docs li:nth-child(2) { animation-delay: .12s; }
.tk__s.is-on .s-docs li:nth-child(3) { animation-delay: .24s; }
.tk__s.is-on .s-docs .is-pick::before { animation: sPickOn .4s ease 1s forwards; }
.tk__s.is-on .s-docs .is-pick b { color: #fff; transition-delay: 1s; }
.tk__s.is-on .s-docs .is-pick > i { background: rgba(255,255,255,.22); color: #fff; transition-delay: 1s; }
.tk__s.is-on .s-docs .is-pick em { opacity: 1; transform: none; transition-delay: 1.1s; }

/* 2 · book date & time: round days, pill slots */
.s-book { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem; align-items: center; padding: 0 .2rem; }
.s-calh { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.s-calh b { font: 700 .92rem/1 var(--font-display); }
.s-calh span { display: flex; gap: .8rem; color: var(--t-faint); font-size: .62rem; }
.s-wk, .s-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.s-wk span { text-align: center; font-size: .56rem; font-weight: 600; color: var(--t-faint); padding-bottom: .3rem; }
.s-grid { row-gap: 3px; justify-items: center; }
.s-grid span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: .72rem; font-weight: 600; transition: background .3s, color .3s, box-shadow .3s; }
.s-grid .o { visibility: hidden; }
.s-grid .x { color: var(--t-disabled); font-weight: 500; }
.tk__s.is-on .s-grid .is-pick { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 6px 14px -4px rgba(8,129,120,.6); transition-delay: .6s; }
.s-slots { display: grid; gap: .45rem; }
.s-slots span:not(.s-sub) { padding: .5rem .5rem; text-align: center; border-radius: 999px; background: #fff; box-shadow: 0 8px 18px -10px rgba(22,28,36,.3); font-weight: 600; font-size: .76rem; transition: background .3s, color .3s; }
.tk__s.is-on .s-slots .is-pick { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; transition-delay: 1.3s; }

/* 3 · payment */
.s-pay { display: grid; gap: .75rem; padding: 0 .3rem; }
.s-methods { display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(22,28,36,.06); }
.s-methods span { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .45rem .3rem; border-radius: 999px; font-weight: 600; font-size: .74rem; color: var(--t-faint); }
.s-methods span i { font-size: .72rem; }
.s-methods .is-pick { background: #fff; color: var(--t); box-shadow: 0 4px 10px -4px rgba(22,28,36,.3); }
.s-methods .is-pick i { color: var(--brand); }
.s-field small { display: block; font-size: .64rem; font-weight: 600; color: var(--t-faint); }
.s-input { padding: .3rem 0 .4rem; border-bottom: 2px solid var(--primary); font-weight: 600; font-size: .92rem; min-height: 1.9rem; }
.s-type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 0; border-right: 1.5px solid var(--t); }
.tk__s.is-on .s-type { animation: sType .9s steps(11) .5s forwards, sCaret .7s step-end infinite; }
@keyframes sType { to { width: 12ch; } }
@keyframes sCaret { 50% { border-right-color: transparent; } }
.s-payb { position: relative; height: 2.5rem; }
.s-payb span { position: absolute; inset: 0; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border-radius: 999px; font-weight: 700; font-size: .82rem; }
.s-payb .b1 { background: linear-gradient(100deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 12px 24px -10px rgba(8,129,120,.7); }
.s-payb .b2 { background: var(--success-lighter); color: var(--success-dark); opacity: 0; }
.tk__s.is-on .s-payb .b2 { animation: sFade .35s ease 2.4s forwards; }

/* 4 · signers */
.s-people { list-style: none; display: grid; gap: .6rem; padding: 0 .3rem; }
.s-people li { display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem .7rem .7rem; border-radius: 999px; background: #fff; box-shadow: 0 10px 22px -12px rgba(22,28,36,.3); font-weight: 700; font-size: .86rem; opacity: 0; }
.tk__s.is-on .s-people li { animation: sUp .45s ease both; }
.tk__s.is-on .s-people li:nth-child(2) { animation-delay: .6s; }
.s-people b { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: linear-gradient(135deg, var(--secondary-lighter), #B9CCFF); color: var(--secondary-dark); font-size: .84rem; }
.s-people span { flex: 1; display: flex; flex-direction: column; }
.s-people small { font-weight: 500; font-size: .66rem; color: var(--t-faint); }
.s-people em { font-style: normal; font-weight: 500; font-size: .7rem; color: var(--t-faint); }

/* 5 · video call */
.s-call { position: relative; height: 212px; border-radius: 20px; overflow: hidden; background: linear-gradient(165deg, #CDF3EA, #86D6C6); --av: #0B5C5C; box-shadow: 0 18px 36px -16px rgba(22,28,36,.45); }
.s-call .vh, .s-call .vb, .s-pip .vh, .s-pip .vb { position: absolute; left: 50%; transform: translateX(-50%); background: var(--av); opacity: .8; }
.s-call > .vh { top: 34px; width: 50px; height: 50px; border-radius: 50%; }
.s-call > .vb { top: 92px; width: 120px; height: 124px; border-radius: 60px 60px 0 0; }
.s-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.s-call.has-vid .s-vid { opacity: 1; }
.s-call.has-vid > .vh, .s-call.has-vid > .vb { display: none; }
.vlive { position: absolute; top: .7rem; left: .7rem; display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .55rem; border-radius: 999px; background: var(--error); color: #fff; font: 700 .58rem/1.6 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
.vlive::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: vBlink 1.2s ease-in-out infinite; }
@keyframes vBlink { 50% { opacity: .25; } }
.vt { position: absolute; left: .7rem; bottom: .7rem; padding: .2rem .65rem; border-radius: 999px; background: rgba(255,255,255,.88); font-weight: 700; font-size: .64rem; }
.vok { position: absolute; top: .7rem; right: .7rem; display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .6rem; border-radius: 999px; background: #fff; color: var(--success-dark); font-weight: 700; font-size: .6rem; opacity: 0; box-shadow: 0 6px 14px rgba(22,28,36,.18); }
.tk__s.is-on .vok { animation: sUp .4s ease 1.6s both; }
.s-pip { position: absolute; right: .7rem; bottom: .7rem; width: 80px; height: 100px; border-radius: 16px; overflow: hidden; background: linear-gradient(165deg, #DCE7FF, #9DB9F5); box-shadow: 0 0 0 2px #fff, 0 10px 20px rgba(22,28,36,.3); --av: #1939B7; }
.s-pip .vh { top: 16px; width: 26px; height: 26px; border-radius: 50%; }
.s-pip .vb { top: 48px; width: 58px; height: 62px; border-radius: 29px 29px 0 0; }
.vscan { position: absolute; top: 14px; left: calc(50% - 19px); width: 38px; height: 2px; border-radius: 2px; background: var(--primary); box-shadow: 0 0 8px 2px rgba(8,129,120,.6); opacity: 0; }
.tk__s.is-on .vscan { animation: vScan 1.3s ease-in-out .4s 1 both; }
@keyframes vScan { 0% { opacity: 0; transform: translateY(0); } 15%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(42px); } }
.s-ctl { position: absolute; left: 50%; bottom: .7rem; transform: translateX(-72%); display: flex; gap: .4rem; padding: .3rem .45rem; border-radius: 999px; background: rgba(22,28,36,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.s-ctl i { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: .7rem; }
.s-ctl i:last-child { background: var(--error); }

/* 6-9 · the document, shown as a floating paper page */
.s-doc { display: flex; align-items: center; gap: 1.4rem; padding: 0 .5rem 0 .9rem; }
.s-info { flex: 1; display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.pg {
  position: relative; flex: none; width: 128px; height: 168px; padding: 15px 13px; border-radius: 10px;
  background: linear-gradient(180deg, #fff 0%, #F1FBF8 100%);
  box-shadow: 0 30px 44px -20px rgba(22,28,36,.5), 0 2px 5px rgba(22,28,36,.07);
  transform: rotate(-2.5deg);
}
.pg__t { display: block; height: 7px; width: 58%; border-radius: 4px; background: rgba(22,28,36,.72); margin-bottom: 10px; }
.pg__l { display: block; height: 4px; border-radius: 2px; background: rgba(22,28,36,.14); margin-bottom: 6px; }
.pg__l.s { width: 72%; }
.pg__sigs { position: absolute; left: 13px; right: 13px; top: 104px; display: flex; gap: 10px; }
.pg__sg { flex: 1; display: block; border-bottom: 1px solid rgba(22,28,36,.28); }
.sg { display: block; width: 100%; height: 20px; fill: none; stroke: var(--secondary-dark); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 130; stroke-dashoffset: 130; }
.pg__n { position: absolute; left: 13px; bottom: 16px; width: 46px; height: 18px; stroke: var(--deep); stroke-width: 1.8; }
.pg .seal { position: absolute; right: -16px; bottom: -16px; width: 88px; height: 88px; color: #B3122B; mix-blend-mode: multiply; opacity: 0; transform: rotate(-10deg); }
.pg__lock { position: absolute; top: -9px; right: -9px; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--deep); color: #fff; font-size: .8rem; box-shadow: 0 8px 16px -6px rgba(22,28,36,.6); opacity: 0; transform: scale(0); }

/* per-step page states */
.pg--6 .pg__lock { opacity: 1; }
.tk__s.is-on .pg--6 .pg__lock { animation: sPop .5s cubic-bezier(.3,1.6,.5,1) .6s both; }
@keyframes sPop { from { transform: scale(0); } to { transform: scale(1); } }
.tk__s.is-on .pg--7 .sg1 { animation: sDraw .9s ease .3s forwards; }
.tk__s.is-on .pg--7 .sg2 { animation: sDraw .9s ease 1.3s forwards; }
.pg--8 .sg1, .pg--8 .sg2, .pg--9 .sg { stroke-dashoffset: 0; }
.tk__s.is-on .pg--8 .seal { animation: sStamp .55s cubic-bezier(.3,.7,.2,1) .5s both; }
.tk__s.is-on .pg--8 .pg__n { animation: sDraw .8s ease 1.5s forwards; }
.pg--9 .seal { opacity: .93; }
@keyframes sStamp { from { opacity: 0; transform: rotate(-10deg) scale(1.8); } to { opacity: .93; transform: rotate(-10deg) scale(1); } }

.s-who { list-style: none; display: grid; gap: .3rem; }
.s-who li { display: flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .82rem; opacity: 0; }
.s-who i { color: var(--success-dark); }
.tk__s.is-on .s-who li { animation: sUp .4s ease 1.2s both; }
.tk__s.is-on .s-who li:nth-child(2) { animation-delay: 2.2s; }
.s-np { display: flex; flex-direction: column; opacity: 0; }
.s-np b { font-size: .84rem; }
.s-np small { font-size: .66rem; color: var(--t-faint); }
.tk__s.is-on .s-np { animation: sUp .45s ease 1.7s both; }
.s-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem; border-radius: 999px; background: var(--deep); color: #fff; font-weight: 600; font-size: .78rem; box-shadow: 0 12px 22px -10px rgba(22,28,36,.6); }
.tk__s.is-on .s-btn { animation: sUp .4s ease .5s both; }

@media (prefers-reduced-motion: reduce) {
  .tk__pulse, .vlive::before { animation: none; }
  .tk__dots i, .tk__steps > span, .tk__s, .s-docs li > *, .s-grid span, .s-slots span { transition: none; }
  .tk__s *, .tk__s.is-on * { animation: none !important; }
  .s-docs li, .s-people li, .s-who li, .s-np, .s-btn, .vok, .s-payb .b2 { opacity: 1; }
  .s-docs .is-pick::before { opacity: 1; }
  .s-docs .is-pick b { color: #fff; }
  .s-docs .is-pick em { opacity: 1; transform: none; }
  .s-type { width: 12ch; border-right: 0; }
  .sg { stroke-dashoffset: 0; }
  .pg .seal { opacity: .93; }
  .pg--6 .pg__lock { transform: none; }
}

/* larger document page */
.s-doc { gap: 1.2rem; padding-left: .7rem; }
.pg { width: 150px; height: 198px; padding: 17px 15px; }
.pg__t { height: 8px; margin-bottom: 12px; }
.pg__l { height: 4.5px; margin-bottom: 7px; }
.pg__sigs { left: 15px; right: 15px; top: 132px; }
.sg { stroke-width: 2.6; }
.pg__n { left: 15px; bottom: 20px; width: 54px; height: 21px; stroke: #161C24; stroke-width: 2.2; opacity: .85; }
.pg .seal { width: 108px; height: 108px; right: -20px; bottom: -20px; }

/* ---- hero headline: one gradient across both lines ---- */
.hero h1 {
  width: fit-content;
  background: linear-gradient(100deg, #0D1219 0%, #04535C 34%, #088178 68%, #0E9F8E 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hero .h1__a, .hero .h1__b {
  display: block; background: none; padding-inline: 0; margin-inline: 0;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: h1Rise .7s cubic-bezier(.2,.7,.2,1) both;
}
.hero .h1__b { animation-delay: .12s; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1, .hero .h1__a, .hero .h1__b { color: var(--primary-darker); -webkit-text-fill-color: currentColor; }
}
@media (prefers-reduced-motion: reduce) { .hero .h1__a, .hero .h1__b { animation: none; } }


/* ---- header: Login as a white outlined button on the teal nav ---- */
.nav__cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); padding-inline: 18px; }
.nav__cta .btn--ghost:hover { color: #fff; background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.75); box-shadow: none; }

/* ---- shared form field: .lg__input is used by the auth pages AND by the
       booking/court selects, so its box spec lives here rather than in
       login.css — otherwise the selects render unstyled on template pages. ---- */
.lg__input {
  display: flex; align-items: center; gap: .7rem;
  height: 3.25rem;
  padding: 0 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: .75rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lg__input:hover {
  border-color: var(--brand-line);
  background-color: #ffffff;
}
.lg__input:focus-within,
.lg__input:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: rgba(8, 129, 120, 0.14) 0px 0px 0px 4px;
  outline: none;
}
.lg__input:active {
  border-color: var(--brand);
  background-color: #ffffff;
}
.lg__input.is-bad {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(203, 2, 51, .10);
}
.lg__input > i { color: var(--t-faint); font-size: .9rem; width: 1rem; text-align: center; flex: none; transition: color .15s ease; }
.lg__input:hover > i,
.lg__input:focus-within > i,
.lg__input:focus > i {
  color: var(--brand);
}
.lg__input input,
.lg__input select {
  flex: 1 1 0%; min-width: 0px; height: 100%;
  border: 0px; outline: 0px; background: transparent;
  font-family: var(--font-ui);
  font-size: .95rem;
  font-weight: 500;
  line-height: normal;
  color: var(--t);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
select.lg__input,
.lg__input select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23088178' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
select.lg__input option,
.lg__input select option {
  background-color: #ffffff;
  color: #161C24;
  font-family: var(--font-ui);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 0.5rem 1rem;
}
select.lg__input option:hover,
select.lg__input option:focus,
select.lg__input option:active,
select.lg__input option:checked,
.lg__input select option:hover,
.lg__input select option:focus,
.lg__input select option:active,
.lg__input select option:checked {
  background: #E6F4F2 linear-gradient(0deg, rgba(8, 129, 120, 0.12) 0%, rgba(8, 129, 120, 0.12) 100%) !important;
  background-color: #E6F4F2 !important;
  color: #088178 !important;
}
select.lg__input:hover,
select.vt-select:hover,
.lg__input:hover select {
  border-color: var(--brand-line) !important;
  background-color: #ffffff !important;
}
select.lg__input:focus,
select.lg__input:focus-visible,
select.vt-select:focus,
select.vt-select:focus-visible,
.lg__input select:focus,
.lg__input select:focus-visible {
  outline: none !important;
  box-shadow: rgba(8, 129, 120, 0.14) 0px 0px 0px 4px !important;
  border-color: var(--primary) !important;
  background-color: #ffffff !important;
}
.lg__input input:-webkit-autofill,
.lg__input input:-webkit-autofill:hover, 
.lg__input input:-webkit-autofill:focus, 
.lg__input input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
  -webkit-text-fill-color: var(--t) !important;
  transition: background-color 5000s ease-in-out 0s;
}
.lg__input input::placeholder { color: var(--t-disabled); }
.lg__input input:disabled,
.lg__input select:disabled { color: var(--t-disabled); cursor: not-allowed; }

/* Document cards: footer link in the theme teal (earlier .card__go rules paint it blue). */
.card:not(.card--all) .card__go,
.card:not(.card--all):hover .card__go { color: var(--brand); }
.card--all .card__go { margin-left: 0; margin-top: .85rem; }



/* ============================================================
   HEADER — deep green, gold sign-up, serif labels
   ============================================================ */
:root {
  --nh-green:  #0D4A33;
  --nh-green-2:#0A3C29;
  --nh-navy:   #13233F;
  --nh-gold:   #F3CB82;
  --nh-gold-2: #E9B864;
  --nh-mint:   #E3F6EE;
  --nh-serif:  'Source Serif 4', Georgia, 'Times New Roman', serif;
}
.nav { background: #04535C; }
.nav.is-stuck { box-shadow: 0 4px 24px rgba(10,60,41,.35); }
.nav .nav__links > a, .nav .nav__trigger { font-family: var(--nh-serif); font-size: .98rem; font-weight: 500; color: rgba(255,255,255,.88); }
.nav .nav__links > a::after, .nav .nav__trigger::after { background: var(--nh-gold); }
.nav .logo { gap: .7rem; }
.nav .logo__mark {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FBE3AE, var(--nh-gold-2));
  color: var(--nh-green); font-size: 1.05rem;
  box-shadow: 0 0 0 2px rgba(243,203,130,.35);
}
.nav .logo:hover .logo__mark { background: radial-gradient(circle at 35% 30%, #FFF0CC, var(--nh-gold)); color: var(--nh-green); }
.logo__words { display: flex; flex-direction: column; line-height: 1; }
.nav .logo__txt { font: 700 1.55rem/1 var(--nh-serif); letter-spacing: -.01em; color: #fff; }
.nav .logo em { color: #fff; }
.logo__tag { margin-top: .3rem; font: 600 .56rem/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.nav .nav__cta .btn { font-family: var(--nh-serif); font-size: 1rem; border-radius: 8px; }
.nav .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.nav .btn--brand { background: #fff; color: var(--primary-darker); border-color: #fff; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); }
.nav .btn--brand:hover { background: #F2FBF6; color: var(--primary-darker); border-color: #fff; box-shadow: 0 10px 22px -8px rgba(0,0,0,.45); }
.nav .lang__btn { border-radius: 999px; padding-inline: .9rem; border-color: rgba(255,255,255,.55); background: transparent; }
@media (max-width: 560px) { .logo__tag { display: none; } .nav .logo__txt { font-size: 1.3rem; } }

/* ============================================================
   HERO — serif headline, desk photo, document-type card
   ============================================================ */
.nh { --nh-card: 32rem; background: #fff; color: var(--nh-navy); }
.nh .ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.nh__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: stretch;
}
.nh__copy { position: relative; z-index: 2; padding: clamp(2.4rem, 4.5vw, 4rem) 0 clamp(2rem, 3.5vw, 3rem); }

.nh__eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; margin: 0 0 1.4rem;
  font: 600 .74rem/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: #3A4A63;
}
.nh__eyebrow::before { content: ''; width: 2rem; height: 2px; margin-right: .6rem; background: var(--nh-green); }
.nh__eyebrow span + span::before { content: '•'; margin-right: .55rem; color: #8A96A8; }

.nh__title {
  margin: 0 0 1rem;
  font: 700 clamp(2.5rem, 4.6vw, 4.1rem)/1.06 var(--nh-serif);
  letter-spacing: -.02em; color: var(--primary-darker);
}
.nh__title .h1__a, .nh__title .h1__b { display: block; }
.nh__title .h1__b { color: var(--primary); }
.nh__lead { max-width: 40rem; margin: 0; font: 400 clamp(1.08rem, 1.5vw, 1.32rem)/1.45 var(--nh-serif); color: #1F2E48; }

.nh__points { list-style: none; display: flex; flex-wrap: wrap; gap: .8rem 0; margin: 1.8rem 0 0; padding: 0; }
.nh__points li {
  display: flex; align-items: center; gap: .9rem;
  padding: 0 1.1rem; font: 500 .96rem/1.35 var(--nh-serif); color: var(--nh-navy);
}
.nh__points li:first-child { padding-left: 0; }
.nh__points li + li { border-left: 1px solid #D9DEE5; }
.nh__points span { max-width: 8.6rem; }
.nh__points .ic { font-size: 2.3rem; color: var(--nh-green); stroke-width: 1.5; }

.nh__actions { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; }
.nh__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3.5rem; padding: 0 2.2rem; border-radius: 6px;
  font: 600 1.15rem/1 var(--nh-serif); text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.nh__btn .ic { font-size: 1.15rem; transition: transform .2s; }
.nh__btn--solid { color: #fff; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%); box-shadow: 0 10px 22px -12px rgba(4,83,92,.8); }
.nh__btn--solid:hover { color: #fff; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%); box-shadow: 0 14px 26px -12px rgba(4,83,92,.9); }
.nh__btn--solid:hover .ic { transform: translateX(3px); }
.nh__btn--line { color: var(--nh-navy); border: 1.5px solid var(--nh-navy); background: #fff; }
.nh__btn--line:hover { color: #fff; background: var(--nh-navy); }
.nh__btn--line .ic--play { font-size: 2rem; stroke-width: 1.4; }
.nh__btn:focus-visible, .nh__opt:focus-visible { outline: 2px solid var(--nh-green); outline-offset: 3px; }

.nh__checks { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: 1.6rem 0 0; padding: 0; }
.nh__checks li { display: flex; align-items: center; gap: .55rem; font-size: .95rem; color: #3D4A5E; }
.nh__checks .ic { font-size: 1.1rem; color: var(--nh-green); stroke-width: 2.2; }

/* right: photo behind, card on top */
.nh__visual { position: relative; display: flex; align-items: center; justify-content: flex-end; padding: 2rem 0; }
.nh__photo {
  position: absolute; top: 0; bottom: 0; right: calc(var(--nh-card) - 14px);
  height: 100%; width: auto; max-width: none; z-index: 0;
}
.nh__card {
  position: relative; z-index: 1;
  width: min(100%, var(--nh-card));
  padding: 1.6rem 1.5rem 1.5rem; border-radius: 14px;
  background: #fff; box-shadow: 0 30px 60px -28px rgba(19,35,63,.38), 0 2px 6px rgba(19,35,63,.06);
}
.nh__step { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .88rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: #3D4A5E; }
.nh__bars { display: flex; gap: .45rem; flex: 0 1 15rem; }
.nh__bars i { flex: 1; height: 5px; border-radius: 4px; background: #E3E7EC; }
.nh__bars i.is-on { background: var(--primary); }
.nh__step > span:first-child { white-space: nowrap; }
.nh__step b { font-weight: 700; color: var(--nh-navy); }
.nh__step em { font-style: normal; color: var(--primary-dark); }
.nh__bars i { position: relative; overflow: hidden; cursor: pointer; transition: background .3s; }
.nh__bars i.is-cur::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--primary); transform-origin: left; transform: scaleX(0); animation: nhFill var(--nh-dur, 3.5s) linear forwards; }
.nh__card:hover .nh__bars i.is-cur::after, .nh__card:focus-within .nh__bars i.is-cur::after { animation-play-state: paused; }
@keyframes nhFill { to { transform: scaleX(1); } }
.nh__bars i:focus-visible { outline: 2px solid var(--primary-darker); outline-offset: 2px; }
.nh__panels { display: grid; }
.nh__panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s, visibility 0s .35s; }
.nh__panel.is-on { visibility: visible; opacity: 1; transform: none; transition: opacity .35s, transform .35s; }
.nh__live { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; padding: .3rem .7rem; border-radius: 999px; background: #E1F3F1; color: var(--primary-dark); font: 600 .74rem/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; }
.nh__live i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--primary); animation: nhPulse 1.6s ease-out infinite; }
.nh__big { display: grid; place-items: center; width: 4.4rem; height: 4.4rem; margin-top: 1.1rem; border-radius: 14px; background: #E1F3F1; color: var(--primary-dark); font-size: 1.8rem; }
.nh__panel:not(:first-child):not(.nh__panel--demo) { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: 1rem; }
.nh__panel:not(:first-child):not(.nh__panel--demo) .nh__big { margin-top: 0; width: 5.2rem; height: 5.2rem; font-size: 2.1rem; border-radius: 18px; }
.nh__panel:not(:first-child):not(.nh__panel--demo) .nh__card-p { max-width: 22rem; margin-bottom: 0; }
.nh__panel > .nh__card-h { margin-top: .9rem; }
@keyframes nhPulse { 0% { box-shadow: 0 0 0 0 rgba(8,129,120,.5); } 100% { box-shadow: 0 0 0 .6rem rgba(8,129,120,0); } }
@media (prefers-reduced-motion: reduce) { .nh__panel, .nh__panel.is-on, .nh__live i { transition: none; animation: none; } }
.nh__card-h { margin: 1.1rem 0 .35rem; font: 700 1.65rem/1.2 var(--nh-serif); color: var(--nh-navy); }
.nh__card-p { margin: 0 0 1.1rem; font-size: 1rem; color: #3D4A5E; }

.nh__opt {
  display: flex; align-items: center; gap: 1.1rem;
  margin-top: .8rem; padding: .85rem 1.1rem .85rem .9rem;
  border: 1px solid #DCE1E7; border-radius: 10px; background: #fff;
  color: inherit; text-decoration: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.nh__opt:hover { border-color: #7FC9C4; box-shadow: 0 10px 22px -16px rgba(4,83,92,.5); }
.nh__opt.is-active { background: #E1F3F1; border: 1.5px solid #58BDB6; }
.nh__opt-ico { display: grid; place-items: center; flex: none; width: 4.2rem; height: 4.2rem; border-radius: 8px; background: #fff; border: 1px solid #E3E7EC; color: var(--nh-navy); }
.nh__opt-ico .ic { font-size: 2.1rem; stroke-width: 1.5; }
.nh__opt-txt { flex: 1; display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.nh__opt-txt b { font: 600 1.12rem/1.25 var(--nh-serif); color: var(--nh-navy); }
.nh__opt-txt small { font-size: .9rem; line-height: 1.45; color: #3D4A5E; }
.nh__opt-go { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid #C9D0D9; color: var(--nh-navy); transition: transform .2s; }
.nh__opt.is-active .nh__opt-go { border-color: transparent; background: #C5E8E5; color: var(--primary-darker); }
.nh__opt:hover .nh__opt-go { transform: translateX(3px); }
.nh__opt-go .ic { font-size: 1rem; stroke-width: 2; }

/* feature + stats grid: 8 cards, light hero palette (white / navy / green) */
.nh__feats { position: relative; z-index: 1; background: linear-gradient(180deg, #F4FAF7 0%, #FFFFFF 100%); border-top: 1px solid #DCEFE6; }
.nh__feats { position: relative; }
.nh__feats ul { list-style: none; margin: 0 auto; padding: 1.8rem var(--gut) 2.1rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nh__feats ul::-webkit-scrollbar { display: none; }
.nh__feats li { flex: 0 0 calc((100% - 3rem) / 4); scroll-snap-align: start; }
.nh__arr { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-top: -1.3rem; border: 1px solid #DCE1E7; border-radius: 50%; background: #fff; color: var(--primary-darker); box-shadow: 0 6px 16px -6px rgba(11,27,51,.3); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.nh__arr:hover { background: var(--primary-darker); color: #fff; }
.nh__arr:focus-visible { outline: 2px solid var(--primary-darker); outline-offset: 2px; }
.nh__arr--prev { left: max(.6rem, calc((100% - var(--wrap, 1320px)) / 2 - 1.2rem)); }
.nh__arr--next { right: max(.6rem, calc((100% - var(--wrap, 1320px)) / 2 - 1.2rem)); }
.nh__feats li { position: relative; overflow: hidden; display: flex; flex-direction: row; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; background: #fff; border: 1px solid var(--c-bd, #E3EAE6); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(11,27,51,.04), 0 10px 28px -12px rgba(11,27,51,.14); transition: transform .25s, box-shadow .25s, border-color .25s; }
.nh__feats li:hover { transform: translateY(-4px); border-color: var(--c-ac, #A9D9D5); box-shadow: 0 2px 4px rgba(11,27,51,.05), 0 20px 36px -14px rgba(4,83,92,.28); }
.nh__fico { box-shadow: 0 4px 10px -4px rgba(11,27,51,.18); display: grid; place-items: center; flex: none; width: 3.5rem; height: 3.5rem; border-radius: 10px; transition: transform .25s; }
.nh__fico .ic { font-size: 1.7rem; stroke-width: 1.6; }
.nh__fico--mint  { background: #fff; color: var(--primary-dark); }
.nh__fico--peach { background: #fff; color: #0D4A33; }
.nh__fico--sky   { background: #fff; color: #1D3E6E; }
.nh__fico--rose  { background: #fff; color: #D23B3B; }
.nh__feats li:hover .nh__fico { transform: scale(1.08) rotate(-4deg); }
.nh__feats li:nth-child(4n+1) { --c-bg: #E6F6EF; --c-bd: #A9D9D5; --c-ac: var(--primary-dark); }
.nh__feats li:nth-child(4n+2) { --c-bg: #E1F3F1; --c-bd: #A9D9D5; --c-ac: #0D4A33; }
.nh__feats li:nth-child(4n+3) { --c-bg: #E7F0FC; --c-bd: #BFD4F2; --c-ac: #1D3E6E; }
.nh__feats li:nth-child(4n+4) { --c-bg: #FCE8E8; --c-bd: #F2BFBF; --c-ac: #D23B3B; }
.nh__feats li:nth-child(5) { --c-bg: #E7F0FC; --c-bd: #BFD4F2; --c-ac: #1D3E6E; }
.nh__feats li:nth-child(7) { --c-bg: #E6F6EF; --c-bd: #A9D9D5; --c-ac: var(--primary-dark); }
.nh__feats li > span:last-child { min-width: 0; }
.nh__feats li:nth-child(n+5) b { font-size: 1.2rem; }
.nh__feats li:nth-child(7) b { font-size: 1.02rem; }
.nh__feats b { display: block; font: 700 1rem/1.3 var(--nh-serif); color: var(--nh-navy); }
.nh__feats small { display: block; margin-top: .2rem; font-size: .84rem; line-height: 1.4; color: #4A5568; }

@media (max-width: 1240px) {
  .nh__points li { padding: 0 1rem; }
}
@media (max-width: 1024px) {
  .nh__grid { grid-template-columns: minmax(0, 1fr); }
  .nh__copy { padding-bottom: 1rem; }
  .nh__visual { justify-content: center; padding: 1rem 0 2.4rem; }
  .nh__photo { right: -6%; opacity: .35; }
  .nh__card { width: min(100%, 36rem); }
  .nh__feats li { flex-basis: calc((100% - 1rem) / 2); }
}
@media (max-width: 600px) {
  .nh__points { flex-direction: column; }
  .nh__points li { padding: 0; }
  .nh__points li + li { border-left: 0; }
  .nh__points span { max-width: none; }
  .nh__points .ic { font-size: 2rem; }
  .nh__actions { gap: .8rem; }
  .nh__btn { width: 100%; padding-inline: 1.4rem; }
  .nh__photo { display: none; }
  .nh__card { padding: 1.2rem 1rem; }
  .nh__opt-ico { width: 3.2rem; height: 3.2rem; }
  .nh__opt-ico .ic { font-size: 1.6rem; }
  .nh__feats li { flex-basis: 84%; }
  .nh__arr { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nh__btn, .nh__btn .ic, .nh__opt, .nh__opt-go, .nh__feats li, .nh__fico { transition: none; }
}

/* live status line */
.nh__status { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem; padding: .45rem .85rem; border-radius: 999px; background: #F3F6F9; color: #3D4A5E; font-size: .86rem; font-weight: 500; }
.nh__spin { width: .9rem; height: .9rem; border: 2px solid #BFE0DD; border-top-color: var(--primary); border-radius: 50%; animation: nhSpin .8s linear infinite; }
.nh__dots { display: inline-flex; gap: 2px; }
.nh__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--primary-dark); animation: nhDot 1.2s infinite both; }
.nh__dots i:nth-child(2) { animation-delay: .15s; } .nh__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes nhSpin { to { transform: rotate(360deg); } }
@keyframes nhDot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.nh__panel.is-on .nh__big { animation: nhPop .5s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes nhPop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nh__spin, .nh__dots i, .nh__panel.is-on .nh__big { animation: none; } }

/* demo panels: pick date & time, add signer */
.nh__panel--demo .nh__card-h { margin-top: 1.1rem; }
.nh__dates { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .55rem; }
.nh__times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-top: .7rem; }
.nh__chip { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .55rem .3rem; border: 1px solid #DCE1E7; border-radius: 10px; background: #fff; color: var(--nh-navy); font-size: .9rem; font-weight: 600; transition: background .25s, border-color .25s, color .25s, transform .25s, box-shadow .25s; }
.nh__chip small { font-size: .72rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #6B778A; }
.nh__chip b { font: 700 1.2rem/1.1 var(--nh-serif); }
.nh__chip--t { flex-direction: row; justify-content: center; padding: .6rem .5rem; }
.nh__chip.is-sel { background: var(--primary-darker); border-color: var(--primary-darker); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(4,83,92,.7); }
.nh__chip.is-sel small { color: rgba(255,255,255,.8); }
.nh__confirm { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .5rem .9rem; border-radius: 999px; background: #E1F3F1; color: var(--primary-dark); font-size: .88rem; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.nh__confirm.is-on { opacity: 1; transform: none; }
.nh__form { display: grid; gap: .65rem; }
.nh__form label { display: grid; gap: .25rem; }
.nh__form small { font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #6B778A; }
.nh__field { display: flex; align-items: center; min-height: 2.6rem; padding: 0 .85rem; border: 1px solid #DCE1E7; border-radius: 10px; background: #fff; font-size: .98rem; color: var(--nh-navy); transition: border-color .2s, box-shadow .2s; }
.nh__field em { font-style: normal; }
.nh__field.is-typing { border-color: var(--primary-darker); box-shadow: 0 0 0 3px rgba(8,129,120,.15); }
.nh__field.is-typing em::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--primary-darker); animation: nhCaret .8s steps(1) infinite; }
.nh__field.is-filled { border-color: #A9D9D5; background: #F2FAF9; }
.nh__field--role.is-filled em { padding: .15rem .6rem; border-radius: 999px; background: #E1F3F1; color: var(--primary-dark); font-size: .86rem; font-weight: 600; }
@keyframes nhCaret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nh__chip, .nh__confirm, .nh__field { transition: none; } .nh__field.is-typing em::after { animation: none; } }

/* pay */
.nh__times--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nh__paybtn { display: inline-flex; align-items: center; gap: .5rem; margin-top: .9rem; padding: .7rem 1.3rem; border-radius: 10px; background: #C6D3CC; color: #fff; font-weight: 600; transition: background .3s, transform .2s; }
.nh__paybtn.is-sel { background: var(--primary-darker); transform: scale(.96); }
/* video call */
.nh__rec { display: inline-flex; align-items: center; gap: .35rem; margin-left: .6rem; padding: .2rem .55rem; border-radius: 999px; background: #FDE8E8; color: #D23B3B; font: 700 .7rem/1 var(--font-ui); letter-spacing: .1em; vertical-align: middle; }
.nh__rec i { width: .45rem; height: .45rem; border-radius: 50%; background: #D23B3B; animation: nhBlink 1s infinite; }
.nh__rec b { font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.nh__call { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.nh__tile { position: relative; display: grid; place-items: center; align-content: center; gap: .35rem; height: 6.4rem; border-radius: 12px; background: linear-gradient(145deg, #E6EEF8, #D3E0F2); color: #1D3E6E; font-size: 1.8rem; }
.nh__tile small { font: 600 .74rem/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
.nh__tile--n { background: linear-gradient(145deg, #E1F3F1, #CBEEDD); color: var(--primary-dark); }
.nh__panel.is-play .nh__tile--n { animation: nhRing 1.6s ease-out infinite; }
/* draft */
.nh__sheet { position: relative; display: grid; gap: .5rem; padding: 1rem 1.1rem; border: 1px solid #DCE1E7; border-radius: 10px; background: #fff; }
.nh__sheet > i { display: block; height: 7px; border-radius: 4px; background: #E3E7EC; }
.nh__sheet > i.short { width: 55%; }
.nh__sheet--sm { padding: .8rem .9rem; width: 70%; }
.nh__lock { position: absolute; right: .8rem; bottom: .7rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #E1F3F1; color: var(--primary-dark); opacity: 0; transform: scale(.4); }
.nh__panel.is-play .nh__lock { animation: nhPop .5s .8s cubic-bezier(.2,1.4,.4,1) forwards; }
.nh__panel.is-play .nh__sheet > i { animation: nhGray 1.4s ease forwards; }
/* esign */
.nh__otp { display: flex; gap: .5rem; }
.nh__otp i { display: grid; place-items: center; flex: 1; height: 2.8rem; border: 1px solid #DCE1E7; border-radius: 10px; background: #fff; color: var(--nh-navy); font: 700 1.3rem/1 var(--nh-serif); font-style: normal; transition: border-color .2s, background .2s; }
.nh__otp i.is-on { border-color: #A9D9D5; background: #F2FAF9; }
.nh__sig { width: 100%; max-width: 14rem; height: 3.2rem; margin-top: .8rem; fill: none; stroke: var(--nh-navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nh__sig path { stroke-dasharray: 520; stroke-dashoffset: 520; }
.nh__panel.is-signed .nh__sig path { animation: nhDraw 1.2s ease forwards; }
/* seal */
.nh__sealwrap { position: relative; display: flex; align-items: center; justify-content: center; min-height: 10.5rem; overflow: hidden; border-radius: 10px; }
.nh__seal { position: absolute; right: 1rem; top: 50%; width: 8.4rem; height: 8.4rem; margin-top: -4.2rem; color: #A3262F; opacity: 0; transform: rotate(-14deg) scale(1.9); filter: drop-shadow(0 0 .5px rgba(163,38,47,.7)); mix-blend-mode: multiply; }
.nh__sealwrap .nh__sheet { margin-right: 4rem; }
.nh__panel.is-play .nh__seal { animation: nhStamp .7s .5s cubic-bezier(.3,1.5,.5,1) forwards; }
.nh__panel.is-play .nh__sealwrap::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 8.4rem; height: 8.4rem; margin-top: -4.2rem; border-radius: 50%; border: 2px solid #A3262F; opacity: 0; animation: nhShock .8s 1.1s ease-out; }
/* download */
.nh__file { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border: 1px solid #DCE1E7; border-radius: 10px; background: #fff; }
.nh__file-ico { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 10px; background: #FBE0E0; color: #D23B3B; font-size: 1.4rem; }
.nh__file-txt { flex: 1; min-width: 0; display: grid; gap: .5rem; }
.nh__file-txt b { font-size: .95rem; color: var(--nh-navy); }
.nh__prog { display: block; height: 6px; border-radius: 4px; background: #E3E7EC; overflow: hidden; }
.nh__prog i { display: block; height: 100%; width: 100%; background: var(--primary); transform: scaleX(0); transform-origin: left; }
.nh__panel.is-play .nh__prog i { animation: nhFill 2.4s .3s ease-out forwards; }
@keyframes nhBlink { 50% { opacity: .25; } }
@keyframes nhRing { 0% { box-shadow: 0 0 0 0 rgba(8,129,120,.45); } 100% { box-shadow: 0 0 0 .9rem rgba(8,129,120,0); } }
@keyframes nhDraw { to { stroke-dashoffset: 0; } }
@keyframes nhGray { 0% { background: #E3E7EC; } 100% { background: #BFE0DD; } }
@keyframes nhStamp { 0% { opacity: 0; transform: rotate(-14deg) scale(1.9); } 60% { opacity: .95; transform: rotate(-14deg) scale(.92); } 100% { opacity: .9; transform: rotate(-14deg) scale(1); } }
@keyframes nhShock { 0% { opacity: .6; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) {
  .nh__panel.is-play .nh__seal, .nh__seal { animation: none; opacity: .9; transform: rotate(-14deg); }
  .nh__sig path { stroke-dashoffset: 0; } .nh__lock { opacity: 1; transform: none; } .nh__prog i { transform: none; }
  .nh__rec i, .nh__panel.is-play .nh__tile--n { animation: none; }
}
