:root {
  --bg: #050607;
  --bg-elevated: #0b0d0e;
  --bg-card: #0d1011;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --fg: #fafafa;
  --fg-muted: #9ca3ae;
  --fg-dim: #5b6168;
  --accent: #4ade80;
  --accent-strong: #22c55e;
  --accent-soft: #86efac;
  --accent-glow: rgba(74, 222, 128, 0.22);
  --accent-glow-strong: rgba(74, 222, 128, 0.55);
  --frost: linear-gradient(135deg, #86efac 0%, #4ade80 50%, #22c55e 100%);
  --frost-soft: linear-gradient(135deg, rgba(74, 222, 128, 0.10), rgba(34, 197, 94, 0.05));
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 64px rgba(74, 222, 128, 0.25);
  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1180px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Inter", var(--font-sans);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(ellipse 1200px 600px at 50% -100px, rgba(74, 222, 128, 0.05), transparent 70%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-strong); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(5, 6, 7, 0.78);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: var(--accent);
  font-size: 14px;
}
.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #051007;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--fg); }
@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============ HERO ============ */
.hero {
  padding: clamp(80px, 14vw, 150px) 0 clamp(40px, 7vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Big green orb behind hero — the signature element */
.orb {
  position: absolute;
  left: 50%;
  top: -45%;
  transform: translateX(-50%);
  width: min(1200px, 130vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(5, 6, 7, 0.95) 0%,
      rgba(5, 6, 7, 0.9) 42%,
      rgba(34, 197, 94, 0.25) 48%,
      rgba(74, 222, 128, 0.55) 49.5%,
      rgba(74, 222, 128, 0.35) 51%,
      rgba(34, 197, 94, 0.12) 54%,
      transparent 65%);
  filter: blur(1.5px);
}
.orb::after {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(74, 222, 128, 0.18) 0%,
    rgba(74, 222, 128, 0.08) 15%,
    transparent 40%);
  filter: blur(60px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--fg);
  margin-bottom: 36px;
  position: relative;
}
.eyebrow-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #051007;
  font-size: 11px;
  font-weight: 700;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 82px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  position: relative;
  color: var(--fg);
}
.gradient-text {
  background: var(--frost);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto 44px;
  position: relative;
  line-height: 1.65;
}
.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--accent);
  color: #051007;
  box-shadow: 0 0 40px rgba(74, 222, 128, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: 0 0 56px rgba(74, 222, 128, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #051007;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg);
}

/* ============ LOGO CLOUD ============ */
.logo-cloud {
  padding: 10px 0 60px;
  position: relative;
}
.logo-cloud-label {
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-dim);
  font-weight: 600;
  margin-bottom: 28px;
}
.logo-cloud-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 64px);
  flex-wrap: wrap;
  opacity: 0.85;
}
.logo-cloud-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-muted);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.logo-cloud-item:hover { color: var(--fg); }
.logo-cloud-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}
.logo-cloud-item .mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 12px;
}

/* ============ SECTION ============ */
section {
  padding: clamp(60px, 10vw, 110px) 0;
  position: relative;
}
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
h2 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* ============ PRODUCT GRID ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 50% 0%, rgba(74, 222, 128, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.product-card:hover {
  border-color: rgba(74, 222, 128, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(74, 222, 128, 0.1);
}
.product-card:hover::before { opacity: 1; }
.product-card > * { position: relative; }
.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--frost-soft);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.product-tag {
  font-size: 12px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 16px;
}
.product-card p {
  color: var(--fg-muted);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.65;
}
.product-features {
  list-style: none;
  margin-bottom: 24px;
}
.product-features li {
  padding: 6px 0;
  color: var(--fg-muted);
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.product-features li::before {
  content: "◆";
  color: var(--accent);
  font-size: 10px;
  margin-top: 6px;
  flex-shrink: 0;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.product-link:hover { gap: 10px; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.stat-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--frost);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* ============ CONTACT ============ */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  max-width: 720px;
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item {
  padding: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.contact-label {
  font-size: 12px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-value {
  font-size: 15px;
  color: var(--fg);
  font-weight: 500;
}

/* ============ LEGAL PAGES ============ */
.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 0 120px;
}
.legal-wrap .eyebrow { margin-bottom: 16px; }
.legal-wrap h1 {
  font-size: clamp(32px, 5vw, 48px);
  text-align: left;
  margin-bottom: 12px;
}
.legal-meta {
  color: var(--fg-dim);
  font-size: 14px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal-wrap h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.legal-wrap h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--fg);
}
.legal-wrap p,
.legal-wrap li {
  color: var(--fg-muted);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}
.legal-wrap ul, .legal-wrap ol {
  margin: 0 0 16px 24px;
}
.legal-wrap li { margin-bottom: 8px; }
.legal-wrap strong { color: var(--fg); font-weight: 600; }
.legal-wrap a { color: var(--accent); }
.legal-wrap a:hover { text-decoration: underline; }

.callout {
  background: var(--frost-soft);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 24px 0;
}
.callout p { margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }

.sample-msg {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 16px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  color: var(--fg);
  line-height: 1.6;
}
.sample-msg .label {
  display: block;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.info-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--fg-muted);
}
.info-table tr:last-child td { border-bottom: none; }
.info-table td:first-child {
  color: var(--fg);
  font-weight: 600;
  width: 40%;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-col h4 {
  font-size: 13px;
  color: var(--fg);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--fg-muted);
  font-size: 14px;
}
.footer-col a:hover { color: var(--fg); }
.footer-about {
  color: var(--fg-muted);
  font-size: 14px;
  max-width: 320px;
  margin-top: 12px;
}
.footer-address {
  color: var(--fg-dim);
  font-size: 13px;
  margin-top: 16px;
  font-style: normal;
  line-height: 1.6;
}
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--fg-dim);
  font-size: 13px;
}
.footer-bottom a { color: var(--fg-dim); }
.footer-bottom a:hover { color: var(--fg-muted); }

/* ============ DEMO PAGE ============ */
.demo-page { display: block; }
.demo-hero {
  padding: clamp(72px, 12vw, 120px) 0 clamp(40px, 7vw, 72px);
  text-align: center;
  position: relative;
}
.demo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.14), transparent 55%);
  pointer-events: none;
}
.demo-hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  position: relative;
}
.demo-hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.demo-wrap { padding: 40px 0 clamp(80px, 12vw, 140px); }

.demo-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ----- Sidebar ----- */
.demo-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
@media (max-width: 900px) { .demo-side { position: static; } }
.side-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
}
.side-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.side-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.side-list li { display: flex; gap: 14px; align-items: flex-start; }
.side-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--frost-soft);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.side-list strong {
  display: block;
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.side-list p {
  color: var(--fg-muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.side-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0 24px;
}
.side-contact { display: flex; flex-direction: column; gap: 16px; }
.side-contact-item {}
.side-contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  font-weight: 700;
  margin-bottom: 4px;
}
.side-contact a {
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
}
.side-contact a:hover { color: var(--accent); }
.trust-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  color: var(--fg-muted);
}
.trust-icon { font-size: 16px; }

/* ============ FORM ============ */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  max-width: 820px;
  margin: 0 auto;
}
.form-card--refined {
  max-width: none;
  margin: 0;
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(15, 23, 42, 0.7) 100%);
  position: relative;
  overflow: hidden;
}
.form-card--refined::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--frost);
  opacity: 0.8;
}
.form { display: grid; gap: 22px; position: relative; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 4px;
}
.form-field .req {
  color: var(--accent);
  font-weight: 700;
}
.form-field .optional { color: var(--fg-dim); font-weight: 400; font-size: 12px; }
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(10, 15, 28, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.1s;
  width: 100%;
  line-height: 1.4;
}
.form-field textarea {
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
  line-height: 1.6;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--fg-dim); font-weight: 400; }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--border-strong);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
  background: rgba(10, 15, 28, 0.9);
}
.form-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%237dd3fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  padding-right: 44px;
}
.field-hint {
  font-size: 12px;
  color: var(--fg-dim);
  margin-top: 2px;
}

.consent-box {
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.08), rgba(196, 181, 253, 0.04));
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 22px 24px;
  margin-top: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.consent-box:has(input[type="checkbox"]:checked) {
  border-color: rgba(125, 211, 252, 0.5);
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.14), rgba(196, 181, 253, 0.08));
}
.checkbox-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.65;
  position: relative;
}
/* Hide the native checkbox and replace with our own visual */
.checkbox-row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}
.check-visual {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-elevated);
  display: grid;
  place-items: center;
  margin-top: 1px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.check-visual::after {
  content: "";
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%230a0f1c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.checkbox-row:hover .check-visual {
  border-color: var(--accent);
}
.checkbox-row input[type="checkbox"]:focus-visible + .check-visual {
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.checkbox-row input[type="checkbox"]:checked + .check-visual {
  background: var(--frost);
  border-color: var(--accent);
}
.checkbox-row input[type="checkbox"]:checked + .check-visual::after {
  opacity: 1;
  transform: scale(1);
}
.check-text { flex: 1; }
.checkbox-row strong { color: var(--fg); font-weight: 600; }
.checkbox-row a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.checkbox-row a:hover { color: var(--accent-strong); }

.form-submit {
  justify-content: center;
  margin-top: 12px;
  width: 100%;
  border: none;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 32px;
  position: relative;
  letter-spacing: -0.005em;
  box-shadow: 0 0 48px rgba(125, 211, 252, 0.2), 0 8px 24px rgba(0, 0, 0, 0.25);
}
.form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 72px rgba(125, 211, 252, 0.35), 0 12px 32px rgba(0, 0, 0, 0.3);
}
.form-submit:disabled { opacity: 0.75; cursor: not-allowed; transform: none; }
.form-submit .btn-loading {
  display: none;
  align-items: center;
  gap: 10px;
}
.form.is-loading .form-submit .btn-label { display: none; }
.form.is-loading .form-submit .btn-loading { display: inline-flex; }
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(10, 15, 28, 0.3);
  border-top-color: #0a0f1c;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form.is-success .form-submit { background: linear-gradient(135deg, #86efac, #34d399); }

.form-result {
  padding: 0;
  font-size: 14px;
  line-height: 1.55;
  min-height: 0;
  transition: all 0.2s;
}
.form-result.is-loading { color: var(--fg-muted); padding: 6px 0; }
.form-result.is-success {
  color: #bbf7d0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.form-result.is-success::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%2386efac' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3 7.5l3 3 5.5-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.form-result.is-error {
  color: #fecaca;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(244, 63, 94, 0.08));
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-result.is-error::before {
  content: "!";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.3);
  color: #fecaca;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  font-family: var(--font-sans);
}
.form-fineprint {
  font-size: 12px;
  color: var(--fg-dim);
  text-align: center;
  margin-top: 4px;
  line-height: 1.6;
}
.form-fineprint a { color: var(--fg-muted); text-decoration: underline; text-underline-offset: 2px; }
.form-fineprint a:hover { color: var(--fg-muted); }

/* ============ MISC ============ */
::selection { background: var(--accent-glow); color: var(--fg); }
