:root {
  color-scheme: light;
  --forest: #1f3a2d;
  --forest-deep: #14281f;
  --moss: #6f8660;
  --leaf: #a8bd83;
  --cream: #f7f2e3;
  --paper: #fffdf5;
  --clay: #c77f5c;
  --ink: #26342c;
  --muted: #6c786f;
  --line: rgba(31, 58, 45, 0.14);
  --shadow: 0 24px 70px rgba(28, 54, 42, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(168, 189, 131, 0.25), transparent 28rem),
    linear-gradient(180deg, #f9f5e9 0%, #edf1df 48%, #f8f4e8 100%);
  color: var(--ink);
  font-family: "Noto Sans SC", "Hiragino Sans GB", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.7;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, select:focus-visible { outline: 3px solid rgba(199, 127, 92, .55); outline-offset: 3px; }

.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(249, 245, 233, 0.82);
  border-bottom: 1px solid rgba(31, 58, 45, 0.08);
  backdrop-filter: blur(18px);
}

.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 760; letter-spacing: .04em; }
.brand img { width: 38px; height: 38px; border-radius: 12px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--forest); }
.language-select { max-width: 140px; padding: 8px 30px 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 253, 245, .9); color: var(--forest); font: inherit; cursor: pointer; }
.preserve-lines { white-space: pre-line; }

.hero { padding: 88px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-size: 13px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--moss); }
h1 { margin: 22px 0; max-width: 720px; color: var(--forest-deep); font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(44px, 6vw, 78px); font-weight: 600; line-height: 1.14; letter-spacing: -.035em; }
.hero-copy { max-width: 620px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.platform-note { margin-top: 28px; padding: 16px 18px; max-width: 600px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 253, 245, .65); color: var(--forest); font-size: 14px; }
.platform-note strong { font-weight: 760; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-row--center { justify-content: center; }
.store-badge { display: inline-flex; align-items: center; gap: 12px; min-width: 196px; min-height: 64px; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 15px; color: white; text-align: left; text-decoration: none; box-shadow: 0 12px 30px rgba(20, 34, 27, .18); transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.store-badge--apple { background: #111; }
.store-badge--google { background: var(--forest-deep); }
.store-badge:hover { color: white; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(20, 34, 27, .25); }
.store-badge--apple:hover { background: #252525; }
.store-badge--google:hover { background: #263d32; }
.store-badge:focus-visible { outline: 3px solid rgba(111, 134, 96, .5); outline-offset: 3px; }
.store-badge__icon { flex: 0 0 34px; width: 34px; height: 34px; fill: currentColor; }
.store-badge__copy { display: flex; min-width: 0; flex-direction: column; line-height: 1.05; }
.store-badge__copy small { font-size: 10px; font-weight: 500; letter-spacing: .02em; opacity: .78; }
.store-badge__copy strong { margin-top: 4px; font-size: 20px; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; }
.store-badge__icon--play .play-blue { fill: #48a9f8; }
.store-badge__icon--play .play-green { fill: #38d27d; }
.store-badge__icon--play .play-yellow { fill: #ffd14b; }
.store-badge__icon--play .play-red { fill: #ff5c5c; }

.phone-wrap { position: relative; min-height: 620px; display: grid; place-items: center; }
.phone-wrap::before { content: ""; position: absolute; inset: 9% -8% 4%; border-radius: 50%; background: rgba(111, 134, 96, .17); filter: blur(2px); }
.phone { position: relative; width: min(360px, 82vw); padding: 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 46px; background: #17251e; box-shadow: 0 36px 80px rgba(24, 48, 36, .27); transform: rotate(2.4deg); }
.phone::before { content: ""; position: absolute; z-index: 2; top: 20px; left: 50%; width: 92px; height: 25px; border-radius: 18px; background: #17251e; transform: translateX(-50%); }
.phone img { width: 100%; aspect-ratio: 9/18.4; border-radius: 35px; object-fit: cover; }
.footprints { position: absolute; right: -15px; bottom: 55px; color: rgba(31, 58, 45, .4); font-size: 36px; letter-spacing: 14px; transform: rotate(-25deg); }

.section { padding: 82px 0; }
.section-head { max-width: 700px; margin-bottom: 42px; }
.section h2, .legal h1 { margin: 12px 0 16px; color: var(--forest-deep); font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(34px, 5vw, 54px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.section-head p, .feature p, .scene-copy p { color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255, 253, 245, .7); box-shadow: 0 10px 36px rgba(31, 58, 45, .05); }
.feature .icon { font-size: 34px; }
.feature h3 { margin: 20px 0 8px; color: var(--forest); font-size: 20px; }
.compliance-callout { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 22px; padding: 24px 28px; border: 1px solid rgba(31, 58, 45, .18); border-radius: 24px; background: rgba(255, 253, 245, .82); }
.compliance-callout p { margin: 5px 0 0; max-width: 680px; color: var(--muted); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; border: 1px solid rgba(31, 58, 45, .2); border-radius: 12px; background: var(--forest); color: white !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
.button-link:hover { background: var(--forest-deep); }
.screenshot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.screenshot-grid figure { margin: 0; padding: 10px 10px 14px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 253, 245, .76); box-shadow: 0 12px 34px rgba(31, 58, 45, .08); }
.screenshot-grid img { width: 100%; border-radius: 16px; aspect-ratio: 1242 / 2688; object-fit: cover; background: #e8ebdd; }
.screenshot-grid figcaption { padding: 10px 4px 0; color: var(--muted); font-size: 13px; text-align: center; }

.scene { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(35px, 7vw, 90px); padding: 48px; border-radius: 36px; background: var(--forest-deep); color: white; box-shadow: var(--shadow); overflow: hidden; }
.scene-image { position: relative; }
.scene-image img { aspect-ratio: 4/3; width: 100%; border-radius: 24px; object-fit: cover; box-shadow: 0 25px 55px rgba(0,0,0,.25); }
.scene-copy h2 { margin: 12px 0 18px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(32px, 4vw, 50px); font-weight: 600; line-height: 1.2; }
.scene-copy p { color: rgba(255,255,255,.7); }
.scene-copy .eyebrow { color: #dce9c6; }

.principles { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(35px, 7vw, 90px); align-items: center; }
.principles img { aspect-ratio: 4/3; border-radius: 32px; object-fit: cover; box-shadow: var(--shadow); }
.check-list { margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; color: var(--moss); font-weight: 800; }

.cta { padding: 65px 40px; text-align: center; border-radius: 36px; background: rgba(255, 253, 245, .78); border: 1px solid var(--line); }
.cta h2 { margin-left: auto; margin-right: auto; max-width: 700px; }
.cta p { color: var(--muted); }

.site-footer { padding: 48px 0; color: var(--muted); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; }

.legal { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 110px; }
.legal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal .back { color: var(--moss); text-decoration: none; font-weight: 700; }
.legal .card { margin-top: 28px; padding: clamp(24px, 5vw, 54px); border: 1px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }
.legal h1 { font-size: clamp(36px, 6vw, 56px); }
.legal h2 { margin-top: 34px; color: var(--forest); font-size: 20px; }
.legal p, .legal li { color: #4f5d54; }
.legal .updated { color: var(--muted); font-size: 13px; }
.legal .button-row { margin: 20px 0; }

@media (max-width: 860px) {
  .nav-links a:not(.legal-link) { display: none; }
  .hero { padding-top: 54px; }
  .hero-grid, .scene, .principles { grid-template-columns: 1fr; }
  .phone-wrap { min-height: 570px; }
  .features { grid-template-columns: 1fr 1fr; }
  .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-callout { align-items: flex-start; flex-direction: column; }
  .scene { padding: 28px; }
}

@media (max-width: 580px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav { min-height: 64px; }
  .brand span { display: none; }
  h1 { font-size: 43px; }
  .hero { padding-bottom: 36px; }
  .store-row { display: grid; grid-template-columns: 1fr; }
  .store-badge { box-sizing: border-box; width: 100%; }
  .phone-wrap { min-height: 510px; }
  .features { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .screenshot-grid figure { padding: 7px 7px 10px; border-radius: 18px; }
  .screenshot-grid img { border-radius: 12px; }
  .section { padding: 58px 0; }
  .feature { min-height: auto; }
  .footer-row { flex-direction: column; }
  .cta { padding: 44px 22px; }
  .legal { width: min(100% - 28px, 760px); padding-top: 34px; }
  .legal-toolbar { align-items: flex-start; }
}
