:root {
  color-scheme: dark;
  --bg: #07090b;
  --bg-2: #0c1012;
  --surface: rgba(18, 20, 22, 0.72);
  --surface-strong: rgba(18, 20, 22, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.06);
  --text: #f7f9fa;
  --text-2: #9fa6aa;
  --text-3: #6d7277;
  --hair: rgba(255, 255, 255, 0.12);
  --hair-strong: rgba(255, 255, 255, 0.2);
  --teal: #36baba;
  --teal-deep: #007373;
  --teal-soft: #a0dbda;
  --amber: #d85a30;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  --radius: 22px;
  --header-height: 76px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(54, 186, 186, 0.34);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 28px;
  background: rgba(7, 9, 11, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0;
}

.wordmark span:last-child {
  color: var(--teal);
}

.site-header .wordmark {
  height: 44px;
  padding: 0 16px;
  align-items: center;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 18px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-2);
  font-size: 14px;
}

.site-header nav a,
.header-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-header nav a:hover,
.header-pill:hover {
  color: var(--text);
}

.header-pill {
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  isolation: isolate;
  padding: 128px 28px 60px;
  background:
    radial-gradient(circle at 52% 0%, rgba(54, 186, 186, 0.16), transparent 42%),
    linear-gradient(180deg, #07090b 0%, #091012 56%, #07090b 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 1px;
  background: var(--hair);
}

.hero-glow {
  position: absolute;
  inset: -18% 0 auto;
  height: 56%;
  background: radial-gradient(circle at 50% 0%, rgba(54, 186, 186, 0.22), transparent 58%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 660px;
  padding-top: 5svh;
}

.eyebrow,
.micro-label {
  margin: 0;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  font-weight: 680;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 20px;
  font-size: 112px;
  line-height: 0.88;
}

.hero-line {
  margin: 22px 0 0;
  color: var(--text);
  font-size: 34px;
  font-weight: 620;
  line-height: 1.12;
}

.lead {
  max-width: 530px;
  margin: 22px 0 0;
  color: var(--text-2);
  font-size: 19px;
  line-height: 1.55;
}

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

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(54, 186, 186, 0.23);
}

.button.secondary {
  border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.mode-control {
  display: inline-flex;
  gap: 5px;
  margin-top: 18px;
  padding: 5px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.mode-button {
  min-width: 86px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 680;
}

.mode-button.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: #101214;
}

.hero-scene {
  position: absolute;
  z-index: 1;
  inset: var(--header-height) 0 0;
  overflow: hidden;
}

.phone-shell {
  position: absolute;
  width: 316px;
  height: 646px;
  padding: 13px;
  border-radius: 48px;
  background: #050607;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.phone-status {
  position: absolute;
  z-index: 5;
  top: 27px;
  left: 36px;
  right: 36px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 750;
}

.phone-island {
  position: absolute;
  z-index: 6;
  top: 22px;
  left: 50%;
  width: 82px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #030405;
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: var(--bg);
}

.onboarding-phone {
  right: 370px;
  top: 56px;
  transform: rotate(-6deg);
}

.home-phone {
  right: 92px;
  top: 34px;
  transform: rotate(5deg);
}

.onboarding-screen {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 70px 26px 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(54, 186, 186, 0.18), transparent 46%),
    #07090b;
}

.top-rail {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.top-rail span {
  width: 6px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.top-rail span:first-child {
  width: 22px;
  background: var(--teal);
}

.onboarding-copy {
  display: grid;
  gap: 18px;
}

.onboarding-copy p {
  margin: 0;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.11em;
}

.onboarding-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: 43px;
  line-height: 1.04;
  letter-spacing: 0;
}

.onboarding-copy span {
  max-width: 255px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.48;
}

.cta-stack {
  display: grid;
  gap: 11px;
}

.cta-stack span {
  text-align: center;
  color: var(--text-3);
  font-size: 12px;
}

.cta-stack button {
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: #ffffff;
  font-size: 17px;
  font-weight: 720;
  box-shadow: 0 14px 32px rgba(54, 186, 186, 0.28);
}

.home-screen {
  padding: 66px 18px 18px;
  background:
    radial-gradient(circle at 70% 0%, rgba(54, 186, 186, 0.12), transparent 42%),
    #07090b;
}

.home-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.home-topbar span:first-child {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 19px;
  font-weight: 720;
}

.home-topbar span:last-child {
  width: 40px;
  height: 40px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  margin-bottom: 14px;
}

.week-strip span {
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.week-strip .is-today {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.18);
}

.glass-panel {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: rgba(18, 20, 22, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.today-panel {
  padding: 20px;
}

.today-line {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 18px;
}

.today-line strong {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 64px;
  font-weight: 360;
  line-height: 1;
  letter-spacing: 0;
}

.today-line span,
.demo-subtitle {
  color: var(--text-2);
}

.demo-subtitle {
  margin: 5px 0 0;
  font-size: 12px;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.today-panel .progress-track {
  margin-top: 18px;
}

.progress-fill {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transition: width 220ms ease, background-color 220ms ease;
}

.streak-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 14px;
  margin-top: 13px;
  padding: 18px;
}

.streak-panel .micro-label {
  grid-column: 1 / -1;
}

.streak-panel strong {
  color: var(--teal);
  font-size: 48px;
  font-weight: 360;
  line-height: 1;
}

.streak-panel span:last-child {
  align-self: center;
  color: var(--text-2);
  font-size: 13px;
}

.float-widget {
  position: absolute;
  border: 1px solid var(--hair);
  background: rgba(18, 20, 22, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.widget-card {
  right: 590px;
  top: 436px;
  width: 178px;
  height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  border-radius: 28px;
}

.widget-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-wordmark {
  display: inline-grid;
  place-items: center;
  min-width: 27px;
  height: 24px;
  padding: 0 5px;
  border-radius: 7px;
  background: #ffffff;
  color: var(--teal-deep);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0;
}

.widget-card strong,
.inline-widget strong {
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 43px;
  font-weight: 360;
  letter-spacing: 0;
}

.widget-card > span,
.inline-widget > span {
  color: var(--text-3);
  font-size: 12px;
}

.lock-card {
  right: 54px;
  top: 498px;
  width: 312px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 24px;
}

.lock-card div,
.inline-live div {
  display: grid;
  gap: 4px;
}

.lock-card strong,
.inline-live strong {
  font-size: 20px;
}

.lock-card span:last-child,
.inline-live span:last-child {
  color: var(--text-2);
  font-size: 13px;
}

.lock-card button,
.inline-live button {
  height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: var(--teal);
  color: #ffffff;
  font-size: 13px;
  font-weight: 760;
}

.hero[data-demo-state="overtime"] .progress-fill {
  width: 100%;
  background: var(--amber);
}

.hero[data-demo-state="overtime"] .demo-status-label,
.hero[data-demo-state="overtime"] .today-line strong,
.hero[data-demo-state="overtime"] .widget-card strong,
.hero[data-demo-state="overtime"] .inline-widget strong {
  color: var(--amber);
}

.hero[data-demo-state="done"] .progress-fill {
  width: 100%;
}

.hero[data-demo-state="done"] .today-line strong {
  color: var(--teal);
}

.section {
  padding: 106px 28px;
  background: var(--bg);
}

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

.section h2 {
  max-width: 820px;
  margin-top: 13px;
  font-size: 54px;
  line-height: 1.04;
}

.section p {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.56;
}

.why-section {
  background:
    radial-gradient(circle at 86% 8%, rgba(54, 186, 186, 0.12), transparent 34%),
    var(--bg);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin-top: 52px;
}

.benefit-card,
.rhythm-metric,
.surface-card,
.evidence-panel,
.availability-section {
  border: 1px solid var(--hair);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.benefit-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 18px;
}

.benefit-card span,
.rhythm-metric span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benefit-card h3,
.surface-card h3 {
  margin: 24px 0 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.18;
}

.benefit-card p,
.surface-card p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.rhythm-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 72px;
  align-items: start;
  background: #090d0f;
}

.rhythm-board {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: var(--hair);
}

.rhythm-metric {
  min-height: 220px;
  padding: 26px;
  border: 0;
  border-radius: 0;
  background: rgba(18, 20, 22, 0.72);
}

.rhythm-metric strong {
  display: block;
  margin-top: 32px;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 70px;
  font-weight: 360;
  line-height: 1;
  letter-spacing: 0;
}

.rhythm-metric p {
  margin-top: 13px;
  font-size: 15px;
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hair);
}

.timeline-row {
  display: grid;
  grid-template-columns: 78px 24px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 104px;
  padding-top: 26px;
  border-bottom: 1px solid var(--hair);
}

.timeline-row time {
  color: var(--text);
  font-size: 18px;
  font-weight: 720;
}

.timeline-row span {
  width: 11px;
  height: 11px;
  margin-top: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.timeline-row.is-current span {
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(54, 186, 186, 0.16);
}

.timeline-row p {
  margin: 0;
  font-size: 15px;
}

.surfaces-section {
  background:
    radial-gradient(circle at 20% 0%, rgba(54, 186, 186, 0.08), transparent 32%),
    var(--bg);
}

.surface-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin-top: 52px;
}

.surface-card {
  min-height: 416px;
  padding: 18px;
  border-radius: 18px;
}

.surface-demo {
  min-height: 234px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(54, 186, 186, 0.15), transparent 62%),
    #0c1012;
}

.inline-widget {
  width: 178px;
  height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  border: 1px solid var(--hair);
  border-radius: 28px;
  background: rgba(18, 20, 22, 0.82);
}

.inline-live {
  width: 310px;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--hair);
  border-radius: 24px;
  background: rgba(18, 20, 22, 0.82);
}

.inline-watch {
  width: 128px;
  height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--hair);
  border-radius: 36px;
  background: rgba(18, 20, 22, 0.82);
}

.inline-watch strong {
  font-size: 27px;
  font-weight: 680;
}

.inline-watch span:last-child {
  color: var(--text-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-section {
  background: #090d0f;
}

.evidence-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 60px;
  align-items: start;
  max-width: 1180px;
  padding: 34px;
  border-radius: 24px;
}

.evidence-copy p {
  margin-top: 0;
  font-size: 16px;
}

.evidence-copy p + p {
  margin-top: 16px;
}

.references {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.references a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--teal-soft);
  font-size: 14px;
  font-weight: 680;
}

.availability-section {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  min-height: 390px;
  margin: 0;
  border-width: 1px 0 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 78% 0%, rgba(54, 186, 186, 0.12), transparent 38%),
    #07090b;
}

.availability-copy {
  max-width: 690px;
}

.site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 28px;
  border-top: 1px solid var(--hair);
  background: #07090b;
  color: var(--text-3);
  font-size: 14px;
}

.site-footer .wordmark {
  font-size: 15px;
}

@media (max-width: 1180px) {
  .hero {
    min-height: 980px;
  }

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

  .onboarding-phone {
    right: 260px;
    top: 450px;
    transform: rotate(-7deg) scale(0.82);
  }

  .home-phone {
    right: 20px;
    top: 430px;
    transform: rotate(5deg) scale(0.84);
  }

  .widget-card {
    right: auto;
    left: 40px;
    top: 690px;
  }

  .lock-card {
    right: 30px;
    top: 810px;
  }

  .benefit-grid,
  .surface-grid,
  .rhythm-board {
    grid-template-columns: 1fr;
  }

  .rhythm-section,
  .evidence-panel {
    display: block;
  }

  .timeline {
    margin-top: 46px;
  }

  .evidence-copy {
    margin-top: 28px;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 0 18px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 920px;
    padding: 112px 18px 42px;
  }

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

  .hero h1 {
    font-size: 66px;
  }

  .hero-line {
    max-width: 330px;
    font-size: 28px;
  }

  .lead {
    max-width: 350px;
    font-size: 17px;
  }

  .hero-actions,
  .mode-control {
    width: 100%;
    max-width: 360px;
  }

  .button {
    width: 100%;
  }

  .mode-button {
    min-width: 0;
    flex: 1;
  }

  .onboarding-phone {
    right: auto;
    left: -116px;
    top: 560px;
    transform: rotate(-7deg) scale(0.56);
  }

  .home-phone {
    right: -108px;
    top: 560px;
    transform: rotate(5deg) scale(0.56);
  }

  .widget-card {
    left: 18px;
    top: 738px;
    transform: scale(0.78);
    transform-origin: top left;
  }

  .lock-card {
    right: 12px;
    top: 775px;
    width: 286px;
    transform: scale(0.78);
    transform-origin: top right;
  }

  .section {
    padding: 76px 18px;
  }

  .section h2 {
    font-size: 38px;
  }

  .section p {
    font-size: 16px;
  }

  .benefit-card {
    min-height: 196px;
  }

  .rhythm-metric {
    min-height: 190px;
  }

  .timeline-row {
    grid-template-columns: 68px 20px minmax(0, 1fr);
    gap: 12px;
  }

  .surface-card {
    min-height: 390px;
  }

  .inline-live {
    width: 286px;
  }

  .evidence-panel {
    padding: 24px;
  }

  .availability-section {
    display: block;
    min-height: 420px;
  }

  .availability-section .button {
    margin-top: 30px;
  }

  .site-footer {
    min-height: 96px;
    padding: 22px 18px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .header-pill {
    padding: 0 13px;
    font-size: 13px;
  }

  .site-header .wordmark {
    padding: 0 13px;
  }

  .hero {
    min-height: 940px;
  }

  .onboarding-phone {
    left: -132px;
    top: 580px;
  }

  .home-phone {
    right: -130px;
    top: 582px;
  }

  .widget-card {
    top: 760px;
  }

  .lock-card {
    top: 805px;
    right: 0;
    transform: scale(0.74);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
