:root {
  color-scheme: light;
  --bg: #fbfbfd;
  --surface: #ffffff;
  --ink: #16181d;
  --muted: #5e6472;
  --line: #e6e8ef;
  --accent: #4c6fff;
  --accent-strong: #253b9f;
  --warm: #ffb000;
  --danger: #b42318;
}

* {
  box-sizing: border-box;
}

html {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-header,
.site-footer {
  border-color: var(--line);
  border-style: solid;
  border-width: 0 0 1px;
  background: rgba(255, 255, 255, 0.92);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(16px);
}

.nav,
.footer-inner,
.section {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

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

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

.brand svg {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
}

.hero {
  padding: 72px 0 54px;
  background:
    linear-gradient(120deg, rgba(255, 176, 0, 0.12), transparent 38%),
    linear-gradient(150deg, transparent 46%, rgba(76, 111, 255, 0.12));
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 18px;
}

p,
li {
  line-height: 1.72;
}

.lead {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.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: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

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

.phone {
  border: 1px solid #d8dce8;
  border-radius: 28px;
  background: #101217;
  padding: 14px;
  box-shadow: 0 24px 64px rgba(24, 31, 55, 0.18);
}

.phone-screen {
  min-height: 420px;
  border-radius: 18px;
  background: #ffffff;
  padding: 22px;
  overflow: hidden;
}

.app-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(24, 31, 55, 0.12);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.app-title {
  font-size: 18px;
  font-weight: 800;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 16px 0 0 #ff4f9a, 32px 0 0 #35c9ff;
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.time {
  color: var(--accent-strong);
  font-weight: 800;
}

.row-title {
  font-weight: 800;
}

.row-text {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 56px 0;
}

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

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}

.panel p {
  margin: 10px 0 0;
  color: var(--muted);
}

.document {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.document header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

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

.document h2 {
  margin-top: 38px;
}

.document h3 {
  margin-top: 26px;
}

.document p,
.document li {
  color: #343946;
}

.meta {
  margin-top: 14px;
  color: var(--muted);
}

.note {
  border-left: 4px solid var(--accent);
  background: #f3f6ff;
  padding: 14px 16px;
  color: #28345c;
}

.site-footer {
  border-width: 1px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 44px;
  }

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

  h1 {
    font-size: 36px;
  }

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