:root {
  --bg: #07120f;
  --bg-2: #0d1d18;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f8fbf7;
  --muted: rgba(248, 251, 247, 0.7);
  --soft: rgba(248, 251, 247, 0.5);
  --green: #8fd2b6;
  --mint: #c9ffe3;
  --gold: #d7bd78;
  --blue: #108fff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 8%, rgba(143, 210, 182, 0.22), transparent 34%),
    radial-gradient(circle at 86% 10%, rgba(16, 143, 255, 0.16), transparent 30%),
    radial-gradient(circle at 60% 92%, rgba(215, 189, 120, 0.14), transparent 34%),
    linear-gradient(145deg, var(--bg), #020605 74%);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 20px 0 52px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 28px;
}

.brand,
.phone-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.phone-top img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.brand span {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hero-grid {
  flex: 1;
  display: grid;
  align-items: center;
  gap: 34px;
}

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

.eyebrow {
  width: fit-content;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(48px, 14vw, 92px);
  line-height: 0.93;
  letter-spacing: -0.07em;
}

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 4vw, 24px);
  line-height: 1.34;
}

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

.app-store-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 18px;
  color: #03100c;
  background: linear-gradient(135deg, #f7fff9, #bff6d5);
  box-shadow: 0 20px 44px rgba(143, 210, 182, 0.24);
  font-weight: 900;
  text-decoration: none;
}

.phone-preview {
  display: grid;
  place-items: center;
}

.phone-card {
  width: min(100%, 360px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(246, 248, 239, 0.98), rgba(236, 233, 220, 0.94)),
    #f4f1e8;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.phone-top {
  margin-bottom: 16px;
  color: #18231e;
}

.phone-top strong,
.phone-top span {
  display: block;
}

.phone-top strong {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.phone-top span {
  margin-top: 2px;
  color: rgba(24, 35, 30, 0.58);
  font-size: 14px;
  font-weight: 800;
}

.habit-art {
  width: 100%;
  aspect-ratio: 1 / 0.92;
  display: block;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.streak-panel {
  margin-top: 14px;
  padding: 15px 16px;
  border: 1px solid rgba(24, 35, 30, 0.08);
  border-radius: 22px;
  color: #18231e;
  background: rgba(255, 255, 255, 0.65);
}

.streak-panel span,
.streak-panel strong {
  display: block;
}

.streak-panel span {
  color: rgba(24, 35, 30, 0.62);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.streak-panel strong {
  margin-top: 5px;
  font-size: 30px;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.features {
  display: grid;
  gap: 14px;
  padding: 0 0 52px;
}

.features article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(160deg, var(--card-strong), var(--card));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.features span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.features h2 {
  margin-top: 10px;
  font-size: 26px;
  letter-spacing: -0.05em;
}

.features p {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.48;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 36px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
  color: var(--soft);
  font-size: 14px;
}

.footer p {
  color: var(--soft);
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.policy-page {
  width: min(820px, calc(100% - 32px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 36px 0 64px;
}

.policy-card {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(160deg, var(--card-strong), var(--card));
  box-shadow: var(--shadow);
}

.policy-card h1 {
  font-size: clamp(38px, 9vw, 64px);
}

.policy-card h2 {
  margin-top: 28px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.58;
}

.policy-card p {
  margin-top: 14px;
}

.policy-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

@media (min-width: 840px) {
  .hero {
    padding-top: 28px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  }

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

  .footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
