@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f4f6f2;
  --bg-strong: #101820;
  --bg-panel: #16222c;
  --ink: #13202f;
  --ink-soft: #526172;
  --ink-inverse: #eef4ef;
  --line: rgba(19, 32, 47, 0.12);
  --line-strong: rgba(95, 135, 173, 0.24);
  --card: #ffffff;
  --card-soft: #f8fbff;
  --accent: #69c18b;
  --accent-strong: #3d9f67;
  --accent-ice: #9fd2f4;
  --accent-sand: #f5d69a;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 54px rgba(16, 24, 32, 0.12);
  --shadow-soft: 0 10px 26px rgba(16, 24, 32, 0.08);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(105, 193, 139, 0.11), transparent 28%),
    radial-gradient(circle at top right, rgba(159, 210, 244, 0.16), transparent 34%),
    linear-gradient(180deg, #f9fbf7 0%, #f4f6f2 52%, #eef2ef 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(19, 32, 47, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 32, 47, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 72%);
}

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

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 34px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 24, 32, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--accent), var(--accent-ice));
  color: #082033;
  font-family: "Barlow Condensed", ui-sans-serif, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-size: 1rem;
  line-height: 1.05;
}

.brand-text small {
  color: rgba(238, 244, 239, 0.82);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: none;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
}

.page {
  padding-bottom: 80px;
}

.hero {
  color: var(--ink-inverse);
  background:
    radial-gradient(circle at top right, rgba(159, 210, 244, 0.26), transparent 30%),
    radial-gradient(circle at 10% 0%, rgba(105, 193, 139, 0.2), transparent 26%),
    linear-gradient(180deg, #0f1820 0%, #17232e 100%);
  padding: 64px 0 44px;
}

.hero-grid,
.page-grid,
.two-col,
.split-panel,
.signup-panel,
.shortlist-layout,
.footer-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.9fr);
  align-items: start;
}

.eyebrow,
.card-kicker,
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(238, 244, 239, 0.9);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.card-kicker {
  border-color: rgba(61, 159, 103, 0.18);
  background: rgba(61, 159, 103, 0.08);
  color: #315f45;
}

.hero h1,
.section h2,
.section h3,
.page-title,
.faq-list summary,
.scorecard-label strong {
  font-family: "Barlow Condensed", ui-sans-serif, sans-serif;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.97;
  margin: 18px 0 14px;
}

.hero-copy {
  font-size: 1.12rem;
  color: rgba(238, 244, 239, 0.8);
  max-width: 720px;
}

.hero-actions,
.pill-row,
.inline-links,
.result-links,
.quiz-nav,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel,
.summary-panel,
.results-shell,
.shortlist-panel,
.trust-panel,
.callout,
.info-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

.summary-panel {
  display: grid;
  gap: 12px;
}

.summary-row,
.scorecard-row {
  display: grid;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-row:last-child,
.scorecard-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.summary-row span,
.scorecard-row span {
  color: rgba(238, 244, 239, 0.72);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-panel ul,
.bullet-list,
.checklist,
.footer-links,
.mini-list {
  margin: 0;
  padding-left: 20px;
}

.hero-panel li,
.checklist li {
  margin: 9px 0;
  color: rgba(238, 244, 239, 0.84);
}

.section {
  padding: 44px 0;
}

.section-heading,
.page-heading {
  margin-bottom: 20px;
}

.page-heading p,
.section-intro,
.muted {
  color: var(--ink-soft);
}

.page-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  margin: 6px 0 14px;
}

.grid {
  display: grid;
  gap: 18px;
}

.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.faq-list details,
.template-block,
.note-card,
.step-panel,
.scorecard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.card:hover,
.card:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(16, 24, 32, 0.1);
  border-color: rgba(61, 159, 103, 0.24);
}

.card h3,
.template-block h3,
.faq-list summary {
  margin: 0 0 10px;
  font-size: 1.45rem;
  color: #13202f;
}

.card p,
.template-block p,
.note-card p,
.result-note {
  margin: 0;
  color: var(--ink-soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #ecf6f2;
  border: 1px solid rgba(61, 159, 103, 0.18);
  color: #285341;
  font-size: 0.88rem;
}

.btn,
.inline-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-ice));
  color: #0c2230;
  box-shadow: 0 14px 28px rgba(61, 159, 103, 0.18);
}

.btn.secondary {
  background: #ffffff;
  color: #102233;
  border-color: rgba(19, 32, 47, 0.14);
}

.btn.ghost,
.ghost-link {
  background: transparent;
  color: var(--ink-inverse);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.ghost-link {
  min-height: 40px;
  padding: 0 12px;
}

.inline-link {
  min-height: 0;
  padding: 0;
  border: 0;
  color: #1d5d8f;
  background: transparent;
  font-weight: 700;
}

.btn:hover,
.ghost-link:hover,
.btn:focus-visible,
.ghost-link:focus-visible {
  transform: translateY(-1px);
}

.trust-strip,
.route-strip,
.feature-strip {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.route-card h3,
.scorecard h3,
.result-primary h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.route-card p {
  margin: 0;
  color: var(--ink-soft);
}

.banner {
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(140deg, rgba(16, 24, 32, 0.96), rgba(22, 34, 44, 0.94)),
    linear-gradient(135deg, rgba(105, 193, 139, 0.2), rgba(159, 210, 244, 0.18));
  color: var(--ink-inverse);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.page-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
}

.split-panel,
.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.note-card {
  background: var(--card-soft);
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #496174;
  font-weight: 700;
}

.breadcrumb a {
  color: #1d5d8f;
}

.scorecard {
  display: grid;
  gap: 12px;
  background:
    linear-gradient(180deg, #11202d 0%, #182737 100%);
  color: var(--ink-inverse);
  border-color: rgba(255, 255, 255, 0.08);
}

.scorecard-row {
  grid-template-columns: 1fr;
}

.scorecard-label strong {
  display: block;
  font-size: 1.2rem;
}

.scorecard-label span {
  display: block;
  margin-top: 4px;
  color: rgba(238, 244, 239, 0.7);
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.compare-table thead th {
  background: #eff6ff;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid rgba(19, 32, 47, 0.08);
  vertical-align: top;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.table-wrap {
  overflow: auto;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.template-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.template-copy {
  margin: 14px 0 0;
  padding: 18px;
  border-radius: var(--radius-md);
  background: #101820;
  color: #edf4f6;
  overflow: auto;
  white-space: pre-wrap;
}

.tag-grid,
.result-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signup-panel {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  padding: 26px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.form-grid,
.lead-form,
.contact-form {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: #13202f;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(19, 32, 47, 0.16);
  background: #ffffff;
  color: #13202f;
}

textarea {
  min-height: 130px;
  padding: 12px 14px;
}

.shortlist-layout {
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.85fr);
}

.shortlist-shell {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.step-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.step-progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(19, 32, 47, 0.08);
  overflow: hidden;
}

.step-progress-fill {
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--accent-ice));
}

.step-panel {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.step-panel h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.shortlist-output {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.results-shell {
  background: #f8fbff;
  border-color: rgba(95, 135, 173, 0.2);
  color: var(--ink);
}

.result-primary {
  background: #ffffff;
  border: 1px solid rgba(19, 32, 47, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result-links,
.inline-links {
  margin-top: 14px;
}

.result-note {
  margin-top: 12px;
}

.empty-state {
  color: var(--ink-soft);
}

.site-footer {
  margin-top: 24px;
  padding: 48px 0 56px;
  color: rgba(238, 244, 239, 0.84);
  background: #101820;
}

.footer-grid {
  grid-template-columns: 1.2fr repeat(4, minmax(0, 0.85fr));
}

.footer-brand {
  font-family: "Barlow Condensed", ui-sans-serif, sans-serif;
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 9px 0;
}

.footer-links a {
  color: rgba(238, 244, 239, 0.84);
}

.microcopy {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.hide {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero-grid,
  .page-grid,
  .signup-panel,
  .footer-grid,
  .shortlist-layout {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .route-strip,
  .feature-strip,
  .tag-grid,
  .result-grid,
  .cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    padding: 16px 18px 22px;
    background: #101820;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.open {
    display: flex;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-actions,
  .quiz-nav,
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-strip,
  .route-strip,
  .feature-strip,
  .cols-2,
  .cols-3,
  .tag-grid,
  .result-grid,
  .two-col,
  .split-panel,
  .form-grid.two {
    grid-template-columns: 1fr;
  }
}
