:root {
  color-scheme: light;
  --paper: #fbfaf6; --white: #fff; --ink: #173e37; --body: #344c46;
  --muted: #5c6d66; --green: #176b61; --dark: #103e35; --mint: #83d7c7;
  --line: #d7dfd8; --soft: #eaf0e9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none; color: var(--body); background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .3em; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b86e20; outline-offset: 5px; }
::selection { background: #b9e5d8; color: #103e35; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); }
.container { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; left: 16px; top: 12px; padding: 10px 20px; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; font-size: 1.2rem; font-weight: 700; line-height: 1.45; letter-spacing: .025em; }
.brand img { width: 42px; height: 42px; }
.brand small { display: block; font-size: .75rem; font-weight: 500; letter-spacing: .12em; color: var(--muted); }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; font-size: .875rem; font-weight: 600; }
nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
nav a:hover, .text-link:hover { color: var(--green); text-decoration: underline; }
.ponj-home { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ponj-home img { width: 24px; height: 24px; flex-shrink: 0; }
.nav-download { padding: 6px 18px; border: 1px solid var(--green); border-radius: 4px; gap: 18px; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 56px; padding-block: 54px 64px; }
.eyebrow { font-size: .875rem; letter-spacing: .07em; font-weight: 600; color: var(--green); }
.hero .eyebrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 27px; }
.platform { border: 1px solid #b6c9bd; border-radius: 3px; padding: 3px 10px; font-size: .75rem; letter-spacing: .04em; }
h1 { font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; font-size: clamp(2.5rem, 4.25vw, 3.65rem); line-height: 1.6; font-weight: 600; letter-spacing: -.055em; }
.underlined { text-decoration: underline; text-decoration-color: #83d7c7; text-decoration-thickness: 7px; text-underline-offset: .18em; }
.hero-lead { font-size: 1.2rem; line-height: 1.9; color: var(--ink); margin-top: 27px; font-weight: 600; }
.hero-description { color: var(--muted); max-width: 29em; margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 54px; padding: 13px 23px; border-radius: 4px; font-weight: 600; text-decoration: none; line-height: 1.6; transition: background-color .2s; }
.button-primary { background: var(--green); color: var(--white); }
.button-primary:hover { background: var(--dark); }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: .875rem; font-weight: 600; }
.hero-note { margin-top: 21px; color: var(--muted); font-size: .75rem; line-height: 2; }
.hero-note .note-item { display: inline-block; }
.hero-note .note-separator { margin-inline: 7px; color: #86978c; }
.hero-visual { background: var(--soft); padding: 22px 28px 18px; border: 1px solid #d9e3da; border-radius: 6px; text-align: center; }
.visual-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); font-size: .875rem; margin-bottom: 24px; }
.visual-number { font-size: .75rem; letter-spacing: .06em; white-space: nowrap; color: var(--muted); }
.app-screen { width: 242px; margin-inline: auto; border: 1px solid #b3c4bc; border-radius: 13px; box-shadow: 0 18px 34px #103e3521; }
.hero-visual figcaption { color: var(--muted); font-size: .75rem; margin-top: 20px; }
@media (min-width: 1500px) { .hero { padding-block: 76px; } }
@media (max-width: 1050px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 30px; grid-template-columns: 1.1fr 1fr; }
  nav { gap: 20px; }
  .hero-visual { padding-inline: 20px; }
  .visual-heading { justify-content: center; }
  .visual-number { display: none; }
  .hero-note .note-separator { margin-inline: 3px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; gap: 14px; padding-block: 16px; }
  nav { gap: 22px; width: 100%; justify-content: space-between; font-size: .875rem; }
  .nav-download { padding: 4px 12px; gap: 8px; }
  .hero { grid-template-columns: 1fr; padding-block: 38px 42px; gap: 38px; }
  h1 { font-size: clamp(2.15rem, 7.4vw, 3.4rem); }
  .hero .eyebrow { margin-bottom: 20px; }
  .hero-lead { margin-top: 24px; font-size: 1.1rem; }
  .hero-actions { gap: 24px; }
  .hero-description { max-width: 36em; }
  .hero-visual { max-width: 460px; width: 100%; justify-self: center; }
  .visual-heading { justify-content: space-between; }
  .visual-number { display: inline; }
  .app-screen { width: min(242px, 100%); }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  nav { gap: 10px; }
  .nav-download { padding-inline: 8px; }
  .visual-number { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Page sections */
.section { padding-block: 92px; }
h2 { font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; font-size: clamp(1.85rem, 3vw, 2.65rem); font-weight: 600; line-height: 1.65; letter-spacing: -.035em; }
h3 { font-size: 1.125rem; line-height: 1.65; font-weight: 700; }
.section-heading { margin-bottom: 46px; }
.section-heading .eyebrow, .privacy-copy .eyebrow, .faq-layout .eyebrow { margin-bottom: 17px; }
.eyebrow > span[aria-hidden] { margin-inline: 14px; color: #7c9686; }
.section-heading > p:last-child { margin-top: 20px; color: var(--muted); }
.benefit-strip { border-block: 1px solid var(--line); }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 24px; }
.benefits p { text-align: center; padding-inline: 18px; }
.benefits p + p { border-left: 1px solid var(--line); }
.benefits strong { display: block; color: var(--ink); font-size: 1rem; }
.benefits span { color: var(--muted); font-size: .875rem; }
.record-layout { display: grid; grid-template-columns: 1fr 1.14fr; gap: 64px; align-items: start; }
.record-copy article + article { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.record-copy p { margin-top: 10px; color: var(--muted); }
.entry-example { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 0 0 5px 5px; padding: 28px; }
.example-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .875rem; color: var(--muted); margin-bottom: 16px; }
.example-heading > span:first-child { color: var(--green); font-weight: 700; }
.entry-example h3 { margin-bottom: 25px; }
.ledger-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ledger-side h4 { font-size: .875rem; font-weight: 700; color: var(--ink); margin: 0; padding: 12px 0; }
.ledger-side h4 span { color: var(--muted); font-weight: 400; font-size: .75rem; display: block; }
.ledger-side:first-child { border-right: 1px solid var(--line); padding-right: 18px; }
.ledger-side:last-child { padding-left: 18px; }
.ledger-side dl { margin: 0; padding: 6px 0 18px; font-size: .875rem; }
.ledger-side dl > div { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.ledger-side dd { margin: 0; color: var(--ink); font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ledger-side dd span { font-size: .75rem; margin-left: 3px; font-weight: 400; }
.balanced-total { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; background: var(--soft); color: var(--green); padding: 12px 8px; font-size: .875rem; font-weight: 600; border-block: 1px solid var(--line); }
.evidence-row { display: grid; grid-template-columns: 1fr 76px 76px; align-items: center; gap: 12px; padding-block: 24px 18px; }
.evidence-copy strong, .evidence-copy span { display: block; }
.evidence-copy strong { font-size: .875rem; color: var(--ink); }
.evidence-copy span { margin-top: 5px; font-size: .75rem; line-height: 1.8; color: var(--muted); }
.evidence-row img { width: 76px; border: 1px solid var(--line); box-shadow: 0 3px 8px #173e370c; }
.evidence-row a:hover img { border-color: var(--green); }
.entry-example figcaption { color: var(--muted); font-size: .75rem; padding-top: 14px; border-top: 1px dashed var(--line); }
.receipt-input { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; margin-top: 48px; padding: 32px; background: var(--soft); border-top: 3px solid var(--green); border-radius: 0 0 5px 5px; }
.receipt-input-copy h3 { margin-top: 12px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.receipt-input-copy > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.receipt-input-copy > p.receipt-input-local { color: var(--green); font-size: .875rem; font-weight: 600; }
.receipt-input-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.receipt-input-steps li { display: flex; gap: 16px; }
.receipt-input-steps .step-number { flex-shrink: 0; }
.receipt-input-steps strong { color: var(--ink); }
.receipt-input-steps p { margin-top: 5px; color: var(--muted); font-size: .875rem; }
.planning-section { background: #eef2ed; border-block: 1px solid var(--line); }
.heading-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; row-gap: 36px; }
.feature-item { border-top: 1px solid #bbcbbc; padding-top: 24px; }
.feature-label { display: block; font-size: .75rem; letter-spacing: .12em; color: var(--green); margin-bottom: 12px; }
.feature-item p { margin-top: 12px; color: var(--muted); }
.csv-note { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; border: 1px solid #c9d5c9; margin-top: 48px; padding: 24px 28px; background: #f7f9f5; border-radius: 4px; }
.csv-note strong { color: var(--ink); }
.csv-note p { font-size: .875rem; color: var(--muted); }
.privacy-section { background: var(--dark); color: #e2efe7; }
.privacy-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; }
.privacy-section h2, .privacy-section h3 { color: #fff9ec; }
.privacy-section .eyebrow { color: var(--mint); }
.privacy-section .eyebrow > span[aria-hidden] { color: #9ac7b2; }
.privacy-copy > p:not(.eyebrow) { margin-top: 24px; color: #cadfd2; }
.privacy-copy .text-link { margin-top: 28px; color: #c0ebdc; }
.privacy-copy .text-link:hover { color: var(--white); }
.privacy-points article { display: flex; gap: 24px; }
.privacy-points article + article { padding-top: 24px; margin-top: 24px; border-top: 1px solid #42665a; }
.privacy-points article > span { color: #a0c7b6; font-size: .875rem; line-height: 2.1; }
.privacy-points p { margin-top: 10px; color: #cadfd2; font-size: .875rem; }
.download-intro { text-align: center; }
.download-intro > img { width: 76px; margin-inline: auto; margin-bottom: 23px; }
.download-intro .eyebrow { font-size: .75rem; letter-spacing: .11em; margin-bottom: 16px; }
.download-intro > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); }
.download-intro .apk-download { margin-top: 28px; min-width: min(100%, 280px); }
.download-intro .download-meta { font-size: .875rem; margin-top: 16px !important; }
.download-intro .install-note { font-size: .875rem; margin-top: 10px !important; }
.start-steps { list-style: none; margin: 54px 0 0; padding: 30px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 1px solid var(--line); }
.start-steps li { display: flex; gap: 16px; }
.step-number { font-size: .875rem; line-height: 2.1; color: var(--green); font-variant-numeric: tabular-nums; }
.start-steps h3 { font-size: 1rem; }
.start-steps p { margin-top: 9px; font-size: .875rem; color: var(--muted); }
.support-section { background: var(--soft); border-block: 1px solid var(--line); }
.support-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; padding-block: 52px; }
.support-copy .eyebrow { margin-bottom: 12px; }
.support-copy > p:not(.eyebrow) { margin-top: 18px; max-width: 38em; color: var(--muted); }
.support-copy > p.support-free { color: var(--green); font-size: .875rem; font-weight: 600; }
.support-actions .button { max-width: 100%; gap: 12px; padding-inline: 18px; }
.support-actions p { margin-top: 12px; color: var(--muted); font-size: .75rem; }
.faq-section { background: var(--white); border-block: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 23px 24px 23px 0; color: var(--ink); font-weight: 600; line-height: 1.8; }
summary::marker { color: var(--green); }
summary:hover { color: var(--green); }
details > div { padding: 0 24px 24px 18px; color: var(--muted); }
.site-footer { padding-block: 38px 24px; }
.footer-main, .footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-main { align-items: center; }
.footer-main .brand { font-size: 1rem; }
.footer-main .brand img { width: 36px; height: 36px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: .875rem; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--green); }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.policy-wrap { max-width: 800px; margin-inline: auto; padding-block: 64px 80px; }
.policy-wrap h1 { font-family: inherit; font-size: clamp(1.65rem, 4vw, 2.3rem); line-height: 1.65; letter-spacing: -.025em; }
.policy-wrap h2 { font-family: inherit; font-size: 1.25rem; font-weight: 700; letter-spacing: 0; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.policy-wrap p { margin-top: 20px; }
.policy-wrap .eyebrow { margin: 0 0 16px; }
.policy-wrap .policy-entry { padding: 16px 20px; background: var(--soft); border-radius: 4px; }
.policy-wrap a { color: var(--green); }
@media (max-width: 1050px) {
  .record-layout, .privacy-layout { gap: 36px; }
  .record-layout { grid-template-columns: 1fr 1.1fr; }
  .entry-example { padding: 23px; }
  .feature-grid { column-gap: 28px; }
  .evidence-row { grid-template-columns: 1fr 60px 60px; gap: 8px; }
  .start-steps { gap: 24px; }
}
@media (max-width: 760px) {
  .section { padding-block: 58px; }
  .section-heading { margin-bottom: 30px; }
  .benefits { grid-template-columns: 1fr; padding-block: 9px; }
  .benefits p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; text-align: left; padding: 13px 0; }
  .benefits p + p { border-left: 0; border-top: 1px solid var(--line); }
  .record-layout, .heading-split, .privacy-layout, .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .receipt-input { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; padding: 24px; }
  .entry-example { padding: 24px; }
  .evidence-row { grid-template-columns: 1fr 76px 76px; gap: 12px; }
  .heading-split > p:last-child { margin-top: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .feature-item p { font-size: .9375rem; }
  .csv-note { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; padding: 23px; }
  .privacy-layout { gap: 36px; }
  .start-steps { grid-template-columns: 1fr; gap: 26px; margin-top: 36px; }
  .start-steps p { font-size: 1rem; }
  .support-layout { grid-template-columns: 1fr; gap: 26px; padding-block: 40px; }
  .footer-main, .footer-bottom { gap: 20px; }
  .footer-links { gap: 12px 24px; }
  .policy-wrap { padding-block: 40px 56px; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item p { font-size: 1rem; }
  .entry-example { padding: 20px; }
  .ledger-side:first-child { padding-right: 12px; }
  .ledger-side:last-child { padding-left: 12px; }
  .evidence-row { grid-template-columns: 1fr 60px 60px; gap: 10px; }
  .balanced-total { gap: 5px; font-size: .8125rem; }
  .hero-note { font-size: .75rem; }
  .download-intro br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
