:root {
  --ink: #151816;
  --muted: #68716c;
  --line: #e6ebe7;
  --soft: #f7faf8;
  --white: #ffffff;
  --green: #17b978;
  --green-dark: #0d7f55;
  --red: #d83232;
  --red-dark: #b91f1f;
  --blue: #276ef1;
  --amber: #d7932d;
  --shadow: 0 16px 42px rgba(21, 24, 22, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--green-dark);
}

.nav-cta {
  color: var(--white) !important;
  background: var(--ink);
  padding: 10px 15px;
  border-radius: 8px;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

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

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.28;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green-dark);
}

.hero {
  padding: 82px clamp(18px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(23, 185, 120, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(23, 185, 120, 0.08) 1px, transparent 1px),
    var(--soft);
  background-size: 42px 42px;
}

.hero-bg {
  display: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(30px, 6vw, 74px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 28px rgba(216, 50, 50, 0.18);
}

.button.secondary {
  color: var(--red);
  border: 2px solid rgba(216, 50, 50, 0.72);
  background: var(--white);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary:hover {
  border-color: var(--red);
  background: #fff6f6;
}

.hero-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel-top,
.route-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-top {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.status {
  color: var(--green-dark);
  font-weight: 900;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.metric-grid div,
.route-card {
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.metric-grid strong {
  display: block;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.metric-grid span,
.route-card .label {
  color: var(--muted);
  font-size: 13px;
}

.route-card {
  min-height: 86px;
  margin-top: 10px;
}

.route-card strong {
  display: block;
  margin-top: 6px;
}

.arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
  font-weight: 900;
}

.section,
.content-section {
  padding: 76px clamp(18px, 5vw, 64px);
}

.section-heading,
.quick-grid,
.resource-grid,
.guide-list,
.faq-list,
.content-grid,
.next-links {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 34px;
}

.intro,
.faq,
.content-section {
  background: var(--white);
}

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

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

.quick-grid a {
  display: block;
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.quick-grid a:hover {
  border-color: rgba(216, 50, 50, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.quick-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red);
  font-weight: 900;
}

.quick-grid p {
  color: var(--muted);
}

.resource-card,
.content-card,
.faq-list details,
.guide-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.resource-card {
  min-height: 220px;
  padding: 22px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.resource-card:hover {
  border-color: rgba(13, 127, 85, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--green-dark);
  background: #e9f8f1;
  border-radius: 8px;
  font-weight: 900;
}

.resource-card p,
.guide-list p,
.faq-list p,
.content-card p,
.footer p {
  color: var(--muted);
}

.guide-band {
  color: var(--ink);
  background: var(--soft);
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.guide-list.why-list {
  grid-template-columns: repeat(4, 1fr);
}

.guide-list article {
  min-height: 210px;
  padding: 22px;
}

.guide-list span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.page-hero {
  padding: 78px clamp(18px, 5vw, 64px);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 980px;
  margin: 0 auto;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.content-section {
  background: var(--white);
}

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

.content-card {
  padding: 24px;
}

.content-card h2 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
}

.next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.next-links a {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 11px 14px;
  font-weight: 900;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 38px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--green-dark);
}

/* Template switch: dark editorial theme */
:root {
  --ink: #ecf4ff;
  --muted: #9aa9be;
  --line: rgba(148, 163, 184, 0.18);
  --soft: #111c31;
  --white: #08111f;
  --green: #67e8f9;
  --green-dark: #22d3ee;
  --red: #22d3ee;
  --red-dark: #0891b2;
  --blue: #8b5cf6;
  --amber: #f59e0b;
  --shadow: 0 28px 80px rgba(2, 8, 23, 0.5);
}

body {
  background: #08111f;
  color: var(--ink);
}

.site-header {
  background: rgba(8, 17, 31, 0.92);
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

.brand-mark {
  color: #06111e;
  background: linear-gradient(135deg, #67e8f9, #a78bfa);
}

.nav {
  color: #b9c6d8;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #d9f8ff;
}

.nav-cta {
  color: #06111e !important;
  background: linear-gradient(135deg, #67e8f9, #a78bfa);
}

.menu-button {
  background: #0f172a;
  border-color: rgba(148, 163, 184, 0.16);
}

.menu-button span {
  background: #d9f8ff;
}

.hero {
  padding: 74px clamp(18px, 5vw, 64px) 88px;
  background: #08111f;
}

.hero-inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 22px;
  max-width: 1260px;
}

.hero-copy {
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(11, 18, 32, 0.98));
  box-shadow: var(--shadow);
}

.hero h1,
.section-heading h2,
.faq-list summary,
.footer strong {
  color: #f8fbff;
}

.hero-text,
.resource-card p,
.quick-grid p,
.faq-list p,
.footer p {
  color: #c7d2e4;
}

.hero-signal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.hero-signal span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #d9f8ff;
  font-size: 12px;
  font-weight: 700;
}

.button.primary {
  color: #06111e;
  background: linear-gradient(135deg, #67e8f9, #a78bfa);
  box-shadow: 0 16px 30px rgba(103, 232, 249, 0.2);
}

.button.secondary {
  color: #d9f8ff;
  border-color: rgba(103, 232, 249, 0.45);
  background: rgba(15, 23, 42, 0.7);
}

.button.secondary:hover {
  background: rgba(15, 23, 42, 0.92);
}

.hero-panel,
.resource-card,
.quick-grid a,
.guide-band .guide-list article,
.faq-list details {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow);
}

.hero-panel {
  overflow: hidden;
}

.panel-top,
.route-card {
  color: #dbe6f6;
}

.status {
  color: #67e8f9;
}

.metric-grid div,
.route-card {
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(8, 17, 31, 0.88);
}

.metric-grid strong,
.quick-grid span,
.card-icon,
.guide-band .guide-list article span {
  color: #06111e;
  background: linear-gradient(135deg, #67e8f9, #a78bfa);
}

.section,
.faq,
.guide-band {
  background: transparent;
}

.quick-grid a:hover,
.resource-card:hover,
.guide-band .guide-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 232, 249, 0.4);
}

.section-heading .eyebrow.dark,
.eyebrow {
  color: #67e8f9;
}

.faq-list summary::-webkit-details-marker {
  color: #67e8f9;
}

.footer {
  border-top-color: rgba(148, 163, 184, 0.14);
  background: rgba(8, 17, 31, 0.94);
}

.footer-links a:hover {
  color: #d9f8ff;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 0;
  }

  .site-header {
    gap: 12px;
  }

  .nav {
    gap: 14px;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .hero-copy {
    padding: 20px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-panel {
    padding: 16px;
    border-radius: 16px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

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

  .hero-panel {
    max-width: 620px;
  }

  .resource-grid,
  .quick-grid,
  .guide-list,
  .guide-list.why-list,
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .next-links a {
    width: 100%;
  }

  .resource-grid,
  .quick-grid,
  .guide-list,
  .guide-list.why-list,
  .content-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .content-section,
  .hero,
  .page-hero {
    padding-top: 58px;
    padding-bottom: 58px;
  }
}
