:root {
  color-scheme: light dark;
  --page: #f7f2e8;
  --surface: #fffdf8;
  --surface-soft: #efe8db;
  --ink: #1f2c24;
  --muted: #657067;
  --line: #d9d2c5;
  --green: #245c43;
  --green-soft: #d9eadc;
  --coral: #d7664f;
  --yellow: #f2c86b;
  --blue: #7aa9a3;
  --shadow: 0 24px 64px rgba(41, 51, 43, .1);
  --radius-large: 32px;
  --radius-card: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 18%, rgba(242, 200, 107, .2), transparent 26rem),
    var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -.025em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: end center;
}

.brand-mark::before {
  position: absolute;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 5px 2px 5px 2px;
  background: var(--green);
  content: "";
  transform: rotate(45deg);
}

.brand-mark span {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 19px;
  border-radius: 3px 3px 6px 6px;
  background: var(--page);
}

.early-label,
.status {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 720;
  letter-spacing: .08em;
  padding: 7px 12px;
  text-transform: uppercase;
}

.hero {
  display: grid;
  align-items: center;
  min-height: 600px;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(32px, 7vw, 100px);
  padding: 70px 0 100px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow,
.tool-kicker {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .94;
}

.hero-lede {
  max-width: 630px;
  margin: 30px 0 36px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.primary-action,
.tool-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-action {
  padding: 14px 22px;
}

.primary-action:hover,
.tool-link:hover {
  background: #174b34;
  box-shadow: 0 10px 30px rgba(36, 92, 67, .2);
  transform: translateY(-2px);
}

.primary-action:focus-visible,
.tool-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.home-scene {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(36, 92, 67, .12);
  border-radius: var(--radius-large);
  background: linear-gradient(160deg, #dce8e2 0 56%, #bcd0bf 56% 100%);
  box-shadow: var(--shadow);
}

.sun {
  position: absolute;
  top: 54px;
  right: 58px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 18px rgba(242, 200, 107, .18);
}

.house {
  position: absolute;
  right: 13%;
  bottom: 54px;
  left: 13%;
  height: 250px;
}

.roof {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 50%;
  width: 270px;
  height: 130px;
  background: var(--coral);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 8px 0 rgba(111, 62, 47, .08));
  transform: translateX(-50%);
}

.wall {
  position: absolute;
  z-index: 3;
  right: 11%;
  bottom: 0;
  left: 11%;
  height: 170px;
  border-radius: 8px 8px 3px 3px;
  background: #fff8e8;
  box-shadow: 0 22px 28px rgba(35, 68, 50, .18);
}

.window,
.door {
  position: absolute;
  bottom: 65px;
  width: 50px;
  height: 50px;
  border: 8px solid #2f654c;
  border-radius: 50% 50% 4px 4px;
  background: var(--yellow);
}

.window-one {
  left: 13%;
}

.window-two {
  right: 13%;
}

.door {
  bottom: 0;
  left: 50%;
  width: 54px;
  height: 92px;
  border: 0;
  border-radius: 28px 28px 0 0;
  background: var(--green);
  transform: translateX(-50%);
}

.door::after {
  position: absolute;
  top: 51px;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
}

.ground {
  position: absolute;
  right: -14%;
  bottom: -80px;
  left: -14%;
  height: 180px;
  border-radius: 50%;
  background: #4f805d;
}

.tools-section {
  padding: 104px 0 112px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  max-width: 720px;
  margin-bottom: 48px;
  gap: 10px;
}

.section-heading .eyebrow {
  margin-bottom: 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1;
}

.section-heading > p:last-child {
  max-width: 610px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tool-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 253, 248, .7);
}

.tool-card-active {
  border-color: transparent;
  background: var(--green);
  box-shadow: 0 24px 50px rgba(36, 92, 67, .2);
  color: #fff;
}

.tool-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tool-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 1.4rem;
  font-weight: 850;
}

.tool-card-active .tool-icon {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.tool-icon-expenses {
  background: #f5dfc6;
  color: #97562f;
}

.tool-icon-shopping {
  background: #dce9ed;
  color: #3e6d73;
}

.tool-card-active .status {
  border-color: rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .84);
}

.status-available::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #a6e5a9;
  content: "";
  vertical-align: 1px;
}

.tool-kicker {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: .7rem;
}

.tool-card h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
}

.tool-card-active .tool-kicker,
.tool-card-active p {
  color: rgba(255, 255, 255, .82);
}

.tool-link {
  align-self: flex-start;
  padding: 12px 17px;
  background: #fff;
  color: var(--green);
}

.tool-link:hover {
  background: #f6f1e7;
  color: #174b34;
}

.tool-link-outline {
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
}

.tool-link-outline:hover {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.closing-note {
  display: grid;
  min-height: 260px;
  place-items: center;
  border-radius: var(--radius-large);
  background: var(--yellow);
  color: #3c3422;
  padding: 48px;
  text-align: center;
}

.closing-note p {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -.04em;
  line-height: 1.1;
}

.header-link {
  color: var(--green);
  font-size: .88rem;
  font-weight: 750;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
}

.header-link:hover,
.breadcrumbs a:hover {
  text-decoration-color: currentColor;
}

.header-link:focus-visible,
.breadcrumbs a:focus-visible,
.other-links a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 5px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 38px;
  color: var(--muted);
  font-size: .88rem;
}

.breadcrumbs a {
  color: var(--green);
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.product-hero {
  display: grid;
  align-items: center;
  min-height: 560px;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(32px, 6vw, 90px);
  padding: 52px 0 110px;
}

.product-copy h1 {
  font-size: clamp(3.2rem, 6vw, 5.9rem);
}

.product-copy .hero-lede {
  margin-bottom: 0;
}

.product-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}

.product-action-note {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.availability-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 36px 0 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

.availability-note span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.product-art {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(36, 92, 67, .12);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.product-art-tasks {
  background: linear-gradient(145deg, #dfebe1, #b9d1bc);
}

.art-board {
  width: 76%;
  min-height: 260px;
  padding: 27px;
  border-radius: 18px;
  background: #fffaf0;
  box-shadow: 0 24px 45px rgba(40, 77, 52, .18);
  transform: rotate(-3deg);
}

.art-board-title {
  display: block;
  width: 42%;
  height: 15px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: #2b6447;
}

.art-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.art-columns div {
  min-height: 170px;
  padding: 10px;
  border-radius: 10px;
  background: #e8eee5;
}

.art-columns span,
.art-columns i {
  display: block;
  border-radius: 5px;
}

.art-columns span {
  width: 68%;
  height: 9px;
  margin-bottom: 14px;
  background: #7ba38a;
}

.art-columns i {
  height: 44px;
  margin-top: 9px;
  background: #fffaf0;
  box-shadow: 0 3px 0 rgba(45, 84, 56, .08);
}

.art-columns div:nth-child(2) i {
  background: #f4d58f;
}

.product-art-expenses {
  background: linear-gradient(145deg, #f4dfd0, #f7efdb);
}

.balance-illustration {
  position: relative;
  width: 84%;
  min-height: 330px;
}

.balance-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  flex-direction: column;
  border-radius: 50%;
  background: #fffaf0;
  box-shadow: 0 22px 45px rgba(132, 75, 50, .13);
  color: #344a39;
  transform: translate(-50%, -50%);
}

.balance-center span {
  font-size: .9rem;
}

.balance-center strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 500;
}

.balance-token {
  position: absolute;
  z-index: 1;
  padding: 9px 15px;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(132, 75, 50, .1);
  font-size: .86rem;
  font-weight: 750;
}

.balance-token-expense {
  top: 12%;
  left: 1%;
  background: #d7664f;
  color: #fff;
  transform: rotate(-7deg);
}

.balance-token-income {
  top: 21%;
  right: 0;
  background: #4f805d;
  color: #fff;
  transform: rotate(7deg);
}

.balance-token-transfer {
  right: 3%;
  bottom: 9%;
  background: #f2c86b;
  color: #3c3422;
  transform: rotate(-5deg);
}

.product-art-shopping {
  background: linear-gradient(145deg, #e2eff0, #c2dad1);
}

.shopping-note {
  display: grid;
  width: 62%;
  min-height: 280px;
  align-content: center;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 20px 15px;
  padding: 32px;
  border-radius: 15px;
  background: #fffaf0;
  box-shadow: 0 24px 45px rgba(43, 85, 84, .17);
  transform: rotate(5deg);
}

.note-dot {
  width: 20px;
  height: 20px;
  border: 3px solid #467d76;
  border-radius: 6px;
}

.note-line {
  width: 64%;
  height: 10px;
  border-radius: 999px;
  background: #bed6cf;
}

.note-line-long { width: 94%; }
.note-line-mid { width: 78%; }

.shopping-spark {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #f2c86b;
  transform: rotate(22deg);
}

.shopping-spark-one { top: 14%; right: 14%; }
.shopping-spark-two { bottom: 16%; left: 12%; width: 18px; height: 18px; }

.product-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 7vw, 100px);
  padding: 88px 0 92px;
  border-top: 1px solid var(--line);
}

.product-story h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.product-story > p {
  max-width: 510px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.other-products {
  padding: 0 0 110px;
}

.other-products h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.other-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.other-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 750;
  text-decoration: none;
}

.other-links a:hover {
  border-color: var(--green);
}

.other-links small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 650;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 140px;
  color: var(--muted);
  font-size: .9rem;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 50px;
  }

  .home-scene {
    min-height: 390px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 310px;
  }

  .product-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-bottom: 84px;
  }

  .product-art {
    min-height: 350px;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 74px;
  }

  .early-label {
    display: none;
  }

  .hero {
    padding: 48px 0 76px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .home-scene {
    min-height: 320px;
  }

  .house {
    right: 5%;
    bottom: 34px;
    left: 5%;
    transform: scale(.82);
    transform-origin: bottom center;
  }

  .sun {
    top: 38px;
    right: 36px;
  }

  .tools-section {
    padding: 76px 0 84px;
  }

  .tool-card {
    min-height: 330px;
    padding: 23px;
  }

  .header-link {
    max-width: 126px;
    font-size: .76rem;
    text-align: right;
  }

  .breadcrumbs { margin-top: 16px; }

  .product-hero { padding: 38px 0 72px; }

  .product-copy h1 { font-size: clamp(2.75rem, 12vw, 4rem); }

  .product-art { min-height: 290px; }

  .art-board { width: 78%; min-height: 220px; padding: 20px; }

  .art-columns div { min-height: 140px; }

  .balance-illustration { min-height: 260px; }

  .balance-center { width: 155px; height: 155px; }

  .balance-center strong { font-size: 1.5rem; }

  .balance-token { padding: 7px 10px; font-size: .72rem; }

  .shopping-note { min-height: 215px; padding: 25px; }

  .product-story { grid-template-columns: 1fr; gap: 24px; padding: 66px 0; }

  .product-story > p { margin: 0; }

  .other-links { grid-template-columns: 1fr; }

  .other-products { padding-bottom: 78px; }

  .closing-note {
    min-height: 230px;
    padding: 32px 22px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #161914;
    --surface: #20251f;
    --surface-soft: #262c25;
    --ink: #edf1e9;
    --muted: #a9b1a7;
    --line: #3b433a;
    --green: #8ac29c;
    --green-soft: #2f4938;
    --coral: #ef927e;
    --yellow: #d4ad58;
    --shadow: 0 24px 64px rgba(0, 0, 0, .3);
  }

  body {
    background:
      radial-gradient(circle at 8% 18%, rgba(212, 173, 88, .1), transparent 26rem),
      var(--page);
  }

  .brand-mark span {
    background: var(--page);
  }

  .primary-action,
  .tool-card-active {
    background: #315f45;
  }

  .primary-action:hover {
    background: #3b7153;
  }

  .tool-card {
    background: rgba(32, 37, 31, .78);
  }

  .tool-card-active {
    background: #315f45;
  }

  .tool-link {
    background: #edf1e9;
    color: #214c35;
  }

  .home-scene {
    background: linear-gradient(160deg, #293b34 0 56%, #263b2c 56% 100%);
  }

  .tool-link-outline {
    border-color: var(--green);
    background: transparent;
    color: var(--green);
  }

  .product-art-tasks { background: linear-gradient(145deg, #2b4634, #243b2c); }

  .product-art-expenses { background: linear-gradient(145deg, #503a32, #3e3529); }

  .product-art-shopping { background: linear-gradient(145deg, #2b4548, #263d35); }

  .wall {
    background: #e9dfc8;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .primary-action,
  .tool-link {
    transition: none;
  }
}
