:root {
  color-scheme: light;
  --background: #f6f8fb;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #dfe5ec;
  --blue: #2563eb;
  --blue-soft: #eaf2ff;
  --green: #15803d;
  --red: #c2414b;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

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

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 760px);
}

.site-header {
  position: relative;
  z-index: 20;
  height: 68px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.nav-row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  border: 1px solid var(--line);
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav a {
  color: #374151;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--blue);
}

.hero {
  position: relative;
  height: calc(100svh - 104px);
  min-height: 560px;
  max-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f2f5f9;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-icon {
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.12);
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 64px;
  line-height: 1.02;
}

.hero-copy {
  width: min(590px, 56%);
  margin: 22px 0 0;
  color: #334155;
  font-size: 20px;
  line-height: 1.55;
}

.hero-copy.zh {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  border-color: var(--blue);
  color: #ffffff;
  background: var(--blue);
}

.button.secondary {
  color: var(--ink);
  background: #ffffff;
}

.button:hover {
  filter: brightness(0.96);
}

.mail-scene {
  position: absolute;
  z-index: 1;
  top: 72px;
  right: -70px;
  width: min(53vw, 720px);
  height: 500px;
  display: grid;
  grid-template-columns: 152px 1fr;
  overflow: hidden;
  border: 1px solid #ccd5df;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 34px 80px rgba(30, 41, 59, 0.15);
  transform: rotate(-1.5deg);
}

.scene-sidebar {
  padding: 32px 22px;
  border-right: 1px solid var(--line);
  background: #f8fafc;
}

.scene-sidebar span {
  display: block;
  width: 86px;
  height: 8px;
  margin: 28px 0;
  background: #dbe2ea;
}

.scene-sidebar .scene-logo {
  width: 38px;
  height: 38px;
  margin: 0 0 48px;
  border: 7px solid var(--blue);
  border-top-color: transparent;
  border-radius: 8px;
}

.scene-main {
  padding: 28px;
}

.scene-search {
  width: 82%;
  height: 38px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.scene-message {
  height: 82px;
  display: grid;
  grid-template-columns: 40px 1fr 48px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.scene-message b {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #bfdbfe;
}

.scene-message:nth-child(3) b {
  background: #bbf7d0;
}

.scene-message:nth-child(4) b {
  background: #fecaca;
}

.scene-message span,
.scene-message span::after {
  display: block;
  height: 9px;
  background: #cbd5e1;
}

.scene-message span::after {
  width: 68%;
  margin-top: 10px;
  content: "";
  background: #e2e8f0;
}

.scene-message i {
  width: 38px;
  height: 8px;
  background: #e2e8f0;
}

.band {
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.band.soft {
  background: var(--background);
}

.band h2,
.legal-content h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
}

.purpose-grid,
.data-grid,
.statement-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 88px;
  align-items: start;
}

.body-copy p {
  margin: 0 0 18px;
  color: #475569;
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  min-height: 240px;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
}

.feature-grid article:last-child {
  border-right: 0;
}

.feature-index {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.feature-index.green {
  color: var(--green);
}

.feature-index.red {
  color: var(--red);
}

.feature-grid h3 {
  margin: 34px 0 12px;
  font-size: 20px;
}

.feature-grid p,
.data-list p {
  margin: 0;
  color: var(--muted);
}

.data-list > div {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.data-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.data-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.statement {
  background: #eef4ff;
}

.statement-row {
  align-items: end;
}

.text-link {
  justify-self: end;
  overflow-wrap: anywhere;
  font-weight: 750;
}

.legal-header {
  padding: 82px 0 58px;
  border-bottom: 1px solid var(--line);
  background: #eef4ff;
}

.legal-header h1 {
  font-size: 48px;
}

.legal-summary {
  margin: 18px 0 8px;
  color: #475569;
  font-size: 19px;
}

.updated {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-content {
  padding-top: 56px;
  padding-bottom: 92px;
}

.legal-content section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.legal-content p,
.legal-content li {
  color: #3f4b5a;
}

.legal-content ul,
.legal-content ol {
  padding-left: 23px;
}

.legal-content li + li {
  margin-top: 8px;
}

.translation-note {
  margin-top: 26px;
  padding: 28px !important;
  border: 1px solid #bed2fa !important;
  border-radius: 8px;
  background: #f5f8ff;
}

footer {
  padding: 30px 0;
  background: #111827;
  color: #dbe3ee;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-row p {
  margin: 0;
}

.footer-row div {
  display: flex;
  gap: 22px;
}

.footer-row a {
  color: #dbeafe;
}

@media (max-width: 820px) {
  .site-header {
    height: auto;
  }

  .nav-row {
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0 14px;
  }

  nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
  }

  .hero {
    height: 570px;
    min-height: 570px;
  }

  .hero-content {
    justify-content: center;
  }

  .hero-icon {
    width: 66px;
    height: 66px;
    margin-bottom: 18px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-copy {
    width: 100%;
    max-width: 560px;
    font-size: 17px;
  }

  .mail-scene {
    top: 28px;
    right: -210px;
    width: 620px;
    opacity: 0.2;
  }

  .purpose-grid,
  .data-grid,
  .statement-row {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .feature-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid article:last-child {
    border-bottom: 0;
  }

  .text-link {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .shell,
  .narrow {
    width: min(calc(100% - 28px), var(--max));
  }

  nav a {
    white-space: nowrap;
  }

  .hero {
    height: 590px;
    min-height: 590px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .band {
    padding: 68px 0;
  }

  .band h2 {
    font-size: 27px;
  }

  .legal-header {
    padding: 58px 0 42px;
  }

  .legal-header h1 {
    font-size: 36px;
  }

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

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