/* GRWM Timer pages. Same palette and type as the app: warm cream, ink, one blush accent. */

:root {
  --cream: #f8f3ef;
  --surface: #fffcf9;
  --ink: #171416;
  --ink-2: #6f6660;
  --ink-3: #a49a93;
  --blush: #f2c7ce;
  --blush-wash: #f8e5e0;
  --rose: #b84b67;
  --hairline: #e6ddd5;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --radius: 22px;
  --gutter: 24px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #141110;
    --surface: #1e1a19;
    --ink: #f6f0eb;
    --ink-2: #a79e98;
    --ink-3: #70675f;
    --blush: #e3aba3;
    --blush-wash: #3a2826;
    --rose: #f0bab2;
    --hairline: #332d2b;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: clip; /* safety net for classic desktop scrollbars, where 100vw is a bit too wide */
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rose); text-underline-offset: 3px; }

.wrap { max-width: 680px; margin: 0 auto; padding: 0 var(--gutter); }
.wide { max-width: 1040px; }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 13px;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.top nav { display: flex; gap: 20px; font-size: 15px; }
.top nav a { color: var(--ink-2); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }

/* Type */
.eyebrow {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 7vw, 64px); line-height: 1.05; margin: 0 0 18px; }
h1 em, h2 em { font-style: italic; color: var(--rose); }
h2 { font-size: clamp(28px, 4.4vw, 38px); line-height: 1.15; margin: 56px 0 14px; }
h3 { font-size: 22px; line-height: 1.3; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 28px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-3); }

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 48px 0 24px;
}
/* The blush wash behind the hero, never wider than the screen. */
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  width: min(1250px, 100vw);
  transform: translateX(-50%);
  height: 520px;
  background: radial-gradient(closest-side, var(--blush), transparent);
  opacity: 0.55;
  z-index: -1;
}
.hero .icon {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgb(80 40 40 / 12%);
  margin-bottom: 26px;
}
.pill {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
}
.pill.quiet {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.actions { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
/* Not a button: there is nothing to tap until the app is in the App Store. */
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  color: var(--ink-2);
  font-weight: 600;
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
}
@media (prefers-color-scheme: dark) {
  .hero::before { opacity: 0.18; }
}

/* Screens */
.screens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 48px 0 8px;
}
.screens img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  border: 1px solid var(--hairline);
  box-shadow: 0 16px 40px rgb(80 40 40 / 10%);
  background: var(--surface);
}
@media (max-width: 760px) {
  .screens {
    grid-template-columns: repeat(4, 62%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 20px;
  }
  .screens img { scroll-snap-align: center; }
}

/* Cards */
.cards { display: grid; gap: 12px; margin: 24px 0; }
@media (min-width: 700px) { .cards.two { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.card p { margin: 0; color: var(--ink-2); }

/* FAQ */
details {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 10px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-3); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p, details ol, details ul { color: var(--ink-2); margin: 12px 0 0; }
details li { margin: 4px 0; }

/* Legal text */
.legal h2 { font-size: 26px; margin-top: 40px; }
.legal p, .legal li { color: var(--ink-2); }
.legal strong { color: var(--ink); font-weight: 600; }

/* Footer */
footer {
  margin-top: 72px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--ink-3);
}
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--ink-2); text-decoration: none; }
footer nav { display: flex; gap: 18px; }
