/* Theme: swap --accent to change the highlight color site-wide */
:root {
  --accent: #004c97;
  --on-accent: #ffffff;
  --accent-soft: #e6eef7;
  --ink: #0d0d0d;
  --muted: #6b6f76;
  --line: #e7e8ea;
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border: 2px solid var(--ink); border-radius: 4px;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn-dark { background: var(--ink); color: #fff; box-shadow: 6px 6px 0 var(--accent); }
.btn-dark svg { color: #fff; }
.btn-dark:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--accent); }
.btn-dark:active { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--accent); }
.btn-dark:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { background: #fff; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; padding: 14px 6px; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 104px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo { height: 80px; width: auto; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { text-decoration: none; font-size: 15px; color: #3a3d42; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { font-weight: 600; color: var(--ink); }
.nav-links a.active::before { content: ""; position: absolute; left: -14px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }
.nav-call { display: none; }

/* Hero */
.hero { padding: 56px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }

.hello {
  position: relative; display: inline-block; margin: 0 0 26px;
  padding: 8px 14px; border: 1.5px solid var(--ink); font-weight: 500; font-size: 16px;
}
.handle { position: absolute; width: 9px; height: 9px; background: var(--accent); border: 1.5px solid var(--accent); }
.handle.tl { left: -5px; top: -5px; } .handle.tr { right: -5px; top: -5px; }
.handle.bl { left: -5px; bottom: -5px; } .handle.br { right: -5px; bottom: -5px; }

.hero h1 { font-size: clamp(42px, 5.6vw, 68px); line-height: 1.08; margin: 0 0 24px; font-weight: 600; letter-spacing: -1.5px; max-width: 12ch; }
.lede { color: var(--muted); font-size: 18px; max-width: 46ch; margin: 0 0 36px; }
.hero-ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 40px; }

.reach { display: flex; align-items: center; gap: 12px; }
.reach span { font-weight: 500; margin-right: 18px; }
.circle {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); text-decoration: none; transition: border-color .15s, transform .15s;
}
.circle:hover { border-color: var(--ink); transform: translateY(-2px); }
.circle-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 470px; aspect-ratio: 470 / 500; }
.swoosh { position: absolute; right: -60px; bottom: -40px; width: 112%; z-index: 0; }
.squiggle { position: absolute; left: -10px; top: 40px; width: 58px; z-index: 2; }
.photo {
  position: absolute; right: 20px; top: 0; margin: 0; width: 66%; aspect-ratio: 4 / 5; z-index: 1;
  background: #e9ebee; box-shadow: 12px 12px 0 var(--ink); overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .initials { display: none; position: absolute; inset: 0; place-items: center; font-size: 80px; font-weight: 700; color: #c5c9cf; }
.photo.no-photo img { display: none; }
.photo.no-photo .initials { display: grid; }

.spin-badge {
  position: absolute; left: -6%; top: 52%; width: 110px; height: 110px; z-index: 3;
  display: grid; place-items: center; text-decoration: none; background: #fff; border-radius: 50%;
}
.spin-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.spin-text text { font-size: 10.5px; letter-spacing: 1.6px; fill: var(--ink); font-weight: 500; }
.spin-arrow { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Marquee band */
.band {
  position: relative; background: var(--ink); color: #fff; transform: rotate(-1.6deg);
  margin: 0 -40px; padding: 22px 0; border-top: 12px solid var(--accent); overflow: hidden;
}
.band-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.band ul { display: flex; list-style: none; margin: 0; padding: 0; }
.band li { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; white-space: nowrap; display: flex; align-items: center; }
.band li::after { content: "✦"; font-size: 28px; margin: 0 44px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Shared section bits */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--muted); margin: 0 0 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -1px; margin: 0 0 14px; font-weight: 600; }
.section-sub { color: var(--muted); font-size: 18px; margin: 0 0 32px; }

/* Why */
.why { padding: 120px 0 90px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.card { border: 1.5px solid var(--ink); padding: 26px; background: #fff; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }
.card .num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-soft); border: 1.5px solid var(--ink); font-weight: 700; font-size: 18px; margin-bottom: 18px;
}
.card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); }
.card.card-feature { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; background: var(--ink); color: #fff; box-shadow: 8px 8px 0 var(--accent); }
.card.card-feature:hover { transform: none; }
.card.card-feature .num { width: 72px; height: 72px; font-size: 32px; margin: 0; background: var(--accent); color: var(--on-accent); border-color: var(--accent); flex-shrink: 0; }
.card.card-feature h3 { font-size: 24px; }
.card.card-feature p { color: rgba(255,255,255,.75); }

/* Quiz */
.quiz-section { padding: 90px 0; background: var(--bg-soft); text-align: center; }
.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.tab {
  font: inherit; font-weight: 500; padding: 10px 20px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--ink); background: #fff; color: var(--ink);
}
.tab:hover { background: var(--accent-soft); }
.tab.active { background: var(--ink); color: #fff; }
.quiz-card { max-width: 720px; margin: 0 auto; background: #fff; border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 var(--accent); text-align: left; }
.progress { height: 6px; background: var(--line); }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .3s; }
#quizForm { padding: 34px; }
.q-step-count { font-size: 14px; font-weight: 500; color: var(--muted); margin: 0 0 6px; }
.q-title { font-size: 28px; margin: 0 0 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.5px; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice {
  font: inherit; text-align: left; padding: 16px 18px; cursor: pointer; border-radius: 4px;
  border: 1.5px solid var(--line); background: #fff; font-weight: 500; color: var(--ink);
  display: flex; align-items: center; gap: 12px; transition: border-color .15s, background .15s;
}
.choice:hover { border-color: var(--ink); }
.choice.selected { border-color: var(--ink); background: var(--accent-soft); box-shadow: 4px 4px 0 var(--accent); }
.choice .emoji { font-size: 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; padding: 13px 14px; border-radius: 4px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 3px 3px 0 var(--accent); }
.field textarea { min-height: 90px; resize: vertical; }
.consent { font-size: 12px; color: var(--muted); margin: 16px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { color: #c8102e; font-weight: 500; min-height: 1.5em; margin: 14px 0 0; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.quiz-nav .btn-dark { margin-left: auto; min-width: 150px; justify-content: center; }
.success { text-align: center; padding: 20px 0; }
.success .check { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--on-accent); border: 1.5px solid var(--accent); display: grid; place-items: center; font-size: 34px; margin: 0 auto 16px; }
.success h3 { font-size: 28px; margin: 0 0 8px; font-weight: 600; }
.success p { color: var(--muted); margin: 0 0 22px; }

/* Contact */
.contact { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: grid; padding: 20px 24px; border: 1.5px solid var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.contact-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }
.contact-card .label { font-size: 14px; color: var(--muted); font-weight: 500; }
.contact-card .value { font-size: 30px; font-weight: 600; letter-spacing: -.5px; }
.contact-card .value-sm { font-size: 22px; word-break: break-all; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 48px 0 100px; text-align: center; font-size: 15px; border-top: 10px solid var(--accent); }
.footer-logo { height: 110px; width: auto; margin: 0 auto 18px; }
.fine { font-size: 12px; opacity: .65; max-width: 760px; margin: 8px auto; }

.sticky-cta { display: none; }

@media (prefers-reduced-motion: reduce) {
  .spin-text, .band-track { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-call { display: inline-flex; font-weight: 600; text-decoration: none; padding: 10px 16px; border: 1.5px solid var(--accent); background: var(--accent); color: var(--on-accent); border-radius: 4px; font-size: 14px; }
  .hero { padding: 24px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { justify-self: center; max-width: 400px; order: -1; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 110px; }
  .sticky-cta {
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: #fff; border-top: 1.5px solid var(--ink);
  }
  .sticky-cta a { padding: 16px 8px; text-align: center; font-weight: 600; text-decoration: none; }
  .sticky-cta a:last-child { background: var(--ink); color: #fff; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .nav-inner { height: 84px; }
  .brand-logo { height: 62px; }
  .nav-call { display: none; }
  .hero-visual { max-width: 330px; }
  .spin-badge { width: 88px; height: 88px; left: -4%; }
  .spin-arrow { width: 42px; height: 42px; font-size: 18px; }
  .why-grid, .choices, .fields { grid-template-columns: 1fr; }
  .card.card-feature { flex-direction: column; align-items: flex-start; }
  #quizForm { padding: 24px 20px; }
  .q-title { font-size: 23px; }
  .hero-ctas { gap: 12px; }
  .reach span { margin-right: 6px; }
  .contact-card .value { font-size: 26px; }
  .contact-card .value-sm { font-size: 18px; }
}
