:root {
  color-scheme: light;
  --paper: #f8fbf6;
  --paper-strong: #ffffff;
  --ink: #18201a;
  --muted: #5f6d62;
  --line: #d9e4dc;
  --leaf: #2f7d5c;
  --leaf-dark: #1f5842;
  --sun: #e2bd42;
  --coral: #db6549;
  --aqua: #5dbfc0;
  --shadow: 0 24px 80px rgba(24, 32, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(24, 32, 26, 0.04) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(180deg, rgba(24, 32, 26, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.hero-facts,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(24, 32, 26, 0.15);
  border-radius: 8px;
  background: var(--sun);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 18px;
}

.nav-links {
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(24, 32, 26, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.language-link {
  border-left: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 52px 0 92px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Noto Serif SC", "SimSun", serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 84px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 54px);
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
}

.button.primary {
  background: var(--leaf);
  color: #fff;
  box-shadow: 5px 5px 0 var(--ink);
}

.button.secondary {
  background: var(--paper-strong);
  color: var(--ink);
}

.hero-facts {
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.hero-facts div {
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.hero-facts dt {
  font-weight: 900;
}

.hero-facts dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 660px;
}

.hero-visual::before {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border: 1px solid rgba(24, 32, 26, 0.12);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(93, 191, 192, 0.34), transparent 50%),
    linear-gradient(315deg, rgba(219, 101, 73, 0.28), transparent 52%),
    rgba(255, 255, 255, 0.55);
  content: "";
}

.phone-shell {
  position: relative;
  z-index: 1;
  width: min(320px, 74vw);
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: #151b17;
  box-shadow: var(--shadow);
}

.phone-shell img {
  border-radius: 24px;
}

.note-tile {
  position: absolute;
  z-index: 2;
  width: 178px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 32, 26, 0.16);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 8px 8px 0 rgba(24, 32, 26, 0.16);
}

.note-tile span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.note-tile strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.tile-morning {
  top: 17%;
  right: 3%;
  border-top: 6px solid var(--aqua);
}

.tile-evening {
  bottom: 18%;
  left: 0;
  border-top: 6px solid var(--coral);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.intro-band,
.closing-band,
.split-section {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.intro-band {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
}

.intro-band p {
  max-width: 860px;
  margin-bottom: 0;
  font-family: "Noto Serif SC", "SimSun", serif;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.28;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 268px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.feature-number {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--coral);
  font-weight: 900;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 44px;
  align-items: center;
}

.command-list {
  display: grid;
  gap: 12px;
}

.command-list p {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(24, 32, 26, 0.13);
  border-left: 8px solid var(--sun);
  border-radius: 8px;
  background: var(--paper-strong);
  font-size: 20px;
  font-weight: 700;
}

.command-list p:nth-child(2) {
  border-left-color: var(--aqua);
}

.command-list p:nth-child(3) {
  border-left-color: var(--coral);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

figure {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 18px 50px rgba(24, 32, 26, 0.08);
}

figure img {
  width: 100%;
  border-radius: 6px;
}

figcaption {
  padding: 14px 4px 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.closing-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 40px;
  align-items: end;
}

.closing-band p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.policy-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 88px;
}

.policy-document {
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 70px rgba(24, 32, 26, 0.1);
}

.policy-document h1 {
  margin-bottom: 12px;
  font-size: clamp(38px, 6vw, 68px);
}

.policy-document h2 {
  margin: 42px 0 12px;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  line-height: 1.3;
}

.policy-document p,
.policy-document li {
  color: var(--muted);
  font-size: 17px;
}

.policy-document strong {
  color: var(--ink);
}

.policy-date {
  color: var(--leaf-dark);
  font-weight: 900;
}

.policy-document ul {
  padding-left: 1.2em;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 600px;
  }

  .feature-grid,
  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-band,
  .split-section,
  .closing-band,
  .section-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 28px, 1160px);
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    gap: 2px;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 13px;
  }

  .hero,
  .section,
  .site-footer,
  .policy-page {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-visual {
    min-height: 510px;
  }

  .phone-shell {
    width: min(270px, 72vw);
  }

  .note-tile {
    width: 148px;
    padding: 12px;
  }

  .tile-morning {
    right: -4px;
  }

  .tile-evening {
    left: -4px;
  }

  .feature-grid,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 28px;
  }

  .command-list p {
    font-size: 17px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
