/* ─────────────────────────────────────────────────────────────
   Wavelet: Contraction Timer — app pages (/wavelet, /support)
   Builds on styles.css. Same navy, same type; a quiet teal from
   the app icon and the soft rose of the timer screen.
───────────────────────────────────────────────────────────── */
:root {
  --teal:   #5ED6DD;
  --teal-2: #0F6B6E;
  --rose:   #F4A7A1;
  --radius-lg: 26px;
}

/* A teal wash behind the hero instead of the studio's violet. */
.wavelet .glow--cool {
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(94, 214, 221, .14), transparent 70%),
    radial-gradient(70% 55% at 25% -10%, rgba(108, 91, 212, .18), transparent 70%),
    radial-gradient(40% 35% at 95% 40%, rgba(244, 167, 161, .06), transparent 70%);
}

.btn { white-space: nowrap; }
.wavelet .eyebrow--teal { color: var(--teal); }

/* ── Hero ─────────────────────────────────────────────────── */
.w-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) var(--pad) clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.w-hero__icon {
  width: clamp(84px, 13vw, 112px);
  height: clamp(84px, 13vw, 112px);
  border-radius: 22.5%;
  margin-bottom: 1.4rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px var(--line);
}
.w-hero__name {
  margin: 0 0 1.1rem;
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  line-height: .98;
  letter-spacing: -0.035em;
}
.w-hero__name span { display: block; color: var(--teal); }
.w-hero__sub {
  margin: 0 0 1.9rem;
  max-width: 44ch;
  font-size: clamp(1.05rem, 2.3vw, 1.22rem);
  line-height: 1.5;
  color: var(--muted);
}
.w-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; }
.w-hero__fine { margin: .9rem 0 0; font-size: .9rem; color: var(--muted-2); }
.w-hero__media { justify-self: center; width: 100%; max-width: 330px; }

/* App Store button (text: Apple's badge artwork isn't in the repo yet) */
.btn--store {
  gap: .1rem; flex-direction: column; align-items: flex-start;
  padding: .7rem 1.5rem .75rem;
  background: #fff; color: #0C0028;
}
.btn--store:hover { background: #EAFBFC; }
.btn--store small { font-size: .7rem; font-weight: 600; letter-spacing: .02em; opacity: .75; line-height: 1.1; }
.btn--store b { font-size: 1.15rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }

/* Promise pills */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.pill {
  font-size: .82rem; font-weight: 700; letter-spacing: .01em;
  padding: .42rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
}
.pill::before { content: "✓ "; color: var(--teal); font-weight: 800; }

/* ── Screens: a screenshot dressed as a phone screen ──────── */
.screen {
  width: 100%; height: auto; display: block;
  border-radius: 9% / 4.2%;
  box-shadow: 0 0 0 6px #18213A, 0 0 0 7px var(--line-2), 0 30px 60px -20px rgba(0, 0, 0, .7);
  background: #18213A;
}

/* ── Feature groups ───────────────────────────────────────── */
.features {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem;
}
.feature {
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--fill);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.feature__mark {
  display: inline-grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 14px;
  background: rgba(94, 214, 221, .12); color: var(--teal);
}
.feature__mark svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: .9rem 0 .6rem; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.15; }
.feature ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: 1rem; }
.feature li { margin: .35rem 0; }

/* ── Split: screenshot beside a list ──────────────────────── */
.split {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center;
}
.split__media { justify-self: center; width: 100%; max-width: 310px; }
.split__list { list-style: none; margin: 0; padding: 0; }
.split__list li { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.split__list li:first-child { border-top: 0; padding-top: 0; }
.split__list h3 { margin: 0 0 .3rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.015em; }
.split__list p { margin: 0; color: var(--muted); font-size: 1rem; }
.split__list a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

/* Price line */
.price {
  margin: 1.8rem 0 0;
  display: flex; flex-wrap: wrap; gap: .6rem 2rem;
  padding: 1.3rem 0; border-block: 1px solid var(--line);
  color: var(--muted);
}
.price b { color: var(--text); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; margin-right: .3rem; }
.price small { flex-basis: 100%; color: var(--muted-2); font-size: .88rem; }

/* ── Screenshots strip ────────────────────────────────────── */
.shots {
  list-style: none; margin: 0; padding: .5rem 0 1.5rem;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem);
}
.shots li, .shots figure { margin: 0; }
.shots figcaption { margin-top: 1.1rem; text-align: center; color: var(--muted); font-size: .95rem; }

/* ── The disclaimer, given room ───────────────────────────── */
.disclaimer {
  max-width: 760px;
  margin: 0;
  padding: 1.3rem 1.5rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rose);
  border-radius: var(--radius);
}
.disclaimer p { margin: 0; color: var(--text); }
.disclaimer p + p { margin-top: .6rem; color: var(--muted); font-size: .95rem; }

/* ── FAQ (native disclosure, no script) ───────────────────── */
.qa { max-width: 760px; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.02rem, 2.4vw, 1.15rem);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; flex: none;
  font-family: var(--font); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--muted-2);
  transition: transform var(--t) var(--ease);
}
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { margin: 0 0 1.3rem; color: var(--muted); max-width: 64ch; }
.qa a, .play-note a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.play-note { margin: 1.6rem 0 0; color: var(--muted); font-size: 1.05rem; }

/* ── Outro ────────────────────────────────────────────────── */
.w-outro__icon { width: 88px; height: 88px; border-radius: 22.5%; margin: 0 auto 1.6rem; box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 0 1px var(--line); }
.w-outro .contact__title span { color: var(--teal); }

/* ── Legal / support pages ────────────────────────────────── */
.wavelet .legal__body a:not(.btn) { color: var(--teal); }
.wavelet .legal__note { border-left-color: var(--teal); }
.legal__app { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.legal__app img { width: 52px; height: 52px; border-radius: 22.5%; box-shadow: 0 0 0 1px var(--line); }
.legal__app span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.legal__toc { margin: 0 0 2rem; padding: 1.1rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--fill); }
.legal__toc p { margin: 0 0 .5rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.legal__toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; color: var(--muted); font-size: .95rem; }
.legal__toc li { margin: 0 0 .35rem; break-inside: avoid; }
.legal__body table { width: 100%; border-collapse: collapse; margin: 0 0 1.2rem; font-size: .96rem; }
.legal__body th, .legal__body td { text-align: left; vertical-align: top; padding: .7rem .8rem .7rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.legal__body th { color: var(--text); font-weight: 700; width: 34%; }
.legal__body tr:last-child th, .legal__body tr:last-child td { border-bottom: 1px solid var(--line); }
.wavelet .legal__body .faq__q { color: var(--text); }
.wavelet .faq__a a { color: var(--teal); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .w-hero { grid-template-columns: 1fr; text-align: center; }
  .w-hero__icon { margin-inline: auto; }
  .w-hero__sub { margin-inline: auto; }
  .w-hero__cta, .pills { justify-content: center; }
  .w-hero__media { max-width: 250px; }
  .split { grid-template-columns: 1fr; }
  .split__media { max-width: 250px; }
  /* swipeable strip; scrolls inside itself, never the page */
  .shots {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(62%, 240px);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    padding-inline: 8px; margin-inline: -8px; scrollbar-width: none;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shots li { scroll-snap-align: center; }
}
@media (max-width: 560px) {
  .legal__toc ol { columns: 1; }
  .legal__body th { width: 40%; }
  .nav .wordmark { font-size: 1.1rem; }
}
