:root {
  color-scheme: light;
  --ink: #1d332c;
  --muted: #687a70;
  --green: #164e43;
  --green-dark: #103c34;
  --green-light: #d8f1de;
  --paper: #f5f8f5;
  --white: #ffffff;
  --line: #e1e9e3;
  --orange: #ed9469;
  --serif: Georgia, "Times New Roman", serif;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-150%); border-radius: 8px; background: var(--white); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 23px 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 13px; line-height: 1.15; letter-spacing: -.02em; }
.brand img { border-radius: 13px; }
.brand strong { font-size: 15px; }
.main-nav { display: flex; align-items: center; gap: 33px; color: #52665d; font-size: 14px; }
.main-nav a:hover, .text-link:hover, .back-top:hover { color: var(--green); }
.header-cta { padding: 11px 16px; border: 1px solid #ccdad0; border-radius: 8px; background: rgba(255,255,255,.54); color: var(--green); font-size: 13px; font-weight: 650; }
.header-cta span { margin-left: 5px; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 42px; width: min(1240px, calc(100% - 64px)); min-height: 580px; margin: 0 auto; padding: 44px 0 83px; }
.hero-copy { max-width: 600px; }
.eyebrow { margin: 0 0 16px; color: var(--green); font-size: 11px; font-weight: 750; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 8px; height: 8px; margin: 0 7px 1px 0; border-radius: 50%; background: #63a77c; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--ink); font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
h1 { margin-bottom: 22px; font-size: clamp(44px, 5.3vw, 70px); line-height: 1.04; }
h1 em, h2 em { color: var(--green); font-weight: 400; }
.hero-lede { max-width: 545px; margin-bottom: 28px; color: #5e7066; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 48px; padding: 0 19px; border: 0; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 680; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: white; box-shadow: 0 8px 20px rgba(22,78,67,.14); }
.button-primary:hover { background: var(--green-dark); }
.text-link { color: #536b60; font-size: 14px; font-weight: 650; text-decoration: underline; text-decoration-color: #b5c9ba; text-underline-offset: 5px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 21px; margin-top: 36px; color: #65776e; font-size: 12px; }
.check { display: inline-grid; width: 17px; height: 17px; margin-right: 4px; place-items: center; border-radius: 50%; background: #dbeee1; color: var(--green); font-size: 11px; font-weight: 800; }

.hero-art { position: relative; display: grid; min-height: 420px; place-items: center; }
.hero-art::before { position: absolute; width: 390px; height: 390px; border-radius: 50%; background: #e7f1e8; content: ""; }
.art-orbit { position: absolute; border: 1px solid #ccded0; border-radius: 50%; }
.orbit-one { width: 450px; height: 310px; transform: rotate(-27deg); }
.orbit-two { width: 410px; height: 280px; transform: rotate(31deg); }
.art-card { position: absolute; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(216,229,218,.9); border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 18px 45px rgba(33,65,49,.11); }
.art-card b, .art-card small { display: block; }
.art-card b { font-size: 13px; }
.art-card small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.card-top { top: 60px; left: -3px; z-index: 2; padding: 12px 14px; }
.card-bottom { right: -8px; bottom: 47px; z-index: 2; padding: 12px 15px; }
.card-main { z-index: 1; display: block; width: 245px; padding: 17px 20px 18px; transform: rotate(-3deg); }
.main-card-top { display: flex; align-items: center; justify-content: space-between; }
.status-pill { padding: 5px 8px; border-radius: 30px; background: #edf6ee; color: #416b50; font-size: 9px; font-weight: 700; }
.status-pill i, .status-building i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #5caa72; }
.sparkle { color: var(--orange); font-size: 22px; }
.coin-illustration { display: grid; width: 108px; height: 108px; margin: 24px auto 15px; place-items: center; border: 10px solid #b8dfc0; border-radius: 50%; background: #d9f1dc; box-shadow: inset 0 0 0 2px white, 0 8px 18px rgba(40,91,56,.1); color: var(--green); }
.coin-illustration span { font-family: var(--serif); font-size: 53px; }
.card-main p { margin: 0; text-align: center; font-family: var(--serif); font-size: 20px; }
.card-main > small { display: block; margin-top: 3px; color: var(--muted); text-align: center; font-size: 10px; }
.progress-lines { display: flex; gap: 4px; margin-top: 19px; }
.progress-lines i { height: 4px; flex: 1; border-radius: 4px; background: #d7e8da; }
.progress-lines i:first-child { background: #74b381; }
.mini-icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 11px; font-size: 18px; }
.fuel-mini { background: #fbe6da; color: #b65b39; }
.home-mini { background: #e4f1e4; color: var(--green); font-size: 23px; }
.card-arrow { margin-left: 5px; color: #7a9884; }
.art-spark { position: absolute; color: #ef9a71; }
.spark-one { top: 12px; right: 80px; font-size: 30px; }
.spark-two { bottom: 25px; left: 50px; color: #6ca77c; font-size: 51px; }

.section { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 55px 0 91px; }
.tools-section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 33px; }
.section-heading h2, .principles-heading h2 { margin: 0; font-size: clamp(36px, 4vw, 49px); line-height: 1.1; }
.section-intro { max-width: 410px; margin-bottom: 4px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.tool-card { display: flex; min-height: 232px; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.tool-card-active { border-color: #bed8c3; box-shadow: 0 9px 27px rgba(29,77,48,.06); transition: transform .18s ease, box-shadow .18s ease; }
.tool-card-active:hover { transform: translateY(-4px); box-shadow: 0 16px 31px rgba(29,77,48,.1); }
.tool-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; }
.tool-icon { display: grid; width: 41px; height: 41px; place-items: center; border-radius: 12px; font-size: 21px; }
.fuel-icon { background: #fce9df; }
.aid-icon { background: #e5f2e5; color: #386d4c; }
.bill-icon { background: #e7eef9; color: #526d93; }
.basket-icon { background: #f9f0df; color: #9b7138; }
.status-label { color: #7b887f; font-size: 10px; font-weight: 700; letter-spacing: .03em; }
.status-building { color: #49744e; }
.tool-card h3 { margin-bottom: 7px; font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.tool-card p { margin-bottom: 19px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.tool-card-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: var(--green); font-size: 12px; font-weight: 750; }
.muted-link { color: #859087; font-weight: 600; }
.section-footnote { margin: 17px 0 0; color: #77847b; font-size: 11px; }
.section-footnote span { margin-right: 4px; color: var(--orange); }

.principles-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; padding: 76px max(32px, calc((100% - 1240px) / 2)) 82px; background: #eaf2eb; }
.principles-heading h2 { max-width: 435px; }
.principle-list { border-top: 1px solid #cfddd1; }
.principle { display: grid; grid-template-columns: 42px 1fr 26px; gap: 14px; align-items: start; padding: 19px 0; border-bottom: 1px solid #cfddd1; }
.principle-number { padding-top: 4px; color: #73917a; font-size: 11px; font-weight: 700; }
.principle h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.principle p { max-width: 560px; margin: 0; color: #62766a; font-size: 12px; line-height: 1.6; }
.principle-mark { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #d4e5d6; color: var(--green); font-size: 12px; }

.install-banner { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 21px; width: min(1240px, calc(100% - 64px)); margin: 55px auto; padding: 28px 32px; border-radius: 15px; background: var(--green); color: white; }
.install-icon { display: grid; width: 55px; height: 55px; place-items: center; border: 1px solid rgba(255,255,255,.29); border-radius: 15px; font-size: 29px; }
.install-banner .eyebrow { margin-bottom: 6px; color: #bce5c5; }
.install-banner h2 { margin: 0 0 5px; color: white; font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: -.03em; }
.install-banner p:last-child { max-width: 570px; margin: 0; color: #d0e2d4; font-size: 12px; }
.button-light { background: #f6f8f4; color: var(--green); white-space: nowrap; }
.button-light:hover { background: #e0f1e2; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 0 0 28px; color: #7b877f; font-size: 11px; }
.footer-brand { color: #536a5c; font-size: 12px; font-weight: 750; }
.site-footer p { margin: 0; }
.back-top { color: #536a5c; }
.install-dialog { width: min(510px, calc(100% - 32px)); padding: 32px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); box-shadow: 0 24px 80px rgba(15,38,28,.22); }
.install-dialog::backdrop { background: rgba(19,39,30,.45); backdrop-filter: blur(3px); }
.install-dialog form { position: absolute; top: 15px; right: 17px; }
.dialog-close { width: 31px; height: 31px; border: 0; border-radius: 50%; background: #edf3ed; color: var(--ink); cursor: pointer; font-size: 23px; line-height: 1; }
.install-dialog h2 { margin-bottom: 15px; font-size: 30px; }
.install-instructions p { color: #5e7066; font-size: 13px; }
.hidden { display: none !important; }

@media (max-width: 980px) {
  .hero { gap: 18px; min-height: 510px; }
  .hero-art { transform: scale(.86); transform-origin: center right; }
  .trust-row { gap: 9px 14px; }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .principles-section { gap: 35px; }
}
@media (max-width: 700px) {
  .site-header { width: min(100% - 36px, 560px); padding: 15px 0; }
  .brand { font-size: 11px; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: 12px; }
  .main-nav { display: none; }
  .header-cta { padding: 9px 10px; font-size: 11px; }
  .hero { display: block; width: min(100% - 36px,560px); padding: 50px 0 49px; }
  h1 { font-size: clamp(42px, 12vw, 57px); }
  .hero-lede { font-size: 15px; }
  .hero-actions { gap: 17px; }
  .button { min-height: 45px; padding: 0 14px; font-size: 12px; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; margin-top: 25px; font-size: 11px; }
  .trust-row span:last-child { grid-column: 1 / -1; }
  .hero-art { min-height: 337px; margin: 9px -20px 0; transform: scale(.78); transform-origin: center; }
  .card-top { left: 0; }
  .card-bottom { right: 0; }
  .section { width: min(100% - 36px,560px); padding: 48px 0 62px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .section-heading h2, .principles-heading h2 { font-size: 38px; }
  .section-intro { margin: 15px 0 0; font-size: 13px; }
  .tool-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tool-card { min-height: 218px; padding: 15px; }
  .tool-card-top { align-items: flex-start; gap: 7px; flex-direction: column; margin-bottom: 13px; }
  .tool-card h3 { font-size: 20px; }
  .tool-card p { font-size: 11px; }
  .principles-section { display: block; padding: 50px 18px; }
  .principle-list { margin-top: 25px; }
  .principle { grid-template-columns: 29px 1fr 24px; gap: 8px; }
  .principle h3 { font-size: 17px; }
  .install-banner { grid-template-columns: 46px 1fr; gap: 12px; width: calc(100% - 36px); margin: 35px auto; padding: 21px 18px; }
  .install-icon { width: 43px; height: 43px; border-radius: 12px; font-size: 23px; }
  .install-banner h2 { font-size: 21px; }
  .install-banner p:last-child { font-size: 11px; }
  .button-light { grid-column: 1 / -1; justify-self: start; }
  .site-footer { display: grid; grid-template-columns: 1fr auto; width: calc(100% - 36px); gap: 8px 14px; padding-bottom: 20px; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
