:root {
  --bg: #f4f3f0;
  --bg-soft: #ecebe7;
  --panel: #ffffff;
  --panel-strong: #faf9f7;
  --text: #23262b;
  --muted: #5d6167;
  --navy: #23262b;
  --navy-deep: #17191d;
  --gold: #f4674a;
  --gold-soft: rgba(244, 103, 74, .12);
  --border: rgba(35, 38, 43, .14);
  --shadow: 0 24px 60px rgba(23, 25, 29, .10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(244, 103, 74, .08), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(35, 38, 43, .05), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 100px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Manrope, Inter, sans-serif; font-weight: 800; line-height: 1.06; }
h3 { font-family: Manrope, Inter, sans-serif; font-weight: 700; }
h1 { font-size: clamp(3rem, 6vw, 5.4rem); letter-spacing: -.045em; margin: 22px 0 26px; }
h1 span { color: var(--gold); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.6rem); letter-spacing: -.035em; margin: 18px 0; }
h3 { font-size: 1.18rem; margin-bottom: 10px; }
p { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1220px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(244, 243, 240, .82);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 10px; color: #ffffff; background: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: .88rem;
}
.brand-name { letter-spacing: .14em; font-size: .8rem; }
.desktop-nav { display: flex; gap: 30px; color: var(--muted); font-size: .92rem; }
.desktop-nav a:hover { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--gold);
  border-radius: 14px;
  background: var(--gold);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(244, 103, 74, .25);
  transition: .22s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(244, 103, 74, .32); background: #e0532f; border-color: #e0532f; }
.button-small { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.button-ghost { background: transparent; color: var(--text); border-color: var(--border); box-shadow: none; }
.button-ghost:hover { background: var(--gold-soft); border-color: var(--gold); }

.hero {
  min-height: 780px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 70px;
  padding-top: 110px;
}
.hero-text { max-width: 710px; font-size: 1.14rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-proof { display: flex; gap: 36px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-proof div { display: flex; flex-direction: column; gap: 4px; }
.hero-proof strong { font-size: 1rem; }
.hero-proof span { color: var(--muted); font-size: .82rem; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.dashboard-card {
  width: min(100%, 470px);
  position: relative;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.dashboard-top { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.dashboard-dots { display: flex; gap: 6px; }
.dashboard-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(35, 38, 43, .18); }
.progress-label { display: flex; justify-content: space-between; margin-top: 32px; }
.progress-track, .form-progress-track { height: 8px; border-radius: 999px; overflow: hidden; background: rgba(35, 38, 43, .08); }
.progress-fill { width: 12%; height: 100%; background: linear-gradient(90deg, var(--gold), #f89b77); }
.mini-steps { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 26px; }
.mini-step { padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--panel-strong); display: flex; gap: 12px; align-items: center; color: var(--muted); }
.mini-step b { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: rgba(35, 38, 43, .06); color: var(--text); }
.mini-step.active { border-color: var(--gold); color: var(--text); }
.mini-step.active b { background: var(--gold); color: #fff; }
.floating-chip { position: absolute; padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); box-shadow: var(--shadow); font-size: .78rem; font-weight: 600; }
.chip-one { left: -52px; top: 66px; }
.chip-two { right: -34px; bottom: 42px; color: var(--gold); }
.orb { position: absolute; border-radius: 50%; filter: blur(14px); }
.orb-one { width: 260px; height: 260px; background: rgba(244, 103, 74, .16); top: 16px; right: 8px; }
.orb-two { width: 170px; height: 170px; background: rgba(35, 38, 43, .10); bottom: 26px; left: 8px; }

.intro { padding-top: 40px; }
.section-heading { max-width: 820px; margin-bottom: 50px; }
.section-heading p { max-width: 720px; font-size: 1.05rem; }

.timeline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.timeline-card {
  display: flex; gap: 22px; padding: 28px;
  min-height: 160px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--panel);
  transition: .2s ease;
}
.timeline-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.step-number { color: var(--gold); font-weight: 800; font-size: .9rem; }

.brief-section { width: min(980px, calc(100% - 40px)); }
.onboarding-form, .summary-panel {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.form-progress { position: sticky; top: 88px; z-index: 8; margin: -10px -10px 28px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.form-progress span { font-size: .85rem; color: var(--muted); }
.form-progress strong { float: right; }
.form-progress-track { margin-top: 10px; }
#formProgressBar { width: 0; height: 100%; background: linear-gradient(90deg, var(--gold), #f89b77); transition: width .25s ease; }

fieldset { margin: 0 0 26px; padding: 28px; border: 1px solid var(--border); border-radius: 20px; }
legend { padding: 0 12px; font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: 1.15rem; }
legend span { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 10px; background: var(--navy); color: #f89b77; }
.form-grid { display: grid; gap: 18px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
label { display: flex; flex-direction: column; gap: 9px; color: var(--text); font-size: .91rem; font-weight: 600; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--bg);
  color: var(--text);
  padding: 14px 15px;
  outline: none;
  resize: vertical;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
fieldset > label { margin-top: 18px; }
.field-help { margin: 0 0 14px; font-size: .86rem; }

.resource-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.resource-list label {
  position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 3px 10px;
  padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel-strong);
  cursor: pointer;
  transition: .18s ease;
}
.resource-list label:hover { border-color: var(--gold); }
.resource-list input { width: 18px; height: 18px; grid-row: span 2; margin-top: 3px; accent-color: var(--gold); }
.resource-list small { color: var(--muted); font-weight: 400; }

.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.form-note { font-size: .82rem; margin: 18px 0 0; }
.summary-panel textarea { margin: 24px 0 0; min-height: 360px; font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: .85rem; }

.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.info-card > span { color: var(--gold); font-weight: 800; }
.info-card h3 { margin-top: 26px; }

.accordion { display: grid; gap: 12px; }
details { border: 1px solid var(--border); border-radius: 18px; background: var(--panel); padding: 22px 24px; }
summary { cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--gold); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 16px 0 0; max-width: 800px; }

.final-cta {
  text-align: center; padding: 90px 40px; margin-bottom: 80px;
  border: 1px solid rgba(244, 103, 74, .35); border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 103, 74, .16), transparent 60%),
    var(--navy);
}
.final-cta h2 { color: #ffffff; }
.final-cta .eyebrow { color: var(--gold); }
.final-cta .eyebrow::before { display: none; }
.final-cta p { max-width: 620px; margin: 0 auto 28px; color: rgba(255, 255, 255, .72); }
.final-cta .button { background: var(--gold); border-color: var(--gold); color: #fff; }
.final-cta .button:hover { background: #e0532f; }

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 38px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  color: var(--muted); font-size: .82rem;
}
footer p { margin: 0; }

#toast {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  max-width: 340px; padding: 14px 18px; border-radius: 13px;
  background: var(--navy); color: #ffffff; font-weight: 700;
  transform: translateY(100px); opacity: 0; transition: .25s ease;
}
#toast.show { transform: translateY(0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 90px; }
  .hero-visual { min-height: 460px; }
  .timeline, .rules-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .section { width: min(100% - 24px, 1180px); padding: 74px 0; }
  .site-header { width: calc(100% - 18px); }
  .site-header .button-small { display: none; }
  h1 { font-size: 2.9rem; }
  .hero-proof { flex-direction: column; gap: 18px; }
  .dashboard-card { padding: 18px; }
  .chip-one { left: -5px; top: -30px; }
  .chip-two { right: -5px; bottom: -30px; }
  .form-grid.two, .resource-list { grid-template-columns: 1fr; }
  .onboarding-form, .summary-panel { padding: 14px; border-radius: 22px; }
  fieldset { padding: 20px 14px; }
  footer { flex-direction: column; align-items: flex-start; }
}
