@font-face {
  font-family: Manrope;
  src: url("manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --white: #fff;
  --ink: #122d23;
  --body: #405b4f;
  --green: #176747;
  --action: #156347;
  --action-hover: #0c5038;
  --mint: #edf8f1;
  --mint-strong: #dff4e7;
  --line: #d9e8de;
  --shadow: 0 14px 42px rgba(13, 66, 43, .08);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 18px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Manrope, system-ui, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure, p, dl, dd, h1, h2, h3 { margin: 0; }
p { color: var(--body); }
:focus-visible { outline: 3px solid #1a7854; outline-offset: 4px; }
main:focus { outline: none; }

.wrap { width: min(100% - 80px, 1200px); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(calc(-100% - 16px));
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}
.skip:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid #e7efe9; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.035em;
  text-decoration: none;
}
.brand-mark {
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--mint-strong);
  color: var(--green);
}
.brand-mark::before {
  position: absolute;
  inset: 7px 11px;
  border: 1.8px solid currentColor;
  border-radius: 3px;
  content: "";
}
.brand-mark::after {
  position: absolute;
  top: 15px;
  left: 11px;
  width: 14px;
  height: 7px;
  border-top: 1.8px solid currentColor;
  background: linear-gradient(currentColor,currentColor) 4px 2px / 1.5px 4px no-repeat;
  content: "";
}
.header-inner nav { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 32px); }
.header-inner nav a, .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--body);
  font-weight: 700;
  text-decoration: none;
}
.header-inner nav a:hover, .back-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}
.button span { font-size: 1.2em; font-weight: 700; }
.button-outline { border-color: var(--line); color: var(--green); }
.button-outline:hover { background: var(--mint); }
.button-primary {
  min-height: 54px;
  padding-inline: 20px;
  background: var(--action);
  color: var(--white);
}
.button-primary:hover { background: var(--action-hover); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .99fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  padding-block: clamp(42px, 5vw, 72px);
}
.product-type { margin-bottom: 15px; color: var(--green); font-weight: 800; }
h1 {
  max-width: 12ch;
  font-size: clamp(2.38rem, 4.75vw, 4.38rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1.02;
}
h1 span { color: var(--green); }
.hero-description {
  max-width: 43ch;
  margin-block: 22px 28px;
  font-size: clamp(1rem, 1.58vw, 1.22rem);
}
.hero-scene {
  position: relative;
  min-height: clamp(350px, 36.5vw, 516px);
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  background: var(--mint);
}
.hero-scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.expense-preview {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: min(86%, 289px);
  padding: 16px 19px;
  border: 1px solid rgba(19, 62, 41, .07);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 37px rgba(11, 32, 23, .18);
}
.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
}
.preview-top small { color: var(--green); font-size: 13px; font-weight: 800; }
.expense-preview > strong {
  display: block;
  margin: 4px 0 9px;
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
  line-height: 1.12;
}
.preview-bar { display: grid; grid-template-columns: 3.67fr 3.1fr 2.72fr 2.99fr; gap: 3px; height: 7px; }
.preview-bar span { border-radius: 6px; background: #2a845e; }
.preview-bar span:nth-child(2) { background: #6eaa8d; }
.preview-bar span:nth-child(3) { background: #a5d3b9; }
.preview-bar span:nth-child(4) { background: #d6eadc; }
.expense-preview p { margin-top: 10px; color: var(--green); font-size: 14px; font-weight: 800; }
.check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--mint-strong);
  line-height: 1;
}

.example-band {
  padding-block: clamp(48px, 5.5vw, 80px);
  border-block: 1px solid var(--line);
  background: #f4fbf6;
}
h2 { font-size: clamp(1.88rem, 3.3vw, 3.25rem); font-weight: 800; letter-spacing: -.043em; line-height: 1.1; }
h3 { font-size: clamp(1.19rem, 2.1vw, 1.65rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.2; }
.example-layout {
  display: grid;
  grid-template-columns: minmax(0, .79fr) minmax(0, 1fr);
  column-gap: clamp(18px, 4vw, 58px);
  row-gap: 28px;
}
.example-head { grid-column: 1 / -1; }
.example-head p, .section-intro > p { max-width: 61ch; margin-top: 12px; }
.receipt, .outcome {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}
.receipt {
  align-self: start;
  padding: 20px 24px 14px;
  border-radius: 18px;
}
.receipt figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #aac7b5;
}
.receipt figcaption strong { font-size: 1.13rem; }
.receipt figcaption span, .receipt th small { color: var(--body); font-size: 14px; }
.receipt table { width: 100%; margin-top: 6px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.receipt th, .receipt td { padding-block: 8px; }
.receipt th { padding-right: 10px; font-weight: 700; text-align: left; }
.receipt th small { display: block; font-weight: 500; line-height: 1.4; }
.receipt td { white-space: nowrap; font-weight: 800; text-align: right; }
.receipt tfoot { border-top: 1px dashed #aac7b5; color: var(--green); font-size: 1.16rem; }
.receipt tfoot th, .receipt tfoot td { padding-top: 12px; }
.outcomes { display: grid; align-content: start; gap: 12px; }
.outcome { padding: 20px 23px; border-radius: 18px; }
.outcome h3 { font-size: clamp(1.15rem, 1.75vw, 1.37rem); }
.outcome h3 + p { margin-top: 7px; }
.change {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(10px, 2.3vw, 24px);
  margin-bottom: 10px;
}
.change span > small { display: block; color: var(--body); font-size: 14px; }
.change strong {
  font-size: clamp(1.3rem, 3vw, 2.15rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
  line-height: 1.2;
}
.change span:last-child strong, .change-arrow { color: var(--green); }
.change-arrow { font-size: 1.4rem; }
.stock-outcome { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 14px; }
.stock-outcome img { width: 56px; height: 56px; object-fit: contain; border-radius: 11px; background: var(--mint); }

.day-section { padding-block: clamp(52px, 7vw, 96px); }
.section-intro { margin-bottom: 26px; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.story {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--white);
}
.story-photo { width: 100%; height: clamp(175px, 21vw, 295px); object-fit: cover; }
.pantry-photo { object-position: center 57%; }
.recipe-photo { object-position: center 56%; }
.story-body { padding: 21px 24px 23px; }
.moment { margin-bottom: 8px; color: var(--green); font-size: 15px; font-weight: 800; }
.story-body h3 + p { margin-top: 9px; }
.stock-list { margin-top: 14px; padding: 4px 12px; border-radius: 11px; background: var(--mint); }
.stock-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.stock-list > div + div { border-top: 1px solid var(--line); }
.stock-list dt { display: flex; align-items: center; gap: 7px; font-weight: 800; }
.stock-list img { width: 28px; height: 28px; object-fit: contain; }
.stock-list dd { color: var(--green); font-size: 14px; font-weight: 800; text-align: right; }
.recipe-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.recipe-facts span { padding: 5px 10px; border-radius: 8px; background: var(--mint); color: var(--green); font-size: 14px; font-weight: 800; }
.diary { margin-top: 20px; padding: 21px 24px; border: 1px solid var(--line); border-radius: 17px; background: var(--mint); }
.diary h3 { font-size: 1.18rem; }
.diary p { max-width: 69ch; margin-top: 5px; }

.questions-section { padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); background: #fafdfa; }
.questions-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 28px; }
.questions details { border-top: 1px solid var(--line); }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding-block: 9px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { flex: 0 0 auto; color: var(--green); font-size: 1.4em; content: "+"; }
.questions details[open] summary::after { content: "−"; }
.questions details p { padding-block: 0 12px; padding-right: 25px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; padding-block: 10px; }
.back-link { color: var(--green); }

@media (max-width: 1023px) {
  .wrap { width: min(100% - 52px, 1200px); }
}

@media (max-width: 767px) {
  .wrap { width: min(100% - 36px, 620px); }
  .header-inner { min-height: 62px; gap: 8px; }
  .header-inner nav { display: none; }
  .header-cta { min-height: 44px; padding: 8px 10px; gap: 6px; font-size: 14px; }
  .brand { gap: 7px; font-size: 16px; }
  .brand-mark { flex-basis: 36px; }
  .hero { grid-template-columns: 1fr; gap: 23px; padding-block: 32px 35px; }
  .product-type { margin-bottom: 11px; }
  h1 { max-width: 14ch; font-size: clamp(2.23rem, 7.9vw, 3.4rem); letter-spacing: -.053em; }
  .hero-description { margin-block: 15px 19px; }
  .hero-scene { min-height: clamp(225px, 63vw, 346px); border-radius: 19px; }
  .expense-preview { left: 11px; bottom: 11px; width: min(72%, 232px); padding: 11px 12px; border-radius: 12px; }
  .preview-top { font-size: 13px; }
  .expense-preview > strong { font-size: 1.87rem; }
  .expense-preview p { margin-top: 7px; }
  .example-layout, .story-grid, .questions-layout { grid-template-columns: minmax(0, 1fr); }
  .example-layout { gap: 16px; }
  .example-head p, .section-intro > p { margin-top: 9px; }
  .receipt { padding: 15px 17px 11px; }
  .outcome { padding: 15px 16px; }
  .story-grid { gap: 15px; }
  .story-body { padding: 16px 17px 18px; }
  .diary { margin-top: 15px; padding: 16px 17px; }
  .questions-layout { gap: 23px; }
  .footer { min-height: 69px; }
  .back-link { font-size: 14px; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .brand { max-width: 155px; }
  .footer .brand { max-width: 145px; }
  .change { gap: 8px; }
}
