:root {
  --cream: #fff8dc;
  --cream-2: #f8edc5;
  --paper: #fffdf2;
  --green: #245f3d;
  --green-2: #3f7a4d;
  --green-3: #8aad59;
  --ink: #173a2b;
  --gold: #f3b33f;
  --gold-2: #ffcf70;
  --coral: #e96f5f;
  --brown: #8c5a32;
  --line: rgba(36, 95, 61, .19);
  --shadow: 0 18px 45px rgba(45, 65, 35, .13);
  --radius: 28px;
  --pixel: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 207, 112, .34), transparent 28rem),
    radial-gradient(circle at 93% 18%, rgba(138, 173, 89, .18), transparent 26rem),
    var(--cream);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: radial-gradient(rgba(36, 95, 61, .22) .7px, transparent .7px);
  background-size: 9px 9px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  z-index: -1;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 18px;
  top: -60px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  text-decoration: none;
}
.skip-link:focus { top: 18px; }

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(36, 95, 61, .12);
  background: rgba(255, 248, 220, .9);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--pixel);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.5px;
  text-decoration: none;
}
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 5px 0 rgba(36, 95, 61, .14); }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links > a { color: var(--green); font-size: 14px; font-weight: 800; text-decoration: none; }
.nav-links > a:hover { color: var(--coral); }
.nav-links > a.button { color: white; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 2px solid var(--green);
  border-radius: 999px;
  background: var(--paper);
  padding: 5px;
}
.lang-switch button {
  min-width: 38px;
  border: 0;
  border-radius: 999px;
  padding: 7px 9px;
  color: var(--green);
  background: transparent;
  font-family: var(--pixel);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.lang-switch button.active { background: var(--green); color: white; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 19px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  color: white;
  background: var(--green);
  box-shadow: 0 6px 0 var(--ink);
  font-weight: 900;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); background: var(--green-2); }
.button.secondary { color: var(--ink); background: var(--gold-2); }
.button.ghost { color: var(--green); background: transparent; box-shadow: none; border-color: var(--green); }
.button.small { min-height: 42px; padding: 9px 14px; border-radius: 12px; font-size: 13px; box-shadow: 0 4px 0 var(--ink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--green);
  font-family: var(--pixel);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--gold); box-shadow: 4px 4px 0 var(--coral); }

.hero { padding: 76px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 72px; }
.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -.06em;
}
.hero h1 span { color: var(--coral); white-space: nowrap; }
.hero .lead { max-width: 620px; margin: 26px 0 0; color: #416451; font-size: clamp(18px, 2vw, 23px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.microcopy { margin: 19px 0 0; color: #66806f; font-size: 13px; font-weight: 700; }

.hero-art { position: relative; min-height: 650px; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 5% 0 8% 4%;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-2), #f8df9a 45%, #d9e7ad);
  filter: drop-shadow(0 28px 34px rgba(76, 83, 34, .18));
}
.app-icon {
  position: absolute;
  top: 4%; right: 0;
  width: 142px;
  border: 7px solid var(--paper);
  border-radius: 32px;
  box-shadow: var(--shadow);
  transform: rotate(4deg);
  z-index: 3;
}
.phone-shot {
  position: absolute;
  width: 47%;
  border: 8px solid #132e23;
  border-radius: 34px;
  background: #132e23;
  box-shadow: 0 28px 55px rgba(25, 49, 34, .24);
  overflow: hidden;
}
.phone-shot img { width: 100%; border-radius: 26px; }
.phone-shot.main { left: 13%; top: 1%; transform: rotate(-4deg); z-index: 2; }
.phone-shot.back { right: 4%; top: 19%; transform: rotate(5deg); z-index: 1; }
.pixel-note {
  position: absolute;
  right: 3%; bottom: 3%; z-index: 4;
  max-width: 240px;
  padding: 16px 18px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--green);
  font-family: var(--pixel);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.55;
}

.stats { margin-top: -28px; position: relative; z-index: 5; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 242, .93);
  box-shadow: var(--shadow);
}
.stat { padding: 22px 24px; border-right: 1px dashed var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; margin-bottom: 3px; color: var(--green); font-family: var(--pixel); font-size: 18px; }
.stat span { color: #678071; font-size: 13px; font-weight: 700; }

.section { padding: 104px 0; }
.section.soft { background: rgba(255, 253, 242, .74); border-block: 1px solid var(--line); }
.section.dark { color: #f9f5d8; background: var(--ink); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section h2, .page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.1;
  letter-spacing: -.045em;
}
.section.dark h2, .section.dark .eyebrow { color: #fff7d2; }
.section-head > p { margin: 18px 0 0; color: #607868; font-size: 18px; }
.section.dark .section-head > p { color: #c9d6c1; }

.loop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.loop-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 29px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.loop-card::after { content: attr(data-step); position: absolute; right: 18px; bottom: -15px; color: rgba(36, 95, 61, .07); font-family: var(--pixel); font-size: 88px; font-weight: 900; }
.loop-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 38px; border: 3px solid var(--ink); border-radius: 16px; background: var(--gold-2); box-shadow: 5px 5px 0 var(--green); font-size: 26px; }
.loop-card:nth-child(2) .loop-icon { background: #f5a996; }
.loop-card:nth-child(3) .loop-icon { background: #b9d882; }
.loop-card h3, .feature-copy h3, .theme-card h3, .doc-card h2 { margin: 0 0 11px; color: var(--ink); font-size: 23px; }
.loop-card p, .feature-copy p, .theme-card p { margin: 0; color: #5d7767; }

.feature-row { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 78px; margin-top: 86px; }
.feature-row.reverse { grid-template-columns: 1.1fr .9fr; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-visual { position: relative; min-height: 600px; display: grid; place-items: center; }
.feature-visual::before { content: ""; position: absolute; inset: 7% 4%; border-radius: 42px; background: #e6efc8; transform: rotate(-3deg); }
.feature-row.reverse .feature-visual::before { background: #f8dba0; transform: rotate(3deg); }
.feature-visual img { position: relative; z-index: 1; width: min(380px, 83%); border: 8px solid var(--ink); border-radius: 34px; box-shadow: 0 26px 44px rgba(36, 60, 39, .22); }
.feature-copy .number { display: block; margin-bottom: 10px; color: var(--coral); font-family: var(--pixel); font-size: 14px; font-weight: 900; }
.feature-copy h3 { font-size: clamp(32px, 4vw, 50px); line-height: 1.12; letter-spacing: -.04em; }
.feature-copy p { font-size: 18px; }
.check-list { list-style: none; margin: 25px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); font-weight: 800; }
.check-list li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 23px; height: 23px; margin-top: 1px; border-radius: 7px; color: white; background: var(--green); font-size: 13px; }

.theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.theme-card { min-height: 250px; padding: 24px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; background: rgba(255, 255, 255, .07); }
.theme-card h3 { color: #fff7d2; font-size: 20px; }
.theme-card p { color: #c9d6c1; font-size: 14px; }
.theme-swatch { height: 98px; margin-bottom: 20px; border: 3px solid #f9f5d8; border-radius: 15px; background: linear-gradient(135deg, #f7d4a7, #8eb875); box-shadow: 5px 5px 0 #0b2519; }
.theme-card:nth-child(2) .theme-swatch { background: linear-gradient(135deg, #2d3157, #7c79a8, #e1ca8e); }
.theme-card:nth-child(3) .theme-swatch { background: linear-gradient(135deg, #33564d, #7d9b87, #c7a36a); }
.theme-card:nth-child(4) .theme-swatch { background: linear-gradient(135deg, #f2a8b5, #f4dec1, #91b879); }
.theme-card:nth-child(5) .theme-swatch { background: linear-gradient(135deg, #88c9d4, #f0d395, #db9d77); }
.theme-card:nth-child(6) .theme-swatch { background: linear-gradient(135deg, #121b43, #374b83, #e3bb67); }
.theme-card:nth-child(7) .theme-swatch { background: linear-gradient(135deg, #b5d6df, #eef1df, #9f7e65); }
.theme-card:nth-child(8) .theme-swatch { background: linear-gradient(135deg, #8aad59, #f3b33f, #e96f5f); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; overflow: hidden; border: 2px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 1284 / 1980; object-fit: cover; object-position: top; }
.gallery figcaption { padding: 17px 18px 20px; color: var(--green); font-weight: 900; }

.privacy-strip { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: center; padding: 55px; border: 2px solid var(--line); border-radius: 36px; background: var(--paper); box-shadow: var(--shadow); }
.privacy-badge { display: grid; place-items: center; aspect-ratio: 1; max-width: 290px; margin-inline: auto; border: 5px solid var(--ink); border-radius: 40%; color: white; background: var(--green); box-shadow: 10px 10px 0 var(--gold); font-size: 92px; }

.cta { padding: 90px 0; text-align: center; }
.cta-box { padding: 64px 32px; border: 3px solid var(--ink); border-radius: 34px; background: linear-gradient(145deg, var(--gold-2), #f8e3a3 55%, #dce9b5); box-shadow: 10px 10px 0 var(--green); }
.cta-box h2 { margin: 0; color: var(--ink); font-size: clamp(36px, 5vw, 64px); letter-spacing: -.05em; }
.cta-box p { max-width: 650px; margin: 18px auto 28px; color: #49614f; font-size: 18px; }
.cta-box .hero-actions { justify-content: center; }

.site-footer { padding: 48px 0; border-top: 1px solid var(--line); background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
.footer-brand p { max-width: 560px; margin: 13px 0 0; color: #688071; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: var(--green); font-size: 14px; font-weight: 800; text-decoration: none; }
.copyright { margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--line); color: #789080; font-size: 12px; }

.page-hero { padding: 72px 0 48px; text-align: center; }
.page-hero p { max-width: 700px; margin: 18px auto 0; color: #607868; font-size: 18px; }
.doc { padding: 0 0 100px; }
.doc-card { padding: clamp(25px, 5vw, 58px); border: 2px solid var(--line); border-radius: 30px; background: var(--paper); box-shadow: var(--shadow); }
.doc-card section { padding: 31px 0; border-bottom: 1px dashed var(--line); }
.doc-card section:first-child { padding-top: 0; }
.doc-card section:last-child { padding-bottom: 0; border-bottom: 0; }
.doc-card h2 { font-size: 25px; }
.doc-card h3 { margin: 22px 0 7px; font-size: 18px; }
.doc-card p, .doc-card li { color: #4e6a59; }
.doc-card ul, .doc-card ol { padding-left: 21px; }
.doc-card li { margin: 8px 0; }
.doc-card a { color: var(--green); font-weight: 800; }
.callout { margin: 20px 0; padding: 19px 21px; border-left: 6px solid var(--gold); border-radius: 13px; background: var(--cream); color: var(--ink); }
.callout.green { border-left-color: var(--green); background: #eef5d8; }
.faq-list { display: grid; gap: 14px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: var(--cream); }
.faq-list summary { padding: 18px 20px; color: var(--ink); font-weight: 900; cursor: pointer; }
.faq-list details > div { padding: 0 20px 18px; color: #4e6a59; }
.contact-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 24px; border-radius: 20px; background: var(--green); color: white; }
.contact-card h3, .contact-card p { margin: 0; color: white; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 980px) {
  .nav-links > a:not(.button) { display: none; }
  .hero-grid, .feature-row, .feature-row.reverse, .privacy-strip { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
  .hero-art { min-height: 610px; }
  .feature-row.reverse .feature-visual { order: initial; }
  .loop-grid { grid-template-columns: 1fr; }
  .loop-card { min-height: 230px; }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .feature-row { gap: 25px; margin-top: 64px; }
}

@media (max-width: 680px) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wrap, .narrow { width: min(100% - 26px, 1160px); }
  .nav-inner { min-height: 64px; gap: 8px; }
  .brand { font-size: 12px; }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .nav-links { gap: 7px; }
  .nav-links .button { display: none; }
  .lang-switch button { min-width: 33px; padding: 6px; font-size: 10px; }
  .hero { padding: 48px 0 58px; }
  .hero-grid { gap: 32px; }
  .hero h1 { font-size: 48px; }
  .hero-art { min-height: 490px; }
  .phone-shot { width: 52%; border-width: 5px; border-radius: 24px; }
  .phone-shot img { border-radius: 19px; }
  .phone-shot.main { left: 3%; }
  .phone-shot.back { right: 1%; }
  .app-icon { width: 92px; border-width: 4px; border-radius: 22px; }
  .pixel-note { right: 2%; bottom: 0; max-width: 190px; padding: 12px; font-size: 10px; }
  .stats { margin-top: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px dashed var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 32px; }
  .feature-visual { min-height: 510px; }
  .theme-grid, .gallery { grid-template-columns: 1fr; }
  .gallery img { aspect-ratio: 1284 / 1900; }
  .privacy-strip { padding: 29px 22px; gap: 35px; }
  .privacy-badge { max-width: 190px; font-size: 65px; }
  .cta { padding: 68px 0; }
  .cta-box { padding: 45px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .page-hero { padding-top: 50px; }
  .doc-card { border-radius: 22px; }
  .contact-card { grid-template-columns: 1fr; }
}
