/* Scopo - Design tokens (mirroring React version) */
:root {
  --background: #ffffff;
  --foreground: #2b303b;
  --card-bg: #ffffff;
  --muted: #f1f3f7;
  --muted-foreground: #6b7280;
  --primary: #2f7df4;
  --primary-glow: #5b97f7;
  --accent: #7c3aed;
  --border: #e3e7ee;
  --radius: 0.75rem;
  --gradient-primary: linear-gradient(135deg, #2f7df4 0%, #7c3aed 100%);
  --gradient-hero: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  --shadow-card: 0 4px 6px -1px rgba(43,48,59,.05), 0 2px 4px -1px rgba(43,48,59,.03);
  --shadow-card-hover: 0 20px 25px -5px rgba(43,48,59,.10), 0 10px 10px -5px rgba(43,48,59,.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1152px; margin: 0 auto; padding: 0 1rem; }

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; } .mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; }
.p-8 { padding: 2rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.small { font-size: 0.875rem; }

.muted-text { color: var(--muted-foreground); line-height: 1.65; }
.primary-text { color: var(--primary); font-weight: 600; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-logo { width: 56px; height: 56px; object-fit: contain; }
.brand-name { font-size: 1.5rem; font-weight: 800; }
.nav-desktop { display: none; gap: 2rem; }
.nav-desktop a { font-weight: 500; transition: color .2s; }
.nav-desktop a:hover { color: var(--primary); }
.nav-toggle { background: none; border: none; cursor: pointer; padding: .5rem; color: var(--foreground); }
.nav-mobile { display: none; flex-direction: column; padding: 1rem; border-top: 1px solid var(--border); background: #fff; }
.nav-mobile a { padding: .75rem 0; font-weight: 500; border-bottom: 1px solid var(--border); }
.nav-mobile.open { display: flex; }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; cursor: pointer; transition: all .3s;
  border: none; font-size: 1rem;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 20px -5px rgba(47,125,244,.4); }
.btn-primary:hover { background: var(--primary-glow); transform: translateY(-2px); box-shadow: 0 15px 25px -5px rgba(47,125,244,.5); }
.btn-block { width: 100%; }
.btn i { width: 18px; height: 18px; }

/* Hero */
.hero {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  background: var(--gradient-hero); padding: 5rem 1rem;
}
.hero-inner { text-align: center; max-width: 768px; }
.hero-logo { width: 8rem; height: 8rem; object-fit: contain; margin: 0 auto 1.5rem; }
@media (min-width: 768px) { .hero-logo { width: 10rem; height: 10rem; } }
.hero-subtitle { font-size: 1.25rem; font-weight: 400; margin-bottom: 2rem; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.5rem; } }
.hero-text { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 2rem; }
@media (min-width: 768px) { .hero-text { font-size: 1.5rem; } }

/* Sections */
.section { padding: 5rem 1rem; }
.section-alt { background: rgba(241,243,247,.45); }
.section-title { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .section-title { font-size: 3rem; } }
.subsection-title { font-size: 1.875rem; font-weight: 700; text-align: center; margin-bottom: 2rem; }

/* Cards */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all .3s;
}
.card-feature { text-align: center; }
.card-feature:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.card-hero { background: var(--gradient-hero); }
.card-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.card-title-sm { font-size: 1.125rem; font-weight: 700; margin-bottom: .5rem; }
.card-subtitle { font-size: 1.125rem; font-weight: 700; color: var(--foreground); margin-bottom: .75rem; }
.divider { padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--border); }

.icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--gradient-primary); color: #fff; margin-bottom: 1rem;
}
.icon-circle i { width: 28px; height: 28px; }
.icon-circle-lg { width: 64px; height: 64px; margin-bottom: 1.5rem; }
.icon-circle-lg i { width: 32px; height: 32px; }

/* Grids */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Partnership MetLife box */
.metlife-link { display: inline-block; transition: transform .3s; }
.metlife-link:hover { transform: scale(1.05); }
.metlife-box { background: #fff; padding: 1rem 2rem; border-radius: 1rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); margin: 1.5rem 0; }
.metlife-box img { max-width: 300px; height: auto; margin: 0 auto; }

/* Founder */
.founder-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 768px) { .founder-grid { grid-template-columns: 1fr 1fr; } }
.founder-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 1.5rem; }
.founder-img { width: 192px; height: 192px; border-radius: 999px; object-fit: cover; object-position: top; box-shadow: var(--shadow-card-hover); margin-bottom: 1rem; }

.social-row { display: flex; gap: .75rem; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--gradient-primary); color: #fff; transition: opacity .2s;
}
.social-btn:hover { opacity: .9; }
.social-btn i { width: 20px; height: 20px; }
.social-btn-sm { width: 36px; height: 36px; }
.social-btn-sm i { width: 16px; height: 16px; }

/* Footer */
.site-footer { background: var(--card-bg); border-top: 1px solid var(--border); padding: 3rem 1rem; }
.footer-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; }
.footer-list { display: flex; flex-direction: column; gap: .75rem; color: var(--muted-foreground); }
.footer-line { display: flex; align-items: center; gap: .75rem; }
.footer-line i { width: 20px; height: 20px; color: var(--primary); }
.footer-line a:hover { color: var(--primary); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--border); text-align: center; color: var(--muted-foreground); }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px);} to { opacity: 1; transform: none; } }
.section .card, .hero-inner > * { animation: fadeUp .7s ease both; }

body.no-scroll { overflow: hidden; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
}
.modal-panel {
  position: relative;
  width: min(980px, 100%);
  height: min(86vh, 820px);
  background: #fff;
  border-radius: calc(var(--radius) + .25rem);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
}
.modal-title { font-size: 1rem; font-weight: 700; }
.modal-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.modal-close:hover { opacity: .9; transform: translateY(-1px); }
.modal-close i { width: 18px; height: 18px; }
.modal-body {
  flex: 1;
  overflow: auto;
  padding: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(124,58,237,.12), transparent 28%),
    radial-gradient(circle at top left, rgba(47,125,244,.12), transparent 32%),
    linear-gradient(180deg, #fbfcff 0%, #f7f9fc 100%);
}
.modal-iframe { width: 100%; height: 100%; border: 0; }

.work-form {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 1.25rem;
  background: rgba(255,255,255,.82);
  box-shadow: 0 24px 50px -24px rgba(43,48,59,.32);
  backdrop-filter: blur(10px);
}
.work-form-hero {
  padding: 1.25rem 1.25rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(47,125,244,.12) 0%, rgba(124,58,237,.10) 100%);
  border: 1px solid rgba(47,125,244,.14);
}
.work-form-eyebrow {
  display: inline-flex;
  margin-bottom: .65rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(47,125,244,.12);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.work-form-hero h3 {
  margin: 0 0 .5rem;
  font-size: 1.35rem;
  line-height: 1.25;
}
.work-form-hero p {
  margin: 0;
  color: var(--muted-foreground);
}
.work-form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .work-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-field {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1rem;
  border: 1px solid rgba(227,231,238,.95);
  border-radius: 1rem;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px -28px rgba(43,48,59,.45);
}
.form-field-full { grid-column: 1 / -1; }
.form-field label {
  font-weight: 700;
  font-size: .95rem;
}
.form-field input, .form-field textarea {
  width: 100%;
  border: 1px solid #d7deea;
  border-radius: .85rem;
  padding: .9rem 1rem;
  font: inherit;
  color: var(--foreground);
  background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #98a2b3; }
.form-field input:hover, .form-field textarea:hover { border-color: #c6d2e3; }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: rgba(47,125,244,.65);
  box-shadow: 0 0 0 4px rgba(47,125,244,.12);
}

.form-fieldset {
  border: 1px solid rgba(227,231,238,.95);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px -28px rgba(43,48,59,.45);
}
.form-fieldset legend {
  font-weight: 700;
  padding: 0 .35rem;
  font-size: .95rem;
}
.form-options { display: flex; flex-wrap: wrap; gap: .75rem; }
.option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  cursor: pointer;
  padding: .85rem 1rem;
  border: 1px solid #d7deea;
  border-radius: .9rem;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.option:hover {
  border-color: rgba(47,125,244,.35);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -24px rgba(47,125,244,.45);
}
.option input {
  accent-color: var(--primary);
  transform: scale(1.05);
}
.option:has(input:checked) {
  border-color: rgba(47,125,244,.7);
  background: linear-gradient(135deg, rgba(47,125,244,.10) 0%, rgba(124,58,237,.08) 100%);
  box-shadow: 0 18px 34px -26px rgba(47,125,244,.55);
}
.option span { font-weight: 600; }

.work-form-actions {
  margin-top: auto;
  display: grid;
  gap: .85rem;
  padding-top: .5rem;
}
.work-form-actions .btn {
  min-height: 54px;
  font-size: 1rem;
  border-radius: 1rem;
}
.work-form-actions .btn:disabled {
  opacity: .7;
  cursor: wait;
  transform: none;
  box-shadow: 0 10px 20px -5px rgba(47,125,244,.25);
}
.work-form-status {
  font-size: .95rem;
  color: var(--muted-foreground);
  min-height: 1.25rem;
  padding: 0 .25rem;
}
.work-form-status.is-error { color: #b91c1c; }
.work-form-status.is-success { color: #15803d; }

.work-alert-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15,23,42,.42);
  backdrop-filter: blur(6px);
}
.work-alert {
  width: min(420px, 100%);
  padding: 1.5rem 1.5rem 1.2rem;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 30px 80px -30px rgba(15,23,42,.45);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: workAlertIn .22s ease-out;
}
.work-alert-success { border-top: 6px solid #16a34a; }
.work-alert-error { border-top: 6px solid #dc2626; }
.work-alert-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-alert-success .work-alert-icon {
  color: #16a34a;
  background: rgba(22,163,74,.12);
}
.work-alert-error .work-alert-icon {
  color: #dc2626;
  background: rgba(220,38,38,.12);
}
.work-alert-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.work-alert-title {
  margin: 0 0 .5rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: #111827;
}
.work-alert-text {
  margin: 0;
  color: #6b7280;
  line-height: 1.6;
}
.work-alert-button {
  margin-top: 1.25rem;
  border: none;
  border-radius: .9rem;
  background: var(--gradient-primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: .85rem 1.2rem;
  min-width: 160px;
  cursor: pointer;
  box-shadow: 0 12px 24px -12px rgba(47,125,244,.6);
}
.work-alert-button:hover { opacity: .95; transform: translateY(-1px); }
.work-alert-timer {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, rgba(47,125,244,.9), rgba(124,58,237,.9));
  transform-origin: left center;
  animation: workAlertTimer linear forwards;
  animation-duration: var(--work-alert-duration, 5000ms);
}

@keyframes workAlertIn {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes workAlertTimer {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 767px) {
  .modal-body { padding: .85rem; }
  .work-form { padding: .85rem; border-radius: 1rem; }
  .work-form-hero { padding: 1rem; }
  .work-form-hero h3 { font-size: 1.15rem; }
  .form-field, .form-fieldset { padding: .9rem; }
  .form-options { flex-direction: column; }
  .option { width: 100%; }
  .work-alert { padding: 1.25rem 1rem 1rem; border-radius: 1.1rem; }
  .work-alert-icon { width: 68px; height: 68px; }
  .work-alert-title { font-size: 1.25rem; }
  .work-alert-button { width: 100%; }
}
