:root {
  /* The public site is intentionally light-only. The dark green hero/footer
     surfaces are brand colors, not an alternate color scheme. */
  color-scheme: only light;
  --forest: #24483c;
  --forest-deep: #18382e;
  --ink: #223b34;
  --muted: #5d6d66;
  --mint: #dcebe1;
  --mint-light: #edf4ed;
  --lime: #d1e7a9;
  --cream: #f7f7f2;
  --paper: #fff;
  --line: #dce4dc;
  --page: min(1180px, calc(100% - 48px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-width: 280px; background: var(--cream); color: var(--ink); font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 60; width: 100%; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: #84c99d; transform: scaleX(0); transform-origin: left; }
button, input, textarea { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #a0c883; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.container { width: var(--page); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--forest-deep); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* Shared navigation */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(36,72,60,.1); background: rgba(247,247,242,.96); backdrop-filter: blur(16px); }
.nav-wrap { width: var(--page); min-height: 76px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest-deep); font-size: 1.32rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; text-decoration: none; white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); font-size: .88rem; font-weight: 700; }
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: #417b64; }
.nav-links .nav-cta { display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px; border-radius: 999px; background: var(--forest); color: #fff; }
.nav-links .nav-cta:hover { background: var(--forest-deep); color: #fff; }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.menu-button span { display: block; width: 19px; height: 2px; margin-inline: auto; border-radius: 2px; background: var(--forest); transition: transform .2s; }
.menu-button span + span { margin-top: 6px; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Landing page */
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 76% 31%, #315e49, transparent 45%), var(--forest-deep); color: #fff; }
.hero::before { content: ""; position: absolute; z-index: -1; width: min(58vw, 760px); aspect-ratio: 1; top: -37%; right: -17%; border: 1px solid rgba(222,246,222,.12); border-radius: 50%; box-shadow: 0 0 0 90px rgba(222,246,222,.035), 0 0 0 190px rgba(222,246,222,.028); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 400px; height: 400px; bottom: -260px; left: -220px; border: 1px solid rgba(222,246,222,.12); border-radius: 50%; }
.hero-glow { position: absolute; z-index: -1; width: 440px; aspect-ratio: 1; border-radius: 50%; filter: blur(68px); opacity: .24; pointer-events: none; }
.hero-glow-one { top: 9%; right: 10%; background: #88bea1; }
.hero-glow-two { bottom: -24%; left: -14%; background: #91b58d; }
.hero-grid { min-height: 640px; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: center; gap: clamp(42px, 6vw, 90px); padding-block: 64px 56px; }
.hero-copy { position: relative; z-index: 1; }
.js-motion .hero-copy > * { animation: heroRise .75s both; }
.js-motion .hero-copy > :nth-child(2) { animation-delay: .1s; }
.js-motion .hero-copy > :nth-child(3) { animation-delay: .19s; }
.js-motion .hero-copy > :nth-child(4) { animation-delay: .27s; }
.js-motion .hero-copy > :nth-child(5) { animation-delay: .34s; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; color: #42715b; font-size: .74rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow-light { color: #d0e6ca; }
.eyebrow-line { display: inline-block; width: 30px; height: 1px; flex: 0 0 30px; background: currentColor; }
.hero h1 { overflow-wrap: anywhere; margin: 0; font-size: clamp(3rem, 5.2vw, 5.15rem); font-weight: 850; letter-spacing: -.055em; line-height: 1.28; white-space: normal; }
.hero h1 span { color: var(--lime); }
.hero-lead { max-width: 570px; margin: 30px 0 0; color: #e4eee6; font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 56px; padding: 13px 23px; border: 1px solid transparent; border-radius: 12px; font-size: .93rem; font-weight: 800; line-height: 1.4; text-align: center; text-decoration: none; transition: transform .25s, background .25s, border-color .25s, box-shadow .25s; }
.button:hover { transform: translateY(-2px); }
.button span[aria-hidden] { display: inline-block; transition: transform .25s; }
.button:hover span[aria-hidden] { transform: translate(3px,-2px); }
.button-primary { background: var(--lime); color: var(--forest-deep); }
.button-primary:hover { background: #e2f0c3; box-shadow: 0 12px 32px rgba(158,213,159,.23); }
.button-outline { border-color: rgba(255,255,255,.42); color: #fff; }
.button-outline:hover { background: rgba(255,255,255,.1); }
.hero-availability { margin: 18px 0 0; color: #b9d2c3; font-size: .82rem; }
.hero-visual { position: relative; width: 100%; max-width: 510px; min-width: 0; margin-left: auto; padding: 15px 24px 20px 12px; }
.js-motion .hero-visual { animation: heroRise 1s .32s both; }
.preview-orbit { position: absolute; width: 360px; aspect-ratio: 1; border: 1px solid rgba(218,243,221,.17); border-radius: 50%; pointer-events: none; }
.preview-orbit-one { top: 10%; right: -17%; }
.preview-orbit-two { bottom: 8%; left: -12%; width: 250px; }
.preview-caption { position: relative; z-index: 1; margin: 0 0 16px 8px; color: #c0dcc8; font-size: .8rem; font-weight: 650; letter-spacing: .04em; }
.scenario-picker { display: none; position: relative; z-index: 2; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.js .scenario-picker { display: flex; }
.scenario-button { min-height: 44px; padding: 7px 13px; border: 1px solid rgba(225,245,226,.31); border-radius: 999px; background: rgba(255,255,255,.08); color: #e3f1e6; cursor: pointer; font-size: .73rem; font-weight: 750; transition: background .25s, color .25s, transform .25s, border-color .25s; }
.scenario-button:hover { transform: translateY(-2px); border-color: #d5eac4; }
.scenario-button.is-active { border-color: var(--lime); background: var(--lime); color: var(--forest-deep); }
.app-preview { position: relative; z-index: 1; overflow: hidden; max-width: 390px; margin-inline: auto; border: 7px solid #e8eee9; border-radius: 31px; background: #f2f5f2; color: var(--ink); box-shadow: 0 42px 80px rgba(1,20,12,.39), 0 0 0 1px rgba(255,255,255,.26); font-size: 14px; }
.app-preview.is-switching .app-preview-summary, .app-preview.is-switching .app-preview-people, .app-preview.is-switching .app-expense-row { animation: demoSwitch .4s ease both; }
.app-preview-top { min-height: 277px; padding: 16px 18px 12px; background: #294b3e; color: #fff; }
.app-preview-title { display: flex; align-items: center; justify-content: space-between; font-size: 19px; line-height: 1.2; letter-spacing: -.04em; }
.app-preview-title svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.app-preview-month { display: flex; align-items: center; gap: 7px; margin-top: 23px; font-size: 13px; }
.app-preview-month small { font-size: 11px; }.app-preview-month strong { font-size: 17px; }.app-preview-month span:last-child { margin-left: 2px; }
.app-preview-summary { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: 25px; }
.app-preview-summary div { display: grid; }.app-preview-summary small { color: #d0e1d6; font-size: 11px; }.app-preview-summary strong { font-size: 43px; line-height: 1.3; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }.app-preview-summary > span { flex: 0 0 auto; margin-bottom: 7px; padding: 9px 13px; border-radius: 10px; background: #d7e9d8; color: #284c3d; font-size: 11px; font-weight: 800; }
.app-preview-people { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 20px; }.app-preview-people > div { display: flex; align-items: center; min-width: 0; gap: 7px; }.app-preview-people p { display: grid; min-width: 0; margin: 0; line-height: 1.35; }.app-preview-people b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.app-preview-people small { font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }.app-people-divider { color: #fff; }
.app-avatar { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 50%; background: #e3ece6; color: #294b3e; font-size: 13px; font-weight: 800; }
.app-preview-total { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; font-size: 11px; }.app-preview-total span { color: #c5dbcc; }.app-preview-total strong { font-size: 11px; font-variant-numeric: tabular-nums; }
.app-preview-content { min-height: 194px; padding: 18px 17px 20px; }.app-expenses { min-height: 162px; padding: 12px; border: 1px solid #dae5db; border-radius: 14px; background: #fff; }.app-expenses-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }.app-expenses-heading strong { font-size: 15px; }.app-expenses-heading span { padding: 5px 9px; border-radius: 8px; background: #e4eee6; font-size: 11px; font-weight: 800; }
.app-expense-row { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 10px 0; }.app-expense-row + .app-expense-row { border-top: 1px solid #edf0ee; }.app-expense-icon { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 8px; background: #fce8d5; color: #854d2d; font-size: 17px; }.app-expense-icon-alt { background: #dde8f4; color: #3a6182; }.app-expense-row p { display: grid; min-width: 0; margin: 0; line-height: 1.35; }.app-expense-row p strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.app-expense-row small { color: #63746c; font-size: 11px; }.app-expense-row > b { margin-left: auto; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.app-preview-nav { display: grid; grid-template-columns: repeat(5,1fr); align-items: end; padding: 7px 9px 12px; background: #fff; }.app-preview-nav > span:not(.app-preview-add) { display: grid; justify-items: center; gap: 0; min-width: 0; color: #62736a; line-height: 1.25; }.app-preview-nav > span.is-current { padding: 5px 0; border-radius: 10px; background: #e4eee6; color: #294b3e; }.app-preview-nav b { font-size: 19px; font-weight: 550; }.app-preview-nav small { font-size: 9px; }.app-preview-add { display: grid; width: 43px; height: 43px; place-items: center; margin: -8px auto 0; background: #294b3e; color: #fff; font-size: 25px; line-height: 1; }
.preview-sticker { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; margin: 20px auto 0; padding: 7px 12px; border: 1px solid #6e927f; border-radius: 8px; color: #edf5ed; font-size: .78rem; }
.preview-sticker span { color: var(--lime); }
.preview-example-note, .preview-disclaimer { position: relative; z-index: 1; margin: 14px auto 0; max-width: 390px; color: #d0e4d1; font-size: .78rem; line-height: 1.8; text-align: left; }
.preview-example-note { font-size: .7rem; color: #bad4c4; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.app-expense-icon .icon { width: 20px; height: 20px; }
.app-preview-month .icon { width: 18px; height: 18px; }
.app-preview-nav .icon { width: 21px; height: 21px; margin-block: 2px 4px; }
.app-preview-add .icon { margin: 0; width: 24px; height: 24px; }
.step-symbol .icon { width: 26px; height: 26px; }
.feature-glyph .icon { width: 30px; height: 30px; }
.hero-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 15px 20px; border-top: 1px solid rgba(255,255,255,.15); color: #a5c6b1; font-size: .61rem; font-weight: 750; letter-spacing: .2em; }

.intro-band { padding: clamp(42px, 6vw, 76px) 0; background: #e7efe6; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10%; }
.intro-grid p { margin: 0; }
.intro-grid p:first-child { font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 750; letter-spacing: -.055em; line-height: 1.6; }
.intro-grid strong { color: #47765e; }
.intro-grid p:last-child { max-width: 500px; color: #435e50; font-size: 1rem; line-height: 2; }
.scenario-marquee { overflow: hidden; margin-top: clamp(30px, 5vw, 55px); border-block: 1px solid #cadfce; }
.scenario-marquee-track { display: flex; width: max-content; gap: 44px; padding: 15px 22px; animation: marquee 32s linear infinite; }.scenario-marquee-track span { flex: 0 0 auto; color: #3d7359; font-size: .78rem; font-weight: 800; letter-spacing: .08em; }.scenario-marquee-track span::before { content: "✦"; margin-right: 44px; color: #87a98c; }
.section { padding: clamp(76px, 10vw, 132px) 0; }
.section-heading { display: grid; grid-template-columns: minmax(145px, .33fr) 1fr; gap: 32px; margin-bottom: 52px; }
.section-index { margin: 10px 0 0; color: #3f7056; font-size: .7rem; font-weight: 850; letter-spacing: .16em; }
.section-heading h2, .faq-layout h2 { margin: 0; font-size: clamp(2.3rem, 4.2vw, 4.2rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.3; }
.section-heading p:not(.section-index) { max-width: 630px; margin: 24px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.95; }
.how-section { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { min-height: 310px; display: flex; flex-direction: column; padding: 27px 29px 31px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.steps li:hover { transform: none; border-color: #aecdb5; box-shadow: 0 18px 42px rgba(37,76,52,.09); }
.steps li:nth-child(2)[data-reveal] { transition-delay: .1s; }.steps li:nth-child(3)[data-reveal] { transition-delay: .2s; }
.step-number { color: #6c9479; font-size: .8rem; font-weight: 850; letter-spacing: .13em; }
.step-symbol { display: grid; width: 56px; height: 56px; margin: 20px 0 19px; place-items: center; border-radius: 16px; background: #dfecdc; color: var(--forest); font-size: 1.45rem; font-weight: 750; }
.steps h3 { margin: 0; font-size: 1.45rem; letter-spacing: -.04em; }
.steps p { margin: 10px 0 0; color: var(--muted); font-size: .91rem; line-height: 1.85; }
.features-section { background: #f5f6ef; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.feature-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 330px; padding: clamp(26px, 3.4vw, 41px); border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.feature-card::before { position: absolute; top: -40%; right: -12%; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, rgba(168,213,178,.28), transparent 70%); content: ""; transform: scale(.45); opacity: 0; transition: transform .5s ease, opacity .5s ease; pointer-events: none; }
.feature-card:hover { transform: none; border-color: #bad2c0; box-shadow: 0 20px 48px rgba(38,73,49,.1); }.feature-card:hover::before { transform: scale(1); opacity: 1; }
.feature-card:nth-child(2)[data-reveal] { transition-delay: .08s; }.feature-card:nth-child(3)[data-reveal] { transition-delay: .16s; }
.feature-tag { color: #3f7355; font-size: .69rem; font-weight: 900; letter-spacing: .18em; }
.feature-card h3 { margin: auto 0 10px; font-size: clamp(1.5rem, 2.3vw, 2.25rem); letter-spacing: -.065em; line-height: 1.4; }
.feature-card p { max-width: 500px; margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.9; }
.feature-glyph { display: grid; width: 66px; height: 66px; margin-top: 23px; place-items: center; border-radius: 18px; background: #e6efe6; color: var(--forest); font-size: 2.1rem; }
.feature-card-wide { grid-column: 1 / -1; min-height: 300px; display: grid; grid-template-columns: minmax(0,1fr) minmax(270px,.7fr); grid-template-rows: auto 1fr; align-items: center; column-gap: 42px; background: #e4eee4; }
.feature-card-wide .feature-tag { grid-column: 1 / -1; align-self: start; }
.feature-card-wide h3 { margin: 10px 0; }
.ratio-visual { align-self: center; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 24px; border: 1px solid #d7e4d5; border-radius: 18px; background: #fff; box-shadow: 0 20px 45px rgba(39,82,52,.07); }
.ratio-visual > div:not(.ratio-bar) { display: flex; flex-direction: column; color: #587267; font-size: .76rem; }
.ratio-visual > div:nth-child(2) { text-align: right; }
.ratio-visual strong { color: var(--ink); font-size: 1.7rem; font-variant-numeric: tabular-nums; line-height: 1.35; }
.ratio-bar { grid-column: 1 / -1; overflow: hidden; height: 11px; border-radius: 999px; background: #d4ded5; }
.ratio-bar span { display: block; width: 60%; height: 100%; border-radius: inherit; background: #488666; transform-origin: left; }
.js-motion .feature-card.is-visible .ratio-bar span { animation: ratioGrow 1.2s .35s both cubic-bezier(.16,1,.3,1); }
.ratio-visual small { grid-column: 1 / -1; color: var(--muted); font-size: .69rem; text-align: right; }
.feature-note { margin: 23px 0 0; color: var(--muted); font-size: .79rem; }
.quote-section { overflow: hidden; background: #d9e8dc; }
.quote-inner { position: relative; display: flex; flex-direction: column; align-items: center; padding-block: clamp(70px, 10vw, 120px); text-align: center; }
.quote-mark { position: absolute; top: 15px; left: 8%; color: rgba(36,72,60,.17); font: 11rem/1 Georgia, serif; }
.quote-inner p { position: relative; margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 800; letter-spacing: -.075em; line-height: 1.45; }
.quote-inner em { color: #3e7a5b; font-style: normal; }.js-motion .quote-inner.is-visible em { animation: quoteTint 1.1s .2s both; }
.quote-rule { width: 48px; height: 1px; margin: 29px 0 18px; background: #7ba588; }
.quote-inner > span:last-child { color: #4c6c59; font-size: .9rem; }
.faq-section { background: #fff; }
.faq-layout { display: grid; grid-template-columns: minmax(260px,.7fr) 1fr; gap: clamp(36px, 7vw, 100px); }
.faq-layout .section-index { margin-bottom: 22px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; border-bottom: 1px solid #88aa90; color: var(--forest); font-size: .91rem; font-weight: 800; text-decoration: none; }
.text-link:hover { color: #4c8161; }
.faq-list, .faq { border-top: 1px solid var(--line); }
.faq-list details, .faq details { border-bottom: 1px solid var(--line); }
.faq-list summary, .faq summary { position: relative; padding: 24px 44px 24px 0; font-weight: 750; line-height: 1.65; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .faq summary::after { content: "+"; position: absolute; top: 22px; right: 8px; color: #56816b; font-size: 1.4rem; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after, .faq details[open] summary::after { content: "−"; }
.faq-list details p, .faq details p { margin: 0 0 25px; color: var(--muted); font-size: .93rem; line-height: 1.9; }
.js-motion .faq-list details[open] p { animation: faqIn .28s ease both; }
.download-section { position: relative; isolation: isolate; overflow: hidden; padding: clamp(60px, 9vw, 100px) 0; background: var(--forest); color: #fff; }
.download-glow { position: absolute; z-index: -1; top: -110px; right: -130px; width: 560px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(168,222,168,.2), transparent 68%); }
.download-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.download-grid h2 { margin: 0; font-size: clamp(2.5rem, 4.6vw, 4.5rem); letter-spacing: -.045em; line-height: 1.3; }
.download-grid p:not(.eyebrow) { margin: 20px 0 0; color: #d4e5d7; }
.download-action { display: flex; flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
.download-action small { color: #cee2d2; font-size: .75rem; }

/* Shared footer and secondary pages */
.site-footer { padding: 62px 0 26px; background: #17352c; color: #f1f7f0; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0,2fr) repeat(2,minmax(0,1fr)); gap: 40px; }
.footer-grid p { margin: 17px 0 0; color: #b3d0bb; font-size: .85rem; }
.footer-title { margin: 0 0 15px; color: #b1cfb9; font-size: .71rem; font-weight: 800; letter-spacing: .13em; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links a { color: #edf6ed; font-size: .84rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.copyright { margin-top: 62px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); color: #a5c6af; font-size: .72rem; }
.subpage-hero { padding: clamp(72px, 8vw, 110px) 0 clamp(55px, 6vw, 80px); border-bottom: 1px solid var(--line); background: #e8f0e7; }
.subpage-hero .container { max-width: 920px; }
.subpage-hero .eyebrow { margin-bottom: 20px; }
.subpage-hero h1 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 800; letter-spacing: -.07em; line-height: 1.2; }
.subpage-hero .lead { max-width: 690px; margin: 23px 0 0; color: #455f50; font-size: 1.04rem; line-height: 1.9; }
.updated { display: inline-flex; margin-top: 24px; padding: 7px 12px; border: 1px solid #cadfce; border-radius: 999px; color: #3e7052; font-size: .73rem; font-weight: 800; }
.document-wrap { width: min(920px, calc(100% - 48px)); margin-inline: auto; padding: 62px 0 110px; }
.document-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 42px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.document-nav a { padding: 8px 12px; border-radius: 8px; background: #e7f0e7; color: var(--forest); font-size: .77rem; font-weight: 750; text-decoration: none; }
.document-nav a:hover { background: #d6e7d9; }
.document section { padding: 32px 0; border-top: 1px solid var(--line); }
.document section:first-of-type { border-top: 0; }
.document h2 { margin: 0 0 17px; font-size: clamp(1.3rem, 2.1vw, 1.6rem); letter-spacing: -.04em; line-height: 1.5; }
.document h3 { margin: 24px 0 8px; font-size: 1.05rem; }
.document p, .document li { color: #435c50; overflow-wrap: anywhere; }
.document p { margin-block: 0 16px; }
.document ul, .document ol { padding-left: 1.4em; }
.document li + li { margin-top: 9px; }
.notice { margin: 22px 0; padding: 19px 22px; border-left: 4px solid #bf8a44; border-radius: 0 12px 12px 0; background: #fdf5e7; }
.notice strong { color: var(--ink); }
.data-table { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.data-table table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.data-table th, .data-table td { min-width: 150px; padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: #e7f0e7; color: var(--forest); }
.contact-box { margin-top: 28px; padding: 27px; border: 1px solid #cee0d0; border-radius: 16px; background: #eaf2e9; }
.contact-box p { margin: 12px 0 0; }
.email-link, .document a:not(.document-nav a) { color: #275c43; text-underline-offset: 3px; overflow-wrap: anywhere; }
.support-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 6px 0 28px; }
.support-card { padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.feature-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; background: #dfecdf; color: var(--forest); font-weight: 850; }
.support-card h3 { margin: 14px 0 8px; }
.support-card p { margin: 0; color: var(--muted); }
.delete-steps { display: grid; gap: 10px; margin: 28px 0; padding: 0 !important; counter-reset: deletion; list-style: none; }
.delete-steps li { position: relative; min-height: 66px; padding: 18px 20px 18px 66px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.delete-steps li::before { position: absolute; top: 15px; left: 18px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: var(--forest); color: #fff; content: counter(deletion); counter-increment: deletion; font-size: .8rem; font-weight: 800; }

/* Motion is progressive: content remains visible without JavaScript. */
.js-motion [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.js-motion [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes glowDrift { from { transform: translate3d(-20px, 16px, 0) scale(.92); } to { transform: translate3d(24px, -16px, 0) scale(1.08); } }
@keyframes orbitPulse { from { opacity: .35; transform: scale(.88); } to { opacity: 1; transform: scale(1.08); } }
@keyframes previewFloat { 0%,100% { transform: translateY(0) rotate(1.5deg); } 50% { transform: translateY(-9px) rotate(.5deg); } }
@keyframes stickerBob { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-7px) rotate(-3deg); } }
@keyframes demoSwitch { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ratioGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes quoteTint { from { color: var(--ink); } to { color: #3e7a5b; } }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1040px) {
  .hero-grid { gap: 32px; }
  .hero h1 { font-size: clamp(2.9rem, 5.4vw, 4.4rem); }
}
@media (max-width: 820px) {
  .nav-wrap { position: relative; min-height: 68px; flex-wrap: wrap; }
  .js .menu-button { display: block; }
  .nav-links { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; background: #f9fbf7; }
  .js .nav-links { position: absolute; top: calc(100% - 1px); right: 0; left: 0; display: none; box-shadow: 0 22px 35px rgba(14,45,28,.14); }
  .js .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 11px 8px; }
  .nav-links .nav-cta { justify-content: center; margin-top: 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 25px; padding-block: 76px 54px; }
  .hero h1 { font-size: clamp(3.1rem, 8.5vw, 5rem); }
  .hero-visual { max-width: 530px; margin-inline: auto; padding-right: 12px; }
  .intro-grid, .faq-layout { grid-template-columns: 1fr; gap: 20px; }
  .section-heading { grid-template-columns: 1fr; gap: 15px; }
  .section-index { margin-top: 0; }
  .faq-layout { gap: 38px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-action { align-items: flex-start; }
}
@media (max-width: 620px) {
  :root { --page: calc(100% - 36px); }
  .hero-grid { padding-block: 64px 48px; }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 3.7rem); white-space: normal; }
  .section-heading h2, .faq-layout h2, .download-grid h2 { font-size: clamp(1.8rem, 8vw, 3.1rem); }
  .subpage-hero h1 { font-size: clamp(1.9rem, 8vw, 3.2rem); }
  .hero-lead { margin-top: 21px; font-size: .98rem; }
  .hero-actions { margin-top: 27px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { padding: 5px 0 20px; }
  .scenario-button { flex-grow: 1; }
  .app-preview { max-width: 360px; }
  .hero-bottom { font-size: .55rem; }
  .intro-grid p:last-child { font-size: .94rem; }
  .section { padding-block: 76px; }
  .section-heading { margin-bottom: 35px; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .steps li { min-height: 0; padding: 24px; }
  .step-symbol { margin: 12px 0 16px; }
  .feature-card { min-height: 275px; }
  .feature-card-wide { display: flex; min-height: 0; gap: 18px; }
  .ratio-visual { width: 100%; padding: 19px; }
  .feature-card h3 { margin-top: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .copyright { margin-top: 45px; }
  .subpage-hero { padding-block: 65px 52px; }
  .document-wrap { width: calc(100% - 36px); padding-block: 44px 80px; }
  .support-grid { grid-template-columns: 1fr; }
  .document-nav { padding: 12px; }
  .document section { padding-block: 26px; }
}
@media (max-width: 380px) {
  .brand { font-size: 1.18rem; }
  .hero h1 { font-size: clamp(1.8rem, 9vw, 3.3rem); }
  .app-preview { border-width: 5px; }
  .app-preview-top { padding-inline: 13px; }
  .app-preview-summary strong { font-size: 38px; }

  .download-action .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation: none !important; }
  .app-preview { transform: none; }.scenario-marquee-track { transform: none; }
}
.not-found { min-height: calc(100vh - 170px); display: flex; align-items: center; }
.not-found .button { margin-top: 26px; background: var(--forest); color: #fff; }
.not-found .button:hover { background: var(--forest-deep); }
.not-found + .site-footer { padding: 0 0 26px; }
.not-found + .site-footer .copyright { margin-top: 0; }
.site-header .nav-wrap > .nav-cta { color: var(--forest); font-size: .88rem; font-weight: 750; text-decoration: none; }

@media (max-width: 359px) {
  .app-preview-summary { flex-wrap: wrap; }
  .app-preview-people { gap: 5px; }
  .app-avatar { display: none; }
  .app-preview-content { padding-inline: 9px; }
  .app-expense-row { gap: 6px; }
  .app-expense-icon { width: 27px; flex-basis: 27px; }
}
