:root {
  --bg: #f6f8fc;
  --bg-soft: #eef3fb;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: #ffffff;
  --text: #143968;
  --muted: #5a6d87;
  --line: rgba(20, 57, 104, 0.12);
  --line-strong: rgba(20, 57, 104, 0.18);
  --primary: #163f79;
  --primary-deep: #0f2f5c;
  --accent: #e69a2f;
  --accent-soft: #fff2df;
  --success: #0f7a58;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 18px 50px rgba(17, 34, 68, 0.08);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(230, 154, 47, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(22, 63, 121, 0.1), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #f3f6fb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(20,57,104,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(20,57,104,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.45;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.32), transparent 85%);
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 14%, rgba(230, 154, 47, 0.12), transparent 22%),
    radial-gradient(circle at 82% 16%, rgba(22, 63, 121, 0.09), transparent 22%);
}

img {
  display: block;
  max-width: 100%;
}

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

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

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding-bottom: 40px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 18px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(20, 57, 104, 0.1);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px rgba(20, 57, 104, 0.1);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--primary);
}

.nav-cta {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(22, 63, 121, 0.18);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.94);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
}

.section,
.hero,
.section-tight {
  padding: 52px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  min-height: calc(100svh - 170px);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(230, 154, 47, 0.22);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
  line-height: 1.25;
}

.hero-text,
.section-head p,
.feature-card p,
.tool-block p,
.faq-list p,
.cta-copy p,
.footer p,
.calculator-note,
.join-note,
.form-status,
.hero-mini-grid span,
.hero-points span,
.stats span,
.roadmap-grid article p,
.calculator-results span {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--primary), #24589f);
  color: #fff;
  box-shadow: 0 14px 30px rgba(22, 63, 121, 0.18);
}

.button-secondary {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line-strong);
  color: var(--primary);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-points article,
.stats article,
.feature-card,
.checklist-card,
.calculator-card,
.roadmap-grid article,
.faq-list details,
.cta-panel,
.footer,
.hero-card,
.tool-block {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-points article {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-points strong,
.stats strong,
.calculator-results strong,
.hero-mini-grid strong {
  display: block;
  margin-bottom: 6px;
}

.card-glow {
  position: relative;
}

.card-glow::after {
  content: "";
  position: absolute;
  inset: 10% 12% auto;
  height: 36%;
  border-radius: 999px;
  background: rgba(230, 154, 47, 0.18);
  filter: blur(52px);
  z-index: -1;
}

.hero-card {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.hero-card-top {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.hero-logo {
  width: 132px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 24px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 16px 34px rgba(20, 57, 104, 0.12);
}

.panel-kicker {
  margin-bottom: 6px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.main-hero-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-badges span,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-mini-grid article {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(20, 57, 104, 0.08);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stats article {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.narrow {
  max-width: 760px;
}

.feature-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.roadmap-grid article {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-icon {
  width: fit-content;
  min-width: 46px;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.section-surface {
  margin: 12px 0;
  padding: 42px 26px;
  border: 1px solid rgba(20, 57, 104, 0.08);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 249, 255, 0.92));
  box-shadow: var(--shadow);
}

.toolkit-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 22px;
}

.toolkit-copy {
  display: grid;
  gap: 16px;
}

.tool-block {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.checklist-card,
.calculator-card,
.cta-panel {
  padding: 26px;
  border-radius: var(--radius-xl);
}

.checklist-head,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.checklist-head h3,
.footer-branding p,
.footer-branding strong {
  margin: 0;
}

.progress-bar {
  height: 10px;
  margin: 14px 0 18px;
  border-radius: 999px;
  background: rgba(20, 57, 104, 0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  transition: width 0.2s ease;
}

.checklist-items {
  display: grid;
  gap: 10px;
}

.checklist-items label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 14px;
  background: rgba(246, 249, 255, 0.9);
  border: 1px solid rgba(20, 57, 104, 0.08);
  color: var(--text);
  cursor: pointer;
}

.checklist-items input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.calculator-grid label,
.join-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.calculator-grid input,
.join-form input,
.join-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 57, 104, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 14px 14px;
  font: inherit;
}

.calculator-grid input:focus,
.join-form input:focus,
.join-form textarea:focus {
  outline: 2px solid rgba(22, 63, 121, 0.18);
  border-color: rgba(22, 63, 121, 0.22);
}

.calculator-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.calculator-results article {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid rgba(20, 57, 104, 0.08);
}

.calculator-results strong {
  font-size: 1.75rem;
  letter-spacing: -0.04em;
}

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

.faq-list details {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -0.02em;
  list-style: none;
}

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

.faq-list p {
  margin-top: 14px;
  margin-bottom: 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.cta-points {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.cta-points li {
  line-height: 1.55;
}

.join-form {
  display: grid;
  gap: 14px;
}

.join-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  min-height: 1.7em;
  margin: 0;
  font-weight: 600;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: #b54343;
}

.footer {
  margin-top: 14px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.footer-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(20, 57, 104, 0.1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 1080px) {
  .hero,
  .toolkit-layout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .stats,
  .feature-grid,
  .roadmap-grid,
  .calculator-grid,
  .calculator-results,
  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    max-width: 12ch;
  }
}

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

  .topbar {
    border-radius: 28px;
    padding: 14px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 8px;
  }

  .nav.open {
    display: flex;
  }

  .brand {
    max-width: calc(100% - 92px);
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-title {
    font-size: 1rem;
  }

  .brand-subtitle {
    font-size: 0.84rem;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-card-top {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .hero-points,
  .stats,
  .feature-grid,
  .roadmap-grid,
  .calculator-grid,
  .calculator-results,
  .hero-mini-grid,
  .cta-panel,
  .toolkit-layout {
    grid-template-columns: 1fr;
  }

  .section-surface {
    padding: 28px 18px;
    border-radius: 24px;
  }

  .checklist-head,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
