:root {
  color-scheme: light;
  --ink: #1d2925;
  --muted: #68736c;
  --paper: #f5f4ef;
  --card: #fffefa;
  --green: #2a5a46;
  --deep-green: #1c3e32;
  --lime: #d7ed9f;
  --line: #e4e6dc;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid #a1c56f; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 12px 16px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { height: 82px; padding: 0 max(5.5vw, 24px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(29, 41, 37, .08); }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font: 800 20px/1 'Segoe UI', Arial, sans-serif; letter-spacing: -.8px; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px 9px 9px 2px; color: white; background: var(--green); font: 800 15px/1 'Segoe UI', Arial, sans-serif; }
.brand-period { color: #83a65d; }
.main-nav { display: flex; gap: 34px; margin-left: auto; margin-right: 36px; }
.main-nav a, .site-footer > a:last-child { color: #47544c; font-size: 13px; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .site-footer > a:last-child:hover { color: var(--green); }
.button { border: 0; border-radius: 5px; padding: 14px 19px; display: inline-flex; gap: 13px; align-items: center; justify-content: center; text-decoration: none; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-outline { border: 1px solid #bec8bd; background: transparent; color: var(--ink); }
.button-outline:hover { background: white; }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--deep-green); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--green); }
.button-light { background: var(--lime); color: var(--ink); }
.button-light:hover { background: white; }

.hero { position: relative; overflow: hidden; min-height: 470px; padding: 88px max(11vw, 32px) 76px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 9vw; align-items: center; background: #e9eee5; }
.hero-copy { position: relative; z-index: 1; max-width: 570px; }
.eyebrow { margin: 0 0 17px; color: #72816e; font-size: 10px; font-weight: 700; letter-spacing: 1.65px; }
.hero .eyebrow { display: flex; gap: 9px; align-items: center; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #89a95d; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: 'Segoe UI', Arial, sans-serif; letter-spacing: -2.4px; }
h1 { margin-bottom: 19px; font-size: clamp(45px, 5.2vw, 67px); line-height: 1.04; font-weight: 600; }
h1 span, h2 span { color: var(--green); font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -2.9px; }
.hero-description { max-width: 470px; margin-bottom: 27px; color: #59665d; font-size: 15px; line-height: 1.75; }
.privacy-note { margin: 17px 0 0; color: #68736c; font-size: 11px; }
.privacy-note span { margin-right: 5px; color: var(--green); }
.hero-card { position: relative; z-index: 1; padding: 25px 26px 0; border: 1px solid rgba(29, 41, 37, .09); border-radius: 8px; background: rgba(255, 254, 250, .88); box-shadow: 0 18px 45px rgba(32, 49, 39, .07); }
.card-topline { display: flex; justify-content: space-between; align-items: center; }
.mini-label { color: #87918a; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; }
.status-pill { display: flex; gap: 6px; align-items: center; padding: 6px 8px; border-radius: 20px; background: #eff5e5; color: #5b7441; font-size: 8px; font-weight: 700; letter-spacing: .5px; }
.status-pill span { width: 5px; height: 5px; border-radius: 100%; background: #88a95c; }
.progress-number { margin: 22px 0 0; font: 600 51px/1 'Segoe UI', Arial, sans-serif; letter-spacing: -3px; }
.progress-number > span:last-child { color: #a4aca4; }
.progress-divider { padding: 0 6px; color: #c6ccc4; font: 400 28px/1 var(--serif); }
.progress-caption { margin: 7px 0 17px; color: #738077; font-size: 11px; }
.progress-track { height: 6px; overflow: hidden; border-radius: 4px; background: #e7eae2; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: #88a95c; transition: width .25s ease; }
.card-encouragement { min-height: 32px; margin: 16px 0 22px; color: #526056; font: italic 15px/1.5 var(--serif); }
.card-footer { margin: 0 -26px; padding: 13px 26px; border-top: 1px solid var(--line); color: #7b867d; font-size: 10px; }
.sun-icon { padding-right: 5px; color: #86a15d; font-size: 13px; }
.hero-decoration { position: absolute; right: 33%; bottom: -123px; color: rgba(117, 153, 94, .08); font-size: 370px; line-height: 1; }

.section-shell { width: min(1050px, calc(100% - 48px)); margin: 0 auto; }
#plan { padding: 90px 0 94px; scroll-margin-top: 25px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 14px; }
h2 { margin-bottom: 0; font-size: clamp(33px, 3.5vw, 43px); line-height: 1.16; font-weight: 600; }
h2 span { letter-spacing: -1.8px; }
.section-intro { max-width: 340px; margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.goal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.goal-card { position: relative; min-height: 178px; padding: 20px 17px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); text-align: left; cursor: pointer; transition: border .18s ease, transform .18s ease, box-shadow .18s ease; }
.goal-card:hover { transform: translateY(-3px); border-color: #bac9b5; box-shadow: 0 12px 25px rgba(32, 49, 39, .06); }
.goal-card[aria-pressed="true"] { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.goal-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 10px; color: var(--green); background: #edf2e8; font-size: 19px; }
.icon-education { background: #f3efe2; color: #8c7449; }
.icon-business { background: #e9f0ee; color: #4a7568; }
.icon-wellbeing { background: #f4eaea; color: #a16464; }
.goal-title, .goal-copy { display: block; }
.goal-title { max-width: 175px; margin-bottom: 8px; font: 700 13px/1.4 'Segoe UI', Arial, sans-serif; }
.goal-copy { max-width: 190px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.goal-arrow { position: absolute; top: 20px; right: 17px; color: #859287; font-size: 13px; }
.plan-panel { margin-top: 27px; padding: 25px 28px 28px; border: 1px solid var(--line); border-radius: 6px; background: #eeefe8; }
.plan-panel-heading { display: flex; justify-content: space-between; align-items: center; }
.plan-panel-heading .eyebrow { margin-bottom: 8px; }
h3 { margin-bottom: 0; font: 700 19px/1.4 'Segoe UI', Arial, sans-serif; letter-spacing: -.6px; }
.plan-count { color: #7c897c; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.empty-plan { margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.checklist { display: grid; gap: 9px; margin: 20px 0 0; padding: 0; list-style: none; }
.checklist:empty { display: none; }
.step-item { display: flex; align-items: center; gap: 12px; min-height: 47px; padding: 9px 12px; border: 1px solid #e0e3d9; border-radius: 4px; background: #fafaf6; }
.step-toggle { flex: 0 0 auto; width: 19px; height: 19px; padding: 0; border: 1px solid #9da99c; border-radius: 50%; background: transparent; color: white; cursor: pointer; }
.step-toggle[aria-pressed="true"] { border-color: var(--green); background: var(--green); }
.step-label { flex: 1; color: #3d4a41; font-size: 12px; line-height: 1.5; }
.step-item.is-done .step-label { color: #889188; text-decoration: line-through; }
.remove-step { padding: 4px 7px; border: 0; background: transparent; color: #8e9890; font-size: 12px; cursor: pointer; }
.add-step-form { display: flex; gap: 9px; margin-top: 17px; }
.add-step-form[hidden] { display: none; }
.add-step-form input { flex: 1; min-width: 0; padding: 12px 13px; border: 1px solid #d5dad0; border-radius: 4px; background: #fffefa; color: var(--ink); font-size: 12px; }
.form-message { min-height: 16px; margin: 8px 0 0; color: #9c4848; font-size: 11px; }

.resource-section { padding: 85px 0 76px; background: #eeefe9; scroll-margin-top: 25px; }
.resource-heading { margin-bottom: 29px; }
.resource-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.search-box { width: 235px; display: flex; gap: 8px; align-items: center; padding: 0 12px; border: 1px solid #dce0d6; border-radius: 4px; background: #fafaf6; color: #7f8a80; }
.search-box > span:first-child { font-size: 19px; transform: rotate(-20deg); }
.search-box input { width: 100%; height: 39px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-box:focus-within { outline: 3px solid #a1c56f; outline-offset: 2px; }
.search-box input:focus-visible { outline: 0; }
.filter-list { display: flex; gap: 5px; flex-wrap: wrap; }
.filter-button { padding: 9px 12px; border: 1px solid transparent; border-radius: 20px; background: transparent; color: #6f7a71; font-size: 10px; font-weight: 600; cursor: pointer; }
.filter-button:hover { border-color: #c9d2c4; }
.filter-button.is-active { border-color: #cfdbca; background: #fbfcf7; color: var(--green); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.resource-card { display: flex; flex-direction: column; min-height: 205px; padding: 19px; border: 1px solid #e0e3d9; border-radius: 5px; background: #fffefa; }
.resource-card-top { display: flex; justify-content: space-between; align-items: start; gap: 8px; margin-bottom: 15px; }
.resource-category { padding: 6px 8px; border-radius: 3px; background: #edf2e8; color: #5d7954; font-size: 8px; font-weight: 700; letter-spacing: .75px; text-transform: uppercase; }
.save-resource { width: 28px; height: 28px; margin: -5px -5px 0 0; border: 0; border-radius: 50%; background: transparent; color: #77847a; font-size: 17px; cursor: pointer; }
.save-resource:hover, .save-resource[aria-pressed="true"] { background: #edf2e8; color: var(--green); }
.resource-card h3 { margin-bottom: 8px; font-size: 15px; }
.resource-card p { margin-bottom: 20px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.resource-link { display: inline-flex; gap: 7px; align-items: center; align-self: flex-start; margin-top: auto; color: var(--green); font-size: 10px; font-weight: 700; text-decoration: none; }
.resource-link:hover { text-decoration: underline; }
.no-results { padding: 25px; border: 1px dashed #cbd2c8; border-radius: 4px; color: var(--muted); text-align: center; font-size: 12px; }
.resource-footnote { margin: 23px 0 0; color: #78837a; font-size: 10px; line-height: 1.6; }
.resource-footnote span { margin-right: 4px; color: #6d805e; }

.closing-cta { padding: 58px 0; background: var(--deep-green); color: white; }
.closing-inner { display: flex; align-items: center; gap: 30px; }
.closing-star { color: var(--lime); font-size: 33px; }
.closing-cta .eyebrow { margin-bottom: 11px; color: #b7c8aa; }
.closing-cta h2 { font-size: 31px; letter-spacing: -1px; }
.closing-cta h2 span { color: var(--lime); }
.closing-inner .button { margin-left: auto; white-space: nowrap; }
.site-footer { min-height: 82px; padding: 18px max(5.5vw, 24px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { font-size: 16px; }
.footer-brand .brand-mark { width: 25px; height: 25px; font-size: 12px; }
.site-footer p { margin: 0; color: #808981; font-size: 10px; }
.site-footer p span { padding-left: 10px; color: #a0a8a0; }
.site-footer > a:last-child { font-size: 10px; }
.toast { position: fixed; right: 22px; bottom: 20px; z-index: 10; max-width: min(400px, calc(100vw - 44px)); padding: 12px 16px; border-radius: 5px; background: var(--ink); color: white; box-shadow: 0 8px 25px rgba(0, 0, 0, .15); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) {
  .hero { grid-template-columns: minmax(0, 1fr) 285px; gap: 35px; padding-left: 7vw; padding-right: 7vw; }
  .goal-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-toolbar { align-items: flex-start; flex-direction: column; }
  .search-box { width: min(100%, 350px); }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .site-header { height: 68px; padding: 0 20px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 27px; height: 27px; }
  .main-nav { gap: 15px; margin: 0 0 0 auto; }
  .main-nav a { font-size: 10px; }
  .header-button { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 35px; padding: 62px 25px 45px; }
  .hero-card { max-width: 390px; }
  .hero-decoration { right: -40px; bottom: 90px; font-size: 220px; }
  h1 { font-size: 52px; }
  .section-shell { width: calc(100% - 40px); }
  #plan, .resource-section { padding: 65px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 25px; }
  h2 { font-size: 35px; }
  .section-intro { max-width: 100%; }
  .goal-grid { gap: 9px; }
  .goal-card { min-height: 164px; padding: 15px 13px; }
  .goal-title { font-size: 12px; }
  .goal-copy { font-size: 10px; }
  .plan-panel { padding: 20px 16px; }
  h3 { font-size: 16px; }
  .add-step-form { align-items: stretch; flex-direction: column; }
  .add-step-form .button { align-self: flex-start; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 178px; }
  .filter-list { gap: 2px; }
  .filter-button { padding: 8px 9px; font-size: 9px; }
  .closing-cta { padding: 43px 0; }
  .closing-inner { flex-wrap: wrap; gap: 17px; }
  .closing-star { font-size: 27px; }
  .closing-cta h2 { font-size: 25px; }
  .closing-inner .button { margin: 5px 0 0 42px; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; gap: 12px; padding: 22px 20px; }
  .site-footer p { order: 3; width: 100%; line-height: 1.7; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .resource-section, .closing-cta, .site-footer, .goal-grid, .add-step-form, .privacy-note, .hero-decoration, .button { display: none !important; }
  body, .hero, .plan-panel { background: white; }
  .hero { min-height: 0; padding: 30px 0; }
  .hero-card { box-shadow: none; }
  #plan { padding: 24px 0; }
}
