:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-light: #fff7ed;
  --success: #16a34a;
  --max: 1120px;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.07), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  font-size: 1rem;
}
.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  font-size: 0.925rem;
}
.nav a:hover { color: var(--text); background: var(--bg-soft); }
.nav a.nav-cta {
  background: var(--accent);
  color: #fff;
  margin-left: 0.5rem;
}
.nav a.nav-cta:hover { background: var(--accent-dark); color: #fff; }

/* Hero */
.hero {
  padding: 5rem 0 4.5rem;
  background: linear-gradient(160deg, #fff7f0 0%, #ffffff 55%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-light);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1.07;
  margin: 1rem 0 0;
  letter-spacing: -0.03em;
  color: var(--text);
}
.lead {
  font-size: 1.075rem;
  color: var(--muted);
  max-width: 54ch;
  line-height: 1.75;
  margin-top: 1rem;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.925rem;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}
.btn-secondary {
  border-color: var(--line);
  color: var(--text);
  background: #fff;
}
.btn-secondary:hover {
  border-color: #cbd5e1;
  background: var(--bg-soft);
  transform: translateY(-1px);
}

/* Hero sidebar card */
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}
.stat-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.stat {
  padding: 0.9rem;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.2rem;
  font-weight: 700;
}
.stat span { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }

/* Sections */
.section {
  padding: 4.5rem 0;
}
.section-header {
  margin-bottom: 2.5rem;
}
.section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin: 0.4rem 0 0.75rem;
  letter-spacing: -0.025em;
}
.section-intro {
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
  font-size: 1.025rem;
  line-height: 1.7;
}
.bg-soft { background: var(--bg-soft); }

/* Cards */
.grid-3, .grid-2 {
  display: grid;
  gap: 1.25rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card h2, .card h3 { margin: 0.5rem 0; letter-spacing: -0.01em; }
.card p { color: var(--muted); margin: 0.5rem 0; font-size: 0.95rem; line-height: 1.65; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* Kicker */
.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.725rem;
  font-weight: 800;
}

/* Lists */
.bullets {
  padding-left: 1.1rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.925rem;
  line-height: 1.65;
}
.bullets li + li { margin-top: 0.45rem; }

/* Notice */
.notice {
  background: var(--accent-light);
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--text);
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
}
label {
  font-weight: 600;
  font-size: 0.875rem;
  display: grid;
  gap: 0.35rem;
  color: var(--text);
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 0.925rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: auto;
  appearance: auto;
  width: auto;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
  background: #fff;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.2rem;
  padding-right: 2.5rem;
  cursor: pointer;
}
textarea { min-height: 120px; resize: vertical; }

/* Checkbox */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

/* Form feedback messages */
.success-msg {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  font-size: 0.925rem;
  line-height: 1.6;
}
.error-msg {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  font-size: 0.925rem;
}

/* Tags & badges */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Misc */
small, .fineprint { color: var(--muted); font-size: 0.825rem; }
.muted { color: var(--muted); }
.highlight { color: var(--accent); font-weight: 700; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }

/* CTA strip */
.cta-strip {
  background: var(--text);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.cta-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.cta-strip p { color: #94a3b8; margin: 0 auto 1.75rem; max-width: 50ch; }

/* Footer */
.footer {
  padding: 2rem 0;
  background: #0f172a;
  color: #64748b;
  font-size: 0.875rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer a { color: #64748b; text-decoration: none; transition: color 0.15s; }
.footer a:hover { color: #fff; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: #fff;
}
.footer-badge {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.75rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 3rem 0; }
}
