@font-face {
  font-family: "A2Z";
  src: url("/assets/fonts/a2z/a2z-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "A2Z";
  src: url("/assets/fonts/a2z/a2z-semi-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "A2Z";
  src: url("/assets/fonts/a2z/a2z-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #17201f;
  --muted: #5e6b69;
  --line: #dfe5e2;
  --paper: #ffffff;
  --soft: #f3f7f5;
  --accent: #0d7062;
  --accent-dark: #075348;
  --accent-pale: #dff3ec;
  --warm: #f3eadb;
  --shadow: 0 18px 50px rgb(17 45 40 / 9%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "A2Z", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(223 229 226 / 85%);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.primary-nav a {
  color: #34413f;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 92px;
  background:
    radial-gradient(circle at 88% 5%, rgb(217 241 233 / 90%), transparent 30%),
    linear-gradient(145deg, #f9fbfa 20%, #eef6f3 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -160px;
  width: 410px;
  height: 410px;
  border: 70px solid rgb(13 112 98 / 6%);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

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

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 44px);
}

h3 {
  margin-bottom: 13px;
  font-size: 23px;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 32px;
  color: #455452;
  font-size: 19px;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgb(13 112 98 / 20%);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: #bcc9c5;
  background: #fff;
  color: var(--ink);
}

.hero-note {
  padding: 30px;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 22px;
  background: rgb(255 255 255 / 86%);
  box-shadow: var(--shadow);
}

.note-label {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
}

.hero-note ul {
  margin: 0 0 20px;
  padding-left: 21px;
  color: var(--muted);
}

.hero-note li + li {
  margin-top: 7px;
}

.text-link,
.card-link {
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

.section-muted {
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin-bottom: 0;
}

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

.path-card,
.guide-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.path-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.path-card-featured {
  border-color: #99c8bc;
  background: linear-gradient(145deg, #f6fcfa, #e9f6f1);
}

.card-kicker,
.guide-meta {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.path-card p:not(.card-kicker) {
  color: var(--muted);
}

.path-card .card-link {
  margin-top: auto;
}

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

.guide-card {
  padding: 26px 28px;
}

.guide-card h3 {
  font-size: 21px;
}

.guide-card h3 a {
  text-decoration: none;
}

.guide-card h3 a:hover,
.guide-card h3 a:focus-visible {
  color: var(--accent);
}

.guide-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 72px;
  align-items: center;
}

.tool-intro > p:not(.eyebrow) {
  color: var(--muted);
}

.tool-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.tool-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 24px;
  text-decoration: none;
}

.tool-list a + a {
  border-top: 1px solid var(--line);
}

.tool-list a:hover,
.tool-list a:focus-visible {
  background: var(--soft);
  color: var(--accent-dark);
}

.tool-list strong,
.tool-list small {
  display: block;
}

.tool-list small {
  margin-top: 3px;
  color: var(--muted);
}

.trust-section {
  background: #172825;
  color: #fff;
}

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

.trust-grid > div > p:not(.eyebrow) {
  color: #c5d4d0;
}

.trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 22px;
  margin-top: 28px;
}

.trust-links a {
  color: #e8f7f2;
  font-weight: 600;
}

.source-card {
  padding: 26px 28px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 18px;
  background: rgb(255 255 255 / 6%);
}

.source-title {
  margin-bottom: 14px;
  font-weight: 700;
}

.source-card ul {
  margin: 0;
  padding-left: 20px;
}

.source-card li + li {
  margin-top: 7px;
}

.source-card a {
  color: #e8f7f2;
}

.site-footer {
  padding: 62px 0 26px;
  background: #f3f5f4;
  color: #455250;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 80px;
}

.brand-footer {
  margin-bottom: 16px;
}

.footer-grid p {
  max-width: 560px;
}

.footer-contact {
  margin-bottom: 0;
}

.footer-grid nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  align-content: start;
}

.footer-grid nav a {
  font-size: 15px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid #d9dfdc;
  color: #71807d;
  font-size: 13px;
}

@media (max-width: 860px) {
  body {
    font-size: 16px;
  }

  .primary-nav {
    display: none;
  }

  .hero {
    padding: 72px 0;
  }

  .hero-grid,
  .tool-layout,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .path-card {
    min-height: 0;
  }

  .tool-layout {
    align-items: stretch;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-note,
  .path-card,
  .guide-card {
    padding: 24px;
  }

  .footer-grid nav {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
