:root {
  color-scheme: light;
  --paper: #fff9f4;
  --paper-strong: #fff3e8;
  --ink: #312823;
  --muted: #756963;
  --line: rgba(88, 62, 48, 0.13);
  --warm: #a66d31;
  --warm-dark: #75471f;
  --green: #61785f;
  --white: #fff;
  --shadow: 0 24px 70px rgba(84, 53, 32, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "PingFang TC", "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 72% 8%, rgba(240, 179, 112, 0.18), transparent 28rem), var(--paper); line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; border-radius: 999px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 1rem; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(255, 249, 244, .9); backdrop-filter: blur(18px); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 13px; box-shadow: 0 8px 20px rgba(99, 62, 34, .12); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.15rem; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: .74rem; }
.nav-cluster, .site-nav, .language-switcher { display: flex; align-items: center; gap: 18px; }
.site-nav a, .language-switcher a { color: var(--muted); font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible, .language-switcher a:hover, .language-switcher a:focus-visible { color: var(--warm-dark); }
.language-switcher { gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.62); }
.language-switcher a { min-width: 36px; padding: 5px 8px; border-radius: 999px; font-size: .78rem; text-align: center; }
.language-switcher a[aria-current="page"] { color: var(--white); background: var(--ink); }
.store-link, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--white) !important; font-weight: 750; text-decoration: none; }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.7); color: var(--ink) !important; }
.hero { min-height: 660px; padding-block: 90px 72px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, .85fr); align-items: center; gap: clamp(48px, 8vw, 110px); }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--warm); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(3rem, 4.2vw, 4rem); line-height: 1.05; letter-spacing: -.05em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.12; letter-spacing: -.04em; }
h3 { margin-bottom: 8px; font-size: 1.25rem; line-height: 1.25; }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; color: var(--muted); list-style: none; }
.trust-list li::before { content: "•"; margin-right: 8px; color: var(--green); }
.hero-card { position: relative; min-height: 520px; padding: 30px; overflow: hidden; border: 1px solid rgba(154, 104, 58, .16); border-radius: 44px; background: linear-gradient(145deg, #f4d9bd, #fff7ee 48%, #ead0b8); box-shadow: var(--shadow); }
.hero-card::after { content: ""; position: absolute; inset: auto -18% -28% 14%; height: 70%; border-radius: 50%; background: rgba(255,255,255,.78); transform: rotate(-8deg); }
.hero-card img { position: absolute; z-index: 1; width: 58%; max-height: 92%; object-fit: cover; object-position: top; border: 8px solid rgba(255,255,255,.8); border-radius: 34px; box-shadow: 0 24px 60px rgba(69, 40, 21, .18); }
.hero-card img:first-child { left: 6%; bottom: -14%; transform: rotate(-6deg); }
.hero-card img:last-child { right: 3%; top: 7%; transform: rotate(5deg); }
.section { padding-block: 90px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); gap: 50px; align-items: end; margin-bottom: 42px; }
.section-heading p:last-child { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-grid, .topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .trust-card, .topic-card { padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.7); }
.feature-card p, .trust-card p, .topic-card p { margin-bottom: 0; color: var(--muted); }
.feature-number { display: block; margin-bottom: 50px; color: var(--warm); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.warm-band { background: #2f2824; color: #fff9f4; }
.warm-band .section-heading p, .warm-band .feature-card p { color: #d6cbc3; }
.warm-band .feature-card { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.05); }
.screen-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.screen-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,.72); box-shadow: var(--shadow); }
.screen-card img { width: 100%; height: auto; }
.screen-card figcaption { padding: 20px 22px 24px; color: var(--muted); }
.screen-card strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 1.05rem; }
.privacy-panel { padding: clamp(32px, 6vw, 72px); border: 1px solid rgba(99,120,95,.25); border-radius: 40px; background: linear-gradient(135deg, #f0f2e9, #fffaf5); }
.privacy-panel .trust-grid { margin-top: 36px; }
.download-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 46px; border-radius: 36px; background: var(--paper-strong); border: 1px solid var(--line); }
.download-card > img { width: 96px; height: 96px; border-radius: 24px; box-shadow: var(--shadow); }
.download-card h2 { margin-bottom: 8px; }
.download-card p { margin-bottom: 0; color: var(--muted); }
.page-hero { padding-block: 88px 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr); align-items: end; gap: 64px; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.page-summary { padding: 28px; border-radius: 26px; background: var(--paper-strong); border: 1px solid var(--line); }
.page-summary img { width: 64px; height: 64px; margin-bottom: 24px; border-radius: 16px; }
.page-summary strong { display: block; font-size: 1.25rem; line-height: 1.3; }
.document-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: space-between; gap: 60px; padding-block: 36px 100px; }
.toc { position: sticky; top: 110px; align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.62); }
.toc strong { display: block; margin-bottom: 10px; }
.toc ul { margin: 0; padding-left: 18px; }
.toc a { color: var(--muted); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.document section { padding-block: 24px; border-bottom: 1px solid var(--line); }
.document section:first-child { padding-top: 0; }
.document h2 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); letter-spacing: -.025em; }
.document p, .document li { color: #564b45; }
.document a { color: var(--warm-dark); }
.notice { margin-top: 20px; padding: 22px; border-left: 4px solid var(--warm); border-radius: 0 18px 18px 0; background: var(--paper-strong); }
.notice p { margin-bottom: 0; }
.faq { padding-block: 24px; border-bottom: 1px solid var(--line); }
.faq h2 { font-size: 1.45rem; }
.faq p { margin-bottom: 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); }
.footer-shell { min-height: 160px; padding-block: 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: var(--muted); font-weight: 650; text-decoration: none; }
.copyright { margin: 0; color: var(--muted); font-size: .84rem; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero, .page-hero, .section-heading, .document-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .hero-card { min-height: 480px; }
  .feature-grid, .trust-grid, .topic-grid, .screen-grid { grid-template-columns: 1fr 1fr; }
  .toc { position: static; }
  .download-card { grid-template-columns: auto 1fr; }
  .download-card .button { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav-shell { min-height: 70px; }
  .brand small { display: none; }
  .nav-cluster { gap: 8px; }
  .store-link { display: none; }
  .hero { min-height: auto; padding-block: 50px; }
  h1 { font-size: clamp(2.35rem, 9.8vw, 3rem); }
  .hero-card { min-height: 390px; border-radius: 30px; }
  .hero-card img { border-width: 5px; border-radius: 24px; }
  .feature-grid, .trust-grid, .topic-grid, .screen-grid { grid-template-columns: 1fr; }
  .section { padding-block: 64px; }
  .download-card { grid-template-columns: 1fr; padding: 30px; }
  .footer-shell { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
