/* Heart & Time — shared styles */
:root {
  --paper: #FCF7F1;
  --sand: #F5EADA;
  --card: #FFFDF8;
  --line: #EBDDC8;
  --forest: #2F563E;
  --forest-dark: #22402E;
  --forest-2: #3F6A4F;
  --poppy: #EE9B3B;
  --honey: #F3B566;
  --rust: #A84F26;
  --ink: #2B2620;
  --ink-2: #5C5147;
  --on-dark: #EFE6D6;
  --alert-bg: #F8DDCF;
  --alert: #9A3B22;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 18px;
  --shadow: 0 2px 12px rgba(120, 80, 30, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); }
a:hover { color: var(--forest-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--poppy); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 5.2vw, 58px); line-height: 1.08; color: var(--forest); }
h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.15; color: var(--forest); }
h3 { font-size: clamp(21px, 2vw, 24px); line-height: 1.25; }
ul { margin: 0; padding-left: 24px; }
li + li { margin-top: 6px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--forest); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.sand { background: var(--sand); }
.forest { background: var(--forest); color: #fff; }
.forest h2 { color: var(--paper); }
.forest p { color: var(--on-dark); }
.border-top { border-top: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.center { text-align: center; align-items: center; }
.muted { color: var(--ink-2); }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rust); }
.forest .eyebrow { color: var(--honey); }
.small { font-size: 15px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: -0.01em; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 17px; }
.main-nav a { text-decoration: none; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; border-bottom: 3px solid transparent; }
.main-nav a:hover { color: var(--forest); }
.main-nav a[aria-current="page"] { color: var(--forest); font-weight: 700; border-bottom-color: var(--poppy); }

/* Buttons and chips */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-dark); color: #fff; }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-poppy { background: var(--poppy); color: var(--ink); }
.btn-poppy:hover { background: #E58A26; color: var(--ink); }
.btn-alert { background: var(--alert); color: #fff; }
.btn-alert:hover { background: #7E2F1B; color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip { font-size: 15px; text-decoration: none; color: var(--ink); background: var(--sand); border-radius: 999px; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; }
.chip:hover { background: #EDDCC3; color: var(--ink); }
.chip.light { background: var(--card); border: 1px solid var(--line); }
.chip.light:hover { background: #fff; }

/* Split hero */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.split > .text { flex: 1 1 520px; min-width: 0; }
.split > .art { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.art img { width: 100%; max-width: 540px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 28px; }
.hero { padding: 64px 0 80px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-fill { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
a.card:hover { border-color: #D9C3A3; color: var(--ink); }
.card .more { font-weight: 700; color: var(--forest); font-size: 16px; margin-top: auto; }
.card.dark { background: var(--forest); border-color: var(--forest); color: #fff; }
.card.dark p { color: var(--on-dark); }
.card.dark .more { color: var(--honey); }
.badge { width: 52px; height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.badge svg { width: 26px; height: 26px; }

/* Guide cards */
.guide-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px; }
.guide-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.guide-card:hover h3 { color: var(--forest); }
.tag { font-size: 14px; font-weight: 700; color: var(--rust); letter-spacing: 0.06em; text-transform: uppercase; }

/* Resource cards */
.res { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.res-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px; }
.res-org { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.pill { font-size: 13px; font-weight: 700; color: var(--forest); background: #E3EDDF; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.res h3, .res h4 { font-size: 21px; line-height: 1.3; }
.res .desc { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.res .meta { font-size: 14px; color: var(--ink-2); }
.res .meta b { color: var(--ink); }
.res-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: auto; padding-top: 4px; }
.res-actions a { font-weight: 700; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }
.res-actions .phone { font-size: 15px; color: var(--ink-2); font-weight: 400; }
.group-label { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rust); margin-top: 8px; }

/* Callouts */
.alert { background: var(--alert-bg); border-radius: 20px; padding: 22px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.alert p { color: #4A1C0F; font-size: 18px; flex: 1 1 380px; }
.alert-line { font-size: 16px; color: var(--alert); background: var(--alert-bg); border-radius: 12px; padding: 12px 16px; }
.alert-line a { color: var(--alert); font-weight: 700; }
.band { background: var(--sand); border-radius: 24px; padding: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band > div { flex: 1 1 460px; min-width: 0; }
.band.gold { background: #FBE9C9; }
.box { background: var(--sand); border-radius: 20px; padding: 26px; }
.box-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.num { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; background: var(--poppy); color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 20px; display: flex; align-items: center; justify-content: center; }

/* Guide article */
.guide-layout { display: flex; flex-wrap: wrap; gap: 48px; }
.guide-layout article { flex: 999 1 560px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.guide-layout article h3 { font-size: 25px; margin-top: 16px; }
.guide-layout aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.guide-layout aside h3 { font-size: 22px; color: var(--forest); margin-bottom: 10px; }
.guide-layout aside ul { font-size: 16px; }
.crumbs { font-size: 15px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.page-head { padding: 40px 0 56px; }

/* Product cards */
.labels { display: flex; flex-wrap: wrap; gap: 8px; }
.lbl { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
.lbl-used { color: #fff; background: var(--forest); }
.lbl-feat { color: var(--forest); background: #E3EDDF; }
.lbl-budget { color: var(--ink); background: #FBE9C9; }
.lbl-aff { color: #7A4A2E; border: 1px solid #C9A88A; padding: 1px 9px; }
.cost { font-size: 15px; background: var(--sand); border-radius: 10px; padding: 8px 12px; }
.soon { background: var(--card); border: 1px dashed #D9C3A3; border-radius: 18px; padding: 22px 24px; color: var(--ink-2); font-size: 16px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); background: var(--sand); }
.site-foot .wrap { padding-top: 40px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 18px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 16px; }
.foot-nav a { color: var(--ink-2); min-height: 32px; display: inline-flex; align-items: center; }
.site-foot p { font-size: 15px; color: var(--ink-2); max-width: 820px; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .lead { font-size: 18px; }
  .band { padding: 28px; }
  .box-card { padding: 24px; }
  .main-nav { gap: 0 18px; font-size: 16px; }
  .split { gap: 32px; }
}
