/* ============================================================
   FGLM Home Health Care
   Direction: "Dusk" — dark editorial, layered depth, sunset light.
   ============================================================ */

:root {
  /* Surfaces — dark first */
  --bg:         #F6F2FA;
  --surface-1:  #FFFFFF;
  --surface-2:  #EFE8F7;
  --surface-3:  #E5DBF2;
  --line:       rgba(74,44,106,0.12);
  --line-mid:   rgba(74,44,106,0.22);
  --line-hot:   rgba(139,92,196,0.45);

  /* Light surfaces (used sparingly) */
  --paper:      #FFFFFF;
  --paper-2:    #F0EAF8;

  /* Accents */
  --pink:       #7A4BB0;
  --pink-dim:   #6E43A3;
  --coral:      #B98BD9;
  --lilac:      #7C6BB0;
  --mint:       #3F8F76;

  /* Text */
  --text:       #241733;
  --text-mid:   #4E3E63;
  --text-dim:   #6B5C80;
  --text-ink:   #FFFFFF;
  --text-ink-mid: #EFE8F7;

  /* Type */
  --f-display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --f-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Scale */
  --t--2: 0.78rem;
  --t--1: clamp(0.9rem, 0.87rem + 0.14vw, 0.99rem);
  --t-0:  clamp(1.06rem, 1.01rem + 0.24vw, 1.19rem);
  --t-1:  clamp(1.18rem, 1.09rem + 0.4vw, 1.42rem);
  --t-2:  clamp(1.4rem, 1.24rem + 0.7vw, 1.85rem);
  --t-3:  clamp(1.85rem, 1.5rem + 1.5vw, 2.8rem);
  --t-4:  clamp(2.4rem, 1.7rem + 3vw, 4.2rem);
  --t-5:  clamp(3rem, 1.9rem + 4.8vw, 6.2rem);

  /* Space */
  --s-1: 0.5rem;
  --s-2: 0.875rem;
  --s-3: 1.5rem;
  --s-4: 2.25rem;
  --s-5: 3.5rem;
  --s-6: 5.5rem;
  --s-7: 8rem;

  --r-sm: 10px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --shell: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--t-0);
  line-height: 1.72;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film grain — sits above everything, ignores pointer */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0 0 var(--s-3);
  color: var(--text);
}
h1 { font-size: var(--t-5); font-weight: 500; }
h2 { font-size: var(--t-4); }
h3 { font-size: var(--t-2); letter-spacing: -0.02em; }
h4 { font-size: var(--t-1); letter-spacing: -0.015em; }

p { margin: 0 0 var(--s-3); color: var(--text-mid); }
a { color: inherit; }
strong { color: var(--text); font-weight: 600; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--s-3); }
@media (min-width: 700px) { .shell { padding: 0 var(--s-4); } }

/* Gradient ink */
.ink-grad {
  background: linear-gradient(96deg, var(--pink) 0%, var(--coral) 55%, #D9C2F0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Eyebrow / label ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--f-mono);
  font-size: var(--t--2);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: var(--s-3);
}
.label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), transparent);
}
.label.on-paper { color: var(--pink-dim); }

/* Section index numbering */
.sec-index {
  font-family: var(--f-mono);
  font-size: var(--t--2);
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.rv-1.on { transition-delay: 0.07s; }
.rv-2.on { transition-delay: 0.14s; }
.rv-3.on { transition-delay: 0.21s; }
.rv-4.on { transition-delay: 0.28s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--f-body);
  font-weight: 550;
  font-size: var(--t--1);
  letter-spacing: -0.01em;
  padding: 0.92em 1.6em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-hot {
  background: linear-gradient(102deg, var(--pink), var(--coral));
  color: #FFFFFF;
  box-shadow: 0 10px 30px -12px rgba(139,92,196,0.7);
}
.btn-hot:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(139,92,196,0.85); }

.btn-ghost {
  background: rgba(74,44,106,0.045);
  border-color: var(--line-mid);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--line-hot); background: rgba(74,44,106,0.075); transform: translateY(-2px); }

.btn-ink {
  background: transparent;
  border-color: rgba(26,14,29,0.2);
  color: var(--text-ink);
}
.btn-ink:hover { border-color: var(--pink-dim); color: var(--pink-dim); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246,242,250,0.72);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav.stuck { background: rgba(246,242,250,0.94); border-bottom-color: var(--line); }
.nav .shell { display: flex; align-items: center; gap: var(--s-4); padding-top: var(--s-2); padding-bottom: var(--s-2); }

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  margin-right: auto;
  transition: opacity 0.25s var(--ease);
}
.brand:hover { opacity: 0.82; }
.brand:focus-visible { outline: 2px solid var(--coral); outline-offset: 6px; border-radius: 4px; }
.brand-logo { height: 34px; width: auto; display: block; flex-shrink: 0; }
/* Tighten the nav before the mobile breakpoint so five links still fit. */
@media (max-width: 1240px) {
  .nav .shell { gap: var(--s-3); }
  .nav-links { gap: var(--s-3); }
  .nav-end { gap: var(--s-2); }
}
/* Between tablet and desktop there isn't room for links + phone + button.
   The links matter more here; the number stays in the hero and footer. */
@media (max-width: 1120px) and (min-width: 941px) {
  .nav-tel { display: none; }
  .nav-links { gap: var(--s-2); }
}
@media (max-width: 1100px) { .brand-logo { height: 30px; } }
@media (max-width: 420px)  { .brand-logo { height: 26px; } }

/* Very narrow phones: drop the inline phone number so the logo
   and menu button always fit without the nav overflowing. */
@media (max-width: 400px) {
  .nav .shell { gap: var(--s-2); }
  .nav-tel { display: none; }
  .brand-logo { height: 24px; }
}

.nav-links { display: flex; align-items: center; gap: var(--s-4); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative;
  color: var(--text-mid);
  text-decoration: none;
  font-size: var(--t--1);
  font-weight: 450;
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -7px;
  width: 0; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--coral));
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--text); }

.nav-end { display: flex; align-items: center; gap: var(--s-3); flex-shrink: 0; }
.nav-tel {
  font-family: var(--f-mono);
  font-size: var(--t--1);
  font-weight: 500;
  color: var(--coral);
  text-decoration: none;
  white-space: nowrap;
}
.nav-tel:hover { color: #D9C2F0; }

.nav-burger { display: none; background: none; border: 1px solid var(--line-mid); border-radius: var(--r-sm); color: var(--text); cursor: pointer; padding: 0.45em; line-height: 0; }

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-end .btn { display: none; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-3);
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(14,6,15,0.98);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
    padding: var(--s-4) var(--s-4) var(--s-5);
  }
  .nav.open .nav-links a { font-size: var(--t-1); }
  .nav.open .nav-links a::after { display: none; }
}

/* ---------- Glow atmospherics ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.glow-a { width: 520px; height: 520px; background: radial-gradient(circle, rgba(139,92,196,0.13), transparent 68%); }
.glow-b { width: 460px; height: 460px; background: radial-gradient(circle, rgba(124,107,176,0.11), transparent 68%); }
.glow-c { width: 400px; height: 400px; background: radial-gradient(circle, rgba(185,139,217,0.13), transparent 68%); }
.drift { animation: drift 18s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-26px, 22px) scale(1.07); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: var(--s-7) 0 var(--s-6); overflow: hidden; isolation: isolate; }
.hero .glow-a { top: -180px; right: -120px; }
.hero .glow-b { bottom: -220px; left: -160px; }
.hero .glow-c { top: 34%; left: 42%; }

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: var(--s-6);
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-5); }
}

.hero h1 { margin-bottom: var(--s-3); }
.hero-lede { font-size: var(--t-1); color: var(--text-mid); max-width: 44ch; margin-bottom: var(--s-4); }
.hero-cta { display: flex; gap: var(--s-2); flex-wrap: wrap; }

.hero-foot {
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  font-size: var(--t--1);
  color: var(--text-dim);
}
.hero-foot .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(63,143,118,0.15); flex-shrink: 0; }

/* Layered card stack */
.stack { position: relative; min-height: 460px; }
@media (max-width: 1000px) { .stack { min-height: 400px; max-width: 460px; margin: 0 auto; } }
@media (max-width: 520px) { .stack { min-height: 430px; } }

.pane {
  position: absolute;
  background: linear-gradient(158deg, rgba(43,23,53,0.9), rgba(23,12,26,0.86));
  border: 1px solid var(--line-mid);
  border-radius: var(--r-lg);
  box-shadow: 0 32px 70px -28px rgba(74,44,106,0.16), inset 0 1px 0 rgba(74,44,106,0.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.pane-main { inset: 0 8% 14% 0; padding: var(--s-4); animation: bobA 11s ease-in-out infinite; }
.pane-chip {
  right: 0; bottom: 0; width: 62%;
  padding: var(--s-3);
  background: linear-gradient(150deg, rgba(139,92,196,0.16), rgba(43,23,53,0.94));
  border-color: rgba(139,92,196,0.28);
  animation: bobB 13s ease-in-out infinite;
}
@keyframes bobA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes bobB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(11px); } }
@media (max-width: 520px) {
  .pane-main { inset: 0 0 22% 0; padding: var(--s-3); }
  .pane-chip { width: 78%; }
}

.pane-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-3); }
.pane-tag { font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-dim); }
.live { display: inline-flex; align-items: center; gap: 0.45em; font-family: var(--f-mono); font-size: var(--t--2); color: var(--mint); letter-spacing: 0.1em; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: blip 2.4s ease-in-out infinite; }
@keyframes blip { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(63,143,118,0.5);} 50% { opacity: 0.55; box-shadow: 0 0 0 6px rgba(63,143,118,0);} }

.pane-name { font-family: var(--f-display); font-size: var(--t-2); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.15em; }
.pane-sub { font-size: var(--t--1); color: var(--text-dim); margin-bottom: var(--s-3); }

.visit { display: flex; align-items: center; gap: 0.8em; padding: 0.72em 0; border-top: 1px solid var(--line); }
.visit:first-of-type { border-top: none; }
.visit-dot {
  width: 30px; height: 30px; border-radius: var(--r-sm); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(74,44,106,0.075);
  border: 1px solid var(--line-mid);
}
.visit-txt { min-width: 0; flex: 1; }
.visit-txt b { display: block; font-size: var(--t--1); font-weight: 550; color: var(--text); letter-spacing: -0.01em; }
.visit-txt span { font-family: var(--f-mono); font-size: var(--t--2); color: var(--text-dim); }
.visit-state { font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: 0.08em; flex-shrink: 0; }
.visit-state.done { color: var(--mint); }
.visit-state.next { color: var(--coral); }

.chip-label { font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.3em; }
.chip-value { font-family: var(--f-display); font-size: var(--t-3); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.chip-note { font-size: var(--t--2); color: var(--text-dim); margin-top: 0.45em; }

/* ============================================================
   PILLAR BAND
   ============================================================ */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-1); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }
.pillar { padding: var(--s-4) var(--s-3); border-left: 1px solid var(--line); }
.pillar:first-child { border-left: none; padding-left: 0; }
@media (max-width: 900px) {
  .pillar:nth-child(3) { border-left: none; padding-left: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .pillar { border-left: none; padding-left: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: none; }
}
.pillar-n { font-family: var(--f-mono); font-size: var(--t--2); color: var(--pink); letter-spacing: 0.12em; display: block; margin-bottom: var(--s-2); }
.pillar b { display: block; font-family: var(--f-display); font-size: var(--t-1); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.3em; }
.pillar span { font-size: var(--t--1); color: var(--text-dim); line-height: 1.55; }

/* ============================================================
   SECTIONS
   ============================================================ */
.sec { position: relative; padding: var(--s-7) 0; }
.sec-tight { padding: var(--s-6) 0; }
.sec-1 { background: var(--surface-1); }
.sec-paper { background: var(--paper); color: var(--text-ink); }
.sec-paper h2, .sec-paper h3, .sec-paper h4 { color: var(--text-ink); }
.sec-paper p { color: var(--text-ink-mid); }

.sec-head { max-width: 60ch; margin-bottom: var(--s-5); }
.sec-head p { font-size: var(--t-1); }

.sec-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.sec-head-split .sec-head { margin-bottom: 0; }

/* ============================================================
   BENTO
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-3); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } }

.tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-2);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}
.tile:hover { border-color: var(--line-hot); transform: translateY(-3px); }
.tile > * { position: relative; z-index: 1; }

.t-7 { grid-column: span 7; }
.t-5 { grid-column: span 5; }
.t-6 { grid-column: span 6; }
.t-4 { grid-column: span 4; }
.t-8 { grid-column: span 8; }
@media (max-width: 900px) { .tile { grid-column: span 1 !important; } }

/* Featured tile with light wash */
.tile-hot {
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(139,92,196,0.20), transparent 62%),
    linear-gradient(160deg, var(--surface-3), var(--surface-2));
  border-color: rgba(139,92,196,0.22);
}
.tile-hot::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(80% 90% at 88% 10%, rgba(185,139,217,0.13), transparent 60%);
}

.tile-tag {
  font-family: var(--f-mono);
  font-size: var(--t--2);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: var(--s-3);
}
.tile-tag i { width: 5px; height: 5px; border-radius: 50%; background: var(--pink); flex-shrink: 0; }
.tile h3 { margin-bottom: 0.4em; }
.tile p { margin-bottom: 0; font-size: var(--t--1); }
.tile-body { flex: 1; }
.tile-foot { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); }

.mini-list { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4em; }
.mini-list li {
  font-family: var(--f-mono);
  font-size: var(--t--2);
  letter-spacing: 0.06em;
  color: var(--text-mid);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-pill);
  padding: 0.35em 0.85em;
}

.icon-badge {
  width: 42px; height: 42px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(74,44,106,0.075);
  border: 1px solid var(--line-mid);
  margin-bottom: var(--s-3);
}

/* ============================================================
   STICKY SPLIT (process)
   ============================================================ */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s-6); align-items: start; }
@media (max-width: 950px) { .split { grid-template-columns: 1fr; gap: var(--s-4); } }
.split-aside { position: sticky; top: 108px; }
@media (max-width: 950px) { .split-aside { position: static; } }

.flow { display: flex; flex-direction: column; gap: var(--s-3); }
.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-2);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.flow-step:hover { border-color: var(--line-hot); background: var(--surface-3); }
.flow-n {
  font-family: var(--f-mono);
  font-size: var(--t--2);
  letter-spacing: 0.06em;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--pink), var(--coral));
  color: #FFFFFF;
  flex-shrink: 0;
  font-weight: 600;
}
.flow-step h4 { margin-bottom: 0.35em; }
.flow-step p { margin: 0; font-size: var(--t--1); }

/* ============================================================
   PULL QUOTE
   ============================================================ */
.pull { position: relative; overflow: hidden; }
.pull .glow-b { top: -140px; right: -120px; }
.pull-inner { position: relative; z-index: 1; max-width: 20ch; }
.pull-q {
  font-family: var(--f-display);
  font-size: var(--t-4);
  font-weight: 500;
  font-style: italic;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 var(--s-4);
  max-width: 18ch;
}
.pull-attr { display: flex; align-items: center; gap: 0.8em; }
.pull-attr .rule { width: 34px; height: 1px; background: var(--pink); }
.pull-attr span { font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }

/* ============================================================
   CTA
   ============================================================ */
.cta { position: relative; overflow: hidden; padding: var(--s-7) 0; text-align: center; background: var(--surface-1); }
.cta .glow-a { top: -220px; left: 50%; transform: translateX(-50%); }
.cta .shell { position: relative; z-index: 1; max-width: 720px; }
.cta h2 { margin-bottom: var(--s-3); }
.cta-row { display: flex; gap: var(--s-2); justify-content: center; flex-wrap: wrap; margin-top: var(--s-4); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.phead { position: relative; overflow: hidden; padding: var(--s-6) 0 var(--s-5); isolation: isolate; }
.phead .glow-a { top: -240px; right: -100px; }
.phead .glow-b { bottom: -260px; left: -140px; }
.phead .shell { position: relative; z-index: 1; }
.phead h1 { font-size: var(--t-4); max-width: 18ch; }
.phead p { font-size: var(--t-1); color: var(--text-mid); max-width: 56ch; margin-bottom: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--surface-1); border-top: 1px solid var(--line); padding: var(--s-6) 0 var(--s-4); }
.foot-verse {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-2);
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 24ch;
  margin: 0 0 var(--s-5);
}
.foot-verse cite { display: block; font-family: var(--f-mono); font-style: normal; font-size: var(--t--2); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-top: var(--s-2); }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot-cols { grid-template-columns: 1fr; } }
.foot h4 { font-family: var(--f-mono); font-size: var(--t--2); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: var(--s-3); }
.foot p { font-size: var(--t--1); color: var(--text-dim); max-width: 34ch; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 0.6em; }
.foot li a { font-size: var(--t--1); color: var(--text-mid); text-decoration: none; transition: color 0.25s var(--ease); }
.foot li a:hover { color: var(--coral); }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding-top: var(--s-3); font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: 0.04em; color: var(--text-dim); }

/* ============================================================
   FORMS
   ============================================================ */
.panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-5);
}
@media (max-width: 620px) { .panel { padding: var(--s-4) var(--s-3); border-radius: var(--r-lg); } }

.field { margin-bottom: var(--s-3); }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 620px) { .field-2 { grid-template-columns: 1fr; } }

label { display: block; font-size: var(--t--1); font-weight: 550; letter-spacing: -0.01em; margin-bottom: 0.5em; color: var(--text); }
label .req { color: var(--pink); }
.hint { font-size: var(--t--2); color: var(--text-dim); margin-top: 0.4em; }

input, select, textarea {
  width: 100%;
  font-family: var(--f-body);
  font-size: var(--t-0);
  color: var(--text);
  background: rgba(74,44,106,0.045);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-sm);
  padding: 0.78em 0.95em;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: rgba(74,44,106,0.075);
  box-shadow: 0 0 0 4px rgba(139,92,196,0.14);
}
textarea { resize: vertical; min-height: 118px; }
select option { background: var(--surface-2); color: var(--text); }

fieldset { border: none; padding: 0; margin: 0 0 var(--s-4); }
legend {
  font-family: var(--f-mono);
  font-size: var(--t--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  padding: 0;
  margin-bottom: var(--s-3);
}
.fs-rule { height: 1px; background: var(--line); margin-bottom: var(--s-3); }

.check { display: flex; align-items: flex-start; gap: 0.7em; margin-bottom: 0.7em; }
.check input { width: auto; margin-top: 0.35em; flex-shrink: 0; accent-color: var(--pink); }
.check label { font-weight: 400; margin: 0; color: var(--text-mid); }

/* ============================================================
   CARDS (side content)
   ============================================================ */
.card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.card:hover { border-color: var(--line-hot); transform: translateY(-3px); }
.card-tag { font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-dim); display: block; margin-bottom: var(--s-2); }
.card h3 { font-size: var(--t-1); margin-bottom: 0.45em; }
.card p { font-size: var(--t--1); margin-bottom: 0; }
.card a { color: var(--coral); }

/* ============================================================
   DOCUMENT PORTAL
   ============================================================ */
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
@media (max-width: 860px) { .assure { grid-template-columns: 1fr; } }
.assure-item { display: flex; gap: 0.85em; align-items: flex-start; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.assure-item svg { flex-shrink: 0; margin-top: 2px; }
.assure-item b { display: block; font-size: var(--t--1); font-weight: 600; color: var(--text); margin-bottom: 0.25em; letter-spacing: -0.01em; }
.assure-item span { font-size: var(--t--2); color: var(--text-dim); line-height: 1.55; }

.ready { list-style: none; margin: 0; padding: 0; }
.ready li { display: flex; gap: 0.85em; align-items: flex-start; padding: 0.85em 0; border-top: 1px solid var(--line); }
.ready li:first-child { border-top: none; padding-top: 0; }
.ready .n {
  font-family: var(--f-mono); font-size: var(--t--2);
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(139,92,196,0.14); color: var(--pink);
  border: 1px solid rgba(139,92,196,0.25);
}
.ready b { display: block; font-size: var(--t--1); font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.ready span { font-size: var(--t--2); color: var(--text-dim); }

.drop {
  position: relative;
  border: 1.5px dashed var(--line-mid);
  border-radius: var(--r-lg);
  background: rgba(74,44,106,0.045);
  padding: var(--s-5) var(--s-3);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.drop:hover { border-color: rgba(139,92,196,0.45); background: rgba(139,92,196,0.04); }
.drop:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
.drop.hot { border-color: var(--pink); background: rgba(139,92,196,0.09); transform: scale(1.008); }
.drop-ico {
  width: 52px; height: 52px; border-radius: 16px; margin: 0 auto var(--s-3);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(139,92,196,0.16), rgba(185,139,217,0.14));
  border: 1px solid rgba(139,92,196,0.22);
}
.drop b { display: block; font-family: var(--f-display); font-size: var(--t-1); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.3em; }
.drop small { font-family: var(--f-mono); font-size: var(--t--2); color: var(--text-dim); letter-spacing: 0.04em; }
.drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.filelist { list-style: none; margin: var(--s-3) 0 0; padding: 0; }
.filerow {
  display: flex; align-items: center; gap: 0.85em;
  background: rgba(74,44,106,0.045);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-sm);
  padding: 0.75em 0.9em;
  margin-bottom: 0.5em;
  animation: rowIn 0.4s var(--ease);
}
@keyframes rowIn { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none; } }
.filerow-ico {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 0.55rem; font-weight: 600;
  background: rgba(139,92,196,0.12); color: var(--pink);
  border: 1px solid rgba(139,92,196,0.2);
}
.filerow-meta { min-width: 0; flex: 1; }
.filerow-meta b { display: block; font-size: var(--t--1); font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.filerow-meta span { font-family: var(--f-mono); font-size: var(--t--2); color: var(--text-dim); }
.filerow-x {
  background: none; border: none; cursor: pointer; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%; color: var(--text-dim);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.filerow-x:hover { background: rgba(139,92,196,0.14); color: var(--pink); }
.bar { height: 3px; border-radius: 2px; background: rgba(74,44,106,0.11); margin-top: 0.45em; overflow: hidden; display: none; }
.filerow.up .bar, .filerow.ok .bar { display: block; }
.bar-fill { height: 100%; width: 0%; border-radius: 2px; background: linear-gradient(90deg, var(--pink), var(--coral)); transition: width 0.25s ease; }
.filerow.ok .filerow-ico { background: rgba(63,143,118,0.14); color: var(--mint); border-color: rgba(63,143,118,0.28); }
.filerow.bad { border-color: rgba(139,92,196,0.5); }
.filerow.bad .filerow-meta span { color: var(--pink); }

.notice { display: none; border-radius: var(--r); padding: var(--s-3); margin-top: var(--s-3); }
.notice.show { display: block; animation: rowIn 0.45s var(--ease); }
.notice.good { background: rgba(63,143,118,0.09); border: 1px solid rgba(63,143,118,0.3); }
.notice.bad { background: rgba(139,92,196,0.08); border: 1px solid rgba(139,92,196,0.3); }
.notice b { display: block; font-family: var(--f-display); font-size: var(--t-1); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.3em; color: var(--text); }
.notice p { margin: 0; font-size: var(--t--1); }

.fineprint { display: flex; gap: 0.7em; align-items: flex-start; background: rgba(74,44,106,0.045); border: 1px solid var(--line); border-radius: var(--r); padding: 0.9em 1em; margin-top: var(--s-3); }
.fineprint svg { flex-shrink: 0; margin-top: 2px; }
.fineprint p { margin: 0; font-size: var(--t--2); line-height: 1.6; color: var(--text-dim); }
.fineprint a { color: var(--coral); }

.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ---------- Two-column page layout ---------- */
.duo { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: var(--s-5); align-items: start; }
@media (max-width: 950px) { .duo { grid-template-columns: 1fr; } }
.duo-side { display: flex; flex-direction: column; gap: var(--s-3); }
@media (min-width: 951px) { .duo-side { position: sticky; top: 108px; } }

.stack-cards { display: flex; flex-direction: column; gap: var(--s-3); }

/* ============================================================
   THE DIFFERENCE — two columns, no bullet markers
   ============================================================ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }

.col-them, .col-us { border-radius: var(--r-lg); padding: var(--s-4); border: 1px solid var(--line); }
.col-them { background: rgba(74,44,106,0.045); }
.col-us {
  background: radial-gradient(120% 130% at 100% 0%, rgba(139,92,196,0.16), transparent 60%),
              linear-gradient(160deg, var(--surface-3), var(--surface-2));
  border-color: rgba(139,92,196,0.28);
}
.col-head {
  font-family: var(--f-mono); font-size: var(--t--2);
  letter-spacing: 0.14em; text-transform: uppercase;
  padding-bottom: var(--s-3); margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.col-them .col-head { color: var(--text-dim); }
.col-us .col-head { color: var(--coral); }

/* Rows separated by hairlines instead of bullet glyphs */
.cmp { list-style: none; margin: 0; padding: 0; }
.cmp li {
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line);
  font-size: var(--t--1);
}
.cmp li:first-child { border-top: none; padding-top: 0; }
.cmp li:last-child { padding-bottom: 0; }

/* Left column: quiet, struck through — the pattern being rejected */
.col-them .cmp li {
  color: var(--text-dim);
  text-decoration: line-through;
  text-decoration-color: rgba(139,92,196,0.4);
  text-decoration-thickness: 1px;
}

/* Right column: headline + supporting line, no marker needed */
.col-us .cmp li { color: var(--text); }
.col-us .cmp b {
  display: block;
  font-family: var(--f-display);
  font-size: var(--t-1);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.3em;
}
.col-us .cmp span { display: block; color: var(--text-mid); font-size: 0.95em; }

/* ============================================================
   INTAKE — camera capture tiles
   ============================================================ */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); margin-top: var(--s-3); }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr; } }

.shot {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-mid);
  border-radius: var(--r);
  background: rgba(74,44,106,0.045);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.shot:focus-within { outline: 2px solid var(--coral); outline-offset: 3px; }
.shot.busy { opacity: 0.55; pointer-events: none; }

/* Header: the label, always visible — even after a photo is taken */
.shot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  padding: 0.75em 0.9em;
  border-bottom: 1px solid var(--line);
}
.shot-name { font-size: var(--t--1); font-weight: 600; color: var(--text); letter-spacing: -0.01em; line-height: 1.3; }
.shot.opt .shot-name::after { content: ' · optional'; font-weight: 400; color: var(--text-dim); }
.shot-state {
  flex-shrink: 0;
  font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  padding: 0.25em 0.6em; border-radius: var(--r-pill);
  border: 1px solid var(--line-mid); color: var(--text-dim);
}
.shot.filled .shot-state {
  color: var(--mint);
  border-color: rgba(63,143,118,0.42);
  background: rgba(63,143,118,0.1);
}

/* Tap target: the whole middle area opens the camera */
.shot-hit {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5em;
  min-height: 132px;
  padding: var(--s-3) 0.9em;
  margin: 0;
  cursor: pointer;
  text-align: center;
  position: relative;
  transition: background 0.25s var(--ease);
}
.shot-hit:hover { background: rgba(139,92,196,0.05); }
.shot-hit input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.shot-ico {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(139,92,196,0.16), rgba(185,139,217,0.14));
  border: 1px solid rgba(139,92,196,0.22);
}
.shot-cue { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--text-dim); }

/* Preview replaces the icon and cue, but stays inside the middle zone */
.shot.filled .shot-ico, .shot.filled .shot-cue { display: none; }
.shot-prev {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: var(--r-sm);
}

/* Footer: the action lives here, never on top of the photo */
.shot-foot {
  display: flex; align-items: center;
  padding: 0.65em 0.9em;
  border-top: 1px solid var(--line);
  min-height: 40px;
}
.shot-note { font-size: 0.78rem; color: var(--text-dim); }
.shot.filled .shot-note { color: var(--mint); }
.shot.filled { border-color: rgba(63,143,118,0.32); }

/* Full-width tiles for the two combined options */
.shot.wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .shot.wide { grid-column: 1; } }

/* Consent block */
.consent { background: rgba(74,44,106,0.045); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-3); }
.consent .check { margin-bottom: 0.9em; }
.consent .check:last-child { margin-bottom: 0; }
.consent .check label { font-size: var(--t--1); line-height: 1.55; }

/* Progress through the form */
.steps-rail { display: flex; gap: 0.5em; margin-bottom: var(--s-4); flex-wrap: wrap; }
.rail-item {
  font-family: var(--f-mono); font-size: var(--t--2); letter-spacing: 0.08em;
  color: var(--text-dim); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 0.35em 0.9em;
}
.rail-item.on { color: var(--coral); border-color: rgba(185,139,217,0.4); background: rgba(185,139,217,0.08); }

/* Big single CTA */
.jump {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: var(--t-1); font-weight: 600; padding: 1.05em 2em;
  border-radius: var(--r-pill); text-decoration: none;
  background: linear-gradient(102deg, var(--pink), var(--coral));
  color: #FFFFFF; box-shadow: 0 14px 36px -12px rgba(139,92,196,0.7);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.jump:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(139,92,196,0.85); }

/* Scenario / story card */
.story { border-left: 2px solid var(--pink); padding-left: var(--s-3); }
.story p { font-size: var(--t-1); color: var(--text-mid); font-style: italic; }

/* ============================================================
   COVERAGE BAND
   ============================================================ */
.pay-band {
  border: 1px solid rgba(185,139,217,0.22);
  border-radius: var(--r-lg);
  background:
    radial-gradient(110% 130% at 0% 0%, rgba(185,139,217,0.13), transparent 58%),
    linear-gradient(150deg, var(--surface-3), var(--surface-2));
  padding: var(--s-5) var(--s-4);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-5);
  align-items: center;
}
@media (max-width: 900px) { .pay-band { grid-template-columns: 1fr; gap: var(--s-4); padding: var(--s-4) var(--s-3); } }

.pay-band h2 { font-size: var(--t-3); margin-bottom: var(--s-2); }
.pay-band > div > p { margin-bottom: 0; }

.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
@media (max-width: 560px) { .pay-grid { grid-template-columns: 1fr; } }

.pay-item { padding: var(--s-3) var(--s-3) var(--s-3) 0; border-top: 1px solid var(--line); }
.pay-grid .pay-item:nth-child(-n+2) { border-top: none; padding-top: 0; }
@media (max-width: 560px) {
  .pay-grid .pay-item:nth-child(2) { border-top: 1px solid var(--line); padding-top: var(--s-3); }
}
.pay-item b {
  display: block; font-family: var(--f-display); font-size: var(--t-1);
  font-weight: 500; letter-spacing: -0.015em; color: var(--text); margin-bottom: 0.25em;
}
.pay-item span { display: block; font-size: var(--t--1); color: var(--text-mid); line-height: 1.5; }

.pay-note {
  grid-column: 1 / -1;
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 0.7em;
}
.pay-note svg { flex-shrink: 0; margin-top: 3px; }
.pay-note p { margin: 0; font-size: var(--t--1); color: var(--text-mid); }

/* ============================================================
   HERO HEADLINE — single line on desktop
   ============================================================ */
.hero-line {
  /* Max is capped to what fits the 1240px content column on one line,
     since vw keeps growing after the container stops. */
  font-size: clamp(1.55rem, 3.28vw, 2.58rem);
  letter-spacing: -0.012em;
  line-height: 1.06;
  white-space: nowrap;
  margin-bottom: var(--s-3);
}
/* Below ~820px a single line would be unreadably small, so let it wrap. */
@media (max-width: 820px) {
  .hero-line {
    white-space: normal;
    font-size: clamp(1.9rem, 7.4vw, 2.9rem);
    line-height: 1.12;
  }
}

/* ============================================================
   CAREERS — resume drop
   ============================================================ */
.drop-zone {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.6em;
  min-height: 170px;
  padding: var(--s-4) var(--s-3);
  text-align: center;
  border: 1.5px dashed var(--line-mid);
  border-radius: var(--r-lg);
  background: rgba(74,44,106,0.045);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.drop-zone:hover { border-color: rgba(139,92,196,0.5); background: rgba(139,92,196,0.05); }
.drop-zone:focus-within { outline: 2px solid var(--coral); outline-offset: 3px; }
.drop-zone.hot { border-color: var(--pink); background: rgba(139,92,196,0.1); }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop-zone .dz-ico {
  width: 48px; height: 48px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(139,92,196,0.16), rgba(185,139,217,0.14));
  border: 1px solid rgba(139,92,196,0.22);
}
.drop-zone b { font-family: var(--f-display); font-size: var(--t-1); font-weight: 500; color: var(--text); }
.drop-zone small { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--text-dim); }
.drop-zone.filled { border-style: solid; border-color: rgba(63,143,118,0.45); background: rgba(63,143,118,0.05); }
.drop-zone.filled .dz-ico { background: rgba(63,143,118,0.14); border-color: rgba(63,143,118,0.3); }
.drop-zone.busy { opacity: 0.55; pointer-events: none; }

.fork {
  border: 1px solid rgba(124,107,176,0.3);
  border-radius: var(--r-lg);
  background: radial-gradient(120% 130% at 0% 0%, rgba(124,107,176,0.14), transparent 60%),
              linear-gradient(160deg, var(--surface-3), var(--surface-2));
  padding: var(--s-4);
  margin-top: var(--s-3);
}
.fork h3 { font-size: var(--t-1); margin-bottom: 0.4em; }
.fork p { font-size: var(--t--1); margin-bottom: var(--s-3); }
.fork .check label { font-size: var(--t--1); }

/* ============================================================
   WHAT HAPPENS NEXT — replaces the upload tiles
   ============================================================ */
.next-steps { display: flex; flex-direction: column; gap: 0; }
.ns-row {
  display: flex; gap: 0.9em; align-items: flex-start;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line);
}
.ns-row:first-child { border-top: none; padding-top: 0; }
.ns-row:last-child { padding-bottom: 0; }
.ns-n {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500;
  color: #FFFFFF;
  background: linear-gradient(140deg, var(--pink), var(--coral));
}
.ns-row b {
  display: block; font-family: var(--f-display);
  font-size: var(--t-1); font-weight: 500; letter-spacing: -0.015em;
  color: var(--text); margin-bottom: 0.2em; line-height: 1.25;
}
.ns-row span { display: block; font-size: var(--t--1); color: var(--text-mid); line-height: 1.55; }

/* ============================================================
   SCOPE NOTE — licence boundaries, stated plainly
   ============================================================ */
.scope-note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--mint);
  border-radius: var(--r-lg);
  background: rgba(63,143,118,0.04);
  padding: var(--s-4);
}
.scope-note h3 { font-size: var(--t-2); margin-bottom: 0.5em; }
.scope-note p { font-size: var(--t--1); color: var(--text-mid); margin-bottom: 0.8em; }
