/* ------------------------------------------------------------------
   Director Helpline — styles (v2)
   ------------------------------------------------------------------ */

:root {
  --bg: #FFFFFF;
  --bg-2: #F5F7FC;
  --bg-3: #EEF1F9;
  --ink: #0A0F1F;
  --ink-2: #4A5470;
  --ink-3: #8A93A8;
  --line: #E4E8F1;
  --navy: #0B1230;
  --navy-2: #121B40;

  --blue: #2D5BFF;
  --violet: #7A4DFF;
  --coral: #FF5C4D;
  --amber: #FFB020;
  --teal: #12B5A5;
  --pink: #FF4FA3;

  --grad: linear-gradient(120deg, #2D5BFF 0%, #7A4DFF 50%, #FF5C4D 100%);
  --grad-soft: linear-gradient(120deg, rgba(45,91,255,.12), rgba(122,77,255,.12), rgba(255,92,77,.12));

  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(10,15,31,.04), 0 2px 8px rgba(10,15,31,.04);
  --shadow: 0 2px 6px rgba(10,15,31,.04), 0 12px 32px rgba(10,15,31,.08);
  --shadow-lg: 0 8px 24px rgba(10,15,31,.08), 0 32px 72px rgba(10,15,31,.14);

  --ease: cubic-bezier(.2,.7,.2,1);
  --t: 260ms;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 76rem;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- type ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 6.2vw, 5.25rem); letter-spacing: -0.035em; line-height: 1.0; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.2; }
h4 { font-size: 1.0625rem; letter-spacing: -0.01em; }
p { max-width: 36em; text-wrap: pretty; }
p + p { margin-top: 1em; }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 32em; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.small { font-size: .9rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 600; font-size: .8125rem; letter-spacing: .02em;
  color: var(--ink-2);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section-head { max-width: 40em; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .lede { margin-top: 1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--alt { background: var(--bg-2); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 56rem) { .split { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 6rem; }
@media (max-width: 56rem) { .sticky { position: static; } }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding: .75rem 0;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: 3.75rem;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(10,15,31,.06);
  border-radius: 999px;
  padding-inline: .75rem 0.5rem;
  box-shadow: var(--shadow-sm);
}
.header.is-stuck .wrap { box-shadow: var(--shadow); }
.header.on-dark:not(.is-stuck) .wrap { background: rgba(255,255,255,.72); }
.logo { display: inline-flex; align-items: center; gap: .65rem; padding: .25rem .5rem; border-radius: 999px; }
.logo svg { width: 32px; height: 32px; }
.logo .wordmark { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a:not(.btn) {
  font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--ink-2);
  padding: .5rem .85rem; border-radius: 999px;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(10,15,31,.05); }
.nav .btn { margin-left: .5rem; }
.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink);
  width: 40px; height: 40px; border-radius: 50%;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform var(--t) var(--ease), opacity var(--t) var(--ease); }
@media (max-width: 56rem) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; left: var(--gutter); right: var(--gutter); top: 5.25rem;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: .75rem; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a:not(.btn) { font-size: 1.05rem; padding: .85rem 1rem; }
  .nav .btn { margin: .5rem 0 0; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.35rem; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: .95rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .arrow { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blue); box-shadow: 0 8px 24px rgba(45,91,255,.28); }
.btn-gradient { background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(122,77,255,.25); }
.btn-gradient:hover { box-shadow: 0 10px 28px rgba(122,77,255,.38); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.25); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.02rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--ink); }
.text-link .arrow { width: 16px; height: 16px; color: var(--blue); transition: transform var(--t) var(--ease); }
.text-link:hover .arrow { transform: translateX(3px); }
.arrow { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- hero ---------- */
.hero { padding: 6rem .75rem 0; }
.hero-panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  background: var(--navy) radial-gradient(60% 80% at 20% 20%, rgba(45,91,255,.55), transparent 60%),
              radial-gradient(50% 60% at 80% 30%, rgba(122,77,255,.5), transparent 60%),
              radial-gradient(40% 50% at 70% 90%, rgba(255,92,77,.45), transparent 60%);
  color: #fff;
  min-height: min(88vh, 860px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,18,48,0) 40%, rgba(11,18,48,.55) 100%);
}
.hero-inner { padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.hero-inner .eyebrow { color: rgba(255,255,255,.8); }
.hero-inner h1 { max-width: 11em; color: #fff; }
.hero-inner .lede { color: rgba(255,255,255,.82); margin-top: 1.5rem; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem;
  padding: 1.25rem clamp(1.5rem, 5vw, 4.5rem) 1.5rem;
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(11,18,48,.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .85rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  font-family: var(--display); font-weight: 600; font-size: .8125rem; color: rgba(255,255,255,.92);
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--teal)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--teal)) 30%, transparent); }
.hero-foot .small { color: rgba(255,255,255,.7); }

/* ---------- stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 40rem) { .stats { grid-template-columns: 1fr; } }
.stat { padding: 1.5rem 1.6rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.stat .n { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3rem); letter-spacing: -0.04em; line-height: 1; }
.stat .n.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin-top: .5rem; color: var(--ink-2); font-size: .95rem; }

/* ---------- feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 56rem) { .features { grid-template-columns: 1fr; } }
.feature {
  position: relative; padding: 1.75rem; border-radius: var(--r-lg);
  background: var(--bg-2); border: 1px solid transparent;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.feature:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-3px); }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; background: var(--c, var(--blue)); margin-bottom: 1.25rem;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--c, var(--blue)) 35%, transparent);
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: .5rem; }
.feature p { color: var(--ink-2); font-size: .975rem; }

/* ---------- situations grid ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 64rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 36rem) { .cards { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-art {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background:
    radial-gradient(70% 90% at 15% 15%, var(--a), transparent 62%),
    radial-gradient(60% 80% at 90% 80%, var(--b), transparent 60%),
    radial-gradient(50% 60% at 70% 10%, var(--d, transparent), transparent 60%),
    var(--c);
}
.card-art::after {
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.card-art .icon { position: absolute; left: 1.1rem; top: 1.1rem; margin: 0; background: rgba(255,255,255,.18); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); box-shadow: none; }
.card-art .n { position: absolute; right: 1.1rem; top: 1rem; font-family: var(--display); font-weight: 700; font-size: .8rem; color: rgba(255,255,255,.85); letter-spacing: .04em; }
.card-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { font-size: 1.15rem; }
.card-body p { color: var(--ink-2); font-size: .925rem; flex: 1; }
.card-body .text-link { margin-top: .5rem; font-size: .9rem; }

/* ---------- position panel ---------- */
.position {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 0;
  border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
@media (max-width: 56rem) { .position { grid-template-columns: 1fr; } }
.position > div { padding: clamp(1.5rem, 3vw, 2.5rem); }
.position .divider { padding: 0; width: 4px; background: var(--grad); }
@media (max-width: 56rem) { .position .divider { width: auto; height: 4px; } }
.position h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.position h3 .tag { font-family: var(--display); font-weight: 700; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .55rem; border-radius: 6px; color: #fff; background: var(--c); }
.position li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; padding: .7rem 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .975rem; }
.position li:first-child { border-top: 0; }
.position li svg { width: 22px; height: 22px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: .1rem; }
.position .you { background: linear-gradient(180deg, #fff, var(--bg-2)); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
@media (max-width: 56rem) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 2rem 1.75rem 1.9rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.step::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c, var(--grad));
}
.step .n { font-family: var(--display); font-weight: 800; font-size: 3rem; letter-spacing: -0.05em; line-height: 1; color: var(--c, var(--blue)); margin-bottom: 1.25rem; }
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--ink-2); font-size: .975rem; }
.step .meta { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.pill { display: inline-flex; align-items: center; padding: .35rem .7rem; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: .78rem; color: var(--ink-2); }

/* ---------- dark section / timeline ---------- */
.dark {
  position: relative; isolation: isolate; color: #fff;
  background: var(--navy);
  margin-inline: .75rem; border-radius: var(--r-xl); overflow: hidden;
}
.dark canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 50% 0%, rgba(122,77,255,.25), transparent 70%); }
.dark .eyebrow { color: rgba(255,255,255,.75); }
.dark .lede { color: rgba(255,255,255,.75); }
.dark h2 { color: #fff; }
.timeline { position: relative; display: grid; gap: .75rem; margin-top: clamp(2rem, 4vw, 3rem); }
.tl {
  display: grid; grid-template-columns: 9rem 1fr; gap: 1rem 1.5rem; align-items: start;
  padding: 1.25rem 1.5rem; border-radius: var(--r);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.tl:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); transform: translateX(4px); }
@media (max-width: 40rem) { .tl { grid-template-columns: 1fr; gap: .35rem; } }
.tl .when { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: .85rem; color: #fff; }
.tl .when i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--blue)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--blue)) 30%, transparent); }
.tl h3 { font-size: 1.1rem; margin-bottom: .3rem; color: #fff; }
.tl p { color: rgba(255,255,255,.72); font-size: .95rem; max-width: 44em; }
.dark .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; }
.dark .cta-row p { color: rgba(255,255,255,.75); }

/* ---------- are / are not ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 56rem) { .pair { grid-template-columns: 1fr; } }
.pair > div { padding: 1.75rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.pair h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.pair h3 .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.pair li { display: grid; grid-template-columns: 24px 1fr; gap: .75rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.pair li svg { width: 24px; height: 24px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pair li strong { display: block; font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; margin-bottom: .2rem; }
.pair li p { color: var(--ink-2); font-size: .95rem; }

/* ---------- contact ---------- */
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
}
.contact-details { display: grid; gap: .5rem; margin-top: 2rem; }
.contact-details li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: center; padding: .85rem 1rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.contact-details .icon { margin: 0; width: 40px; height: 40px; border-radius: 10px; }
.contact-details .k { display: block; font-size: .78rem; color: var(--ink-3); font-family: var(--display); font-weight: 600; }
.contact-details a { font-weight: 500; }
.contact-details a:hover { color: var(--blue); }

.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 36rem) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--display); font-weight: 600; font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(45,91,255,.14); }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path d='M3 5l4 4 4-4' fill='none' stroke='%234A5470' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; cursor: pointer;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.check { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; color: var(--ink-2); }
.check input { appearance: auto; -webkit-appearance: auto; width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--blue); }
.form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .25rem; }
.form .actions .small { color: var(--ink-3); max-width: 22em; }
.form-error { color: var(--coral); font-size: .9rem; }
.form-done { display: none; padding: 1rem 0; }
.form.is-done { display: none; }
.form.is-done + .form-done { display: block; }
.form-done .icon { margin-bottom: 1rem; }

/* ---------- CTA band ---------- */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  margin-inline: .75rem; border-radius: var(--r-xl); color: #fff;
  background: var(--navy);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
}
.band::before {
  content: ""; position: absolute; inset: -20%; z-index: -1;
  background: radial-gradient(40% 50% at 20% 30%, rgba(45,91,255,.7), transparent 60%),
              radial-gradient(40% 50% at 80% 40%, rgba(122,77,255,.6), transparent 60%),
              radial-gradient(35% 45% at 60% 90%, rgba(255,92,77,.55), transparent 60%);
  filter: blur(20px);
}
.band h2 { max-width: 14em; color: #fff; }
.band p { color: rgba(255,255,255,.78); margin-top: .75rem; }
.band .hero-actions { margin-top: 0; }

/* ---------- footer ---------- */
.footer { padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 56rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .footer-grid { grid-template-columns: 1fr; } }
.footer .logo { padding: 0; margin-bottom: 1rem; }
.footer h4 { font-size: .8rem; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.footer li { padding: .3rem 0; font-size: .95rem; }
.footer li a { color: var(--ink-2); transition: color var(--t) var(--ease); }
.footer li a:hover { color: var(--ink); }
.footer .disclaimer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-3); max-width: 60em; }
.footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 1.25rem; font-size: .85rem; color: var(--ink-3); }

/* ---------- inner pages ---------- */
.page-hero { padding: 8.5rem 0 3rem; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); max-width: 13em; }
.page-hero .lede { margin-top: 1.25rem; }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.toc a { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: .85rem; color: var(--ink-2); transition: all var(--t) var(--ease); }
.toc a i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.toc a:hover { color: var(--ink); border-color: var(--ink); }

.entry { scroll-margin-top: 6rem; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.entry:first-of-type { border-top: 0; }
.entry-head .icon { margin-bottom: 1.25rem; }
.entry-head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.entry-head .lede { margin-top: 1rem; font-size: 1.05rem; }
.entry-body p { color: var(--ink-2); }
.now { margin-top: 1.75rem; padding: 1.5rem; border-radius: var(--r-lg); background: var(--bg-2); }
.now h3 { font-size: 1rem; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.now h3 i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.now ol { counter-reset: now; display: grid; gap: .5rem; }
.now li { display: grid; grid-template-columns: 26px 1fr; gap: .75rem; font-size: .95rem; color: var(--ink-2); }
.now li::before { counter-increment: now; content: counter(now); width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: .75rem; color: var(--c); }

.prose h3 { margin-top: 2rem; margin-bottom: .5rem; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.prose ul { display: grid; gap: .5rem; margin-top: 1rem; }
.prose ul li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; color: var(--ink-2); font-size: .975rem; }
.prose ul li svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: .15rem; }
.prose a { color: var(--blue); font-weight: 500; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.no-js .reveal { opacity: 1; transform: none; }

/* honeypot: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--ink); color: #fff; padding: .5rem .75rem; border-radius: 8px; transition: top var(--t) var(--ease); }
.skip:focus { top: 1rem; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
