:root {
  --bg: #eef4fb;
  --paper: #ffffff;
  --ink: #152033;
  --muted: #63738c;
  --line: #dbe5f1;
  --brand: #2563eb;
  --teal: #0f766e;
  --green: #0f9f6e;
  --amber: #d97706;
  --soft-blue: #e8f0ff;
  --soft-green: #e8f8f1;
  --shadow: 0 20px 55px rgba(21, 32, 51, .12);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(238, 244, 251, .86);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
}

.brand-logo {
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(15, 118, 110, .18);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: 48px;
  max-width: 1160px;
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 19px;
}

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

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

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

.button.secondary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

.note {
  max-width: 640px;
  color: var(--muted);
  font-size: 14px;
}

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

.phone-shell {
  width: min(360px, 100%);
  padding: 14px;
  border-radius: 34px;
  background: #101827;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 72px;
  height: 6px;
  margin: 8px auto 14px;
  border-radius: 999px;
  background: #334155;
}

.phone-screen {
  min-height: 560px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fbff, #eef4fb);
}

.app-icon-preview {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 14px 26px rgba(15, 118, 110, .2);
}

.screen-head,
.dose-card,
.status-row {
  border: 1px solid var(--line);
  background: var(--paper);
}

.screen-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  font-weight: 900;
}

.screen-head strong {
  color: var(--green);
}

.dose-card {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
}

.dose-card.active {
  background: var(--soft-green);
  border-color: #b7ead4;
}

.dose-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.time {
  color: var(--brand);
  font-weight: 900;
}

.status-row {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
}

.status-row b {
  color: var(--green);
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 74px 24px;
}

.section-title {
  max-width: 720px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.contact-card {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(21, 32, 51, .06);
}

.card p,
.principles p,
.doc p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 12px;
  color: var(--brand);
  background: var(--soft-blue);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.principles {
  padding: 26px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.cta {
  margin-bottom: 54px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.cta p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px 24px 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

.icp {
  font-size: 13px;
}

.doc {
  max-width: 840px;
  min-height: calc(100vh - 220px);
  margin: 0 auto;
  padding: 64px 24px 82px;
}

.doc h1 {
  font-size: clamp(38px, 6vw, 62px);
}

.doc-lead {
  font-size: 18px;
}

.doc section {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.doc h2 {
  font-size: 24px;
}

.contact-card {
  min-height: auto;
}

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

  .nav {
    justify-content: flex-start;
  }

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

  .grid.three,
  .split {
    grid-template-columns: 1fr;
  }

  .phone-screen {
    min-height: 480px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .section,
  .doc,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav {
    gap: 12px;
    font-size: 14px;
  }

  .button {
    width: 100%;
  }
}
