:root {
  color-scheme: light;
  --ink: #1f252b;
  --muted: #66727f;
  --line: #dfe6ec;
  --soft: #f4f8fb;
  --blue: #138fd1;
  --blue-dark: #0b689d;
  --green: #2e8f70;
  --paper: #ffffff;
  --shadow: 0 18px 50px rgba(31, 37, 43, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

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

.brand {
  align-items: center;
  display: inline-flex;
  gap: 11px;
  font-size: 18px;
  font-weight: 780;
  text-decoration: none;
}

.brand-icon {
  border-radius: 10px;
  height: 36px;
  width: 36px;
}

nav {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 680;
  gap: 22px;
}

nav a {
  text-decoration: none;
}

main {
  overflow: hidden;
}

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  min-height: calc(100vh - 76px);
  padding: 72px 6vw 58px;
}

.hero-copy {
  max-width: 840px;
}

.hero-icon {
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: block;
  height: 92px;
  margin-bottom: 28px;
  width: 92px;
}

.eyebrow {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(42px, 7vw, 84px);
  letter-spacing: 0;
  line-height: 0.99;
  margin-bottom: 24px;
  max-width: 1000px;
}

h2 {
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 1000px;
}

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

.lead {
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.44;
  max-width: 800px;
}

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

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 760;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
}

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

.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.phone-preview {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 26px;
}

.phone-top {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 6px;
  padding-bottom: 20px;
}

.phone-top span {
  font-size: 17px;
  font-style: italic;
}

.phone-top strong {
  font-size: 34px;
  line-height: 1;
}

.memory-preview {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.memory-preview p {
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.preview-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
}

.preview-meta span {
  background: var(--soft);
  border-radius: 999px;
  padding: 6px 10px;
}

.memory-photo {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: 148px;
  object-fit: cover;
  width: 100%;
}

.route-thumb {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: 132px;
  margin-bottom: 12px;
  object-fit: cover;
  width: 100%;
}

.image-note {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-top: 8px;
}

.preview-actions {
  color: var(--blue);
  display: flex;
  font-size: 14px;
  font-weight: 780;
  justify-content: space-between;
  padding-top: 16px;
}

.section {
  border-top: 1px solid var(--line);
  padding: 86px 6vw;
}

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

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

article {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

article p,
.status p,
.section-lead,
.history-row p,
.process-item p,
.faq p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.56;
}

.feature-icon {
  align-items: center;
  background: #dff1fb;
  border-radius: 999px;
  color: var(--blue-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  height: 38px;
  justify-content: center;
  margin-bottom: 18px;
  width: 38px;
}

.process {
  background: var(--soft);
}

.process-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.process-item {
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 42px 1fr;
  padding: 20px;
}

.process-item > span {
  align-items: center;
  background: var(--blue);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 850;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.process-item p {
  margin-bottom: 0;
}

.history-layout {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
}

.section-lead {
  max-width: 760px;
}

.history-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.history-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.history-row + .history-row {
  margin-top: 10px;
}

.history-row span {
  color: var(--blue-dark);
  display: block;
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.history-row p {
  margin-bottom: 0;
}

.context-section {
  background: #fff;
}

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

.context-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.context-card span {
  color: var(--blue-dark);
  display: block;
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.context-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.48;
  margin-bottom: 0;
}

.journeys-section {
  background: #fff;
}

.route-card,
.sleep-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.route-card img {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  width: 100%;
}

.route-caption {
  display: grid;
  gap: 4px;
  padding: 14px 2px 2px;
}

.route-caption strong,
.sleep-stats strong {
  color: var(--ink);
  font-size: 16px;
}

.route-caption span,
.sleep-stats span,
.sleep-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.sleep-section {
  background: var(--soft);
}

.sleep-card {
  background: #fff;
}

.sleep-bar {
  background: #edf4f8;
  border-radius: 999px;
  display: grid;
  gap: 4px;
  grid-template-columns: 0.55fr 1.25fr 1.6fr 1.2fr 0.9fr 1.15fr;
  height: 38px;
  overflow: hidden;
  padding: 4px;
}

.sleep-bar span {
  border-radius: 999px;
}

.sleep-bar .awake {
  background: #cfd8df;
}

.sleep-bar .light {
  background: #8fc9ea;
}

.sleep-bar .deep {
  background: #246d9f;
}

.sleep-bar .rem {
  background: #67b78e;
}

.sleep-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0 12px;
}

.sleep-stats div {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 2px;
  padding: 14px;
}

.sleep-card p {
  margin-bottom: 0;
}

.upcoming-section {
  background: var(--soft);
}

.upcoming-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 940px;
}

.upcoming-list span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 720;
  padding: 10px 14px;
}

.split {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.principles {
  list-style: none;
  margin: 0;
  padding: 0;
}

.principles li {
  border-top: 1px solid var(--line);
  font-size: 20px;
  line-height: 1.4;
  padding: 18px 0;
}

.status {
  background: #fff;
}

.status p {
  max-width: 840px;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

details {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
}

summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 780;
  list-style: none;
  padding: 20px 22px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  color: var(--blue);
  content: "+";
  float: right;
  font-size: 24px;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 6vw;
}

@media (max-width: 940px) {
  .hero,
  .three,
  .history-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-preview {
    max-width: 520px;
  }

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 16px;
    padding-top: 16px;
    position: static;
  }

  nav {
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
    width: 100%;
  }

  .hero,
  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .phone-preview {
    border-radius: 18px;
    padding: 18px;
  }

  .route-thumb,
  .memory-photo {
    height: 120px;
  }

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

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
  }
}
