:root {
  --ink: #20181d;
  --ink-strong: #150f13;
  --magentawood: #2b1b2e;
  --magenta: #e94ba8;
  --violet: #5b4fe5;
  --sand: #efe7df;
  --surface: #fffdfa;
  --line: #ddd1d2;
  --muted: #6f6268;
  --shadow: 0 20px 48px rgba(32, 24, 29, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(185, 138, 149, 0.16), transparent 25%),
    radial-gradient(circle at top right, rgba(142, 162, 142, 0.12), transparent 22%),
    linear-gradient(180deg, #fcf8f5 0%, #f3ede6 44%, #faf7f3 100%);
  line-height: 1.5;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 92svh;
  padding: 28px min(5vw, 56px) 40px;
  display: grid;
  align-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.18), rgba(255, 253, 250, 0)),
    radial-gradient(circle at 15% 18%, rgba(185, 138, 149, 0.28), transparent 20%),
    radial-gradient(circle at 82% 22%, rgba(142, 162, 142, 0.22), transparent 18%),
    linear-gradient(140deg, #faf4ef 0%, #f0e7df 42%, #f8f3ef 100%);
  overflow: clip;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -18% 44%;
  height: 520px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(109, 74, 88, 0.12), transparent 54%),
    radial-gradient(circle at 50% 50%, rgba(142, 162, 142, 0.18), transparent 68%);
  pointer-events: none;
}

.hero__brand,
.hero__content {
  position: relative;
  z-index: 1;
}

.hero__brand {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}

.eyebrow,
.hero__kicker,
.section__eyebrow,
.resource__label,
.route__label {
  margin: 0 0 10px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 700;
}

.brand-lockup {
  width: min(24vw, 250px);
}

.hero__content {
  width: min(100%, 760px);
  padding: 52px 0 36px;
}

.hero__content h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  max-width: 10ch;
}

.hero__summary {
  max-width: 54ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

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

.hero__actions a {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.hero__actions a:first-child {
  background: var(--ink);
  color: #fff9fb;
}

.hero__action--secondary {
  border: 1px solid rgba(32, 24, 29, 0.12);
  background: rgba(255, 253, 250, 0.62);
}

.hero__actions a:hover,
.resource:hover,
.route:hover {
  transform: translateY(-2px);
}

.page {
  width: min(calc(100% - 32px), 1400px);
  margin: -42px auto 46px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
}

.page__nav {
  position: sticky;
  top: 22px;
  align-self: start;
}

.page__nav nav {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 250, 0.84);
  border: 1px solid rgba(221, 209, 210, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.page__nav a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.page__nav a:hover {
  background: rgba(109, 74, 88, 0.08);
  color: var(--ink-strong);
  transform: translateX(2px);
}

.page__content {
  display: grid;
  gap: 24px;
}

.section {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 250, 0.9);
  border: 1px solid rgba(221, 209, 210, 0.84);
  box-shadow: var(--shadow);
}

.section__header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section__header p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 66ch;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.route {
  display: block;
  text-decoration: none;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(221, 209, 210, 0.82);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 239, 233, 0.92));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.route h3,
.resource h3,
.guide-grid h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.08;
}

.route p:last-child,
.resource__body {
  margin: 10px 0 0;
  color: var(--muted);
}

.resource-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.resource {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  text-decoration: none;
  border-top: 1px solid rgba(221, 209, 210, 0.82);
  transition: transform 180ms ease;
}

.resource:first-child {
  border-top: 0;
  padding-top: 0;
}

.resource:last-child {
  padding-bottom: 0;
}

.section--guide {
  background:
    linear-gradient(150deg, rgba(32, 24, 29, 0.98), rgba(84, 66, 74, 0.94));
  color: #fffafc;
}

.section--guide .section__eyebrow {
  color: rgba(245, 236, 239, 0.74);
}

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

.guide-grid article {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.guide__step {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.guide-grid p:last-child {
  margin-bottom: 0;
  color: rgba(250, 243, 246, 0.82);
}

.guide__link {
  display: inline-flex;
  margin-top: 16px;
  color: #fffafc;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 2px;
}

@media (max-width: 1100px) {
  .page {
    grid-template-columns: 1fr;
  }

  .page__nav {
    position: relative;
    top: 0;
  }
}

@media (max-width: 920px) {
  .route-grid,
  .guide-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero__brand {
    flex-direction: column;
  }

  .brand-lockup {
    width: min(100%, 220px);
  }

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

@media (max-width: 640px) {
  .page {
    width: min(calc(100% - 20px), 1400px);
  }

  .section {
    padding: 20px 18px;
  }

  .page__nav nav,
  .route-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }
}
