:root {
  color-scheme: light;
  --canvas: #fffbf2;
  --paper: #ffffff;
  --green: #486b56;
  --ink: #26332c;
  --muted: #5d6c62;
  --line: #d9e1d8;
  --apricot: #f6a773;
  --peach: #fad7b5;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--green); }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 16px; padding: 12px 18px; background: var(--ink); color: white; z-index: 10; }
.skip-link:focus { top: 12px; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(255, 251, 242, .96); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.brand span { font-size: 1.26rem; font-weight: 720; letter-spacing: -.03em; }
.brand small { font-size: .82rem; color: var(--muted); padding-left: 8px; border-left: 1px solid var(--line); }
nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 30px); flex-wrap: wrap; }
nav a { font-size: .9rem; text-decoration: none; color: var(--muted); }
nav a[aria-current] { color: var(--ink); font-weight: 700; }
nav .language { color: var(--green); font-weight: 700; border: 1px solid #bdd1c1; border-radius: 999px; padding: 8px 12px; }

.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 6vw, 88px); align-items: center; padding-block: clamp(62px, 9vw, 124px); }
.eyebrow { margin: 0 0 22px; color: var(--green); font-size: .88rem; font-weight: 720; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.052em; }
.hero h1 { font-size: clamp(3.2rem, 6.6vw, 6rem); line-height: 1.13; font-weight: 740; margin-bottom: 28px; }
.lead { max-width: 600px; color: #47574c; font-size: clamp(1.08rem, 1.7vw, 1.25rem); line-height: 1.85; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.status { display: inline-flex; align-items: center; padding: 13px 18px; background: #e4eee3; color: #375640; border-radius: 999px; font-size: .92rem; font-weight: 700; }
.hero-actions a { color: var(--green); font-weight: 700; }
.hero-art { position: relative; }
.art-frame { position: relative; aspect-ratio: 1 / 1.06; display: flex; align-items: center; justify-content: center; border-radius: 48% 48% 30% 30%; background: radial-gradient(circle at 46% 28%, #fff8ec 0, #f8ead9 60%, #f3ddc4 100%); border: 1px solid #f2e4d4; }
.art-frame::after { content: ''; position: absolute; inset: auto 13% 9% 13%; height: 1px; background: #dcbfa9; }
.art-frame img { width: 67%; border-radius: 32%; mix-blend-mode: multiply; }
.art-caption { position: absolute; bottom: -19px; right: -12px; min-width: 212px; display: grid; gap: 5px; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 32px rgba(36, 61, 42, .07); }
.art-caption span { color: var(--muted); font-size: .82rem; }
.art-caption strong { font-size: 1rem; letter-spacing: .05em; }

.features { padding-block: clamp(70px, 10vw, 126px); border-top: 1px solid var(--line); }
.section-heading { max-width: 650px; }
.section-heading h2, .about h2, .note-grid h2 { font-size: clamp(2.3rem, 4.5vw, 4.2rem); line-height: 1.18; margin-bottom: 18px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.12rem; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.feature { min-height: 250px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: 20px; }
.feature-number { color: #a26042; font-size: .85rem; font-weight: 720; }
.feature h3 { margin: 54px 0 13px; font-size: 1.4rem; letter-spacing: -.03em; }
.feature p { color: var(--muted); line-height: 1.75; font-size: .98rem; margin-bottom: 0; }

.app-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(45px, 9vw, 130px); align-items: center; padding-block: 0 clamp(80px, 11vw, 140px); }
.preview-copy h2 { font-size: clamp(2.3rem, 4.5vw, 4.2rem); line-height: 1.18; margin-bottom: 20px; }
.preview-copy > p:last-child { max-width: 480px; font-size: 1.08rem; line-height: 1.85; color: var(--muted); }
.preview-image { max-width: 390px; justify-self: center; padding: 11px; background: #28372e; border-radius: 48px; box-shadow: 0 28px 65px rgba(38, 51, 44, .16); transform: rotate(3deg); }
.preview-image img { width: 100%; border-radius: 38px; }

.note-section { background: var(--green); color: #fffdf8; }
.note-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 65px; align-items: center; padding-block: clamp(64px, 8vw, 106px); }
.note-grid h2 { max-width: 420px; margin-bottom: 0; }
.note-grid p { font-size: 1.08rem; line-height: 1.9; margin: 0; color: #f0f5ee; }
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 65px; align-items: center; padding-block: clamp(70px, 9vw, 120px); }
.about h2 { margin: 0; }
.about > p { max-width: 640px; color: var(--muted); font-size: 1.08rem; line-height: 1.85; margin: 0; }

.legal { padding-block: clamp(54px, 8vw, 100px) 120px; }
.legal-heading { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.legal-heading h1 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.12; margin-bottom: 22px; }
.legal-heading > p { color: var(--muted); font-size: 1.04rem; line-height: 1.7; }
.legal-heading .legal-date { font-size: .86rem; margin-bottom: 0; }
.legal-body { max-width: 780px; padding-top: 50px; }
.legal-body section { margin-bottom: 46px; }
.legal-body h2 { font-size: 1.5rem; line-height: 1.35; margin-bottom: 12px; letter-spacing: -.02em; }
.legal-body p { color: #46564b; font-size: 1rem; line-height: 1.9; }
.legal-body a { color: var(--green); }

.site-footer { border-top: 1px solid var(--line); background: #f5f0e6; }
.footer-inner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-inner > div { display: grid; gap: 8px; }
.footer-inner strong { font-size: 1.18rem; }
.footer-inner span, .footer-inner a { color: var(--muted); font-size: .9rem; }

@media (max-width: 840px) {
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; gap: 16px; }
  nav { width: 100%; justify-content: space-between; gap: 12px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 64px 82px; }
  .hero-art { width: min(540px, calc(100% - 18px)); margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature { min-height: 0; }
  .feature h3 { margin-top: 30px; }
  .app-preview, .note-grid, .about { grid-template-columns: 1fr; gap: 20px; }
  .app-preview { padding-top: 6px; gap: 36px; }
  .preview-image { width: min(88%, 370px); }
}

@media (max-width: 520px) {
  .container { width: min(100% - 32px, 1160px); }
  .brand small { display: none; }
  nav a { font-size: .78rem; }
  nav .language { padding: 6px 9px; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.1rem); }
  .art-caption { bottom: -25px; right: -5px; min-width: 188px; padding: 15px 18px; }
  .footer-inner { padding-block: 34px; align-items: flex-start; flex-direction: column; }
}

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