:root {
  --bg: #06090f;
  --surface: #0e131e;
  --ink: #e8edf7;
  --muted: #95a2b7;
  --accent: #22a8ff;
  --accent-2: #8ae05f;
  --line: #1d2942;
  --shadow: 0 18px 40px rgba(5, 8, 16, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% -20%, #113f86 0%, transparent 32%),
    radial-gradient(circle at 95% 15%, #1d2f5c 0%, transparent 38%), var(--bg);
  line-height: 1.6;
}

.background-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.25;
  pointer-events: none;
}

.orb-a {
  width: 360px;
  height: 360px;
  left: -110px;
  top: 15vh;
  background: #2762d9;
}

.orb-b {
  width: 280px;
  height: 280px;
  right: -100px;
  top: 55vh;
  background: #12b6c8;
}

.container {
  width: min(1024px, 92vw);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}

.brand {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a,
a {
  color: var(--accent);
}

h1,
h2 {
  font-family: "Fraunces", serif;
  line-height: 1.15;
}

.hero {
  padding: 3.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 4rem);
  margin: 0.5rem 0 1rem;
  max-width: 14ch;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 56ch;
}

.quick-points {
  margin-top: 0.85rem;
  color: #9fc2ec;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

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

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #041123;
  box-shadow: 0 8px 22px rgba(34, 168, 255, 0.35);
}

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

.phone-mock {
  background: #090d14;
  border-radius: 22px;
  border: 1px solid #1a2438;
  box-shadow: 0 24px 44px rgba(8, 12, 21, 0.48);
  padding: 1rem;
  color: #f5f8ff;
}

.mock-title {
  font-weight: 700;
  margin-top: 0.1rem;
  margin-bottom: 0.8rem;
}

.phone-mock ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.phone-mock li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  background: #0f1726;
  border: 1px solid #202f49;
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
}

.ago {
  background: #132138;
  color: #9fc2ec;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.ago.now {
  background: #11341e;
  color: #9de483;
}

.app-inspired {
  margin: 1rem auto 1.5rem;
}

.shot-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.8rem;
}

.scroll-shot {
  background: linear-gradient(180deg, #03060b 0%, #070b13 100%);
  border: 1px solid #1a2842;
  border-radius: 18px;
  padding: 0.85rem;
  box-shadow: var(--shadow);
}

.scroll-head {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.today-link {
  color: #41b8ff;
  font-size: 0.9rem;
}

.scroll-date {
  color: #9eb0cd;
  font-size: 0.9rem;
}

.scroll-awake {
  color: #91df6d;
  font-size: 0.86rem;
  margin-bottom: 0.5rem;
}

.scroll-sleep {
  border: 1px solid #25386b;
  background: #0d1430;
  border-radius: 10px;
  padding: 0.35rem 0.5rem;
  color: #d5ddf9;
  margin-bottom: 0.55rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.scroll-sleep span {
  background: #1f67b0;
  color: #e7f3ff;
  border-radius: 999px;
  padding: 0.02rem 0.45rem;
  font-weight: 700;
}

.scroll-list {
  display: grid;
  gap: 0.35rem;
}

.scroll-list .row {
  display: grid;
  grid-template-columns: 4.8rem 1fr auto;
  gap: 0.55rem;
  align-items: center;
  border: 1px solid #1b2a45;
  background: #0b1220;
  border-radius: 9px;
  padding: 0.37rem 0.5rem;
}

.scroll-list .row b {
  color: #39b0ff;
  font-size: 0.84rem;
}

.scroll-list .row span {
  color: #dce5f7;
  font-size: 0.9rem;
}

.scroll-list .row em {
  color: #7f93b6;
  font-style: normal;
  font-size: 0.8rem;
}

.timeline-shot {
  background: linear-gradient(180deg, #060a12 0%, #090e18 100%);
  border: 1px solid #1b2740;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.shot-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.8rem;
}

.shot-title {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
}

.shot-day {
  color: #90e56e;
  font-size: 0.92rem;
}

.sleep-banner {
  background: #0e1330;
  border: 1px solid #26366a;
  border-radius: 11px;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.7rem;
  color: #d5ddf9;
  display: flex;
  justify-content: space-between;
}

.sleep-banner span {
  background: #1f67b0;
  color: #e7f3ff;
  padding: 0.06rem 0.45rem;
  border-radius: 999px;
  font-weight: 700;
}

.awake-banner {
  color: #91df6d;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  padding: 0 0.2rem;
}

.group-row span:nth-child(2) {
  font-size: 0.85rem;
}

.shot-row {
  display: grid;
  grid-template-columns: 5.3rem 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.58rem 0.68rem;
  margin-bottom: 0.45rem;
  border: 1px solid #1c2a43;
  border-radius: 10px;
  background: #0c1421;
}

.shot-row span:first-child {
  color: #3bb3ff;
  font-weight: 600;
}

.shot-row span:last-child {
  color: #8297bb;
  font-size: 0.9rem;
}

.imagery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem auto 1.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem auto 1.5rem;
}

.sheet-card h2 {
  margin-top: 0.1rem;
}

.sheet-card ul {
  margin: 0.65rem 0 0.5rem;
  padding-left: 1.1rem;
}

.sheet-card li {
  margin: 0.2rem 0;
}

.use-cases .use-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.use-cases .use-grid div {
  border: 1px solid #223351;
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  background: #0e1726;
  display: grid;
  gap: 0.1rem;
}

.use-cases .use-grid strong {
  font-size: 0.9rem;
}

.use-cases .use-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

.visual-card,
.card,
.panel,
.legal {
  background: rgba(13, 18, 28, 0.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.visual-card {
  margin: 0;
  padding: 0.7rem;
}

.visual-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.visual-card figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem auto;
}

.card {
  padding: 1rem;
}

.card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.panel,
.legal {
  margin: 1.5rem auto 2rem;
  padding: 1.2rem;
}

blockquote {
  margin: 0.6rem 0 0.9rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--accent);
  font-size: 1.08rem;
}

.legal h1 {
  margin-top: 0.4rem;
  margin-bottom: 1rem;
}

.legal h2 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.note {
  font-size: 0.92rem;
  color: var(--accent-2);
  font-weight: 600;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.8rem 0 2rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 680ms ease forwards;
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 220ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 18ch;
  }
}

@media (max-width: 760px) {
  .cards,
  .imagery,
  .split {
    grid-template-columns: 1fr;
  }

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

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

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  nav {
    flex-wrap: wrap;
  }
}
