/* =====================================================================
   Patshi Waitlist — styles
   Color tokens mirror web/assets/colors.json (kept in sync manually; the
   JSON is the source of truth for JS/backend, these vars are the CSS twin).
   All motion uses transform/opacity only for GPU-friendly animation.
   ===================================================================== */

/* Self-hosted Inter (SIL Open Font License — free to bundle & redistribute).
   Single variable woff2 covers weights 400–900. No request to Google Fonts,
   so no visitor IP is exposed to a third party. font-display:swap avoids FOIT. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-latin-variable.woff2') format('woff2');
}

:root {
  /* ---- brand tokens (from colors.json) ---- */
  --grad-a: #1E3A8A;   /* deep blue  */
  --grad-b: #22D3EE;   /* cyan       */
  --grad-c: #4636B5;   /* indigo accent */
  --accent: #F97362;      /* coral accent — decorative fills only */
  --accent-text: #C2185B; /* darker rose — used for error TEXT to meet WCAG AA */
  --accent-teal: #14B8A6;

  --bg: #F8FAFC;           /* backgroundLight */
  --bg-soft: #EEF6FF;      /* backgroundSoft  */
  --text: #0F172A;         /* textPrimary     */
  --text-muted: #55627a;
  --text-faint: #8894a8;

  --grad: linear-gradient(135deg, var(--grad-a), var(--grad-c) 55%, var(--grad-b));

  /* glass surfaces */
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 20px 60px rgba(30, 58, 138, 0.18);
  --card-bg: rgba(255, 255, 255, 0.78);

  --field-bg: rgba(255, 255, 255, 0.9);
  --field-border: rgba(15, 23, 42, 0.14);

  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1160px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .45s;
}

/* ---- dark mode tokens ---- */
:root[data-theme="dark"] {
  --bg: #0B1220;           /* backgroundDark */
  --bg-soft: #0e1729;
  --text: #EAF1FB;
  --text-muted: #9fb0c9;
  --text-faint: #6b7c98;

  --glass-bg: rgba(20, 30, 52, 0.55);
  --glass-border: rgba(120, 150, 200, 0.22);
  --glass-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --card-bg: rgba(17, 26, 46, 0.72);

  --field-bg: rgba(12, 20, 38, 0.7);
  --field-border: rgba(150, 175, 220, 0.22);
  --accent-text: #FF8FB0; /* lighter rose for AA contrast on dark backgrounds */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color .5s var(--ease), color .5s var(--ease);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--grad-a); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* =====================================================================
   ANIMATED BACKGROUND
   ===================================================================== */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
      background:
        radial-gradient(120% 80% at 50% -10%, var(--bg-soft), transparent 60%),
        var(--bg); }

.blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
  will-change: transform; mix-blend-mode: multiply;
}
:root[data-theme="dark"] .blob { mix-blend-mode: screen; opacity: .4; }

.blob-1 { width: 46vw; height: 46vw; left: -8vw; top: -6vw;
  background: radial-gradient(circle at 30% 30%, var(--grad-b), transparent 70%);
  animation: bob1 14s var(--ease) infinite; }
.blob-2 { width: 40vw; height: 40vw; right: -10vw; top: 8vh;
  background: radial-gradient(circle at 60% 40%, var(--grad-c), transparent 70%);
  animation: bob2 18s var(--ease) infinite; }
.blob-3 { width: 34vw; height: 34vw; left: 30vw; bottom: -12vw;
  background: radial-gradient(circle at 50% 50%, var(--accent), transparent 72%);
  opacity: .35; animation: bob3 20s var(--ease) infinite; }

@keyframes bob1 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(3vw,4vh) scale(1.06);} }
@keyframes bob2 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(-3vw,3vh) scale(1.08);} }
@keyframes bob3 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(2vw,-3vh) scale(1.05);} }

/* flowing waves */
.waves { position: absolute; left: 0; right: 0; bottom: 0; height: 42vh; min-height: 300px; }
.wave { position: absolute; left: -5%; bottom: 0; width: 110%; height: 100%; will-change: transform; }
.wave path { transition: fill .5s var(--ease); }
.wave-1 path { fill: rgba(34, 211, 238, 0.14); }
.wave-2 path { fill: rgba(70, 54, 181, 0.13); }
.wave-3 path { fill: rgba(30, 58, 138, 0.12); }
:root[data-theme="dark"] .wave-1 path { fill: rgba(34, 211, 238, 0.10); }
:root[data-theme="dark"] .wave-2 path { fill: rgba(120, 90, 240, 0.12); }
:root[data-theme="dark"] .wave-3 path { fill: rgba(30, 58, 138, 0.22); }

.wave-1 { animation: drift 26s ease-in-out infinite, bobY 8s ease-in-out infinite; }
.wave-2 { animation: drift 34s ease-in-out infinite reverse, bobY 11s ease-in-out infinite; }
.wave-3 { animation: drift 44s ease-in-out infinite, bobY 14s ease-in-out infinite; }

@keyframes drift { 0% { transform: translateX(0);} 50% { transform: translateX(-4%);} 100% { transform: translateX(0);} }
@keyframes bobY  { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

.grain {
  position: absolute; inset: 0; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, var(--bg-soft), transparent);
}
/* ---- Logo lockup: rounded app-icon chip + live text wordmark ----
   The mark is the brand app icon rendered as an intentional rounded chip (so it
   reads as a designed badge, not a stray box), and the wordmark is real text in
   the self-hosted Inter font, so the lockup stays crisp at any DPI and adapts
   to light/dark automatically. */
.site-logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; line-height: 1; border-radius: 10px;
}
.site-logo-mark {
  height: 36px; width: 36px; display: block; flex: 0 0 auto;
  /* The mark is a square app-icon tile; the rounded corners make it read as an
     intentional icon chip (not a stray box) and keep edges clean on any bg. */
  border-radius: 9px; object-fit: cover;
  box-shadow: 0 2px 8px rgba(30, 58, 138, .18);
}
.site-logo-word {
  font-weight: 800; font-size: 22px; letter-spacing: -.02em;
  /* brand gradient wordmark (same technique as .grad-text) */
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* Keep the gradient wordmark readable in dark mode (cyan end stays bright). */
:root[data-theme="dark"] .site-logo-word {
  background: linear-gradient(135deg, #7aa2ff, var(--grad-b));
  -webkit-background-clip: text; background-clip: text;
}
.site-logo:hover .site-logo-mark { transform: translateY(-1px); }
.site-logo-mark { transition: transform .2s var(--ease); }
/* Clear, visible keyboard focus ring on the logo link */
.site-logo:focus-visible { outline: 3px solid var(--grad-b); outline-offset: 4px; }

/* smaller lockup on phones */
@media (max-width: 640px) {
  .site-logo-mark { height: 32px; width: 32px; border-radius: 8px; }
  .site-logo-word { font-size: 19px; }
}

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

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  --glow: rgba(34, 211, 238, 0.5);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1;
  border: none; border-radius: 999px; cursor: pointer; text-decoration: none;
  padding: 13px 22px; transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .3s;
  will-change: transform;
}
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 8px 24px rgba(30,58,138,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px var(--glow); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: var(--glass-bg); color: var(--grad-a); border: 1px solid var(--glass-border);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
:root[data-theme="dark"] .btn-ghost { color: var(--grad-b); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; margin-top: 6px; }
.btn:focus-visible { outline: 3px solid var(--grad-b); outline-offset: 2px; }

/* =====================================================================
   TOGGLES (motion icon + dark-mode switch)
   ===================================================================== */
.icon-toggle {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--glass-border); background: var(--glass-bg);
  color: var(--text); cursor: pointer; backdrop-filter: blur(6px);
  transition: transform .2s var(--ease), background .3s;
}
.icon-toggle:hover { transform: translateY(-2px) rotate(15deg); }
.icon-toggle:focus-visible { outline: 3px solid var(--grad-b); outline-offset: 2px; }
.icon-toggle .ico-motion-off { display: none; }
.icon-toggle[aria-pressed="true"] .ico-motion-on { display: none; }
.icon-toggle[aria-pressed="true"] .ico-motion-off { display: block; }

/* smooth animated dark-mode switch */
.theme-toggle {
  border: none; background: none; padding: 0; cursor: pointer; line-height: 0;
  border-radius: 999px;
}
.theme-toggle:focus-visible { outline: 3px solid var(--grad-b); outline-offset: 3px; }
.theme-toggle-track {
  display: inline-flex; align-items: center; width: 60px; height: 32px; padding: 3px;
  border-radius: 999px; background: linear-gradient(135deg, #cfe3ff, #a5d8ff);
  border: 1px solid var(--glass-border); transition: background .5s var(--ease);
}
:root[data-theme="dark"] .theme-toggle-track { background: linear-gradient(135deg, #1b2a4a, #24365f); }
.theme-toggle-thumb {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; color: #f5a623; box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transform: translateX(0); transition: transform .45s var(--ease), color .45s, background .45s;
}
:root[data-theme="dark"] .theme-toggle-thumb { transform: translateX(28px); background: #0f1b34; color: #cbd8ff; }
.theme-toggle .ico { position: absolute; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.theme-toggle .ico-moon { opacity: 0; transform: rotate(-40deg) scale(.6); }
.theme-toggle .ico-sun { opacity: 1; transform: rotate(0) scale(1); }
:root[data-theme="dark"] .theme-toggle .ico-moon { opacity: 1; transform: rotate(0) scale(1); }
:root[data-theme="dark"] .theme-toggle .ico-sun { opacity: 0; transform: rotate(40deg) scale(.6); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(28px, 6vh, 80px) clamp(16px, 4vw, 40px) 40px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px);
  align-items: center; min-height: 78vh;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--text-muted); font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(6px);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-teal);
  box-shadow: 0 0 0 0 rgba(20,184,166,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20,184,166,.5);} 70% { box-shadow: 0 0 0 10px rgba(20,184,166,0);} 100% { box-shadow: 0 0 0 0 rgba(20,184,166,0);} }

.hero-title {
  font-size: clamp(40px, 7vw, 76px); font-weight: 900; line-height: 1.02;
  letter-spacing: -.03em; margin: 18px 0 12px;
}
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  background-size: 200% 200%; animation: gradShift 6s ease infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero-sub { font-size: clamp(18px, 2.4vw, 24px); font-weight: 600; margin: 0 0 8px; }
.hero-note { color: var(--text-muted); font-size: 15px; margin: 0 0 24px; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* =====================================================================
   GLASS CARD
   ===================================================================== */
.card-wrap { perspective: 1200px; }
.card {
  position: relative;
  background: var(--card-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  padding: clamp(22px, 3vw, 34px); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.8), transparent 40%, rgba(34,211,238,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .6;
}

.step { display: none; animation: stepIn .4s var(--ease); }
.step[data-active="true"] { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none; } }

.card-title { font-size: 24px; font-weight: 800; margin: 0 0 4px; letter-spacing: -.02em; }
.card-title:focus { outline: none; }
.card-sub { color: var(--text-muted); margin: 0 0 18px; font-size: 15px; }

/* role toggle */
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  text-align: left; padding: 18px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--field-border); background: var(--field-bg);
  cursor: pointer; font-family: inherit; color: var(--text);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s;
  will-change: transform;
}
.role-btn:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(30,58,138,.16); border-color: var(--grad-b); }
.role-btn:focus-visible { outline: 3px solid var(--grad-b); outline-offset: 2px; }
.role-btn[aria-selected="true"] { border-color: var(--grad-b); box-shadow: 0 0 0 3px rgba(34,211,238,.25); }
.role-emoji { font-size: 26px; }
.role-label { font-weight: 700; font-size: 16px; }
.role-desc { font-size: 12.5px; color: var(--text-muted); }

.back-link { background: none; border: none; color: var(--text-muted); cursor: pointer;
  font-family: inherit; font-size: 14px; padding: 0 0 12px; }
.back-link:hover { color: var(--grad-a); }

/* fields */
.field { margin-bottom: 14px; position: relative; }
.field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.req { color: var(--accent); }
.opt { color: var(--text-faint); font-weight: 400; }
.field input, .field select {
  width: 100%; padding: 13px 14px; font-family: inherit; font-size: 15px;
  border: 1.5px solid var(--field-border); border-radius: var(--radius-sm);
  background: var(--field-bg); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--grad-b);
  box-shadow: 0 0 0 4px rgba(34,211,238,.2);
}
.field.invalid input, .field.invalid select { border-color: var(--accent); }
.field.invalid { animation: shake .4s; }
@keyframes shake { 0%,100% { transform: translateX(0);} 20%,60% { transform: translateX(-6px);} 40%,80% { transform: translateX(6px);} }
.field-error { display: block; color: var(--accent-text); font-size: 12.5px; min-height: 1em; margin-top: 5px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* success */
.success-mark { display: grid; place-items: center; margin: 4px 0 12px; }
.sm-circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s var(--ease) forwards; }
.sm-check  { stroke-dasharray: 36;  stroke-dashoffset: 36;  animation: draw .4s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.referral { margin: 4px 0 16px; text-align: left; }
.referral-row { display: flex; gap: 8px; }
.referral-row input {
  flex: 1; padding: 11px 12px; border: 1.5px solid var(--field-border);
  border-radius: var(--radius-sm); background: var(--field-bg); color: var(--text); font-size: 13px;
}
.share-row { display: flex; gap: 8px; margin-top: 10px; }

/* waitlist spot counter */
.spot {
  position: relative; margin: -6px -6px 18px; padding: 12px 14px;
  border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(34,211,238,.14), rgba(70,54,181,.12));
  border: 1px solid var(--glass-border); font-size: 14px; text-align: center;
}
.spot-num { font-weight: 800; font-size: 18px; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: 0 4px; }
.spot-bar { height: 6px; border-radius: 999px; background: rgba(15,23,42,.1); margin-top: 8px; overflow: hidden; }
.spot-bar-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad);
  transition: width 1.2s var(--ease); }
.spot-close { position: absolute; top: 6px; right: 8px; border: none; background: none; cursor: pointer;
  font-size: 18px; line-height: 1; color: var(--text-faint); }

/* =====================================================================
   SECTIONS: how it works + trust
   ===================================================================== */
.section-title { text-align: center; font-size: clamp(22px, 3.5vw, 32px); font-weight: 800;
  letter-spacing: -.02em; margin: 0 0 28px; }

.how, .trust { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 8vh, 80px) clamp(16px,4vw,40px); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-step { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 26px; backdrop-filter: blur(8px); }
.how-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 14px; }
.how-step h3 { margin: 0 0 6px; font-size: 18px; }
.how-step p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
  padding: 22px 16px; text-align: center; backdrop-filter: blur(8px); }
.trust-icon { font-size: 28px; }
.trust-line { margin: 10px 0 0; font-weight: 600; font-size: 14px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { text-align: center; padding: 40px 20px 56px; color: var(--text-muted); }
.footer-logo { height: 34px; width: 34px; border-radius: 8px; opacity: .9; }
.footer-copy { margin: 12px 0 8px; font-size: 14px; }
.footer-links { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--grad-a); }
.footer-motion { border: none; background: none; cursor: pointer; font-family: inherit; font-size: 13px;
  color: var(--text-muted); padding: 0; }
.footer-motion:hover { color: var(--grad-a); }

/* =====================================================================
   REVEAL ON SCROLL / 3D entrance
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.card-wrap.reveal { transform: translateY(30px) scale(.97); }
.card-wrap.reveal.in { transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; min-height: auto; text-align: center; padding-top: 32px; }
  .hero-note { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-copy { order: 1; }
  .card-wrap { order: 2; }
  .how-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .hide-mobile { display: none; }
}
@media (max-width: 420px) {
  .role-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   REDUCED MOTION — honor OS setting AND the in-app toggle
   (body.no-motion is set by app.js when the user turns motion off)
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body.no-motion .blob,
body.no-motion .wave,
body.no-motion .grad-text,
body.no-motion .pulse-dot { animation: none !important; }
body.no-motion .reveal { opacity: 1 !important; transform: none !important; }
body.no-motion .card,
body.no-motion .btn,
body.no-motion .role-btn,
body.no-motion .icon-toggle { transition: none !important; }

/* =====================================================================
   CONSENT CHECKBOX + PLACEHOLDER + BUSINESS FOOTER (legal pass)
   ===================================================================== */
.field-consent { margin-top: 4px; }
.consent-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.5; color: var(--text-muted); cursor: pointer;
}
.consent-label input[type="checkbox"] {
  flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--grad-a);
  cursor: pointer;
}
.consent-label a { color: var(--grad-a); font-weight: 600; }
:root[data-theme="dark"] .consent-label a { color: var(--grad-b); }
.field-consent.invalid .consent-label { color: var(--accent-text); }
.consent-label input:focus-visible { outline: 3px solid var(--grad-b); outline-offset: 2px; }

/* loud placeholder marker so founders can find unfilled business details */
.ph-inline {
  background: rgba(249,115,98,.16); color: #b3175c; font-weight: 700;
  padding: 0 5px; border-radius: 5px; font-family: ui-monospace, Menlo, monospace; font-size: .92em;
}
:root[data-theme="dark"] .ph-inline { color: #ff9dc4; background: rgba(255,157,196,.12); }

.footer-business { margin: 12px 0 0; font-size: 12px; color: var(--text-faint); }

/* extra safety: a global focus-visible ring everywhere for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--grad-b); outline-offset: 2px; border-radius: 6px;
}

/* methodology / in-development disclosure under How it works */
.methodology-note {
  max-width: 60ch; margin: 22px auto 0; text-align: center;
  font-size: 13px; color: var(--text-faint); line-height: 1.6;
}
