@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #f5f3eb;
  --ink: #203b2d;
  --muted: #5f6c61;
  --line: #d7dbce;
  --green: #34583d;
  --lime: #dce8b4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible { outline: 3px solid #758940; outline-offset: 6px; }
p { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; font-weight: 500; margin: 0; }
h1 { font-size: clamp(42px, 4.5vw, 64px); line-height: 1.12; letter-spacing: -2.6px; }
h2 { font-size: 32px; line-height: 1.25; letter-spacing: -1px; }
h3 { font-size: 17px; line-height: 1.5; font-weight: 600; }
.shell { max-width: 1360px; margin: auto; padding: 0 6%; }
header {
  min-height: 104px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 800 28px 'Manrope', sans-serif;
  letter-spacing: -1.4px;
}
.mark {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  font: italic 32px/31px Georgia, serif;
  width: 34px;
  height: 37px;
  border-radius: 7px;
  text-align: center;
  letter-spacing: -3px;
  padding-right: 6px;
}
.mark span { color: var(--lime); font-size: 19px; position: absolute; right: 6px; bottom: -1px; }
nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 500; }
nav a { white-space: nowrap; }
nav a span { margin-left: 8px; }
.nav-github { border: 1px solid #adb7a4; padding: 11px 19px; border-radius: 5px; }
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}
.hero-copy { min-width: 0; }
.intro { font-size: 17px; line-height: 1.85; margin: 28px 0; max-width: 540px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
}
.button:hover { text-decoration: none; background: #355440; }
.primary { background: var(--ink); color: white; }
.text-link { font-size: 13px; font-weight: 500; }
.text-link span { margin-left: 8px; }
.goal-map {
  margin: 0;
  padding: 27px;
  border: 1px solid #d9dfcd;
  border-radius: 10px;
  background: radial-gradient(circle, #a9b59a55 .8px, transparent 1px) 0 0 / 17px 17px, #ecefdf;
}
.goal-map figcaption { font-size: 12px; color: #526348; margin-bottom: 25px; }
.parent-goal {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px;
  border: 1px solid #bdc8ad;
  border-radius: 6px;
  background: #f8f9f1;
}
.parent-goal p { color: var(--ink); font-size: 16px; line-height: 1.6; }
.goal-symbol { color: #71854e; font-size: 25px; line-height: 1; margin-top: 3px; }
.related-goals { list-style: none; padding: 19px 0 0 35px; margin: 0 0 24px 17px; position: relative; }
.related-goals::before { content: ''; position: absolute; left: 0; top: 0; bottom: 24px; border-left: 1px solid #99aa87; }
.related-goals li {
  position: relative;
  padding: 13px 16px;
  background: #f8f9f1;
  border: 1px solid #bdc8ad;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.5;
}
.related-goals li + li { margin-top: 12px; }
.related-goals li::before { content: ''; position: absolute; width: 35px; left: -36px; top: 50%; border-top: 1px solid #99aa87; }
.map-link { font-size: 12px; display: inline-flex; align-items: center; gap: 12px; }
.overview { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 64px 0 72px; border-top: 1px solid var(--line); }
.overview h2 { max-width: 420px; margin-bottom: 24px; }
.example { background: var(--ink); color: var(--paper); border-radius: 10px; padding: 40px; }
.example-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid #ffffff30; }
.example .caption { font-size: 12px; color: #c5cfb8; flex-shrink: 0; margin: 0; }
.example-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; padding: 32px 0; }
.example p { color: #d1d9ca; font-size: 14px; }
.example-goal h3 { font-size: 12px; color: #c5cfb8; font-weight: 500; margin-bottom: 12px; }
.example .goal-statement { font: 500 23px/1.45 'Manrope', sans-serif; color: var(--paper); margin-bottom: 20px; }
.history { list-style: none; padding: 0 0 0 25px; margin: 0; }
.history li { position: relative; padding: 0 0 24px 22px; border-left: 1px solid #71846b; }
.history li:last-child { border-left-color: transparent; padding-bottom: 0; }
.history li::before { content: ''; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #bfd199; box-shadow: 0 0 0 5px var(--ink); }
.history h3 { font-size: 15px; margin-bottom: 9px; }
.example-note { border-top: 1px solid #ffffff30; padding-top: 23px; }
.text-section { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; padding: 72px 0; }
.text-section h2 { max-width: 370px; }
.integration { border-top: 1px solid var(--line); }
.integration .button { margin-top: 5px; }
footer { border-top: 1px solid var(--line); padding: 30px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
footer .wordmark { font-size: 23px; gap: 0; }
.footer-dot { color: #819054; }
footer > span { font-size: 12px; color: var(--muted); }
footer > div { display: flex; gap: 25px; font-size: 12px; }
.skip { position: absolute; left: 10px; top: -100px; background: var(--ink); color: white; padding: 10px; z-index: 10; }
.skip:focus { top: 10px; }

@media (max-width: 1050px) {
  .hero { gap: 35px; }
  h1 { font-size: 48px; letter-spacing: -1.8px; }
  h2 { font-size: 28px; }
  .goal-map { padding: 22px; }
  .overview, .text-section { gap: 48px; }
  .example { padding: 32px; }
  .example-layout { gap: 32px; }
  .example-heading { flex-direction: column; gap: 12px; }
}

@media (max-width: 760px) {
  header { min-height: 85px; }
  .wordmark { font-size: 24px; }
  nav { gap: 18px; font-size: 12px; }
  .example-link { display: none; }
  .nav-github { padding: 9px 11px; }
  h1 { font-size: clamp(36px, 7.5vw, 52px); letter-spacing: -1.5px; }
  h2 { font-size: 28px; }
  .hero { grid-template-columns: 1fr; padding: 48px 0; gap: 36px; }
  .intro { font-size: 16px; max-width: none; margin: 23px 0; }
  .actions { gap: 20px; }
  .goal-map { max-width: 500px; width: 100%; justify-self: center; }
  .overview { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .overview h2 { margin-bottom: 18px; }
  .example { padding: 25px; }
  .example-layout { grid-template-columns: 1fr; gap: 30px; padding: 26px 0; }
  .example .goal-statement { font-size: 21px; }
  .history { padding-left: 5px; }
  .text-section { grid-template-columns: 1fr; gap: 22px; padding: 48px 0; }
  .text-section h2 { max-width: none; }
  footer { flex-wrap: wrap; }
  footer > div { width: 100%; justify-content: space-between; }
}

@media (max-width: 360px) {
  header { gap: 12px; }
  nav { gap: 12px; }
  .example { padding: 20px; }
  .goal-map { padding: 18px; }
  .parent-goal { padding: 16px; }
}

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