:root {
  color-scheme: light;
  --black: #050505;
  --ink: #141414;
  --muted: #62666d;
  --line: #dedfe2;
  --panel: #f5f6f4;
  --ice: #eaf5ff;
  --mint: #c8f6df;
  --lime: #c7ff66;
  --coral: #ff5b4a;
  --gold: #ffc83d;
  --violet: #7f5cff;
  --blue: #348cff;
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::selection {
  background: var(--lime);
  color: var(--black);
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-header nav a {
  padding: 8px 12px;
  border-radius: 999px;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  background: #f0f0ee;
  color: var(--ink);
}

.nav-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.nav-cta {
  padding: 0 18px;
  background: var(--black);
  color: white;
  font-size: 0.94rem;
}

.primary-button {
  padding: 0 24px;
  background: var(--black);
  color: white;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.secondary-button {
  padding: 0 20px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.nav-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.section-pad {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100svh - 80px);
  padding-top: 72px;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 7vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4.5vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.34rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  color: #3f4247;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

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

.proof-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 0;
}

.proof-points div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.proof-points dt {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.proof-points dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 650px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 0 5% 8%;
  z-index: -1;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(234, 245, 255, 0.95), rgba(245, 246, 244, 0.9)),
    var(--ice);
}

.product-collage {
  display: block;
  overflow: hidden;
}

.hero-shot {
  position: absolute;
  width: 220px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 24px;
  background: #101010;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.24);
}

.hero-shot-block {
  top: 92px;
  left: 0;
  transform: rotate(-5deg);
}

.hero-shot-earn {
  top: 18px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
}

.hero-shot-scroll {
  top: 92px;
  right: 0;
  transform: rotate(5deg);
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 280px;
  height: 570px;
  border: 10px solid #111111;
  border-radius: 42px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.24);
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 5;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #0d0d0d;
  transform: translateX(-50%);
}

.phone-light {
  top: 24px;
  left: 8px;
  background: #f7f7f3;
  color: var(--black);
  transform: rotate(-5deg);
}

.phone-dark {
  right: 8px;
  bottom: 0;
  background: #050505;
  color: white;
  transform: rotate(4deg);
}

.phone-status {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 0;
  font-size: 0.8rem;
  font-weight: 800;
}

.status-dots,
.coin {
  width: 48px;
  height: 18px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.25;
}

.coin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 24px;
  background: #151b24;
  color: var(--gold);
  opacity: 1;
  font-size: 0.72rem;
}

.lock-screen {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: 72px 26px 24px;
  text-align: center;
}

.lock-screen img {
  width: 80px;
  height: 80px;
  margin-bottom: 22px;
  border-radius: 18px;
}

.lock-screen p {
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.1;
}

.lock-screen span {
  color: #73777d;
  font-size: 0.88rem;
}

.phone-button {
  position: absolute;
  right: 20px;
  bottom: 22px;
  left: 20px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: #111111;
  color: white;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.phone-button.invert {
  background: white;
  color: var(--black);
}

.score-ring {
  display: grid;
  width: 150px;
  height: 150px;
  margin: 48px auto 24px;
  place-items: center;
  border: 14px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--lime);
  border-right-color: var(--blue);
  border-radius: 50%;
}

.score-ring span {
  display: block;
  margin-top: 18px;
  font-size: 3rem;
  font-weight: 950;
  line-height: 0.8;
}

.score-ring small {
  margin-top: -24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.habit-list {
  display: grid;
  gap: 9px;
  padding: 0 16px;
}

.habit-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: #111821;
}

.habit-row strong,
.habit-row b {
  display: block;
  font-size: 0.86rem;
}

.habit-row small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.74rem;
}

.habit-row b {
  color: var(--lime);
}

.habit-icon,
.habit-chip {
  display: inline-block;
  border-radius: 8px;
}

.habit-icon {
  width: 34px;
  height: 34px;
}

.blue {
  background: var(--blue);
}

.red {
  background: var(--coral);
}

.yellow {
  background: var(--gold);
}

.green {
  background: #1fc77e;
}

.purple {
  background: var(--violet);
}

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

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  align-items: end;
  max-width: none;
  gap: 28px;
}

.section-heading.split p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.steps {
  padding-top: 56px;
}

.step-grid,
.habit-grid,
.screen-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card,
.habit-grid article,
.panel {
  border-radius: var(--radius);
}

.step-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
}

.step-card h3,
.step-card p {
  padding-right: 24px;
  padding-left: 24px;
}

.step-card h3 {
  margin: 22px 0 10px;
  font-size: 2rem;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.step-card p {
  margin-bottom: 26px;
  color: var(--muted);
}

.step-art {
  display: grid;
  min-height: 310px;
  place-items: center;
  overflow: hidden;
  padding: 0;
  background: #0a0a0a;
  color: white;
}

.block-art {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #050505;
}

.earn-art {
  background: var(--ice);
  color: var(--black);
}

.scroll-art {
  background: #111111;
}

.step-image {
  width: 100%;
  height: 430px;
  object-fit: contain;
  object-position: center;
}

.mini-phone {
  display: grid;
  width: 156px;
  height: 244px;
  place-items: center;
  padding: 24px;
  border: 7px solid #f4f4f4;
  border-radius: 26px;
  text-align: center;
}

.mini-phone img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}

.mini-phone p {
  padding: 0;
  margin: 12px 0 0;
  color: white;
  font-size: 0.86rem;
  font-weight: 800;
}

.reward-ticket,
.time-stack {
  width: min(100%, 250px);
  padding: 24px;
  border-radius: var(--radius);
}

.reward-ticket {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: white;
  box-shadow: 0 18px 40px rgba(35, 80, 120, 0.16);
}

.reward-ticket span,
.time-stack span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reward-ticket strong,
.reward-ticket b,
.time-stack strong,
.time-stack small {
  display: block;
}

.reward-ticket strong {
  margin-top: 18px;
  font-size: 1.5rem;
}

.reward-ticket b {
  color: var(--coral);
  font-size: 2.2rem;
}

.time-stack {
  background: #f7f7f3;
  color: var(--black);
}

.time-stack strong {
  margin: 18px 0 8px;
  font-size: 4rem;
  line-height: 0.9;
}

.time-stack small {
  color: var(--muted);
}

.habit-section {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - var(--max)) / 2));
  padding-left: max(16px, calc((100vw - var(--max)) / 2));
  background: var(--panel);
}

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

.habit-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  background: white;
}

.habit-chip {
  width: 46px;
  height: 46px;
  margin-bottom: 36px;
}

.habit-grid p,
.panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.screens {
  padding-bottom: 72px;
}

.screen-showcase {
  align-items: stretch;
}

.screenshot-showcase {
  align-items: start;
}

.shot-panel {
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: var(--radius);
  background: #050505;
  color: white;
}

.shot-panel img {
  width: 100%;
  height: 520px;
  border-radius: 6px;
  object-fit: contain;
  object-position: top center;
  background: #050505;
}

.shot-panel h3 {
  margin: 22px 0 10px;
}

.shot-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
}

.panel {
  min-height: 410px;
  padding: 26px;
  border: 1px solid var(--line);
}

.dark-panel {
  background: #050505;
  color: white;
}

.dark-panel p {
  color: rgba(255, 255, 255, 0.62);
}

.light-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ice);
  color: var(--black);
}

.panel-top,
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-top {
  margin-bottom: 42px;
}

.panel-top span {
  color: rgba(255, 255, 255, 0.58);
}

.panel-top b {
  color: var(--lime);
}

.chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 9px;
  height: 130px;
  margin-bottom: 34px;
}

.chart span {
  display: block;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--lime), var(--blue));
}

.checkmark {
  position: relative;
  width: 112px;
  height: 112px;
  margin-bottom: 30px;
  border: 11px solid white;
  border-radius: 50%;
  background: white;
  box-shadow: 0 20px 40px rgba(38, 111, 174, 0.18);
}

.checkmark::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 39px;
  width: 24px;
  height: 48px;
  border-right: 9px solid var(--black);
  border-bottom: 9px solid var(--black);
  border-radius: 2px;
  transform: rotate(45deg);
}

.reward-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 40px;
}

.reward-bar span {
  height: 58px;
  border-radius: 5px;
  background: rgba(5, 5, 5, 0.18);
}

.reward-bar span:nth-child(-n + 3) {
  background: var(--black);
}

.settings-panel {
  display: flex;
  flex-direction: column;
}

.settings-panel h3 {
  margin-bottom: 24px;
}

.settings-row {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-row span {
  color: rgba(255, 255, 255, 0.62);
}

.settings-row b {
  color: var(--gold);
}

.settings-panel p {
  margin-top: auto;
  padding-top: 28px;
}

.gallery-section {
  padding-top: 48px;
}

.asset-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.asset-gallery img {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  background: var(--ice);
}

.widget-preview {
  width: 100%;
  margin-top: 16px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: var(--radius);
  background: #050505;
}

.cta {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black);
  color: white;
}

.cta img {
  width: 92px;
  height: 92px;
  border-radius: 20px;
}

.cta .eyebrow {
  color: var(--lime);
}

.cta h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.cta .primary-button {
  background: white;
  color: var(--black);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--black);
}

.site-footer p {
  margin: 0;
}

.legal-main {
  width: min(calc(100% - 32px), 900px);
  margin: 0 auto;
  padding: 92px 0 72px;
}

.legal-hero {
  margin-bottom: 42px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: none;
  margin-bottom: 14px;
  font-size: clamp(3rem, 8vw, 6rem);
}

.legal-updated {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.legal-content {
  color: #31343a;
  font-size: 1.02rem;
}

.legal-content section {
  padding: 26px 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
}

.legal-content h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
}

.legal-content h3 {
  margin: 18px 0 8px;
  font-size: 1.05rem;
}

.legal-content p,
.legal-content li {
  color: #3f4247;
}

.legal-content ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal-content a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .hero,
  .section-heading.split,
  .cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual {
    min-height: 610px;
  }

  .step-grid,
  .screen-showcase,
  .habit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asset-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta {
    text-align: left;
  }

  .site-footer,
  .footer-links {
    justify-items: start;
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .site-header nav {
    display: none;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .section-pad {
    width: min(calc(100% - 28px), var(--max));
    padding: 64px 0;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5.4rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.7rem);
  }

  .step-grid,
  .screen-showcase,
  .habit-grid {
    grid-template-columns: 1fr;
  }

  .proof-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .proof-points div {
    padding: 12px 9px;
  }

  .proof-points dt {
    font-size: 1.45rem;
  }

  .proof-points dd {
    margin-top: 5px;
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-visual::before {
    inset: 4% -2% 2% -2%;
    border-radius: 24px;
  }

  .phone {
    width: min(76vw, 270px);
    height: 550px;
  }

  .phone-light {
    top: 0;
    left: 0;
  }

  .phone-dark {
    right: 0;
    bottom: 0;
  }

  .hero-shot {
    width: min(44vw, 180px);
  }

  .hero-shot-block {
    top: 86px;
    left: 6px;
  }

  .hero-shot-earn {
    top: 28px;
  }

  .hero-shot-scroll {
    top: 86px;
    right: 6px;
  }

  .step-art {
    min-height: 270px;
  }

  .step-image,
  .shot-panel img {
    height: 500px;
  }

  .habit-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .panel {
    min-height: 340px;
  }

  .cta {
    padding: 24px;
  }
}

@media (max-width: 460px) {
  .hero-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-shot {
    width: 150px;
    border-radius: 18px;
  }

  .hero-shot-block {
    left: 10px;
    transform: rotate(-2deg);
  }

  .hero-shot-scroll {
    right: 10px;
    transform: rotate(2deg);
  }

  .asset-gallery {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }

  .asset-gallery img {
    min-width: 76%;
    scroll-snap-align: start;
  }

  .phone {
    width: 230px;
    height: 488px;
    border-width: 8px;
    border-radius: 34px;
  }

  .phone::before {
    width: 70px;
    height: 20px;
  }

  .phone-light {
    transform: rotate(-3deg);
  }

  .phone-dark {
    transform: rotate(3deg);
  }

  .score-ring {
    width: 124px;
    height: 124px;
    margin-top: 36px;
  }

  .score-ring span {
    font-size: 2.35rem;
  }

  .habit-row {
    grid-template-columns: 28px 1fr auto;
    padding: 9px;
  }

  .habit-icon {
    width: 28px;
    height: 28px;
  }

  .lock-screen {
    min-height: 350px;
    padding-top: 58px;
  }
}

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