:root {
  color-scheme: dark;
  --bg: #1f232d;
  --panel: #252a35;
  --panel-2: #2b3140;
  --muted: rgba(245, 247, 255, 0.68);
  --text: #f5f7ff;
  --primary: #9557f5;
  --on-primary: #f7f3ff;
  --secondary: #ef5da8;
  --accent: #42c7b7;
  --error: #f17278;
  --border: rgba(245, 247, 255, 0.14);
  --ring: rgba(149, 87, 245, 0.38);
  --nav-shell: rgba(31, 35, 45, 0.84);
  --surface-hover: rgba(245, 247, 255, 0.08);
  --shadow: 0 20px 48px rgba(9, 12, 20, 0.45);
  --radius: 16px;
  --max-width: 1160px;
  --font-heading: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #ffffff;
    --panel: #f5f7fb;
    --panel-2: #edf1f7;
    --muted: rgba(28, 31, 42, 0.68);
    --text: #1e2230;
    --primary: #6a2fd6;
    --on-primary: #f5efff;
    --secondary: #d73d88;
    --accent: #249f92;
    --error: #c64d4d;
    --border: rgba(30, 34, 48, 0.14);
    --ring: rgba(106, 47, 214, 0.24);
    --nav-shell: rgba(255, 255, 255, 0.9);
    --surface-hover: rgba(30, 34, 48, 0.06);
    --shadow: 0 14px 36px rgba(18, 24, 39, 0.12);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1f232d;
  --panel: #252a35;
  --panel-2: #2b3140;
  --muted: rgba(245, 247, 255, 0.68);
  --text: #f5f7ff;
  --primary: #9557f5;
  --on-primary: #f7f3ff;
  --secondary: #ef5da8;
  --accent: #42c7b7;
  --error: #f17278;
  --border: rgba(245, 247, 255, 0.14);
  --ring: rgba(149, 87, 245, 0.38);
  --nav-shell: rgba(31, 35, 45, 0.84);
  --surface-hover: rgba(245, 247, 255, 0.08);
  --shadow: 0 20px 48px rgba(9, 12, 20, 0.45);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #f5f7fb;
  --panel-2: #edf1f7;
  --muted: rgba(28, 31, 42, 0.68);
  --text: #1e2230;
  --primary: #6a2fd6;
  --on-primary: #f5efff;
  --secondary: #d73d88;
  --accent: #249f92;
  --error: #c64d4d;
  --border: rgba(30, 34, 48, 0.14);
  --ring: rgba(106, 47, 214, 0.24);
  --nav-shell: rgba(255, 255, 255, 0.9);
  --surface-hover: rgba(30, 34, 48, 0.06);
  --shadow: 0 14px 36px rgba(18, 24, 39, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(circle at 12% 14%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 30%),
    radial-gradient(circle at 88% -2%, color-mix(in srgb, var(--secondary) 12%, transparent), transparent 36%),
    radial-gradient(circle at 50% 64%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 44%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  letter-spacing: -0.01em;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -44px;
  z-index: 120;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: top 160ms ease;
}

.skip-link:focus-visible {
  top: 12px;
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.page-shell {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px 72px;
}

.nav {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--nav-shell);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: max-content;
  justify-self: center;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-2) 76%, transparent);
  font-size: 0.95rem;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-links a:hover,
.footer-links a:hover { color: var(--primary); }

.nav-links a:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.nav-links a:focus-visible,
.nav-actions a:focus-visible,
.theme-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  min-height: 44px;
  min-width: 44px;
  background: var(--panel);
  color: var(--text);
  padding: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: border-color 160ms ease, color 160ms ease,
    background 160ms ease, transform 150ms ease;
}

.theme-toggle:hover {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--border));
  background: var(--panel-2);
  transform: translateY(-2px);
}

.button {
  min-height: 42px;
  background: var(--primary);
  color: var(--on-primary);
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 36%, transparent);
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
  display: inline-flex;
  align-items: center;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--primary) 44%, transparent);
}
.button:active { transform: translateY(0); opacity: 0.9; }

.ghost {
  color: var(--text);
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 72%, transparent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.ghost:hover {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--border));
  background: var(--surface-hover);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
}

.hero-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  margin: 6px 0 12px;
  line-height: 1.05;
}

.lede { color: var(--muted); max-width: 640px; }

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0;
}


.hero-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.label { color: var(--muted); font-size: 0.9rem; margin: 0; }
.sub { color: var(--text); margin: 2px 0 0; font-weight: 600; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 24%, transparent); }

.card-body { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.value { margin: 4px 0 0; font-size: 1.1rem; font-weight: 700; }
.chip { margin: 4px 0 0; padding: 6px 10px; border-radius: 10px; background: color-mix(in srgb, var(--primary) 18%, transparent); color: var(--primary); font-weight: 700; font-size: 0.85rem; }
.progress { width: 100%; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--text) 12%, transparent); overflow: hidden; }
.progress-fill { height: 100%; width: 72%; background: var(--primary); border-radius: inherit; }
.hint { color: var(--muted); margin: 0; font-size: 0.9rem; }

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}

.metric-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.metric-value {
  font-size: 2rem;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
}
.metric-label {
  margin: 6px 0 10px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.metric-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 500;
}

.features { margin-bottom: 72px; }
.section-head { max-width: var(--max-width); margin: 0 auto 32px; }
.section-head h2 { font-family: var(--font-heading); font-size: clamp(2rem, 3vw, 2.6rem); margin: 6px 0 10px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 82%, transparent);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  min-height: 200px;
}

.feature-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); background: color-mix(in srgb, var(--panel) 94%, transparent); }

.feature-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 500;
}

.icon { font-size: 1.6rem; margin-bottom: 8px; }

.workflow { margin-bottom: 72px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step { padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--panel); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.step::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 16%, transparent), transparent); opacity: 0; transition: opacity 160ms ease; }
.step:hover::after { opacity: 1; }
.step-num { font-family: var(--font-heading); color: var(--primary); font-weight: 700; letter-spacing: 0.08em; font-size: 0.9rem; }

.step h3 {
  margin: 8px 0 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 500;
}

.faq { margin-bottom: 64px; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.faq-item { padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: color-mix(in srgb, var(--panel) 82%, transparent); box-shadow: var(--shadow); }

.faq-item h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 500;
}

.contact-page {
  max-width: 840px;
  margin: 0 auto 64px;
}

.contact-head {
  margin-bottom: 24px;
}

.contact-form {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.contact-group label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-optional {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.contact-group input,
.contact-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.contact-group input:focus,
.contact-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}

.contact-group textarea {
  min-height: 160px;
  resize: vertical;
}

.turnstile-wrapper {
  margin: 4px 0 12px;
}

.form-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.form-response-time {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.field-error {
  margin: 0;
  color: var(--error);
  font-size: 0.85rem;
  min-height: 1.1em;
}

.contact-status {
  margin: 10px 0 4px;
  font-size: 0.92rem;
  min-height: 1.2em;
}

.contact-status-success {
  color: var(--accent);
}

.contact-status-error {
  color: var(--error);
}

.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-privacy a {
  color: var(--accent);
}

.footer { padding-top: 12px; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.footer-links .current { color: var(--muted); pointer-events: none; text-decoration: none; }
.footer-copy { font-size: 0.8rem; color: var(--muted); margin: 0; }

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}
.legal-wrap h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 8px;
}
.legal-wrap .effective {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 48px;
}
.legal-wrap h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--accent);
}
.legal-wrap p, .legal-wrap li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  opacity: 0.9;
}
.legal-wrap ul {
  padding-left: 20px;
}
.legal-wrap li {
  margin-bottom: 6px;
}
.legal-wrap a {
  color: var(--accent);
  text-decoration: underline;
}
.legal-wrap .contact-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .nav { gap: 10px; top: 8px; }
  .nav-links { gap: 2px; }
  .row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .nav {
    grid-template-columns: 1fr auto;
    grid-template-areas: none;
  }
  .nav-links { display: none; }
  .nav-actions { justify-content: flex-end; }
  .page-shell { padding: 24px 18px 56px; }
  .hero { grid-template-columns: 1fr; }
  .footer { padding-top: 10px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 16px; }
}

/* ---------- Cookie Consent Banner ---------- */
.ny-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--panel-2);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.35);
}

.ny-cookie-inner {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ny-cookie-banner p {
  font-size: 0.875rem;
  max-width: 680px;
  flex: 1;
  overflow-wrap: anywhere;
  color: var(--text);
  margin: 0;
}

.ny-cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ny-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.ny-cookie-actions .button,
.ny-cookie-actions .ghost {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .ny-cookie-inner   { flex-direction: column; align-items: flex-start; }
  .ny-cookie-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .ny-cookie-actions .button,
  .ny-cookie-actions .ghost {
    flex: 1 1 140px;
    justify-content: center;
  }
}

.footer-links a[data-cookie-prefs],
.footer-links button[data-cookie-prefs] {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-links a[data-cookie-prefs]:hover,
.footer-links button[data-cookie-prefs]:hover {
  color: var(--primary);
}
