/* ============================================================
   Workcules — Modern UI
   Fonts: Barlow (display) + Public Sans (body)
   Brand: #0C68E9 blue · #003768 navy · #00B8D9 cyan
   ============================================================ */

:root {
  --blue: #0C68E9;
  --blue-600: #0A56C2;
  --blue-050: #EAF2FE;
  --navy: #003768;
  --navy-900: #06182B;
  --cyan: #00B8D9;
  --cyan-050: #E5FAFE;
  --ink: #1C252E;
  --slate: #637381;
  --slate-300: #B9C2CC;
  --line: #E7ECF2;
  --bg: #FFFFFF;
  --bg-soft: #F6F9FC;
  --white: #FFFFFF;

  --grad-brand: linear-gradient(135deg, #0C68E9 0%, #0047AB 50%, #003768 100%);
  --grad-cta: linear-gradient(135deg, #0C68E9, #00B8D9);

  --font-display: "Barlow", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(16, 36, 60, .06), 0 1px 8px rgba(16, 36, 60, .05);
  --shadow-md: 0 6px 24px -6px rgba(16, 36, 60, .12);
  --shadow-lg: 0 24px 48px -12px rgba(6, 24, 43, .18);

  --radius: 16px;
  --radius-lg: 24px;
  --container: 1160px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn-primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(12, 104, 233, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(12, 104, 233, .6); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--slate-300);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-white {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
}
.btn-white:hover { transform: translateY(-2px); }
.btn-ghost-light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: #231F20;
}
.brand-logo { height: 36px; width: auto; display: block; }
/* The "W" is knocked out of the hexagon, so it takes the background side of the pair */
.brand-logo .logo-w { fill: #FFFFFF; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.main-nav a:hover { background: var(--blue-050); color: var(--blue); }
.main-nav a.active { color: var(--blue); font-weight: 600; }
.main-nav a .ext { opacity: .45; }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  border-radius: 10px;
}
.nav-toggle:hover { background: var(--blue-050); }
.nav-toggle .bars { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; border-radius: 2px; transition: background .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, top .25s ease;
}
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
body.nav-open .nav-toggle .bars { background: transparent; }
body.nav-open .nav-toggle .bars::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle .bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 96px;
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 12% -8%, rgba(12, 104, 233, .10), transparent 60%),
    radial-gradient(640px 420px at 95% 4%, rgba(0, 184, 217, .12), transparent 60%),
    linear-gradient(180deg, #FBFDFF 0%, #F2F7FD 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-cta); box-shadow: 0 0 0 4px rgba(0, 184, 217, .18); }

.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: var(--grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--slate);
  max-width: 34em;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 22px; padding: 0; margin: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.hero-points .check {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cyan-050); color: var(--cyan);
}

/* Hero visual — floating match cards */
.hero-visual { position: relative; min-height: 460px; }
.hv-blob {
  position: absolute; inset: 6% 0 6% 8%;
  background: var(--grad-brand);
  border-radius: 36% 64% 55% 45% / 45% 40% 60% 55%;
  opacity: .95;
  filter: saturate(1.05);
}
.hv-blob::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(240px 200px at 78% 18%, rgba(0, 184, 217, .5), transparent 65%),
    radial-gradient(280px 240px at 15% 88%, rgba(255, 255, 255, .14), transparent 60%);
}
.hv-card {
  position: absolute;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(231, 236, 242, .9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  animation: floaty 7s ease-in-out infinite;
}
.hv-card .avatar {
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
.hv-card .t { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.hv-card .s { font-size: 12.5px; color: var(--slate); line-height: 1.35; }
.hv-jobseeker { top: 6%; left: 0; animation-delay: 0s; }
.hv-jobseeker .avatar { background: linear-gradient(135deg, #0C68E9, #4A8FF0); }
.hv-employer { bottom: 8%; right: 0; animation-delay: 1.6s; }
.hv-employer .avatar { background: linear-gradient(135deg, #00B8D9, #0891B2); }
.hv-match {
  top: 44%; left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  gap: 6px;
  text-align: center;
  padding: 18px 26px;
  animation-delay: .8s;
}
.hv-match .pulse {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--grad-cta);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 0 0 8px rgba(12, 104, 233, .12), 0 0 0 18px rgba(12, 104, 233, .05);
}
.hv-match .t { font-size: 13.5px; }
.hv-tag {
  position: absolute;
  background: rgba(6, 24, 43, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  animation: floaty 8s ease-in-out infinite;
}
.hv-tag-1 { top: 27%; right: 4%; animation-delay: 2.4s; }
.hv-tag-2 { bottom: 26%; left: 3%; animation-delay: 3.2s; }

@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
.hv-match { animation-name: floatyCenter; }
@keyframes floatyCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

/* ---------- Logo wall ---------- */
.logowall { padding: 64px 0 56px; background: var(--bg); }
.logowall .kicker { text-align: center; margin-bottom: 30px; }
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .logo-chip {
  width: 92px; height: 92px; flex: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
}
.marquee .logo-chip img {
  width: 100%; height: 100%; object-fit: contain;
  filter: grayscale(1); opacity: .75;
  transition: filter .25s ease, opacity .25s ease;
}
.marquee .logo-chip:hover img { filter: none; opacity: 1; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.section-head p { color: var(--slate); font-size: 17px; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute; top: 24px; right: 26px;
  font-family: var(--font-display);
  font-size: 44px; font-weight: 800;
  color: var(--blue-050);
  line-height: 1;
}
.step-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-050);
  color: var(--blue);
  margin-bottom: 20px;
}
.step-card:nth-child(2) .step-icon { background: var(--cyan-050); color: var(--cyan); }
.step-card:nth-child(3) .step-icon { background: #EDF4EA; color: #2E7D32; }
.step-card h3 { font-size: 20px; font-weight: 700; }
.step-card p { color: var(--slate); font-size: 15px; margin: 0; }

/* Audience cards */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.aud-card {
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 380px;
  box-shadow: var(--shadow-md);
}
.aud-jobseekers { background: var(--grad-brand); color: #fff; }
.aud-employers { background: #fff; border: 1px solid var(--line); }
.aud-card::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  right: -120px; top: -120px;
  opacity: .5;
  pointer-events: none;
}
.aud-jobseekers::before { background: radial-gradient(circle, rgba(0,184,217,.55), transparent 65%); }
.aud-employers::before { background: radial-gradient(circle, rgba(12,104,233,.12), transparent 65%); }
.aud-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.aud-jobseekers .aud-label { background: rgba(255,255,255,.14); color: #fff; }
.aud-employers .aud-label { background: var(--blue-050); color: var(--blue); }
.aud-card h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; }
.aud-jobseekers h3 { color: #fff; }
.aud-card > p { font-size: 15.5px; margin: 0 0 22px; max-width: 30em; }
.aud-jobseekers > p { color: rgba(255,255,255,.85); }
.aud-employers > p { color: var(--slate); }
.aud-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 11px; }
.aud-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.aud-list .check { flex: none; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.aud-jobseekers .aud-list .check { background: rgba(255,255,255,.16); color: #7FE3F5; }
.aud-employers .aud-list .check { background: var(--blue-050); color: var(--blue); }
.aud-card .btn { margin-top: auto; }

/* LayoffTracker callout */
.tracker-card {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tracker-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(420px 300px at 88% 10%, rgba(0, 184, 217, .22), transparent 60%),
    radial-gradient(380px 300px at 8% 100%, rgba(12, 104, 233, .25), transparent 60%);
  pointer-events: none;
}
.tracker-card h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 800; position: relative; }
.tracker-card p { color: rgba(255,255,255,.75); font-size: 16px; margin: 0 0 28px; position: relative; }
.tracker-card .btn { position: relative; }
.tracker-visual { position: relative; display: grid; gap: 12px; }
.tick {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 13px 18px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 500;
}
.tick .bar { height: 8px; border-radius: 999px; background: var(--grad-cta); flex: none; }

/* CTA band */
.cta-band {
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(360px 260px at 15% 0%, rgba(0,184,217,.35), transparent 60%),
    radial-gradient(420px 300px at 90% 100%, rgba(255,255,255,.12), transparent 60%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; position: relative; max-width: 20em; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.8); font-size: 17px; max-width: 36em; margin: 0 auto 34px; position: relative; }
.cta-band .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; position: relative; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.72);
  padding: 72px 0 36px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer .brand { color: #FFFFFF; margin-bottom: 20px; }
.site-footer .brand-logo { height: 38px; }
.site-footer .brand-logo .logo-w { fill: #231F20; }
.footer-about p { font-size: 14.5px; max-width: 30em; margin: 0 0 22px; }
.footer-col h4 {
  color: #fff; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: 14.5px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: 14.5px; line-height: 1.7; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  transition: background .18s ease, transform .18s ease;
}
.socials a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 28px;
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .legal-links { display: flex; gap: 20px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 64px;
  background:
    radial-gradient(640px 360px at 85% 0%, rgba(0,184,217,.10), transparent 60%),
    radial-gradient(560px 360px at 8% 20%, rgba(12,104,233,.09), transparent 60%),
    linear-gradient(180deg, #FBFDFF, #F2F7FD);
}
.page-hero .kicker { color: var(--blue); margin-bottom: 14px; display: block; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; margin-bottom: 14px; }
.page-hero .lede { color: var(--slate); font-size: 17.5px; max-width: 42em; margin: 0; }
.page-hero .meta { margin-top: 18px; font-size: 14px; color: var(--slate); font-weight: 500; }

/* ---------- Legal layout ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  padding: 72px 0 40px;
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  max-height: calc(100vh - var(--header-h) - 56px);
  overflow-y: auto;
  padding-right: 8px;
}
.toc h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a {
  display: block;
  font-size: 13.5px;
  color: var(--slate);
  padding: 6px 0 6px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
  line-height: 1.4;
}
.toc a:hover { color: var(--blue); }
.toc a.active { color: var(--blue); font-weight: 600; border-left-color: var(--blue); }

.legal-body { max-width: 760px; }
.legal-body h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 52px 0 16px;
  padding-top: 8px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 18px; font-weight: 700; margin: 30px 0 10px; }
.legal-body p, .legal-body li { color: #3A4652; font-size: 15.5px; }
.legal-body ul, .legal-body ol { padding-left: 24px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { font-weight: 500; }
.legal-body a:hover { text-decoration: underline; }

.notice {
  background: #FFF7E8;
  border: 1px solid #F5D9A8;
  border-left: 4px solid #E9A23B;
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 14.5px;
  font-weight: 600;
  color: #7A4E10;
  margin-bottom: 40px;
  line-height: 1.6;
}
.callout {
  background: var(--blue-050);
  border: 1px solid #CBDFFB;
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 15px;
  color: #123D75;
  margin: 20px 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  margin: 22px 0 30px;
}
.legal-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.legal-table th {
  background: var(--bg-soft);
  text-align: left;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.legal-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: #3A4652;
  line-height: 1.55;
}
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td strong { color: var(--ink); }

/* ---------- Story page ---------- */
.story-intro { text-align: center; max-width: 720px; margin: 0 auto; }
.story-intro .badge-year {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-900); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px; padding: 9px 20px; margin-bottom: 24px;
}
.story-intro h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; }
.story-intro .lede { color: var(--slate); font-size: 18px; }
.story-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.story-tags span {
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  border-radius: 999px; padding: 9px 18px;
  font-size: 14px; font-weight: 600; color: var(--navy);
}

.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  border-radius: 2px;
}
.tl-item { position: relative; padding: 0 0 44px 84px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.tl-item:nth-child(even) .tl-dot { color: var(--cyan); }
.tl-item h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.tl-item p { color: var(--slate); font-size: 15.5px; margin: 0; max-width: 40em; }
.tl-item .quote {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--ink);
  font-style: italic;
  box-shadow: var(--shadow-sm);
}

.patent-card {
  max-width: 760px;
  margin: 72px auto 0;
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  color: #fff;
  display: flex;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.patent-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(300px 220px at 90% 0%, rgba(0,184,217,.4), transparent 60%);
  pointer-events: none;
}
.patent-card .seal {
  flex: none;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1.5px dashed rgba(255,255,255,.45);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.patent-card h3 { color: #fff; font-size: 24px; font-weight: 800; margin-bottom: 8px; position: relative; }
.patent-card p { color: rgba(255,255,255,.82); font-size: 15.5px; margin: 0; position: relative; }

/* ---------- Signup / form pages ---------- */
.auth-section {
  padding: calc(var(--header-h) + 64px) 0 96px;
  background:
    radial-gradient(640px 380px at 88% 0%, rgba(0, 184, 217, .10), transparent 60%),
    radial-gradient(560px 380px at 4% 18%, rgba(12, 104, 233, .09), transparent 60%),
    linear-gradient(180deg, #FBFDFF, #F2F7FD 46%, #FFFFFF 100%);
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 64px;
  align-items: start;
}
.auth-intro { position: sticky; top: calc(var(--header-h) + 36px); }
.auth-intro .kicker { color: var(--blue); display: block; margin-bottom: 14px; }
.auth-intro h1 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; margin-bottom: 16px; }
.auth-intro .lede { color: var(--slate); font-size: 17px; max-width: 34em; margin: 0; }

.auth-benefits { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.auth-benefits li { display: flex; gap: 14px; align-items: flex-start; }
.auth-benefits .ico {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-050);
  color: var(--blue);
}
.auth-benefits li:nth-child(2) .ico { background: var(--cyan-050); color: var(--cyan); }
.auth-benefits li:nth-child(3) .ico { background: #EDF4EA; color: #2E7D32; }
.auth-benefits .t { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.3; }
.auth-benefits .s { font-size: 14.5px; color: var(--slate); line-height: 1.5; }

.auth-aside-note {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--slate);
}
.auth-aside-note a { font-weight: 600; }

/* Form card */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}
.form-card > h2 { font-size: 23px; font-weight: 800; margin-bottom: 6px; }
.form-card > .form-sub { color: var(--slate); font-size: 14.5px; margin: 0 0 30px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
}
.field .req { color: #D8434E; margin-left: 2px; }
.field .hint { font-size: 12.5px; color: var(--slate); font-weight: 400; }

.input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.input::placeholder { color: var(--slate-300); }
.input:hover { border-color: #CBD5E1; }
.input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(12, 104, 233, .14);
}
.input:user-invalid { border-color: #D8434E; }
.input:user-invalid:focus { box-shadow: 0 0 0 4px rgba(216, 67, 78, .14); }

select.input {
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23637381' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}
select.input:invalid { color: var(--slate-300); }

.form-actions { margin-top: 30px; }
.btn-block { width: 100%; }
.form-legal {
  font-size: 12.5px;
  color: var(--slate);
  text-align: center;
  margin: 16px 0 0;
  line-height: 1.6;
}
.form-legal a { font-weight: 600; }

/* Success state */
.form-success { display: none; text-align: center; padding: 26px 8px 14px; }
.form-success.show { display: block; }
.form-card.done .form-body { display: none; }
.form-success .tick {
  width: 74px; height: 74px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--grad-cta);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(12, 104, 233, .12), 0 0 0 18px rgba(12, 104, 233, .05);
}
.form-success h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.form-success p { color: var(--slate); font-size: 15.5px; max-width: 34em; margin: 0 auto 26px; }

.form-error {
  display: none;
  background: #FDECEE;
  border: 1px solid #F3C3C8;
  border-left: 4px solid #D8434E;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: #8C2B34;
  margin-bottom: 22px;
}
.form-error.show { display: block; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hv-card, .hv-tag, .marquee-track { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 420px; max-width: 560px; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .audience { grid-template-columns: 1fr; }
  .aud-card { min-height: 0; }
  .tracker-card { grid-template-columns: 1fr; padding: 44px 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .auth-grid { grid-template-columns: 1fr; gap: 44px; }
  .auth-intro { position: static; max-width: 640px; }
  .legal-layout { grid-template-columns: 1fr; gap: 40px; }
  .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: var(--bg-soft); }
  .toc ol { border-left: 0; }
  .toc a { padding-left: 0; border-left: 0; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .brand-logo { height: 30px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 20px 26px;
    margin: 0;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
  }
  body.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 13px 16px; border-radius: 12px; font-size: 16px; }
  .main-nav .nav-cta-group {
    display: grid; gap: 10px; margin-top: 14px; padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .site-header { background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
}
@media (min-width: 861px) { .main-nav .nav-cta-group { display: none; } }

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .hero { padding-bottom: 68px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 380px; }
  .hv-card { padding: 12px 14px; }
  .hv-tag { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 56px 26px; }
  .auth-section { padding-bottom: 68px; }
  .form-card { padding: 26px 20px; border-radius: var(--radius); }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .cta-band .actions .btn { width: 100%; }
  .tracker-card { padding: 36px 26px; }
  .patent-card { flex-direction: column; text-align: center; padding: 36px 28px; }
  .tl-item { padding-left: 72px; }
  .tl-dot { width: 48px; height: 48px; border-radius: 14px; }
  .timeline::before { left: 23px; }
}
