﻿/* ===== Settlement Rocket — settlementrocket.com design system ===== */
:root {
  --dark: #0b1026;        /* hero / footer / cta band (deep space) */
  --navy: #141b3f;        /* navy bands, icon tiles */
  --accent: #ff6a2b;      /* primary accent + buttons (rocket flame) */
  --accent-dark: #e5551b;
  --flame-2: #ffb347;     /* gradient partner (flame gold) */
  --ink: #171c2e;         /* headings / body on light */
  --muted: #5b6272;       /* secondary text */
  --line: #e6e7ec;        /* borders */
  --line-2: #d6d9e2;
  --gray-bg: #f6f7fa;     /* alternating section bg */
  --green: #2f9e44;
  --gold: #f2a93b;        /* stars */
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 16, 38, 0.08);
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", "DM Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
.section, #funnel, #calculator { scroll-margin-top: 90px; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.65; }
img { max-width: 100%; }
a { color: inherit; }

h1, h2, h3, .quiz-title { font-family: var(--font-head); font-weight: 700; letter-spacing: -.01em; }

.container { width: min(1080px, 92%); margin: 0 auto; }
.center { text-align: center; }

/* ===== Eyebrows ===== */
.eyebrow {
  color: var(--accent); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  font-size: .78rem; margin-bottom: 12px;
}
.eyebrow-light { color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; text-decoration: none; border: 0; cursor: pointer;
  border-radius: 12px; padding: 14px 24px; font-size: 1rem; transition: background .15s, transform .12s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--line-2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: var(--white); }
.btn-dark-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.3); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-header { padding: 11px 20px; font-size: .95rem; }

/* ===== Header ===== */
.site-header { background: var(--dark); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { height: 36px; width: 36px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em;
  color: var(--white); white-space: nowrap;
}
.brand-name em { font-style: normal; color: var(--accent); }
.header-nav { display: flex; gap: 24px; margin-left: auto; }
.lang-switch {
  color: rgba(255,255,255,.75); text-decoration: none; font-weight: 600; font-size: .9rem;
  padding: 6px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; white-space: nowrap;
}
.lang-switch:hover { color: var(--white); border-color: rgba(255,255,255,.5); }
.header-nav a { color: rgba(255,255,255,.7); text-decoration: none; font-weight: 500; font-size: .93rem; }
.header-nav a:hover { color: var(--white); }

/* ===== Hero ===== */
.hero {
  background: radial-gradient(120% 90% at 50% 0%, #1c2452 0%, var(--dark) 60%);
  color: var(--white); padding: 56px 0 64px; text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.15; max-width: 21ch; margin-bottom: 16px;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 62ch; margin-bottom: 32px; }

.hero-stars { margin-top: 34px; }
.stars { color: var(--gold); font-size: 1.25rem; letter-spacing: .25em; }
.hero-stars p { color: rgba(255,255,255,.62); font-size: .92rem; margin-top: 4px; }
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
  color: rgba(255,255,255,.85); font-size: .93rem; font-weight: 500; margin-top: 18px;
}

/* ===== Quiz / calculator card ===== */
.quiz-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,.35); padding: 26px 24px 28px;
  width: min(560px, 100%); text-align: left;
}
.quiz-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.quiz-card-label { color: var(--muted); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .74rem; }
.quiz-card-step { color: var(--accent); font-weight: 700; font-size: .82rem; white-space: nowrap; flex-shrink: 0; }
.quiz-progress { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; margin-bottom: 22px; }
.quiz-progress-fill { height: 100%; width: 20%; background: var(--accent); border-radius: 999px; transition: width .3s ease; }
.quiz-title { color: var(--ink); font-size: 1.45rem; margin-bottom: 6px; }
.quiz-sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }

/* ===== Fields ===== */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input[type="number"], .field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px;
  font-size: 1rem; font-family: var(--font-body); background: var(--white); color: var(--ink);
}
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,106,43,.18); }
.field input[type="range"] { width: 100%; accent-color: var(--accent); }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.slider-head label { margin-bottom: 0; }
.slider-value { color: var(--accent); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.range-labels { display: flex; justify-content: space-between; font-size: .66rem; color: var(--muted); margin-top: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-error { border-color: #d64545 !important; }

/* ===== Calculator result ===== */
.result-block { text-align: center; padding: 4px 0 20px; }
.result-label { font-weight: 700; color: var(--muted); text-transform: uppercase; font-size: .76rem; letter-spacing: .08em; }
.result-range {
  font-family: var(--font-head); font-size: clamp(1.7rem, 7vw, 3.1rem); font-weight: 700;
  line-height: 1.1; margin: 10px 0 14px; white-space: nowrap;
  background: linear-gradient(100deg, var(--accent-dark), var(--flame-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: result-pop .5s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes result-pop {
  0% { transform: scale(.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.result-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 0 auto 14px; max-width: 320px; }
.result-bar-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent-dark), var(--flame-2)); transition: width .9s ease; }
.result-note { color: var(--muted); font-size: .92rem; max-width: 46ch; margin: 0 auto; }
.result-cta { background: #fff5ef; border: 1px solid #ffd9c4; border-radius: 12px; padding: 18px; }
.result-cta p { font-size: .93rem; margin-bottom: 14px; }
.result-cta .btn + .btn { margin-top: 10px; }
.fineprint { font-size: .74rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }

/* ===== Sections ===== */
.section { padding: 76px 0; }
.section-gray { background: var(--gray-bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--ink); margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* ===== Funnel ===== */
.funnel { margin: 0 auto; box-shadow: var(--shadow); border: 1px solid var(--line); }
.choice-list { display: flex; flex-direction: column; gap: 12px; }
.choice {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 15px 16px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--white);
  font-size: 1rem; font-weight: 500; font-family: var(--font-body); color: var(--ink);
  cursor: pointer; text-align: left; transition: border-color .12s, background .12s;
}
.choice:hover { border-color: var(--accent); background: #fff6f0; }
.radio {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2);
  flex-shrink: 0; transition: border-color .12s;
}
.choice:hover .radio { border-color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; color: var(--muted); margin: 16px 0; line-height: 1.5; }
.consent input { margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); }
.funnel-success { text-align: center; }
.funnel-success p { margin-bottom: 12px; color: var(--muted); }
.success-check {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 2.3rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

/* ===== Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 26px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: var(--white);
  font-weight: 700; font-size: 1.05rem; margin-bottom: 16px;
}
.step-card h3 { color: var(--ink); margin-bottom: 8px; font-size: 1.25rem; }
.step-card p { color: var(--muted); font-size: .95rem; }

/* ===== Navy checklist section ===== */
.navy-section { background: var(--navy); color: var(--white); }
.navy-section .section-head h2 { color: var(--white); }
.navy-section .section-head p { color: rgba(255,255,255,.7); }
.check-list { list-style: none; max-width: 680px; margin: 0 auto 26px; display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.85); }
.check {
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.navy-note { text-align: center; color: rgba(255,255,255,.62); max-width: 62ch; margin: 0 auto 26px; font-size: .95rem; }

/* ===== FAQ ===== */
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  margin: 0 auto 12px; padding: 4px 22px; max-width: 760px;
}
.faq-item summary { font-weight: 600; color: var(--ink); cursor: pointer; padding: 15px 28px 15px 0; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--accent); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); padding-bottom: 16px; font-size: .95rem; }

/* ===== CTA band ===== */
.cta-band { background: var(--dark); color: var(--white); padding: 72px 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); max-width: 24ch; margin: 0 auto 12px; }
.cta-band p { color: rgba(255,255,255,.65); max-width: 56ch; margin: 0 auto 28px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: rgba(255,255,255,.55); padding: 46px 0 96px; font-size: .8rem; border-top: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 20px; color: rgba(255,255,255,.8); font-size: .9rem; }
.footer-brand .brand-mark { height: 30px; width: 30px; }
.footer-brand .brand-name { font-size: 1.15rem; }
.footer-contact { color: rgba(255,255,255,.6); }
.footer-legal p { margin-bottom: 12px; line-height: 1.6; }

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: none; gap: 10px; padding: 10px 12px;
  background: rgba(8,26,48,.97); box-shadow: 0 -4px 16px rgba(0,0,0,.3);
}
.sticky-cta .btn-dark-outline { flex: 0 0 auto; padding: 13px 18px; }
.sticky-cta .btn-primary { flex: 1; padding: 13px 10px; font-size: .98rem; }

/* ===== Legal pages ===== */
.legal-hero { background: var(--dark); color: var(--white); padding: 40px 0 44px; }
.legal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal-hero p { color: rgba(255,255,255,.6); margin-top: 6px; font-size: .95rem; }
.legal-content { max-width: 760px; margin: 0 auto; padding: 44px 0 80px; width: 92%; }
.legal-content h2 { font-size: 1.35rem; color: var(--ink); margin: 32px 0 10px; }
.legal-content p, .legal-content li { color: var(--muted); font-size: .97rem; margin-bottom: 12px; }
.legal-content ul { padding-left: 22px; margin-bottom: 12px; }
.legal-content a { color: var(--accent); }
.legal-footer { background: var(--dark); color: rgba(255,255,255,.55); text-align: center; padding: 26px 0; font-size: .8rem; }
.legal-footer a { color: rgba(255,255,255,.75); }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
  background: var(--navy); color: rgba(255,255,255,.85);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px;
  padding: 14px 16px; font-size: .85rem; box-shadow: 0 -4px 16px rgba(0,0,0,.35);
}
.cookie-banner a { color: var(--flame-2); }
.cookie-banner button {
  background: var(--accent); color: var(--white); border: 0; border-radius: 8px;
  padding: 9px 18px; font-weight: 600; font-size: .85rem; cursor: pointer; font-family: var(--font-body);
}
.cookie-banner button:hover { background: var(--accent-dark); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-inner { gap: 12px; }
  .lang-switch { margin-left: auto; }
  .btn-header { white-space: nowrap; }
  .steps-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  .hero { padding: 44px 0 52px; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .quiz-card { padding: 22px 18px 24px; }
  .brand-mark { height: 28px; width: 28px; }
  .brand-name { font-size: 1.05rem; }
  .lang-switch { padding: 6px 10px; font-size: .85rem; }
  .btn-header { display: none; }
  .qc-time { display: none; }
}
