:root {
  --navy-950: #0b1220;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --navy-600: #475569;
  --navy-100: #f1f5f9;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-100: #ffedd5;
  --green-600: #059669;
  --green-100: #d1fae5;
  --amber-600: #d97706;
  --amber-100: #fef3c7;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--navy-950);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.2rem, 4.3vw, 4rem);
  max-width: 820px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

p {
  color: var(--navy-600);
  font-size: 1.05rem;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--navy-950);
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
}

.logo-dot {
  width: 10px;
  height: 10px;
  margin: 0 1px;
  border-radius: 50%;
  background: var(--orange-500);
}

.local-badge {
  padding: 7px 11px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  color: var(--navy-700);
  font-weight: 800;
  font-size: 0.84rem;
}

.hero {
  padding: 70px 0 54px;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 54%, #fff7ed 100%);
  border-bottom: 1px solid var(--gray-200);
}

.hero-grid {
  display: grid;
  gap: 38px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
  }
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--orange-600);
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 24px 0 30px;
  color: var(--navy-700);
  font-size: 1.2rem;
}

.hero-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.22);
}

.btn-primary:hover {
  background: var(--orange-600);
}

.btn-secondary {
  border-color: var(--gray-200);
  background: var(--white);
  color: var(--navy-900);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.privacy-note {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 0.96rem;
}

.hero-preview,
.form-card,
.result-box {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.09);
}

.hero-preview {
  overflow: hidden;
  align-self: stretch;
  min-height: 500px;
  background: var(--white);
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--navy-950);
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
}

.preview-topbar span:last-child {
  color: #fed7aa;
}

.preview-body {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.preview-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.preview-heading p,
.preview-heading h2 {
  margin: 0;
}

.preview-heading p {
  color: var(--navy-600);
  font-weight: 800;
}

.preview-heading h2 {
  margin-top: 8px;
  font-size: clamp(3rem, 6vw, 4.8rem);
}

.preview-status {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 8px;
  background: var(--orange-100);
  color: var(--orange-600);
  font-weight: 900;
}

.signal-list {
  display: grid;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
}

.signal-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--navy-700);
  font-weight: 800;
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-row strong {
  justify-self: end;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.88rem;
}

.signal-row.strong strong {
  background: var(--green-100);
  color: var(--green-600);
}

.signal-row.warning strong {
  background: var(--amber-100);
  color: var(--amber-600);
}

.ai-preview {
  border-left: 4px solid var(--orange-500);
  padding: 2px 0 2px 16px;
}

.ai-question {
  margin-bottom: 8px;
  color: var(--navy-950);
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.ai-answer {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.recommendation-strip {
  padding: 18px;
  border-radius: 8px;
  background: var(--navy-100);
}

.recommendation-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-600);
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.recommendation-strip p {
  margin-bottom: 0;
  color: var(--navy-800);
  font-weight: 800;
}

.benefits {
  display: grid;
  gap: 14px;
}

.benefits > div {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  padding: 14px 16px;
  color: var(--navy-700);
  font-weight: 700;
}

section {
  padding: 68px 0;
}

.band {
  background: var(--navy-100);
}

.two-col,
.form-layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .two-col,
  .form-layout {
    grid-template-columns: 0.86fr 1.14fr;
    align-items: start;
  }
}

.benefits h3 {
  margin-bottom: 4px;
}

.benefits p {
  margin-bottom: 0;
}

.form-card {
  display: grid;
  gap: 16px;
  padding: 26px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy-800);
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--navy-900);
  background: var(--white);
  font: inherit;
}

input:focus,
select:focus,
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.36);
  outline-offset: 3px;
}

.checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 700;
}

.checkbox input {
  min-height: auto;
  margin-top: 4px;
}

.checkbox a,
.privacy-copy a {
  color: var(--orange-700);
  text-decoration: underline;
}

.form-message {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

.form-message.error {
  color: #b91c1c;
}

.form-message.success {
  color: var(--orange-600);
}

.privacy-copy {
  margin: 0;
  color: var(--navy-600);
  font-size: 0.88rem;
  line-height: 1.5;
}

.result-section {
  padding-top: 0;
}

.result-box {
  padding: 28px;
}

.next-list {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding-left: 22px;
  color: var(--navy-700);
  font-weight: 700;
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero,
  section {
    padding: 48px 0;
  }

  .nav-inner {
    height: 66px;
  }

  .form-card,
  .result-box,
  .hero-preview {
    padding: 20px;
  }

  .hero-preview {
    min-height: auto;
  }

  .preview-topbar,
  .preview-body {
    margin: -20px -20px 0;
  }

  .preview-body {
    padding: 22px 20px 24px;
  }

  .signal-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px 14px;
  }

  .signal-row strong {
    justify-self: start;
  }
}
