:root {
  color-scheme: light;
  --ink: #252522;
  --muted: #777772;
  --soft: #f5f5f1;
  --card: #fff;
  --green: #68c300;
  --green-soft: #dff3bf;
  --line: rgba(37, 37, 34, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }

.site-header, main, footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand-mark {
  width: 22px;
  height: 28px;
  display: inline-block;
  border-radius: 55% 55% 50% 50%;
  background: var(--green);
  transform: rotate(-8deg);
  position: relative;
}
.brand-mark::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 8px;
  border-radius: 100% 0;
  background: var(--green);
  left: 9px;
  top: -5px;
  transform: rotate(-20deg);
}
nav, footer div { display: flex; gap: 28px; }
nav a, footer a { font-size: 14px; color: var(--muted); }
nav a:hover, footer a:hover { color: var(--ink); }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0 110px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-family: ui-serif, "Songti SC", serif;
  font-size: clamp(54px, 8vw, 94px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  margin-bottom: 30px;
}
h1 span { color: var(--green); }
.hero-copy {
  max-width: 620px;
  font-size: 19px;
  color: var(--muted);
}
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 38px; }
.primary-button, .secondary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
}
.primary-button { color: #fff; background: var(--ink); }
.secondary-button { border: 1px solid var(--line); background: #fff; }
.status-pill {
  padding: 7px 13px;
  border-radius: 999px;
  color: #3f6d00;
  background: var(--green-soft);
  font-size: 13px;
  font-weight: 700;
}
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: var(--card);
  padding: 52px 34px 30px;
  box-shadow: 0 28px 80px rgba(37, 37, 34, 0.08);
}
.mascot {
  position: absolute;
  right: 25px;
  top: 24px;
  width: 46px;
  height: 56px;
  border-radius: 50% 50% 45% 45%;
  background: var(--green);
  transform: rotate(8deg);
}
.mascot::before, .mascot::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 5px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}
.mascot::before { left: 13px; }
.mascot::after { right: 13px; }
.mascot span {
  position: absolute;
  width: 27px;
  height: 14px;
  border-radius: 100% 0;
  background: var(--green);
  top: -9px;
  left: 21px;
  transform: rotate(-25deg);
}
.card-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--muted); }
.hero-card h2 { font-family: ui-serif, "Songti SC", serif; font-size: 35px; line-height: 1.25; }
.metric-row {
  display: flex;
  justify-content: space-between;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.metric-row span { color: var(--muted); }

.section { padding: 100px 0; }
.section > h2, .device-section h2, .privacy-callout h2 {
  font-family: ui-serif, "Songti SC", serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 54px;
}
.feature-grid article {
  min-height: 230px;
  padding: 30px;
  border-radius: 28px;
  background: var(--card);
}
.feature-grid article > span { color: var(--green); font-size: 12px; font-weight: 800; }
.feature-grid h3 { margin: 48px 0 10px; font-size: 21px; }
.feature-grid p { color: var(--muted); }

.device-section, .privacy-callout {
  margin: 80px 0;
  padding: 64px;
  border-radius: 36px;
}
.device-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  color: #fff;
  background: var(--ink);
}
.device-section p:last-child { align-self: end; color: rgba(255,255,255,0.68); font-size: 17px; }
.privacy-callout {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  background: var(--green-soft);
}
.privacy-callout h2 { max-width: 680px; }
.privacy-callout p:not(.eyebrow) { max-width: 680px; color: #54712b; }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 52px 0;
  border-top: 1px solid var(--line);
}
footer > p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }

.lang-switch {
  display: flex;
  gap: 16px;
  align-items: center;
}
.lang-switch a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.lang-switch a:hover,
.lang-switch a[aria-current="page"] {
  color: var(--ink);
}

.privacy-page { width: min(760px, calc(100% - 40px)); padding: 70px 0 120px; }
.privacy-page h1 { font-size: clamp(44px, 7vw, 68px); margin: 40px 0 18px; }
.privacy-meta { color: var(--muted); margin-bottom: 54px; }
.privacy-page section { margin: 46px 0; }
.privacy-page section h2 { font-family: ui-serif, "Songti SC", serif; font-size: 28px; }
.privacy-page h3 { margin-top: 30px; font-size: 18px; }
.privacy-page p, .privacy-page li { color: #54544f; }
.privacy-page li { margin: 8px 0; }
.policy-note { padding: 22px; border-radius: 18px; background: var(--green-soft); }

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 28px, 1120px); }
  nav { gap: 16px; }
  nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 54px 0 70px; }
  h1 { font-size: 52px; }
  .feature-grid, .device-section { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .device-section, .privacy-callout { margin: 48px 0; padding: 34px 24px; border-radius: 28px; }
  .privacy-callout { display: block; }
  .privacy-callout .secondary-button { margin-top: 18px; }
  footer { grid-template-columns: 1fr; }
  footer div { flex-wrap: wrap; }
  footer > p { grid-column: 1; }
}
