:root{
  --ink: #0f172a; 
  --ink-light: #1e293b;
  --paper: #f8fafc; 
  --paper-2: #f1f5f9; 
  --white: #ffffff;
  --line: #e2e8f0; 
  --line-dark: rgba(255,255,255,0.1);
  --text: #0f172a; 
  --muted: #64748b; 
  --muted-light: #94a3b8;
  --accent: #4f46e5; 
  --accent-hover: #4338ca;
  --accent-light: #e0e7ff;
  --green: #10b981; 
  --red: #ef4444;
  --radius: 16px; --radius-sm: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.01);
  --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.25);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-sans); color: var(--text);
  background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 600; }
h2 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 700; }
em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 800px; }
.muted { color: var(--muted); }
.muted-light { color: var(--muted-light); }
.small { font-size: 0.875rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Top Bar */
.top-bar {
  background: var(--ink); color: var(--muted-light); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  padding: 0.5rem 1.5rem; display: flex; justify-content: center; gap: 1rem; text-align: center;
}
.top-bar span { color: #cbd5e1; text-transform: none; letter-spacing: 0; font-weight: 400; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.75rem; font-weight: 800; font-size: 1.15rem; color: var(--white); }
.brand b { color: #818cf8; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), #818cf8); color: var(--white);
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: #cbd5e1; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.95rem; font-weight: 600; padding: 0.85rem 1.5rem;
  border-radius: 999px; border: 1px solid transparent; background: var(--accent); color: var(--white);
  cursor: pointer; transition: all 0.2s ease; white-space: nowrap;
}
.button:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.button:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.button-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.button-ghost { background: transparent; border-color: var(--line-dark); color: var(--white); }
.button-ghost:hover { background: rgba(255,255,255,0.1); }
.button-light { background: var(--white); color: var(--ink); border-color: var(--line); }
.button-light:hover { background: var(--paper-2); }
.nav-cta { background: var(--white); color: var(--ink); }
.nav-cta:hover { background: var(--paper-2); }
.text-button { background: none; border: 0; padding: 0; font-weight: 600; color: var(--accent); cursor: pointer; font-size: 0.9rem; }
.text-button:hover { text-decoration: underline; }

/* Hero */
.hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--white);
  padding: 6rem 0 7rem;
}
.bg-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5; }
.b1 { width: 600px; height: 600px; background: #4f46e5; top: -200px; left: -150px; }
.b2 { width: 500px; height: 500px; background: #06b6d4; bottom: -200px; right: -100px; }
.b3 { width: 400px; height: 400px; background: #8b5cf6; top: 20%; left: 50%; opacity: 0.3; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: #cbd5e1;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); padding: 0.4rem 1rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
.hero h1 em { color: #818cf8; }
.lead { font-size: 1.125rem; color: #94a3b8; margin-top: 1.5rem; max-width: 32rem; }
.lead strong { color: var(--white); }
.hero-actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-assurance { display: flex; gap: 1.5rem; margin-top: 2rem; font-size: 0.875rem; color: #94a3b8; flex-wrap: wrap; }
.hero-assurance span { display: flex; align-items: center; gap: 0.4rem; }
.hero-assurance svg { color: var(--green); }

/* Glass Card */
.glass {
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-dark);
  border-radius: 24px; padding: 2rem; backdrop-filter: blur(20px); box-shadow: var(--shadow-lg);
}
.glass-head { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; color: #cbd5e1; }
.live { display: flex; align-items: center; gap: 0.5rem; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.glass-tag { background: rgba(255,255,255,0.1); padding: 0.2rem 0.6rem; border-radius: 6px; font-size: 0.7rem; }
.check-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; }
.check-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: #e2e8f0; }
.tick { width: 20px; height: 20px; border-radius: 50%; background: rgba(16,185,129,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tick::after { content: ''; width: 6px; height: 10px; border-bottom: 2px solid var(--green); border-right: 2px solid var(--green); transform: rotate(45deg) translate(-1px, -1px); }
.glass-foot { border-top: 1px solid var(--line-dark); padding-top: 1.5rem; display: flex; align-items: center; gap: 1rem; font-size: 0.85rem; color: #94a3b8; }
.glass-foot p { margin: 0; }
.avatars { display: flex; }
.avatars span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); background: linear-gradient(135deg, #4f46e5, #06b6d4); margin-left: -10px; }
.avatars span:first-child { margin-left: 0; }

/* Trust Badges */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.badges-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 2rem 1.5rem; }
.badge { display: flex; align-items: center; gap: 1rem; }
.badge svg { color: var(--accent); flex-shrink: 0; }
.badge div { display: flex; flex-direction: column; }
.badge b { font-size: 0.95rem; color: var(--ink); }
.badge span { font-size: 0.8rem; color: var(--muted); }

/* Sections */
.section { padding: 6rem 0; }
.section-head { margin-bottom: 3rem; max-width: 40rem; }
.eyebrow { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.light-eyebrow { color: #818cf8; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: 1rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-light); color: var(--accent); font-weight: 700; font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 1.5rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0.5rem 0 0; }

/* Claim Section */
.claim-section { background: var(--ink); color: var(--white); padding: 6rem 0; }
.claim-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.claim-aside h2 { color: var(--white); margin-bottom: 1rem; }
.claim-aside p { font-size: 1.05rem; margin-bottom: 2rem; }
.aside-list { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: 1rem; }
.aside-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: #cbd5e1; }
.aside-list .tick { width: 24px; height: 24px; }
.secure-note { display: flex; gap: 1rem; background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); border-radius: var(--radius-sm); padding: 1.25rem; font-size: 0.85rem; color: #94a3b8; }
.secure-note svg { color: var(--green); flex-shrink: 0; }

/* Form Panel */
.form-panel { background: var(--white); color: var(--ink); border-radius: 24px; padding: 2.5rem; box-shadow: var(--shadow-lg); }
.form-topline { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 1.5rem; }
.form-time { text-transform: none; letter-spacing: 0; font-weight: 500; }
.wizard-steps { display: flex; gap: 1rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.wizard-steps li { display: flex; align-items: center; gap: 0.5rem; flex: 1; }
.wizard-steps li span { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--paper-2); font-size: 0.75rem; transition: 0.2s; }
.wizard-steps li.current { color: var(--ink); }
.wizard-steps li.current span { background: var(--accent); color: var(--white); }
.wizard-steps li.done span { background: var(--green); color: var(--white); }
.progress-wrap { margin-bottom: 2rem; }
.progress-top { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem; }
.progress { height: 6px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.progress-bar { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width 0.3s ease; }

/* Form Fields */
.wizard-page h3 { font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: 0.5rem; }
.page-description { color: var(--muted); font-size: 0.95rem; margin-bottom: 2rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field-grid .span-two { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-light); }
label i { color: var(--red); font-style: normal; }
label small { font-weight: 400; color: var(--muted); font-size: 0.75rem; display: block; margin-top: 0.25rem; }
input, select, textarea { width: 100%; margin-top: 0.5rem; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 0.95rem; background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,70,229,0.15); }
input.invalid, select.invalid, textarea.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
textarea { resize: vertical; min-height: 100px; }

.usa-badge { font-size: 0.7rem; background: var(--accent-light); color: var(--accent); padding: 0.1rem 0.4rem; border-radius: 4px; margin-left: 0.5rem; font-weight: 700; letter-spacing: 0.05em; vertical-align: middle; }

.wizard-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.wizard-actions span { font-size: 0.8rem; color: var(--muted); }

/* Uploads */
.uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.upload input { display: none; }
.upload-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; height: 140px; border: 2px dashed var(--line); border-radius: var(--radius-sm); background: var(--paper); cursor: pointer; transition: 0.2s; background-size: cover; background-position: center; overflow: hidden; text-align: center; }
.upload-box:hover { border-color: var(--accent); background: var(--accent-light); }
.upload-box svg { color: var(--muted); }
.upload-box b { font-size: 0.85rem; color: var(--ink); }
.upload-box small { font-size: 0.75rem; color: var(--muted); }
.upload-box.has-image { border-style: solid; border-color: var(--accent); color: var(--white); }
.upload-box.has-image svg { display: none; }
.upload-box.has-image b, .upload-box.has-image small { background: rgba(15,23,42,0.8); padding: 0.2rem 0.5rem; border-radius: 6px; color: var(--white); position: relative; z-index: 2; }

/* Consent & Alerts */
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.85rem; font-weight: 400; color: var(--muted); margin-bottom: 1rem; line-height: 1.5; }
.consent input { width: auto; margin-top: 0.2rem; accent-color: var(--accent); }
.alert { padding: 1rem; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 1.5rem; }
.alert.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Success Panel */
.success-panel { text-align: center; padding: 1rem 0; }
.success-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: var(--white); margin-bottom: 1.5rem; }
.success-panel h3 { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 1rem; }
.success-panel > p { color: var(--muted); font-size: 1rem; }
.receipt-box { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.5rem; margin: 2rem 0; }
.receipt-box label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.receipt-box strong, .receipt-box code { display: block; margin-top: 0.5rem; font-size: 1.1rem; font-weight: 700; color: var(--ink); background: none; padding: 0; }
.inline-note { font-size: 0.85rem; color: var(--muted); background: var(--paper-2); padding: 1rem; border-radius: var(--radius-sm); margin-bottom: 2rem; text-align: left; }
.success-actions { display: flex; gap: 1rem; justify-content: center; }

/* FAQ */
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.25rem; margin-bottom: 1rem; }
.faq summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform 0.2s; }
.faq[open] summary span { transform: rotate(45deg); }
.faq p { color: var(--muted); font-size: 0.95rem; margin: 1rem 0 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted); padding: 4rem 0 2rem; }
.site-footer .brand { margin-bottom: 1rem; }
.footer-inner { display: flex; justify-content: space-between; padding-bottom: 2rem; border-bottom: 1px solid var(--line-dark); margin-bottom: 2rem; flex-wrap: wrap; gap: 2rem; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .claim-layout { grid-template-columns: 1fr; }
  .hero-art, .claim-aside { max-width: 600px; margin: 0 auto; width: 100%; }
  .badges-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .steps, .field-grid, .uploads, .receipt-box { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0; }
  .section, .claim-section { padding: 4rem 0; }
  .form-panel { padding: 1.5rem; }
  .wizard-steps li { flex-direction: column; align-items: flex-start; gap: 0.25rem; font-size: 0.75rem; }
}