:root {
  --purple: #ffffff;
  --purple-light: #d4d4d8;
  --purple-dim: rgba(255,255,255,0.1);
  --gold: #a1a1aa;
  --white: #f4f4f5;
  --off-white: #d4d4d8;
  --muted: #71717a;
  --bg: #000000;
  --bg2: #09090b;
  --card: #18181b;
  --border: rgba(255,255,255,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Canvas starfield ── */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Noise grain overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.35;
}

/* ── Radial glows ── */
.glow-top {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.glow-mid {
  position: absolute;
  top: 60vh;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ── Layout ── */
.container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.7);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.logo span { color: var(--white); }
.nav-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  background: transparent; /* Force transparent background */
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  animation: fadeUp 0.8s ease both;
}
.hero-eyebrow::before {
  content: '✦';
  font-size: 10px;
}
.hero-h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(52px, 10vw, 110px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--white);
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-h1 span { color: var(--white); }
.hero-h1 .hero-sub-line {
  display: block;
  font-size: clamp(20px, 3.5vw, 38px);
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--white);
  font-weight: 800;
  margin-top: 10px;
  opacity: 0.6;
}
.hero-h1 em {
  font-style: normal;
  color: var(--white);
}
.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 48px;
  font-weight: 300;
  line-height: 1.7;
  animation: fadeUp 0.8s 0.2s ease both;
}

/* ── Waitlist form ── */
.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  width: 100%;
  margin: 0 auto 20px;
  animation: fadeUp 0.8s 0.3s ease both;
}
.waitlist-form input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-form input::placeholder { color: var(--muted); }
.waitlist-form input:focus { border-color: rgba(255,255,255,0.3); }
.btn-primary {
  background: var(--white);
  color: #000;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
}
.btn-primary:hover { background: #d4d4d8; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.waitlist-note {
  font-size: 12px;
  color: var(--muted);
  animation: fadeUp 0.8s 0.4s ease both;
}
.waitlist-note span {
  color: var(--gold);
}

/* ── Phone mockup grid ── */
.phones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 280px);
  gap: 48px;
  justify-content: center;
  padding: 40px 24px;
}

/* Phone frame */
.ph {
  flex-shrink: 0;
  width: 280px;
  height: 580px;
  border-radius: 48px;
  background: #000;
  border: 10px solid #1a1a1a;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 2px #222,
    0 30px 60px rgba(0,0,0,0.7);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.ph::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  z-index: 100;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}

.ph:hover {
  transform: translateY(-12px) scale(1.02);
}

/* ── Section label ── */
.section-label {
  text-align: center;
  margin-bottom: 20px;
}
.section-label .eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.section-label h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 12px;
  color: var(--white);
}
.section-label p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  margin-top: 14px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── Features ── */
.features {
  padding: 80px 0 100px;
  position: relative;
  z-index: 2;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 60px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
}
.feature-card.highlight {
  border-color: rgba(255,255,255,0.2);
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--white);
}
.feature-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}
.feature-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ── Nag mode feature highlight ── */
.nag-section {
  padding: 60px 0 100px;
  position: relative;
  z-index: 2;
}
.nag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.nag-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.nag-text h2 em {
  font-style: normal;
  color: var(--white);
}
.nag-text p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 32px;
}
.nag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--off-white);
  background: var(--card);
}
.pill.active {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.nag-visual {
  position: relative;
}
.notif-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}
.notif-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: slideIn 0.5s ease both;
}
.notif-card:nth-child(2) { animation-delay: 0.15s; }
.notif-card:nth-child(3) { animation-delay: 0.3s; opacity: 0.6; }
.notif-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #27272a, #09090b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}
.notif-body { flex: 1; }
.notif-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.notif-sub {
  font-size: 12px;
  color: var(--muted);
}
.notif-time {
  font-size: 11px;
  color: var(--muted);
}

/* ── Stats strip ── */
.stats-strip {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 0 100px;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num span { color: var(--white); }
.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ── XP / Gamification section ── */
.xp-section {
  padding: 40px 0 100px;
  position: relative;
  z-index: 2;
}
.xp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
}
.xp-card-big {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}
.xp-card-big h3 {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.xp-card-big p {
  font-size: 15px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}
.level-bar {
  margin-top: 28px;
}
.level-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.level-bar-label strong { color: var(--white); font-weight: 600; }
.level-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.level-bar-fill {
  height: 100%;
  width: 28%;
  background: linear-gradient(90deg, #ffffff, #a1a1aa);
  border-radius: 100px;
}
.level-tiers {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.tier {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--muted);
}
.tier.current {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.xp-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.xp-mini-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  flex: 1;
  transition: border-color 0.2s;
}
.xp-mini-card:hover { border-color: rgba(255,255,255,0.2); }
.xp-mini-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.xp-mini-card p {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ── Theme section ── */
.theme-section {
  padding: 40px 0 100px;
  position: relative;
  z-index: 2;
}
.theme-swatches {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}
.swatch {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
  border: 2px solid rgba(255,255,255,0.12);
}
.swatch:hover { transform: scale(1.1); }
.swatch.s1 { background: linear-gradient(135deg, #9333ea, #c026d3); }
.swatch.s2 { background: linear-gradient(135deg, #e05a1a, #f07030); }
.swatch.s3 { background: linear-gradient(135deg, #00c8d4, #00e0f0); }
.swatch.s4 { background: linear-gradient(135deg, #3ECF8E, #008C6A); }
.swatch.s5 { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.swatch.s6 { background: linear-gradient(135deg, #d0d0d0, #f0f0f0); border-color: rgba(255,255,255,0.25); }
.swatch-label {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.06em;
}
.swatch-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.theme-note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* ── Final CTA ── */
.cta-section {
  padding: 80px 0 120px;
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 36px;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '✦';
  position: absolute;
  top: 32px; left: 48px;
  font-size: 14px;
  color: rgba(255,255,255,0.1);
}
.cta-box::after {
  content: '✦';
  position: absolute;
  bottom: 32px; right: 48px;
  font-size: 10px;
  color: rgba(255,255,255,0.1);
}
.cta-box h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  line-height: 1.0;
}
.cta-box p {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.cta-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
}
.cta-form input::placeholder { color: var(--muted); }
.cta-form input:focus { border-color: rgba(255,255,255,0.3); }

/* ── Footer ── */
footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--white); }
footer p {
  font-size: 13px;
  color: var(--muted);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.1); }
  100% { box-shadow: 0 0 0 20px rgba(255,255,255,0); }
}

.animate-float { animation: float 4s ease-in-out infinite; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Success state ── */
.success-msg {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #86efac;
  margin-top: 12px;
  justify-content: center;
}
.success-msg.show { display: flex; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .phones-grid { grid-template-columns: repeat(2, 280px); }
}
@media (max-width: 768px) {
  .nag-row { grid-template-columns: 1fr; gap: 40px; }
  .xp-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .waitlist-form { flex-direction: column; }
  .cta-form { flex-direction: column; }
  .phones-grid { grid-template-columns: 1fr; }
}

/* ── INLINE PHONE SCREENS (SHARED) ── */

/* Status Bar */
.sb, .p-sb {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:32px 18px 8px;
}
.st, .p-st {
  font-size:11px;
  font-weight:700;
  color:rgba(255,255,255,0.9);
  font-family:'Syne',sans-serif;
}

/* Hero Card */
.hc, .p-hc {
  margin:12px 14px 0;
  border-radius:20px;
  padding:20px 18px 18px;
}
.hcl, .p-hcl {
  font-size:11px;
  font-weight:700;
  color:rgba(255,255,255,0.8);
  text-transform:uppercase;
  letter-spacing:.08em;
  line-height: 1.4;
  font-family: 'Syne', sans-serif;
}
.hcn, .p-hcn {
  font-size:32px;
  font-weight:800;
  color:#fff;
  font-family:'Syne',sans-serif;
  line-height:1.1;
  margin-top: 4px;
}
.hcd, .p-hcd {
  font-size:10px;
  font-weight:700;
  color:rgba(255,255,255,0.9);
  background:rgba(255,255,255,0.25);
  padding:4px 10px;
  border-radius:8px;
  display:inline-block;
  margin-top:8px;
}

/* Hero Stats */
.hs, .p-hs {
  display:flex;
  gap:8px;
  margin-top:18px;
}
.hss, .p-hss {
  flex:1;
  text-align:center;
  background:rgba(255,255,255,0.15);
  border-radius:12px;
  padding:10px 4px;
}
.hsn, .p-hsn {
  font-size:24px;
  font-weight:700;
  color:#fff;
  font-family:'Syne',sans-serif;
}
.hsl, .p-hsl {
  font-size:9px;
  color:rgba(255,255,255,0.7);
  text-transform:uppercase;
  letter-spacing:.05em;
  font-weight:700;
}

/* Section Header */
.sec, .p-sec {
  display:flex;
  align-items:center;
  gap:10px;
  padding:24px 18px 8px;
}
.sei, .p-sei {
  width:24px;
  height:24px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.set, .p-set {
  font-size:12px;
  font-weight:800;
  color:#fff;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* Habit Row */
.hr, .p-hr {
  display:flex;
  gap:12px;
  padding:10px 18px 0;
  flex-wrap:wrap;
}
.hi, .p-hi {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  width:54px;
}
.hci, .p-hci {
  width:48px;
  height:48px;
  border-radius:50%;
  border:3px solid;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 18px;
}
.hlb, .p-hlb {
  font-size:10px;
  font-weight:700;
  color:rgba(255,255,255,0.7);
  text-align:center;
}

/* Tasks / Habit Lists */
.tr, .p-tr { margin:10px 14px 0; }
.ti, .p-ti, .hli, .p-hli {
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  background:rgba(255,255,255,0.07);
  border-radius:14px;
  margin-bottom:8px;
}
.tc, .p-tc {
  width:16px;
  height:16px;
  border-radius:5px;
  border:2.5px solid;
  flex-shrink:0;
}
.tt, .p-tt, .hln, .p-hln {
  font-size:13px;
  color:#fff;
  font-weight:600;
}
.tg, .p-tg {
  font-size:9px;
  font-weight:800;
  padding:3px 10px;
  border-radius:8px;
  margin-left:auto;
  flex-shrink:0;
}

/* Habit List specifics */
.hle, .p-hle {
  font-size:16px;
  width:28px;
  height:28px;
  background:rgba(255,255,255,0.1);
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hls, .p-hls {
  font-size:10px;
  color:rgba(255,255,255,0.5);
  font-weight:600;
}
.hlck, .p-hlck {
  width:22px;
  height:22px;
  border-radius:50%;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-left: auto;
}

/* Stats Blocks */
.p-sb2 {
  flex:1;
  background:rgba(255,255,255,0.08);
  border-radius:12px;
  padding:12px 10px;
}
.p-sb2n {
  font-size:22px;
  font-weight:800;
  color:#fff;
  font-family:'Syne',sans-serif;
}
.p-sb2l {
  font-size:9px;
  color:rgba(255,255,255,0.5);
  text-transform:uppercase;
  letter-spacing:.05em;
  font-weight: 700;
}

/* Nav Bar & FAB */
.nb, .p-nb {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  background:rgba(10,10,10,0.98);
  border-top:1px solid rgba(255,255,255,0.12);
  display:flex;
  padding:16px 0 32px;
  z-index: 1000;
}
.ni, .p-ni {
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
.nic, .p-nic {
  font-size:22px;
  color:rgba(255,255,255,0.8);
}
.nil, .p-nil {
  font-size:9.5px;
  color:rgba(255,255,255,0.8);
  text-transform:uppercase;
  letter-spacing:.05em;
  font-weight:800;
}

.fab, .p-fab {
  position:absolute;
  bottom:95px;
  right:18px;
  width:52px;
  height:52px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  color:#fff;
  z-index: 1100;
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

/* Other Snippets */
.hmap { display:grid; grid-template-columns:repeat(14,1fr); gap:2.5px; }
.hmc { height:10px; border-radius:2px; }
.wbr { display:flex; align-items:flex-end; gap:4px; height:50px; }
.wbw { flex:1; }
.wb { width:100%; border-radius:3px 3px 0 0; }
.xpc { background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.12); border-radius:14px; padding:12px 14px; margin-bottom:12px; }
.sg { display:flex; gap:8px; margin-bottom:8px; }
