@font-face {
  font-family: 'DM Sans';
  src: url('assets/DMSans_400Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('assets/DMSans_600SemiBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('assets/DMSans_700Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url('assets/Fraunces_600SemiBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url('assets/Fraunces_600SemiBold_Italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #f8f7ef;
  --paper: #fffdf6;
  --ink: #24332b;
  --quiet: #536457;
  --green: #234538;
  --lime: #ddeaa8;
  --line: #dbe0d2;
  --display: Fraunces, Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  line-height: 1.5;
}

h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid #477650;
  outline-offset: 4px;
}

[tabindex="-1"]:focus { outline: none; }

.symbols, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap { width: min(100% - 7rem, 77rem); margin-inline: auto; }

.icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  min-height: 5.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .67rem;
  font: 600 1.55rem/1 var(--display);
  letter-spacing: -.055em;
  text-decoration: none;
}

.brand img { display: block; border-radius: 28%; }

nav { display: flex; align-items: center; gap: 2rem; }
.nav-link { color: var(--quiet); text-decoration: none; font-weight: 600; }
.nav-link:hover { color: var(--green); text-decoration: underline; text-underline-offset: .25em; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  min-height: 3rem;
  padding: .65rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .9rem;
  text-decoration: none;
  font-weight: 700;
  transition: background .2s, border-color .2s, transform .2s;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-outline { border-color: #b9c7b5; color: var(--green); }
.button-outline:hover { background: #e8ebdc; border-color: #a2b3a1; }
.button-primary { color: var(--paper); background: var(--green); min-height: 3.5rem; padding-inline: 1.35rem; }
.button-primary:hover { background: #305744; }
.button-lime { color: var(--green); background: var(--lime); }
.button-lime:hover { background: #edf3c8; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  column-gap: clamp(2rem, 5.3vw, 5rem);
  padding-block: clamp(3.1rem, 6vw, 5.4rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--green);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .115em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 1.4rem;
  height: 1px;
  background: currentColor;
  opacity: .65;
}

h1 {
  margin-block: 1.2rem 1.35rem;
  font: 600 clamp(3.35rem, 6.4vw, 6.25rem)/.98 var(--display);
  letter-spacing: -.065em;
  color: var(--green);
}

h1 em { color: #4b6949; white-space: nowrap; }

.lede {
  max-width: 27rem;
  color: var(--quiet);
  font-size: clamp(1.025rem, 1.42vw, 1.2rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.2rem;
  margin-top: 1.75rem;
}

.hero-actions .button { min-height: 3.5rem; }
.platforms { margin-top: .75rem; color: var(--quiet); font-size: .875rem; }

.sync-demo {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 32rem;
  border-radius: 1.75rem;
  padding: 1.3rem;
  border: 1px solid #ccd7c4;
  overflow: hidden;
  background: #e3ead9 url('assets/grocery-tote.webp') center / cover no-repeat;
  box-shadow: 0 18px 42px -36px #23453882;
  scroll-margin-top: 1.5rem;
}

.sync-demo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, #e3ead9e8 0%, #e3ead991 41%, #e3ead91a 78%);
}

.demo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.demo-toolbar h2 {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.4rem;
  padding: .45rem .75rem;
  border: 1px solid #c5d1be;
  border-radius: 3rem;
  color: var(--green);
  background: #f8f7efeb;
  font: 700 .875rem/1.2 var(--body);
}

.demo-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #5a7a4c; }

.motion-button {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #c5d1be;
  color: var(--green);
  background: #f8f7efeb;
  transition: background .2s;
}

.motion-button:hover { background: white; }
.motion-button .icon { width: 1rem; height: 1rem; stroke-width: 2; }

.network { position: relative; min-height: 19rem; }

.routes { position: absolute; inset: 0; overflow: visible; width: 100%; height: 100%; pointer-events: none; }
.routes path { fill: none; stroke: #647e5d; stroke-width: 1.6; stroke-dasharray: 3 6; stroke-linecap: round; filter: drop-shadow(0 1px 1px #fffdf6); }
.routes .active-route { stroke: #325a42; stroke-width: 2; stroke-dasharray: none; }

.member {
  position: absolute;
  z-index: 1;
  width: clamp(9.5rem, 39%, 13.75rem);
  padding: .72rem;
  border: 1px solid #d9e1d2;
  border-radius: 1.05rem;
  background: var(--paper);
  box-shadow: 0 7px 22px #28472e1d;
  text-align: left;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}

.member:hover { z-index: 2; border-color: #809d79; transform: translateY(-3px); }
.member:active { transform: translateY(0); }
.member.is-source, .member.has-update { border-color: #75976c; box-shadow: 0 0 0 3px #ddeaa8bd, 0 9px 24px #28472e26; }
.member-dad { left: 7%; top: 13%; --avatar: #e2ebbd; }
.member-mom { right: 7%; top: 13%; --avatar: #f3dfcf; }
.member-kids { left: 50%; top: 58%; translate: -50% 0; --avatar: #e6e0ef; }

.member-header {
  display: flex;
  align-items: center;
  gap: .58rem;
  padding-bottom: .58rem;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.15;
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--avatar);
  color: var(--green);
  font-size: .875rem;
}

.send-icon { margin-left: auto; color: #5f775d; width: 1rem; height: 1rem; }

.item {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-height: 2.35rem;
  border: 1px solid #e4e8db;
  border-radius: .62rem;
  background: #f2f4ea;
  padding: .34rem .42rem;
  font-size: .875rem;
  line-height: 1.13;
}

.item-emoji { flex: none; line-height: 1; }
.item-name { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.item-state { display: grid; place-items: center; width: .95rem; height: .95rem; border: 1px solid #9aaf93; border-radius: 50%; margin-left: auto; flex: none; }
.item.is-checked .item-state { border-color: #386243; background: #386243; color: white; }
.item.is-checked .item-state::after { content: ''; width: .44rem; height: .25rem; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: translateY(-.06rem) rotate(-45deg); }
.item.is-checked .item-name { color: var(--quiet); text-decoration: line-through; }

.sync-packet {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #acc284;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 3px 11px #23453845;
  pointer-events: none;
}

.demo-caption { position: relative; justify-self: start; }
.activity {
  display: flex;
  align-items: center;
  gap: .48rem;
  padding: .58rem .85rem;
  min-height: 2.6rem;
  width: fit-content;
  border-radius: 3rem;
  background: var(--green);
  color: var(--paper);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.25;
}
.activity .icon { width: 1rem; height: 1rem; color: var(--lime); }

.demo-caption p {
  width: fit-content;
  margin-top: .5rem;
  padding: .2rem .55rem;
  border-radius: .35rem;
  color: var(--green);
  background: #f8f7efe8;
  font-size: .875rem;
  font-weight: 600;
}

.no-script { margin-top: .6rem; font-size: .875rem; }

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
  align-items: center;
  min-height: 5.05rem;
  margin-block: 0;
  padding: .75rem 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.benefit-strip li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  color: var(--green);
  font-size: .95rem;
  font-weight: 600;
}

.benefit-strip li + li { border-left: 1px solid var(--line); }

.how { padding-block: clamp(3.5rem, 7vw, 6rem); }

.how-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--green);
  color: var(--paper);
  border-radius: 1.75rem;
}

.how .eyebrow { color: var(--lime); }

.how h2 {
  margin-block: .8rem 1rem;
  font: 600 clamp(2.5rem, 4.65vw, 4.85rem)/1.01 var(--display);
  letter-spacing: -.055em;
}

.how p:not(.eyebrow) { color: #e4eada; }
.how-intro p:not(.eyebrow) { max-width: 21rem; }
.how-intro .button { margin-top: 1.35rem; }
.how .button:focus-visible { outline-color: var(--paper); }

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .9rem;
  padding: 1.15rem 0;
  border-top: 1px solid #ffffff31;
}

.steps li:last-child { border-bottom: 1px solid #ffffff31; }

.step-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .75rem;
  color: var(--lime);
  background: #ffffff10;
}

.steps h3 { font-size: 1.06rem; margin-bottom: .19rem; }

.product-features {
  display: grid;
  gap: clamp(2.75rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  scroll-margin-top: 2rem;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.feature--spending .feature-copy { grid-area: 1 / 2; }
.feature--spending .feature-visual { grid-area: 1 / 1; }

.feature-copy h2 {
  max-width: 13ch;
  margin-block: .75rem 1.2rem;
  color: var(--green);
  font: 600 clamp(2.5rem, 4.25vw, 4.15rem)/1.03 var(--display);
  letter-spacing: -.052em;
  text-wrap: balance;
}

.feature-copy > p:not(.eyebrow),
.feature-points dd { color: var(--quiet); line-height: 1.6; }
.feature-copy > p + p { margin-top: .65rem; }
.feature-copy > p:not(.eyebrow) { max-width: 32rem; }
.feature-copy .release-note { margin-top: .95rem; font-size: .875rem; }

.feature-points { display: grid; gap: .9rem; margin: 0; }
.feature-points div { padding-top: .75rem; border-top: 1px solid var(--line); }
.feature-points dt { color: var(--ink); font-weight: 700; }
.feature-points dd { margin: .15rem 0 0; }

.feature-visual {
  display: grid;
  place-items: center;
  min-height: 24rem;
  padding: clamp(1.35rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.65rem;
}

.feature-visual--sharing {
  background: radial-gradient(ellipse at top right, #e9efcb, #dce7d9 75%);
}

.feature-visual--spending {
  background: radial-gradient(ellipse at bottom left, #e9eace, #f0e8da 80%);
}

.example-card {
  width: min(100%, 24rem);
  padding: clamp(.9rem, 2vw, 1.5rem);
  border-radius: 1.2rem;
  border: 1px solid #ffffffb0;
  background: var(--paper);
  box-shadow: 0 16px 42px -24px #19372f73;
}

.example-card figcaption {
  color: var(--green);
  margin-bottom: .85rem;
  font-weight: 700;
}

.example-lists, .example-shops { margin: 0; padding: 0; list-style: none; }
.example-lists { display: grid; gap: .45rem; }

.example-lists li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  padding: .55rem;
  border: 1px solid #e6e9df;
  border-radius: .8rem;
}

.example-icon, .safety-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: .7rem;
  color: var(--green);
  background: #e8edcf;
}

.example-lists li:nth-child(2) .example-icon { background: #eee5d6; }
.example-lists li:nth-child(3) .example-icon { background: #e9e4ee; }
.example-lists strong, .example-lists small { display: block; }
.example-lists small { color: var(--quiet); font-size: .875rem; }

.example-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin: 0 0 .65rem;
}

.example-totals div { padding: .7rem; border-radius: .75rem; background: #ebefe0; }
.example-totals dt { color: var(--quiet); font-size: .875rem; font-weight: 700; }

.example-totals dd {
  margin: .2rem 0 0;
  color: var(--green);
  font: 600 clamp(1.25rem, 2.5vw, 1.9rem)/1.15 var(--display);
  letter-spacing: -.035em;
}

.example-shops li {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  padding-block: .45rem;
  border-top: 1px solid var(--line);
  font-size: .875rem;
}

.example-shops li:first-child { border-top: 0; }
.example-shops strong { white-space: nowrap; }

.safety {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: clamp(1.3rem, 3.5vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: var(--paper);
}

.safety-icon { width: 2.9rem; height: 2.9rem; background: #e7edd3; }
.safety h2 { color: var(--green); font: 600 clamp(1.45rem, 3vw, 2.15rem)/1.2 var(--display); letter-spacing: -.03em; }
.safety p { margin: .35rem 0 .5rem; color: var(--quiet); }
.safety a { color: var(--green); font-weight: 600; text-underline-offset: .2em; }
.safety a:hover { text-decoration-thickness: 2px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  min-height: 5.6rem;
  padding-block: .9rem;
  color: var(--quiet);
  font-size: .875rem;
}

.site-footer .brand { color: var(--ink); font-size: 1.3rem; }
.footer-details { display: flex; flex-wrap: wrap; gap: .45rem 1.35rem; }
.footer-details a { color: var(--green); text-underline-offset: .2em; }
.footer-details a:hover { text-decoration-thickness: 2px; }

@media (max-width: 1050px) {
  .wrap { width: min(100% - 4rem, 77rem); }
  .hero { column-gap: 2rem; }
  .member-dad { left: 3%; }
  .member-mom { right: 3%; }
}

@media (max-width: 800px) {
  .wrap { width: min(100% - 3rem, 38rem); }
  .header-inner { min-height: 4.5rem; }
  .hero { grid-template-columns: 1fr; row-gap: 2.35rem; padding-block: 3rem 2rem; }
  h1 { font-size: clamp(3.6rem, 10vw, 5.7rem); }
  .sync-demo { min-height: 28rem; }
  .member-dad { left: 6%; }
  .member-mom { right: 6%; }
  .how-panel { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 1.35rem; }
  .feature--spending .feature-copy, .feature--spending .feature-visual { grid-area: auto; }
  .feature-visual { min-height: auto; }
  .benefit-strip { gap: .55rem; }
  .benefit-strip li { font-size: .875rem; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 2rem); }
  .brand { font-size: 1.35rem; }
  .brand img { width: 2rem; height: 2rem; }
  .nav-link { display: none; }
  .button-outline { min-height: 2.7rem; padding: .5rem .72rem; font-size: .875rem; }
  .hero { padding-top: 2.4rem; }
  h1 { font-size: clamp(3.3rem, 13vw, 4.3rem); }
  .sync-demo { min-height: 25.5rem; border-radius: 1.25rem; padding: .8rem; background-position: 57% center; }
  .network { min-height: 16.6rem; }
  .member { width: 46%; padding: .52rem; }
  .member-dad { left: 1%; top: 11%; }
  .member-mom { right: 1%; top: 11%; }
  .member-kids { top: 57%; }
  .benefit-strip { grid-template-columns: 1fr; gap: .85rem; padding-block: 1.2rem; }
  .benefit-strip li { justify-content: start; }
  .benefit-strip li + li { border-left: 0; }
  .how-panel { border-radius: 1.25rem; padding: 1.55rem; }
  .feature-visual { padding: .95rem; border-radius: 1.25rem; }
  .safety { gap: .75rem; }
  .safety-icon { width: 2.25rem; height: 2.25rem; }
  .site-footer { align-items: start; flex-direction: column; justify-content: center; gap: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
