:root {
  --night: #081217;
  --deep: #0d1a21;
  --panel: #12242d;
  --ink: #f4f8fa;
  --muted: #a7b5bc;
  --dim: #72838c;
  --cyan: #2cd4ff;
  --cyan-soft: #89eaff;
  --lime: #d8ee45;
  --coral: #ff6c55;
  --mint: #37e3af;
  --blue: #4b84ed;
  --line: rgba(184, 227, 239, 0.14);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip { position: fixed; left: -9999px; top: 12px; z-index: 99; }
.skip:focus { left: 12px; padding: 8px 12px; border-radius: 10px; color: #071217; background: var(--cyan); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
}
.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  font: 700 1.28rem/1 var(--font-display);
  letter-spacing: -0.04em;
}
.brand-dot {
  width: .28em;
  height: .28em;
  margin: .1em .08em 0;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(44, 212, 255, .55);
}
.nav-links { display: flex; gap: 28px; color: #c4d0d5; font-size: .92rem; }
.nav-links a, .footer a, .quiet-card a { transition: color .18s ease; }
.nav-links a:hover, .footer a:hover, .quiet-card a:hover { color: var(--cyan-soft); }

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 18, 24, .98) 0%, rgba(7, 18, 24, .94) 43%, rgba(7, 18, 24, .44) 100%),
    url("../assets/dally-rhythm.jpg") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(transparent, var(--night));
  pointer-events: none;
}
.hero-art {
  position: absolute;
  width: 560px;
  height: 560px;
  right: 3%;
  top: 16%;
  border-radius: 50%;
  border: 1px solid rgba(44, 212, 255, .16);
  box-shadow: inset 0 0 100px rgba(44, 212, 255, .05);
}
.hero-grid {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 340px);
  gap: clamp(20px, 4vw, 72px);
  align-items: center;
  padding-top: 76px;
  padding-bottom: 56px;
}
.hero-copy { width: min(100%, 40rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(10px, 1.6vh, 18px);
  color: var(--cyan-soft);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 2px; background: var(--cyan); }
h1, h2, h3 { font-family: var(--font-display); }
h1 { margin: 0; font-family: var(--font-display); letter-spacing: -.065em; }
.hero h1 {
  max-width: 12em;
  font-size: clamp(1.7rem, min(4.8vw, 7.4vh), 4.15rem);
  line-height: 1.02;
  text-wrap: balance;
}
.lede {
  max-width: 36rem;
  margin: clamp(12px, 2vh, 26px) 0 clamp(14px, 2.2vh, 28px);
  color: #c1cdd2;
  font-size: clamp(.98rem, min(1.6vw, 2.3vh), 1.2rem);
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.store-button {
  min-width: 195px;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 21px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 15px;
  color: white;
  background: #070b0d;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  transition: transform .18s ease, border-color .18s ease;
}
.store-button:hover { transform: translateY(-2px); border-color: var(--cyan); }
.store-button svg { width: 25px; height: 31px; flex: none; }
.store-button span { display: flex; flex-direction: column; font: 600 1.18rem/1.05 var(--font-display); }
.store-button small { margin-bottom: 3px; font: 500 .65rem/1 var(--font-body); letter-spacing: .02em; }
.availability { color: var(--muted); font-size: .9rem; }
.hero-device {
  position: relative;
  justify-self: end;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.phone {
  margin: 0;
  overflow: hidden;
  border: 7px solid #0b1115;
  border-radius: 46px;
  background: #071014;
  box-shadow: 0 42px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .16), 0 0 70px rgba(44, 212, 255, .14);
}
.phone img { width: 100%; height: auto; }
.phone-main {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 100%;
  height: auto;
  transform: none;
}
.phone-main img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72svh, calc(100svh - 150px));
}
.orbit { position: absolute; z-index: 3; width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 22px currentColor; }
.orbit-one { top: 18%; right: -28px; color: var(--lime); background: var(--lime); }
.orbit-two { bottom: 18%; left: -42px; color: var(--coral); background: var(--coral); }
.down {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 34px;
  color: var(--dim);
  font-size: .86rem;
  transform: translateX(-50%);
}
.down span { margin-left: 8px; color: var(--cyan); }

.rhythm { padding: 126px 0 140px; }
.section-intro { margin-bottom: 52px; }
h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.05; letter-spacing: -.055em; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(22, 48, 59, .84), rgba(12, 27, 34, .72));
}
.steps strong { color: var(--cyan); font: 600 .8rem var(--font-display); letter-spacing: .1em; }
.steps h3 { margin: 0 0 9px; font-size: 1.22rem; }
.steps p { margin: 0; color: var(--muted); max-width: 25ch; }
.steps li:nth-child(2) strong { color: var(--coral); }
.steps li:nth-child(3) strong { color: var(--mint); }

.inside {
  position: relative;
  overflow: hidden;
  background: #0c1a21;
  border-block: 1px solid var(--line);
}
.inside::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  right: -180px;
  top: 0;
  border-radius: 50%;
  background: rgba(44, 212, 255, .09);
  filter: blur(90px);
}
.showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 100px;
  align-items: center;
  min-height: 900px;
  padding-block: 80px;
}
.showcase-copy > p:not(.eyebrow) { max-width: 510px; margin: 28px 0; color: var(--muted); font-size: 1.1rem; }
.phone-calendar { width: 330px; justify-self: end; transform: rotate(-1.5deg); }
.showcase-reverse { grid-template-columns: 360px minmax(0, 1fr); }
.phone-week { width: 330px; justify-self: start; transform: rotate(1.5deg); }
.week-points { max-width: 34rem; margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; color: #c2cdd2; }
.week-points li { display: grid; grid-template-columns: 10px 1fr; gap: 12px; align-items: start; }
.week-points li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(44, 212, 255, .45); }
.week-points li:nth-child(2)::before { background: var(--lime); box-shadow: 0 0 12px rgba(216, 238, 69, .35); }
.week-points li:nth-child(3)::before { background: var(--blue); box-shadow: 0 0 12px rgba(75, 132, 237, .4); }
.week-points li:nth-child(4)::before { background: var(--mint); box-shadow: 0 0 12px rgba(55, 227, 175, .4); }
.legend { display: flex; flex-wrap: wrap; gap: 12px 20px; max-width: 520px; padding-top: 12px; color: #c2cdd2; font-size: .9rem; }
.legend span { display: flex; align-items: center; gap: 8px; }
.dot, .ring { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.lime { background: var(--lime); }
.coral { background: var(--coral); }
.mint { background: var(--mint); }
.ring { border: 2px solid #d6e4e8; }

.quiet { padding: 120px 0; }
.quiet-card {
  position: relative;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 68px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(90deg, rgba(8, 19, 25, .98), rgba(8, 19, 25, .45)),
    url("../assets/dally-rhythm.jpg") center/cover;
}
.quiet-card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 100px rgba(5, 13, 17, .55); pointer-events: none; }
.quiet-card > * { position: relative; z-index: 1; }
.quiet-card h2 { max-width: 760px; }
.quiet-card > p:not(.eyebrow) { max-width: 520px; margin: 24px 0; color: #bdcbd1; }
.quiet-card a { color: var(--cyan-soft); font-weight: 600; }

.get { padding: 60px 0 100px; }
.get-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 58px 62px;
  border-radius: 30px;
  color: #071217;
  background: var(--cyan);
}
.get .eyebrow { color: #174b5a; }
.get .eyebrow span { background: #174b5a; }
.get h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.get p:not(.eyebrow) { margin: 14px 0 0; color: #174b5a; }
.store-button.light { flex: none; }

.footer { padding: 42px 0; border-top: 1px solid var(--line); color: var(--dim); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: start; }
.footer-grid > div p { margin: 12px 0 0; }
.footer nav { display: flex; gap: 22px; color: var(--muted); }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: .84rem; }

/* Legal pages */
.legal-page {
  min-height: 100svh;
  background:
    radial-gradient(700px 420px at 80% 0%, rgba(44, 212, 255, .12), transparent 65%),
    linear-gradient(180deg, #10212a, var(--night) 520px);
}
.legal-page .nav { border-bottom: 1px solid var(--line); }
.legal { max-width: 760px; padding: 78px 0 110px; }
.legal h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -.06em; }
.legal .updated { margin: 17px 0 44px; color: var(--dim); }
.legal h2 { margin: 38px 0 10px; font-size: 1.18rem; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--cyan-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal-page .footer { margin-top: 0; }
.legal-page .footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.legal-page .footer-row nav { display: flex; gap: 20px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise .8s ease both; }
  .phone-main { animation: settle .9s .08s ease both; }
  .orbit { animation: float 4s ease-in-out infinite; }
  .orbit-two { animation-delay: -2s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { opacity: 0; transform: rotate(2deg) translateY(26px); } }
@keyframes float { 50% { transform: translateY(-14px); } }

/* Short desktop windows: keep copy + store in view without the mobile redesign. */
@media (max-height: 720px) and (min-width: 861px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(160px, 280px);
    gap: 28px;
    padding-top: 64px;
    padding-bottom: 28px;
  }
  .hero h1 { font-size: clamp(1.7rem, 5.2vh, 2.8rem); }
  .phone-main img { max-height: min(68svh, calc(100svh - 120px)); }
  .down { display: none; }
}

@media (max-width: 860px) {
  .hero {
    height: auto;
    min-height: 100svh;
    overflow: clip;
    background:
      linear-gradient(180deg, rgba(7, 18, 24, .96) 0%, rgba(7, 18, 24, .88) 42%, rgba(7, 18, 24, .55) 100%),
      url("../assets/dally-rhythm.jpg") 65% center / cover no-repeat;
  }
  .hero::after { height: 72px; }
  .hero-grid {
    height: auto;
    min-height: 100svh;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-content: start;
    justify-items: stretch;
    gap: 28px;
    padding: 118px 0 36px;
    text-align: left;
  }
  .hero-copy {
    width: 100%;
    max-width: 34rem;
    margin-inline: 0;
  }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero h1 {
    max-width: 11.5em;
    font-size: clamp(2.15rem, 8.8vw, 2.9rem);
    line-height: 1.04;
  }
  .lede {
    max-width: 30rem;
    margin: 14px 0 22px;
    font-size: 1.05rem;
    line-height: 1.45;
  }
  .cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .store-button {
    width: min(100%, 230px);
    min-height: 58px;
  }
  .availability { font-size: .88rem; }
  .hero-device {
    justify-self: center;
    justify-content: center;
    width: 100%;
    height: auto;
    padding-top: 4px;
  }
  .hero-art,
  .down,
  .orbit { display: none; }
  .phone {
    border-width: 5px;
    border-radius: 34px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .14);
  }
  .phone-main {
    width: min(68vw, 268px);
    margin-inline: auto;
  }
  .phone-main img {
    width: 100%;
    max-height: none;
    height: auto;
  }

  h2 { font-size: clamp(2rem, 9vw, 2.85rem); }
  .rhythm { padding: 72px 0 80px; }
  .section-intro { margin-bottom: 28px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li {
    min-height: 0;
    justify-content: flex-start;
    gap: 16px;
    padding: 20px 18px;
    border-radius: 22px;
  }
  .steps p { max-width: none; }

  .showcase,
  .showcase-reverse {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
    padding-block: 72px;
    text-align: left;
  }
  .showcase-copy > p:not(.eyebrow) {
    margin: 16px 0 0;
    font-size: 1.02rem;
  }
  .legend {
    margin-top: 18px;
    justify-content: flex-start;
  }
  .phone-calendar,
  .phone-week {
    width: min(72vw, 290px);
    justify-self: center;
    transform: none;
  }
  .week-points {
    margin: 18px 0 0;
    text-align: left;
  }

  .quiet { padding: 56px 0; }
  .quiet-card {
    min-height: 0;
    padding: 32px 24px;
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(8, 19, 25, .96), rgba(8, 19, 25, .72)),
      url("../assets/dally-rhythm.jpg") 58% center / cover;
  }
  .quiet-card h2 br { display: none; }

  .get { padding: 36px 0 72px; }
  .get-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 34px 24px;
    border-radius: 24px;
  }
}

@media (max-width: 600px) {
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .nav { min-height: 64px; }
  .nav-wide { display: none; }
  .nav-links { gap: 14px; font-size: .8rem; }
  .hero-grid { padding-top: 108px; gap: 24px; }
  .hero h1 { font-size: clamp(2.05rem, 9.4vw, 2.55rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer nav { flex-wrap: wrap; gap: 16px; }
  .copyright { grid-column: auto; }
  .legal { padding: 58px 0 90px; }
  .legal-page .footer-row { align-items: flex-start; flex-direction: column; }
}
