:root {
  --bg: #f6f0e2;
  --bg-soft: #fff9ef;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-tint: rgba(255, 251, 242, 0.9);
  --text: #2e372f;
  --text-muted: #697267;
  --brand: #6e9e6a;
  --brand-deep: #4e744d;
  --brand-soft: #e9f6e6;
  --mint: #95e5c0;
  --warm: #f6ca4f;
  --line: rgba(110, 126, 105, 0.16);
  --line-strong: rgba(110, 126, 105, 0.24);
  --shadow: 0 24px 64px rgba(57, 54, 33, 0.14);
  --shadow-soft: 0 14px 34px rgba(57, 54, 33, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(149, 229, 192, 0.34), transparent 26%),
    radial-gradient(circle at 85% 0%, rgba(246, 202, 79, 0.26), transparent 22%),
    linear-gradient(180deg, #fcf8f0 0%, var(--bg) 100%);
  font-family:
    "Avenir Next",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

code {
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: rgba(110, 158, 106, 0.12);
  color: var(--brand-deep);
  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;
  font-size: 0.94em;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: linear-gradient(145deg, var(--brand), var(--mint));
  color: #fff;
  box-shadow: 0 12px 24px rgba(110, 158, 106, 0.25);
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    "Songti SC",
    serif;
  font-size: 1.34rem;
  font-weight: 700;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.06;
}

.brand-copy strong,
.hero h1,
.summary-card h2,
.section-heading h2,
.policy-card h3,
.notice-panel h2,
.mini-card strong {
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    "Songti SC",
    serif;
}

.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.brand-copy span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.topnav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topnav a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible,
.button:hover,
.button:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  transform: translateY(-1px);
}

.topnav a:hover,
.topnav a:focus-visible {
  border-color: rgba(110, 158, 106, 0.34);
  color: var(--brand-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.hero-panel,
.device-card,
.summary-card,
.notice-panel,
.policy-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 42px;
  background:
    radial-gradient(circle at 85% 15%, rgba(246, 202, 79, 0.2), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 243, 0.84)),
    var(--surface-strong);
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(149, 229, 192, 0.22), transparent 66%);
}

.eyebrow,
.summary-kicker,
.mini-label {
  margin: 0;
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 10px 0 0;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 0.96;
}

.hero-copy {
  max-width: 38rem;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 1.03rem;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-chip {
  padding: 9px 12px;
  border: 1px solid rgba(110, 158, 106, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-deep);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), #81b27d);
  color: #fff;
  box-shadow: 0 14px 30px rgba(110, 158, 106, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line);
  color: var(--brand-deep);
}

.device-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(255, 252, 245, 0.96), rgba(246, 250, 244, 0.92));
}

.device-card::before {
  content: "";
  position: absolute;
  inset: auto auto -44px -44px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 202, 79, 0.22), transparent 68%);
}

.device-frame {
  position: relative;
  width: min(100%, 330px);
  margin: 0 auto;
  padding: 14px;
  border-radius: 38px;
  background: #19211b;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 40px rgba(22, 25, 17, 0.28);
}

.device-screen {
  display: grid;
  gap: 12px;
  min-height: 520px;
  padding: 18px 16px 16px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(149, 229, 192, 0.24), transparent 28%),
    linear-gradient(180deg, #fbf7ee 0%, #f3ecdd 100%);
}

.device-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
}

.device-dot {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(25, 33, 27, 0.22);
}

.device-title {
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.mini-card {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(110, 126, 105, 0.14);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 22px rgba(57, 54, 33, 0.06);
}

.mini-card-accent {
  background:
    linear-gradient(135deg, rgba(233, 246, 230, 0.96), rgba(255, 252, 243, 0.92));
}

.mini-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.18rem;
  line-height: 1.18;
}

.mini-card p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 24px;
}

.summary-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.84);
}

.summary-card h2 {
  margin: 10px 0 8px;
  font-size: 1.3rem;
}

.summary-card p,
.summary-card a {
  margin: 0;
  color: var(--text-muted);
  text-decoration: none;
  word-break: break-word;
}

.notice-panel {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 34px;
  padding: 28px 30px;
  background:
    linear-gradient(135deg, rgba(255, 248, 224, 0.95), rgba(244, 250, 241, 0.92));
}

.notice-panel h2 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.02;
}

.notice-panel p {
  margin: 0;
  color: var(--text-muted);
}

.policy-locale {
  padding-top: 68px;
}

.section-alt {
  margin-top: 22px;
  padding: 28px;
  border-radius: 34px;
  background: rgba(255, 251, 244, 0.7);
  border: 1px solid rgba(110, 126, 105, 0.12);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.policy-stack {
  display: grid;
  gap: 18px;
}

.policy-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 251, 244, 0.86));
}

.policy-index {
  display: inline-grid;
  place-items: center;
  min-height: 72px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(110, 158, 106, 0.18), rgba(149, 229, 192, 0.22));
  color: var(--brand-deep);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.policy-body h3 {
  margin: 0;
  font-size: 1.5rem;
}

.policy-body p,
.policy-body li {
  color: var(--text-muted);
}

.policy-body p {
  margin: 12px 0 0;
}

.policy-body ul {
  margin: 12px 0 0;
  padding-left: 1.25rem;
}

.policy-body li + li {
  margin-top: 10px;
}

.link-list a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0 8px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.footer p {
  margin: 0;
}

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

.footer-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--brand-deep);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.hero-panel,
.device-card,
.summary-card,
.notice-panel,
.policy-card {
  animation: rise-in 520ms ease both;
}

.summary-card:nth-child(2),
.policy-card:nth-child(2) {
  animation-delay: 40ms;
}

.summary-card:nth-child(3),
.policy-card:nth-child(3) {
  animation-delay: 80ms;
}

.summary-card:nth-child(4),
.policy-card:nth-child(4) {
  animation-delay: 120ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .hero,
  .notice-panel,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .device-frame {
    width: min(100%, 360px);
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
  }

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

  .topbar {
    top: 8px;
    padding: 14px;
  }

  .topnav,
  .hero-actions {
    width: 100%;
  }

  .hero-panel,
  .device-card,
  .summary-card,
  .notice-panel,
  .policy-card,
  .section-alt {
    border-radius: 24px;
  }

  .hero-panel,
  .device-card,
  .notice-panel,
  .section-alt {
    padding: 22px;
  }

  .button {
    width: 100%;
  }

  .policy-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .policy-index {
    min-height: 56px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .device-screen {
    min-height: auto;
  }
}
