/* ─────────────────────────────────────────────────────────────
   Widget Countdown — app page (/days)
   Builds on styles.css; only app-specific bits live here.
───────────────────────────────────────────────────────────── */

/* ── App hero ─────────────────────────────────────────────── */
.app-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) var(--pad) clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(1.75rem, 5vw, 4rem);
}
.app-hero__chip {
  width: clamp(60px, 10vw, 76px);
  height: clamp(60px, 10vw, 76px);
  border-radius: 24%;
  margin-bottom: 1rem;
  box-shadow: 0 14px 34px rgba(226, 16, 104, .3), 0 0 0 1px var(--line);
}
.app-hero__name {
  margin: 0 0 .5rem;
  font-weight: 900;
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  line-height: .95;
  letter-spacing: -0.03em;
}
.app-hero__tag {
  margin: 0 0 1.1rem;
  font-weight: 800;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
}
.app-hero__sub {
  margin: 0 0 1.8rem;
  max-width: 46ch;
  font-size: clamp(1rem, 2.3vw, 1.18rem);
  color: var(--muted);
}
.app-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; }
.app-hero__device { justify-self: center; width: 100%; max-width: 340px; }

/* Free / privacy pill row */
.pills { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0 0; }
.pill {
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  padding: .42rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
}
.pill--free { color: var(--text); border-color: rgba(13,212,250,.45); }
.pill--free::before { content: "✓ "; color: var(--cyan); font-weight: 800; }

.btn { white-space: nowrap; }

/* Store buttons — placeholders until the live links exist */
.btn--store { gap: .65rem; }
.btn--store small { display: block; font-size: .68rem; font-weight: 600; opacity: .8; letter-spacing: .04em; }
.btn--store b { font-size: 1.05rem; font-weight: 800; line-height: 1; }
.btn--store span { text-align: left; line-height: 1.15; }
.btn__logo { width: 22px; height: 22px; flex: none; fill: currentColor; }
.btn.is-soon { pointer-events: none; opacity: .88; }

/* ── Framed phone shots (real iPhone frame baked into the PNG/JPG) ── */
.phone-shot { width: 100%; height: auto; display: block; }
.phone-shot--float { animation: float 8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .phone-shot--float { animation: none; } }

/* ── Widgets: two real screens side by side ───────────────── */
.wg-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}
.wg-card { display: grid; justify-items: center; gap: 1.4rem; }
.wg-card .phone-shot { max-width: 330px; }
.wg-card__meta { text-align: center; max-width: 34ch; }
.wg-card__meta h3 { margin: 0 0 .5rem; font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.7rem); }
.wg-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.wg-tags span {
  font-size: .82rem; font-weight: 600;
  padding: .34rem .8rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: var(--ink-2);
}

/* ── Closer look: alternating phone + text rows ───────────── */
.look { display: grid; gap: clamp(3rem, 8vw, 6rem); margin-top: clamp(2rem, 5vw, 3.5rem); }
.look-row {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(1.5rem, 6vw, 4.5rem);
}
.look-row:nth-child(even) .look-row__media { order: 2; }
.look-row__media { justify-self: center; width: 100%; max-width: 330px; }
.look-row__text h3 {
  margin: 0 0 .7rem;
  font-weight: 900; font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.03; letter-spacing: -0.02em;
}
.look-row__text p { margin: 0; color: var(--muted); font-size: clamp(1rem, 2.3vw, 1.15rem); max-width: 44ch; }
.look-row__eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: transparent; background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  margin: 0 0 .7rem;
}

/* ── "Coming soon" feature card ───────────────────────────── */
.card--soon { border-style: dashed; }
.card--soon:hover { transform: none; background: var(--ink-2); border-color: var(--line); }
.card--soon:hover::before { opacity: 0; }
.badge-soon {
  display: inline-block;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan);
}
.card--soon ul { list-style: none; margin: .55rem 0 0; padding: 0; color: var(--muted); }
.card--soon li { position: relative; padding: .3rem 0 .3rem 1.1rem; font-size: 1rem; }
.card--soon li::before { content: "→"; position: absolute; left: 0; color: var(--muted-2); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .app-hero { grid-template-columns: 1fr; text-align: center; }
  .app-hero__chip { margin-inline: auto; }
  .app-hero__sub { margin-inline: auto; }
  .app-hero__cta, .pills { justify-content: center; }
  .app-hero__device { display: none; }
  .wg-duo { gap: 2.5rem; }
  .look-row { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .look-row:nth-child(even) .look-row__media { order: 0; }
  .look-row__media { grid-row: 1; }
  .look-row__text p { margin-inline: auto; }
}
@media (max-width: 560px) {
  .wg-duo { grid-template-columns: 1fr; gap: 3rem; }
  .wg-card .phone-shot, .look-row__media, .app-hero__device { max-width: 290px; }
  .nav .wordmark { font-size: 1.1rem; }
}

/* Center the "What it does" intro so it sits balanced above the card grid. */
.section--tint .section__head { max-width: 48ch; margin-inline: auto; text-align: center; }
/* `.cards` sets `margin: 0`, which cancels the section's `margin-inline: auto`
   (same specificity, later in the file) — re-center the grid on wide screens. */
.section--tint .cards { margin-inline: auto; }
