/* App Launch. Change the colors here. */
:root {
  --bg: #0b1512;
  --bg-2: #10201b;
  --text: #ecf5f1;
  --muted: #9fb5ac;
  --accent: #5ee0a0;
  --accent-2: #b4f06b;
  --line: rgb(255 255 255 / 0.12);
  --phone: #1a1f1d;
  --screen: #f5f8f4;
  --screen-text: #17231e;
  --screen-muted: #6b7c74;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(800px 500px at 80% 30%, rgb(94 224 160 / 0.16), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgb(180 240 107 / 0.08), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.nav { display: flex; align-items: center; justify-content: space-between; width: min(1140px, 100% - 40px); margin: 0 auto; padding: 24px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.logo svg { width: 28px; height: 28px; color: var(--accent); }
.nav-link { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-link:hover { color: var(--text); }

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  width: min(1140px, 100% - 40px);
  margin: 0 auto;
  padding: 32px 0 56px;
}

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.eyebrow svg { width: 18px; height: 18px; }

h1 { margin: 0 0 20px; font-size: clamp(2.3rem, 5.5vw, 3.8rem); line-height: 1.05; letter-spacing: -0.035em; }
.lead { max-width: 520px; margin: 0 0 32px; color: var(--muted); font-size: 1.1rem; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 200px;
  padding: 10px 20px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #000;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.store:hover { border-color: var(--accent); transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; color: var(--accent); }
.store span { display: flex; flex-direction: column; font-size: 1.15rem; font-weight: 700; line-height: 1.15; }
.store small { color: var(--muted); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em; }
.fine { margin: 16px 0 0; color: var(--muted); font-size: 0.88rem; }

/* Phone */
.phone-wrap { display: flex; justify-content: center; perspective: 1200px; }
.phone {
  position: relative;
  width: 290px;
  aspect-ratio: 9 / 19;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2b322f, var(--phone) 40%);
  box-shadow:
    inset 0 0 0 2px #39423e,
    0 40px 80px rgb(0 0 0 / 0.55),
    0 0 0 1px rgb(255 255 255 / 0.05);
  animation: float 6s ease-in-out infinite;
}
.notch { position: absolute; top: 22px; left: 50%; z-index: 2; width: 92px; height: 26px; border-radius: 999px; background: #050706; transform: translateX(-50%); }
.screen {
  height: 100%;
  overflow: hidden;
  padding: 18px 20px;
  border-radius: 36px;
  background: var(--screen);
  color: var(--screen-text);
  font-size: 13px;
}
.status-bar { display: flex; justify-content: space-between; align-items: center; padding: 0 8px; font-weight: 700; font-size: 12px; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; }
.bars i { width: 3px; background: var(--screen-text); border-radius: 1px; }
.bars i:nth-child(1) { height: 5px; } .bars i:nth-child(2) { height: 8px; } .bars i:nth-child(3) { height: 11px; }
.hello { margin: 34px 0 0; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.day { margin: 0 0 14px; color: var(--screen-muted); }

.ring { position: relative; width: 120px; margin: 0 auto 14px; }
.ring svg { display: block; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring-track { stroke: #dfe8e2; }
.ring-fill { stroke: #2fb878; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 78.5; animation: ring 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.4s; }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.ring-label strong { font-size: 22px; }
.ring-label span { color: var(--screen-muted); font-size: 11px; }

.habits { margin: 0; padding: 0; list-style: none; }
.habits li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-bottom: 6px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 0.06); font-weight: 600; }
.habits em { margin-left: auto; color: var(--screen-muted); font-style: normal; font-weight: 500; font-size: 11px; }
.tick { width: 18px; height: 18px; flex: none; border: 2px solid #c6d3cb; border-radius: 50%; }
.done .tick { border-color: #2fb878; background: #2fb878 radial-gradient(circle, #fff 2.5px, transparent 3px); }
.done { color: var(--screen-muted); }

.grove { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 46px; margin-top: 10px; }
.grove span { width: 22px; height: 40px; background: #2fb878; border-radius: 50% 50% 4px 4px / 60% 60% 4px 4px; position: relative; }
.grove span::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 3px; height: 8px; background: #7a5a3c; transform: translateX(-50%); }
.grove .small { height: 26px; background: #7fd39f; }

.foot { padding: 24px 20px 32px; text-align: center; color: var(--muted); font-size: 0.85rem; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .stores { justify-content: center; }
  .phone { width: 250px; }
}

@keyframes float { 50% { transform: translateY(-12px) rotateX(2deg) rotateY(-4deg); } }
@keyframes ring { from { stroke-dashoffset: 314; } }

@media (prefers-reduced-motion: reduce) {
  .phone, .ring-fill { animation: none; }
  .store { transition: none; }
}
