:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #65717a;
  --line: #dde4e8;
  --panel: #ffffff;
  --soft: #f5f8fa;
  --accent: #0c7c66;
  --accent-dark: #075947;
  --warn: #b54708;
  --red: #b42318;
  --blue: #235c8f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 54px;
  align-items: center;
  max-width: 1120px;
  min-height: 620px;
  margin: 0 auto;
  padding: 64px 32px;
}

.hero h1 {
  margin: 8px 0 16px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1.05;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.lead {
  max-width: 600px;
  margin: 0;
  color: #3a4650;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 650;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.app-visual {
  display: flex;
  justify-content: center;
}

.phone {
  width: 286px;
  min-height: 560px;
  padding: 24px;
  border: 10px solid #20282d;
  border-radius: 36px;
  background: #f8fbfc;
  box-shadow: 0 24px 60px rgba(23, 32, 38, 0.18);
}

.phone-bar {
  width: 86px;
  height: 6px;
  margin: 0 auto 24px;
  border-radius: 99px;
  background: #20282d;
}

.screen-title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 800;
}

.ticker,
.alert-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  margin-bottom: 12px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ticker.up strong {
  color: var(--red);
}

.ticker.down strong {
  color: var(--blue);
}

.chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 8px;
  height: 140px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.chart span {
  display: block;
  border-radius: 6px 6px 0 0;
  background: var(--accent);
}

.chart span:nth-child(1) { height: 38%; }
.chart span:nth-child(2) { height: 54%; background: var(--blue); }
.chart span:nth-child(3) { height: 46%; }
.chart span:nth-child(4) { height: 72%; background: var(--red); }
.chart span:nth-child(5) { height: 62%; }
.chart span:nth-child(6) { height: 84%; background: var(--warn); }

.alert-row {
  justify-content: flex-start;
  font-weight: 700;
}

.alert-row.muted {
  color: var(--muted);
}

.section,
.notice,
.legal {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 32px;
}

.section h2,
.notice h2,
.legal h1,
.legal h2 {
  line-height: 1.25;
}

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

.card,
.notice,
.support-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card {
  padding: 22px;
}

.card h3,
.card p {
  margin-top: 0;
}

.notice {
  margin-bottom: 48px;
}

.legal {
  background: #fff;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.legal h1 {
  margin: 8px 0 4px;
  font-size: 42px;
}

.legal section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.legal h2 {
  margin: 0 0 10px;
}

.legal h3 {
  margin-bottom: 4px;
}

.muted-text {
  color: var(--muted);
}

.support-box {
  padding: 22px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 28px 32px 42px;
  color: var(--muted);
  font-size: 14px;
}

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

  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 42px 22px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .lead {
    font-size: 18px;
  }

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

  .section,
  .notice,
  .legal {
    padding: 34px 22px;
  }

  .legal h1 {
    font-size: 34px;
  }
}
