:root {
  color-scheme: light;
  --ink: #24180f;
  --muted: #6f6257;
  --paper: #fff8ef;
  --paper-strong: #fffdf7;
  --line: rgba(64, 45, 28, 0.14);
  --amber: #f5a340;
  --amber-strong: #e16f34;
  --blue: #4c87a1;
  --shadow: 0 24px 70px rgba(75, 42, 18, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 163, 64, 0.22), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(76, 135, 161, 0.20), transparent 24rem),
    linear-gradient(135deg, #fff8ef 0%, #f7efe4 46%, #f9dcc0 100%);
}

a {
  color: inherit;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff8ef;
  background: linear-gradient(135deg, var(--ink), #7a4324);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(36, 24, 15, 0.20);
}

.nav {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.68);
}

.nav a {
  padding: 9px 13px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

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

main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 50px 0 72px;
}

.quiet {
  margin: 0 0 14px;
  color: var(--amber-strong);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.82;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
}

.button.primary {
  color: #fff8ef;
  background: linear-gradient(135deg, #2a1a10, #8a4727);
  box-shadow: 0 16px 34px rgba(80, 42, 20, 0.20);
}

.button.primary.dark {
  color: var(--ink);
  background: #fff8ef;
  box-shadow: none;
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 253, 247, 0.62);
}

.phone-card {
  width: min(100%, 390px);
  justify-self: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(36, 24, 15, 0.92), rgba(58, 35, 20, 0.88));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: rotate(2deg);
}

.phone-top,
.capture-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff8ef;
  font-size: 13px;
  font-weight: 800;
}

.phone-top span {
  width: 54px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.22);
}

.phone-top em {
  color: #ff755d;
  font-style: normal;
}

.preview-stack {
  overflow: hidden;
  margin: 18px 0;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.preview-pane {
  display: grid;
  min-height: 210px;
  place-items: center;
  color: rgba(255, 255, 255, 0.84);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.preview-pane.warm {
  background:
    linear-gradient(135deg, rgba(28, 20, 15, 0.14), rgba(28, 20, 15, 0.50)),
    radial-gradient(circle at 30% 35%, #ffcf76, transparent 10rem),
    linear-gradient(135deg, #a95d32, #2d5a62);
}

.preview-pane.cool {
  background:
    radial-gradient(circle at 66% 38%, rgba(255, 247, 230, 0.44), transparent 7rem),
    linear-gradient(135deg, #356f87, #1f2b3a);
}

.capture-row {
  padding: 0 16px 4px;
}

.capture-row button {
  width: 64px;
  height: 64px;
  border: 5px solid rgba(255, 248, 239, 0.72);
  border-radius: 999px;
  background: #fff8ef;
}

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

.feature-grid article,
.content-card,
.privacy-band {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 247, 0.72);
  box-shadow: 0 18px 52px rgba(87, 52, 22, 0.10);
}

.feature-grid article {
  padding: 28px;
}

.icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  place-items: center;
  color: #fff8ef;
  background: var(--ink);
  border-radius: 17px;
  font-weight: 900;
}

.feature-grid h2,
.content-card h2 {
  margin-bottom: 12px;
  font-size: 25px;
  letter-spacing: -0.055em;
}

.feature-grid p,
.content-card p,
.content-card li,
.privacy-band p {
  color: var(--muted);
  line-height: 1.85;
}

.privacy-band {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 70px;
  padding: 32px;
  color: #fff8ef;
  background:
    radial-gradient(circle at 18% 50%, rgba(245, 163, 64, 0.32), transparent 18rem),
    linear-gradient(135deg, #25170f, #764529);
}

.privacy-band h2 {
  margin-bottom: 8px;
  font-size: 34px;
  letter-spacing: -0.06em;
}

.privacy-band p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 248, 239, 0.72);
}

.page {
  padding: 58px 0 72px;
}

.page-hero {
  max-width: 820px;
  margin-bottom: 28px;
}

.page-hero h1 {
  margin-bottom: 18px;
}

.content-card {
  margin: 18px 0;
  padding: clamp(24px, 4vw, 42px);
}

.content-card h3 {
  margin: 26px 0 8px;
  font-size: 19px;
  letter-spacing: -0.035em;
}

.content-card ul {
  padding-left: 1.2em;
}

.content-card a {
  color: #935023;
  font-weight: 800;
}

.content-card.split {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.5fr);
  gap: 24px;
  align-items: center;
}

.contact-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff8ef;
}

.contact-box span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.english {
  background: rgba(255, 253, 247, 0.52);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
    padding: 34px 0 54px;
  }

  .phone-card {
    transform: none;
  }

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

  .privacy-band,
  .content-card.split {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(42px, 15vw, 64px);
  }
}

@media (max-width: 480px) {
  main,
  .site-header,
  .site-footer {
    width: min(100% - 22px, var(--max));
  }

  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1;
    text-align: center;
  }

  .button {
    width: 100%;
  }

  .preview-pane {
    min-height: 160px;
  }
}
