:root {
  color-scheme: light;
  --background: #f4f4f5;
  --surface: #ffffff;
  --surface-soft: #ededee;
  --text: #111827;
  --muted: #68717d;
  --line: #dedee1;
  --accent: #d5d5d7;
  --accent-strong: #737378;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
  --radius-large: 28px;
  --radius-medium: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 8%, rgba(0, 0, 0, 0.08), transparent 28rem),
    linear-gradient(180deg, #fafafa 0%, var(--background) 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
.page-shell,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--text);
  color: var(--accent);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
  font-size: 16px;
  letter-spacing: -0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover,
.legal-copy a:hover {
  color: var(--text);
}

.hero {
  min-height: auto;
  display: block;
  padding: 32px 0 74px;
}

.home-hero-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.05);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.home-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 31%, rgba(255, 255, 255, 0.72) 48%, rgba(255, 255, 255, 0) 71%);
}

.home-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-content {
  position: relative;
  z-index: 1;
  width: 53%;
  padding: 58px 0 48px 52px;
}

.current-label {
  margin-bottom: 24px;
  color: rgba(17, 24, 39, 0.5);
  font-size: 13px;
  font-weight: 600;
}

.home-hero-content h1 {
  margin-bottom: 10px;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.app-subtitle {
  margin-bottom: 34px;
  color: rgba(17, 24, 39, 0.68);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.app-bullets {
  display: grid;
  gap: 10px;
  margin: 0 0 38px;
  padding: 0;
  color: rgba(17, 24, 39, 0.52);
  font-size: 14px;
  list-style: none;
}

.app-bullets li::before {
  content: "✓";
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  place-items: center;
  border: 1px solid rgba(17, 24, 39, 0.2);
  border-radius: 50%;
  font-size: 10px;
}

.home-hero-content .button {
  gap: 18px;
}

.feature-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.feature-pill {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.feature-pill.is-active {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}

.eyebrow {
  margin: 0 0 18px;
  color: #55555a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.hero h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
}

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

.visual-orbit {
  position: absolute;
  width: min(100%, 480px);
  aspect-ratio: 1;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 50%;
}

.visual-orbit::before,
.visual-orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(17, 24, 39, 0.12);
  border-radius: 50%;
}

.visual-orbit::after {
  inset: 29%;
  background: var(--accent);
  border: none;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
}

.visual-card {
  position: relative;
  z-index: 1;
  width: min(76%, 330px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.visual-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.visual-card strong {
  display: block;
  margin-bottom: 24px;
  font-size: 26px;
  line-height: 1.25;
}

.build-line {
  height: 10px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eeee;
}

.build-line::after {
  content: "";
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: var(--accent-strong);
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 42px;
}

.section-heading h2,
.legal-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading p,
.legal-hero p {
  color: var(--muted);
}

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

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

.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.05);
}

.media-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.media-card-copy {
  padding: 28px 30px 32px;
}

.media-card-copy span {
  display: block;
  margin-bottom: 14px;
  color: #55555a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.media-card-copy h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

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

.media-card.dark {
  border-color: #1b1b1d;
  background: #111113;
  color: #fff;
}

.media-card.dark .media-card-copy span {
  color: var(--accent);
}

.media-card.dark .media-card-copy p {
  color: rgba(255, 255, 255, 0.62);
}

.compact-feature-grid {
  margin-top: 18px;
}

.feature-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.8);
}

.feature-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-soft);
  color: #55555a;
  font-size: 13px;
  font-weight: 850;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

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

.trust-panel,
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 50px;
  border-radius: var(--radius-large);
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow);
}

.trust-panel p,
.contact-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
}

.trust-list {
  display: grid;
  gap: 16px;
}

.trust-item {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.contact-panel {
  margin-top: 20px;
  background: var(--accent);
  color: var(--text);
}

.contact-panel p {
  color: rgba(17, 24, 39, 0.65);
}

.contact-link {
  justify-self: end;
  font-size: clamp(18px, 2.6vw, 28px);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

.legal-page {
  background: #f7f7f7;
}

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

.legal-hero {
  padding: 88px 0 46px;
  border-bottom: 1px solid var(--line);
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin-top: 26px;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
}

.legal-copy {
  padding: 52px 0 100px;
  color: #313943;
}

.legal-copy h2 {
  margin: 48px 0 14px;
  color: var(--text);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.legal-copy h3 {
  margin: 30px 0 10px;
  color: var(--text);
  font-size: 18px;
}

.legal-copy p,
.legal-copy li {
  font-size: 15px;
}

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

.legal-copy table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 14px;
}

.legal-copy th,
.legal-copy td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-copy th {
  background: var(--surface-soft);
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .site-nav a:not(:last-child) {
    display: none;
  }

  .hero {
    padding: 20px 0 56px;
  }

  .home-hero-card {
    min-height: 610px;
    border-radius: 26px;
  }

  .home-hero-card::after {
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.98) 38%, rgba(255, 255, 255, 0.28) 69%, rgba(255, 255, 255, 0) 88%);
  }

  .home-hero-image {
    object-position: 68% center;
  }

  .home-hero-content {
    width: 100%;
    padding: 34px 26px;
  }

  .home-hero-content h1 {
    font-size: 42px;
  }

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

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

  .section {
    padding: 72px 0;
  }

  .feature-grid,
  .trust-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .trust-panel,
  .contact-panel {
    gap: 28px;
    padding: 32px 24px;
  }

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

  .site-footer {
    flex-direction: column;
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }

  .legal-copy table {
    display: block;
    overflow-x: auto;
  }
}

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