:root {
  color-scheme: light;
  --paper: #faf9f6;
  --paper-deep: #f3eee4;
  --ink: #1d1d1a;
  --muted: #626963;
  --line: rgba(53, 49, 40, 0.12);
  --coral: #f27d70;
  --yellow: #f2bd53;
  --blue: #dcebf5;
  --sage: #dce8d6;
  --shadow: 0 24px 70px rgba(58, 50, 38, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(55, 51, 43, 0.075) 0.8px, transparent 0.9px);
  background-size: 24px 24px;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-150%); padding: 10px 14px; border-radius: 12px; background: var(--ink); color: white; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 20; padding: 14px 0; background: rgba(250, 249, 246, 0.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; }
.brand img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 7px 18px rgba(38, 34, 28, 0.14); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 650; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.language { min-height: 40px; padding: 0 34px 0 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: white; font: inherit; font-size: 14px; font-weight: 650; }
.menu-button { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 20px; }

.hero { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: 70px; min-height: 760px; padding: 86px 0 74px; }
.hero-copy { position: relative; z-index: 2; }
.app-icon { width: 112px; height: 112px; margin-bottom: 34px; border-radius: 27px; box-shadow: var(--shadow); }
.eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 14px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -0.045em; }
h1 { margin-bottom: 24px; font-size: clamp(54px, 7vw, 88px); text-wrap: balance; }
.hero-lead { max-width: 620px; margin: 0; color: var(--muted); font-size: clamp(21px, 2.5vw, 30px); line-height: 1.45; letter-spacing: -0.02em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 18px; background: var(--ink); color: white; font-weight: 750; text-decoration: none; box-shadow: 0 12px 30px rgba(29, 29, 26, 0.16); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,0.88); color: var(--ink); box-shadow: none; }
.hero-art { position: relative; min-height: 640px; }
.hero-shot { position: absolute; width: 45%; border-radius: 26px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.8); }
.hero-shot:nth-child(1) { left: 2%; top: 12%; transform: rotate(-5deg); }
.hero-shot:nth-child(2) { left: 30%; top: 0; z-index: 2; }
.hero-shot:nth-child(3) { right: 0; top: 16%; transform: rotate(5deg); }
.sticker-dot { position: absolute; border-radius: 50%; filter: blur(0.2px); }
.sticker-dot.one { width: 120px; height: 120px; left: 0; bottom: 2%; background: var(--yellow); opacity: 0.46; }
.sticker-dot.two { width: 150px; height: 150px; right: 2%; bottom: 4%; background: var(--blue); opacity: 0.65; }

.section { padding: 100px 0; }
.section-heading { max-width: 730px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 16px; font-size: clamp(40px, 5vw, 62px); }
.section-heading p { margin: 0; color: var(--muted); font-size: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.paper-card { position: relative; overflow: hidden; padding: 30px; border: 1px solid rgba(89, 78, 61, 0.1); border-radius: 30px; background: rgba(255,255,252,0.92); box-shadow: 0 18px 50px rgba(61, 51, 37, 0.08); }
.paper-card::after { position: absolute; width: 84px; height: 84px; right: -22px; bottom: -24px; border-radius: 50%; background: var(--card-accent, var(--blue)); opacity: 0.62; content: ""; }
.paper-card h3 { margin-bottom: 12px; font-size: 24px; }
.paper-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); }
.paper-card:nth-child(2n) { --card-accent: var(--sage); }
.paper-card:nth-child(3n) { --card-accent: #f8dfda; }

.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: center; }
.gallery img { border-radius: 22px; box-shadow: 0 18px 44px rgba(55, 48, 38, 0.12); }
.gallery img:nth-child(2n) { transform: translateY(28px); }
.privacy-band { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; padding: 54px; border-radius: 40px; background: #eaf1e7; box-shadow: var(--shadow); }
.privacy-band h2 { margin-bottom: 18px; font-size: clamp(38px, 4vw, 58px); }
.privacy-band p { color: #4d5a50; font-size: 19px; }
.privacy-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.privacy-list li { padding: 18px 20px; border: 1px solid rgba(50,70,55,0.1); border-radius: 20px; background: rgba(255,255,255,0.72); font-weight: 680; }
.cta { padding: 72px 30px; text-align: center; }
.cta h2 { margin-bottom: 16px; font-size: clamp(40px, 5vw, 62px); }
.cta p { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 20px; }

.legal-hero { padding: 96px 0 46px; }
.legal-hero h1 { max-width: 880px; margin-bottom: 20px; font-size: clamp(48px, 7vw, 76px); }
.legal-intro { max-width: 820px; color: var(--muted); font-size: 20px; }
.updated { display: inline-flex; margin-top: 20px; padding: 8px 13px; border-radius: 999px; background: var(--paper-deep); color: var(--muted); font-size: 14px; font-weight: 700; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 54px; align-items: start; padding: 24px 0 110px; }
.legal-toc { position: sticky; top: 100px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,0.82); }
.legal-toc a { display: block; padding: 7px 0; color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.legal-section { scroll-margin-top: 110px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.legal-section:first-child { padding-top: 0; }
.legal-section h2 { margin-bottom: 18px; font-size: 30px; }
.legal-section p { color: #454944; }
.legal-section li { margin-bottom: 9px; color: #454944; }
.inline-links { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-links a { font-weight: 750; text-underline-offset: 3px; }
.legal-callout { margin: 24px 0; padding: 22px 24px; border-left: 5px solid var(--coral); border-radius: 0 18px 18px 0; background: #fff8f5; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 20px 0 90px; }
.support-card { min-height: 220px; }
.support-card a { font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.site-footer { padding: 44px 0 58px; border-top: 1px solid var(--line); background: rgba(250,249,246,0.86); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.fine-print { color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 58px; }
  .hero-art { min-height: 560px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery img:nth-child(n+4) { display: none; }
  .privacy-band { grid-template-columns: 1fr; padding: 36px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1180px); }
  .menu-button { display: block; }
  .nav { position: absolute; top: calc(100% + 8px); left: 14px; right: 14px; display: none; align-items: stretch; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,252,0.98); box-shadow: var(--shadow); }
  .nav[data-open] { display: flex; }
  .nav a { padding: 10px 8px; }
  .language { width: 100%; }
  .hero { min-height: auto; }
  .hero-art { min-height: 430px; }
  .hero-shot { width: 51%; border-radius: 18px; }
  .hero-shot:nth-child(1) { left: 0; }
  .hero-shot:nth-child(2) { left: 25%; }
  .hero-shot:nth-child(3) { right: 0; }
  .section { padding: 70px 0; }
  .feature-grid, .support-grid { grid-template-columns: 1fr; }
  .gallery { gap: 9px; }
  .gallery img { border-radius: 14px; }
  .privacy-band { padding: 28px 22px; border-radius: 30px; }
  .legal-hero { padding-top: 62px; }
  .legal-toc { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
