.home-hero {
  border-bottom: 1px solid #e6e4dc;
  background: radial-gradient(ellipse at 90% 24%, #e5f0dd 0, transparent 48%), var(--wash);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .93fr);
  align-items: center;
  gap: clamp(1.8rem, 5vw, 5rem);
  padding-block: clamp(3rem, 6vw, 5.4rem);
}
.hero-copy { min-width: 0; }
.home-kicker {
  margin: 0 0 .75rem;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-kicker span { margin-right: .25rem; }
.hero-copy h1 {
  margin: 0;
  font-size: clamp(55px, 6.25vw, 92px);
  font-weight: 780;
  line-height: .98;
  letter-spacing: -.047em;
}
.hero-copy h1 em { color: var(--green); font-style: normal; }
.hero-lede { max-width: 38ch; margin: 1.35rem 0 0; color: var(--body); font-size: clamp(17px, 1.62vw, 22px); line-height: 1.48; }
.home-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.home-actions .btn { min-height: 50px; }
.hero-perks { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 1rem 0 0; padding: 0; color: var(--body); font-size: 13px; font-weight: 650; list-style: none; }
.hero-perks li { display: inline-flex; align-items: center; gap: .28rem; }
.hero-perks b { color: var(--green); }

.showcase {
  min-width: 0;
  padding: .75rem;
  border: 1px solid #c7d5c5;
  border-radius: 23px;
  background: #f3f7ee;
  box-shadow: 0 23px 60px #143a2521, 0 2px 6px #173a261a;
}
.showcase-top { display: flex; align-items: center; justify-content: space-between; gap: .55rem; padding: .3rem .35rem .65rem; color: var(--green); font-size: 13px; font-weight: 750; }
.showcase-top span:first-child { display: flex; align-items: center; gap: .45rem; color: var(--ink); font-size: 15px; }
.showcase-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
.showcase-tabs, .kid-switch { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .25rem; padding: .22rem; border-radius: 11px; background: #e1eade; }
.showcase-tabs button, .kid-switch button { padding: .4rem .35rem; border: 0; border-radius: 8px; background: transparent; color: #294338; font-size: 14px; font-weight: 750; line-height: 1.2; }
.showcase-tabs button[aria-selected="true"], .kid-switch button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px #1f3c3026; }
.showcase-panel { display: grid; grid-template-rows: auto 1fr auto; align-content: start; gap: .65rem; min-height: 340px; margin-top: .6rem; padding: .85rem; border: 1px solid #dce6d9; border-radius: 15px; background: var(--paper); }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: .45rem; }
.preview-heading :is(h2, h3) { margin: 0; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.12; letter-spacing: -.045em; }
.state-chip { flex: none; padding: .18rem .52rem; border-radius: 999px; font-size: 12px; font-weight: 800; }
.state-chip.pending { border: 1px solid #ecc676; background: var(--amber-soft); color: #70420a; }
.state-chip.earned { background: var(--green-soft); color: var(--green); }
.proof-preview { overflow: hidden; border: 1px solid #e6e6db; border-radius: 12px; background: #fbfaf5; }
.hero-proof, .sample-proof { width: 100%; height: clamp(150px, 18vw, 245px); object-fit: contain; object-position: 50% 58%; background: #eee8dc; }
.proof-caption, .sample-chore { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .5rem; padding: .55rem .75rem; }
.proof-caption strong, .preview-row strong, .sample-chore strong { display: block; font-size: 15px; line-height: 1.25; }
.proof-caption span, .preview-row div span, .sample-chore span { display: block; margin-top: .12rem; color: var(--muted); font-size: 13px; line-height: 1.25; }
.proof-caption > strong, .preview-row > strong, .sample-chore > strong { color: var(--green); white-space: nowrap; }
.preview-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .65rem; padding: .53rem .62rem; border: 1px solid #eee9dc; border-radius: 10px; background: #fbf8f0; }
.grade-icon, .task-icon { display: grid; flex: none; place-items: center; width: 37px; height: 37px; border-radius: 9px; background: var(--amber-soft); color: #75440b; font-size: 17px; font-weight: 850; }
.task-icon { background: var(--green-soft); color: var(--green); }
#preview-kid, #preview-ledger { grid-template-rows: auto 1fr auto auto; }
.preview-feature { display: grid; align-items: center; gap: .65rem; padding: .75rem; border-radius: 12px; }
.preview-feature strong { display: block; }
.preview-feature span:not(.grade-icon) { display: block; color: var(--body); font-size: 14px; }
.kid-feature { grid-template-columns: auto minmax(0, 1fr) auto; background: #fff1d6; }
.kid-feature .grade-icon { width: 48px; height: 48px; background: #ffdfa6; font-size: 24px; }
.ledger-feature { align-content: center; background: var(--green-soft); }
.ledger-feature strong { font-size: 34px; line-height: 1; letter-spacing: -.06em; }
progress { display: block; width: 100%; height: 10px; appearance: none; overflow: hidden; border: 0; border-radius: 99px; background: #d6e3db; }
progress::-webkit-progress-bar { border-radius: 99px; background: #d6e3db; }
progress::-webkit-progress-value { border-radius: 99px; background: #168162; }
progress::-moz-progress-bar { border-radius: 99px; background: #168162; }

.home-section { padding-block: clamp(2.5rem, 5vw, 4.25rem); }
.home-section h2, .privacy-panel h2 { margin: 0; color: var(--ink); font-size: clamp(29px, 3.85vw, 52px); font-weight: 780; line-height: 1.06; letter-spacing: -.042em; }
.section-intro { margin-bottom: 1.45rem; }
.section-intro > p:last-child:not(.home-kicker), .privacy-panel p:last-child { max-width: 62ch; margin: .6rem 0 0; color: var(--body); }
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.how-grid li { padding: .45rem 1.15rem 0; border-left: 1px solid var(--line); }
.how-grid li:first-child { padding-left: 0; border-left: 0; }
.how-grid li span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: .5rem; border-radius: 9px; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 850; }
.how-grid li:nth-child(2) span { background: var(--amber-soft); color: #75440b; }
.how-grid li:nth-child(3) span { background: var(--brand-soft); color: var(--brand-hover); }
.how-grid h3 { margin: 0; font-size: 17px; line-height: 1.25; letter-spacing: -.025em; }
.how-grid p { margin: .32rem 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.sample-section { border-block: 1px solid #e3ded4; background: #f2efe7; }
.sample-board { padding: clamp(.65rem, 1.7vw, 1.2rem); border: 1px solid #d8d9cd; border-radius: 20px; background: #eef3e9; box-shadow: var(--shadow); }
.sample-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .45rem 1rem; margin-bottom: .7rem; }
.sample-toolbar > strong { padding-left: .1rem; font-size: 17px; letter-spacing: -.025em; }
.kid-switch button { min-width: 78px; }
.sample-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; }
.sample-card { display: flex; flex-direction: column; gap: .7rem; min-width: 0; padding: clamp(.65rem, 1.7vw, 1.15rem); border: 1px solid #dbdfd3; border-radius: 14px; background: var(--paper); }
.sample-proof { border-radius: 9px; }
.sample-chore { padding: .1rem 0; }
.sample-approve { align-self: flex-start; margin-top: auto; cursor: pointer; }
.sample-approve[aria-disabled="true"] { background: var(--green-soft); color: var(--green); cursor: default; }
.sample-total { font-size: clamp(22px, 3vw, 32px); line-height: 1; letter-spacing: -.06em; }
.sample-goal { display: grid; gap: .45rem; margin-top: auto; padding: .9rem; border-radius: 10px; background: var(--green-soft); }
.sample-goal > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem .6rem; }
.sample-goal span { color: var(--body); font-size: 13px; }
.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.role-grid article { padding: clamp(1rem, 3vw, 2rem); border: 1px solid #d7e4da; border-radius: 16px; background: #edf5ec; }
.role-grid article + article { border-color: #ebdfcd; background: #fff2dc; }
.role-label { color: #14634f; font-size: 13px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.role-grid article + article .role-label { color: #75440b; }
.role-grid h3 { margin: .4rem 0 .55rem; font-size: clamp(22px, 2.55vw, 34px); line-height: 1.11; letter-spacing: -.055em; }
.role-grid ul { margin: 0; padding-left: 1.1rem; color: var(--body); }
.role-grid li + li { margin-top: .25rem; }
.privacy-panel { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .9rem 1.4rem; padding: clamp(1.3rem, 4vw, 2.8rem); border-radius: 17px; background: #17372f; color: white; }
.privacy-panel :is(h2, p:last-child) { color: white; }
.privacy-panel .home-kicker { color: #b7e6ce; }
.privacy-panel a:focus-visible { outline-color: white; }
.closing-section { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.closing-section h2 { max-width: 23ch; }
#public-home .site-footer { margin-top: 0; }

@media (max-width: 959px) {
  .hero-grid { gap: 1.55rem; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); }
  .hero-copy h1 { font-size: clamp(47px, 7.2vw, 68px); }
  .showcase-panel { min-height: 296px; }
}
@media (max-width: 709px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-block: 1.6rem 2rem; }
  .hero-copy h1 { font-size: clamp(47px, 12vw, 68px); }
  .hero-lede { margin-top: .85rem; }
  .home-actions { display: grid; grid-template-columns: max-content max-content; gap: .4rem; margin-top: .9rem; }
  .home-actions .btn { min-height: 44px; padding: .52rem .47rem; font-size: 12.5px; }
  .hero-perks { gap: .3rem .63rem; margin-top: .75rem; font-size: 12px; }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
  .how-grid li { padding-inline: 0 .3rem; border-left: 0; }
  .sample-grid, .role-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 365px) {
  .hero-copy h1 { font-size: 43px; }
  .brand img { width: 26px; height: 26px; }
  .brand { font-size: 14px; }
  .home-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
