:root {
  --sand-50: #fcf7ef;
  --sand-100: #f6eddf;
  --sand-200: #eadcc2;
  --sand-300: #dcc6a3;
  --ink-900: #1f2937;
  --ink-700: #425466;
  --ink-500: #6b7280;
  --accent: #bd5d38;
  --accent-deep: #8e4122;
  --accent-soft: rgba(189, 93, 56, 0.14);
  --sky: #2a6f97;
  --sky-soft: rgba(42, 111, 151, 0.14);
  --leaf: #407a52;
  --white-soft: rgba(255, 252, 246, 0.82);
  --panel: rgba(255, 250, 241, 0.9);
  --shadow-lg: 0 22px 64px rgba(92, 61, 28, 0.14);
  --shadow-md: 0 14px 32px rgba(92, 61, 28, 0.1);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink-900);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(42, 111, 151, 0.12), transparent 28%),
    radial-gradient(circle at right bottom, rgba(189, 93, 56, 0.14), transparent 30%),
    linear-gradient(180deg, #fbf6ee 0%, #efe5d2 100%);
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(220, 198, 163, 0.8);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.76);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky), var(--accent));
  color: white;
  font-family: "Literata", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__subtitle {
  color: var(--ink-500);
  font-size: 0.9rem;
}

.topbar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(220, 198, 163, 0.82);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.72);
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pill-link:hover,
.pill-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(189, 93, 56, 0.42);
  background: rgba(255, 252, 246, 0.95);
}

.pill-link.is-current {
  border-color: rgba(189, 93, 56, 0.6);
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.surface {
  background: var(--white-soft);
  border: 1px solid rgba(220, 198, 163, 0.78);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.section-title,
.hero-title,
h1,
h2 {
  margin: 0;
  font-family: "Literata", serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 28px rgba(189, 93, 56, 0.26);
}

.secondary-button {
  border: 1px solid rgba(220, 198, 163, 0.82);
  background: rgba(255, 252, 246, 0.74);
  color: var(--ink-900);
}

.primary-button:hover,
.secondary-button:hover,
.primary-button:focus-visible,
.secondary-button:focus-visible {
  transform: translateY(-2px);
}

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

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
  gap: 28px;
  padding: 38px;
  overflow: hidden;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 111, 151, 0.18), transparent 68%);
  pointer-events: none;
}

.landing-hero--simple {
  display: block;
}

.hero-title {
  max-width: 11ch;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}

.hero-lead {
  max-width: 56ch;
  margin: 18px 0 0;
  color: var(--ink-700);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-facts {
  display: grid;
  gap: 12px;
  align-self: end;
}

.fact-card {
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 248, 235, 0.94));
  border: 1px solid rgba(220, 198, 163, 0.78);
}

.fact-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.fact-card p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.6;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.path-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.path-card:hover,
.path-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(189, 93, 56, 0.46);
}

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

.path-card__icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--sky-soft);
  color: var(--sky);
  font-weight: 800;
  font-size: 1.1rem;
}

.path-card__meta {
  color: var(--ink-500);
  font-size: 0.92rem;
}

.path-card__title {
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
}

.path-card__text {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.7;
}

.path-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.path-card__tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid rgba(220, 198, 163, 0.84);
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 700;
}

.landing-support {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.support-card {
  padding: 22px;
}

.support-card h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.support-card p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .landing-hero,
  .landing-support,
  .landing-grid {
    grid-template-columns: 1fr;
  }
}

.landing-support:has(.support-card:only-child) {
  grid-template-columns: 1fr;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 20px, 1200px);
    padding-top: 10px;
    padding-bottom: 22px;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    border-radius: 24px;
    padding: 12px;
  }

  .topbar__nav {
    justify-content: stretch;
    gap: 8px;
  }

  .topbar__nav .pill-link {
    flex: 1 1 calc(50% - 10px);
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .landing-hero,
  .path-card,
  .support-card {
    padding: 20px;
  }

  .hero-title {
    max-width: 13ch;
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions {
    margin-top: 22px;
    gap: 10px;
  }

  .fact-card,
  .path-card,
  .support-card {
    border-radius: 18px;
  }
}

@media (max-width: 520px) {
  .topbar__nav .pill-link,
  .hero-actions a,
  .hero-actions button {
    width: 100%;
  }

  .brand {
    align-items: flex-start;
  }

  .brand__subtitle {
    display: none;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .landing-hero {
    padding: 18px;
  }

  .path-card,
  .support-card {
    padding: 18px;
  }

  .hero-title {
    max-width: 11ch;
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .hero-lead {
    margin-top: 14px;
    font-size: 0.96rem;
  }

  .path-card__title {
    font-size: 1.6rem;
  }

  .path-card__top {
    align-items: center;
  }

  .path-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .path-card__tags {
    gap: 8px;
  }

  .path-card__tag {
    font-size: 0.84rem;
    padding: 7px 10px;
  }
}
