:root {
  color-scheme: light;
  --accent: #0a84ff;
  --accent-soft: #e7f2ff;
  --ink: #121417;
  --muted: #777a80;
  --line: #e7e8ec;
  --surface: #ffffff;
  --surface-soft: #f3f4f8;
  --card: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 70px rgba(32, 38, 48, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(10, 132, 255, 0.14), transparent 34rem),
    linear-gradient(180deg, #f7f8fb 0%, #eef0f6 100%);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 30px rgba(10, 132, 255, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 620;
}

.nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  display: block;
  min-height: 680px;
  width: min(1120px, calc(100% - 40px));
  margin: 36px auto 0;
  padding: 70px 0 96px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 590px;
  padding-top: 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 76px;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 48px;
  line-height: 1.06;
  letter-spacing: 0;
}

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

.lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.36;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 30px;
}

.text-link {
  color: var(--accent);
  font-weight: 720;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.app-preview {
  position: absolute;
  right: 10px;
  bottom: 0;
  z-index: 1;
  width: 390px;
  opacity: 0.92;
}

.phone-shell {
  width: min(100%, 390px);
  min-height: 590px;
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 46px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 247, 251, 0.82)),
    var(--surface);
  box-shadow: var(--shadow);
}

.phone-top {
  width: 118px;
  height: 34px;
  margin: 0 auto 26px;
  border-radius: 999px;
  background: #111;
}

.screen-title {
  margin-bottom: 24px;
  text-align: center;
  font-size: 24px;
  font-weight: 780;
}

.today-card,
.appointment-card,
.metric-grid > div {
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(32, 38, 48, 0.08);
}

.today-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
}

.status-dot {
  display: block;
  width: 28px;
  height: 28px;
  border: 3px solid #8a8d93;
  border-radius: 50%;
}

.today-card strong,
.appointment-card strong {
  display: block;
  font-size: 20px;
}

.today-card span,
.today-card time,
.appointment-card small,
.metric-grid span {
  color: var(--muted);
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}

.metric-grid > div {
  padding: 18px;
  border-radius: 22px;
}

.metric-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
}

.appointment-card {
  padding: 20px;
  border-radius: 24px;
  border-left: 5px solid var(--accent);
}

.appointment-card span {
  color: var(--accent);
  font-weight: 720;
}

.section,
.notice,
.document {
  width: min(1120px, calc(100% - 40px));
  margin: 92px auto 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

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

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

.problem-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 16px 42px rgba(32, 38, 48, 0.08);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(32, 38, 48, 0.07);
}

.feature-card,
.notice,
.support-card {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: var(--card);
  box-shadow: 0 16px 42px rgba(32, 38, 48, 0.08);
}

.feature-card {
  padding: 26px;
  border-radius: var(--radius);
}

.feature-icon {
  display: inline-grid;
  min-width: 42px;
  height: 32px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 780;
}

.feature-card p,
.feature-row p,
.problem-card p,
.plain-card p,
.notice p,
.document p,
.clean-list {
  color: var(--muted);
  font-size: 18px;
}

.notice {
  padding: 34px;
  border-radius: var(--radius);
}

.notice .text-link {
  display: inline-block;
  margin-top: 6px;
}

.notice h2 {
  font-size: 34px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  width: min(1120px, calc(100% - 40px));
  margin: 92px auto 0;
  align-items: center;
}

.plain-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.document {
  max-width: 840px;
  padding: 56px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.document h1 {
  font-size: 48px;
  line-height: 1.05;
}

.document section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

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

.document a {
  color: var(--accent);
  font-weight: 680;
}

.clean-list {
  padding-left: 1.2rem;
}

.clean-list li + li {
  margin-top: 8px;
}

.mail-link {
  font-size: 42px;
  text-decoration: none;
}

.button-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--accent);
  text-decoration: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 52px 0 36px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding-bottom: 40px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .app-preview {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 390px);
    margin-top: 28px;
  }

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

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

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

  .nav {
    flex-wrap: wrap;
  }

  .hero,
  .section,
  .notice,
  .document,
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .lead {
    font-size: 20px;
  }

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

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

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

  .split-section {
    width: min(100% - 28px, 1120px);
  }

  .document {
    padding: 28px;
  }

  .document h1 {
    font-size: 36px;
  }

  .mail-link {
    font-size: 28px;
  }

  .phone-shell {
    min-height: auto;
  }
}
