/* The website's home and press pages. The colours are the app's own, from web/css/styles.css. */
:root {
  color-scheme: light dark;
  --bg: #f6f1e7; --card: #fffdf8; --ink: #1f1a14; --soft: #4a4338; --muted: #6f6452;
  --rule: #ddd2bb; --accent: #6e2b2b; --accent-dark: #4a1c1c; --link: #6e2b2b;
  --band-ink: #fbf7ee; --band-soft: #eae1cf; --gold: #d4b377; --shadow: 0 1.2rem 2.6rem -1.4rem rgb(60 30 20 / 45%);
  --serif: ui-serif, "New York", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15110d; --card: #221c16; --ink: #f3ecdf; --soft: #d6ccba; --muted: #a89d89;
    --rule: #3c3329; --accent: #a8434b; --accent-dark: #4a1c1c; --link: #e59aa0;
    --shadow: 0 1.2rem 2.6rem -1.4rem rgb(0 0 0 / 70%);
  }
}
* { box-sizing: border-box; }
html { font-family: -apple-system, system-ui, "Helvetica Neue", sans-serif; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; font-size: 1.0625rem; }
img { max-width: 100%; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; color: var(--ink); }
p { margin: 0; }
.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 40rem) { .wrap { padding: 0 1.5rem; } }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.brand img { width: 2rem; height: 2rem; border-radius: 22%; background: var(--accent); }
.top nav { display: flex; gap: 1.1rem; font-size: 0.95rem; }
.top nav a { color: var(--soft); text-decoration: none; }
.top nav a:hover { color: var(--link); text-decoration: underline; }
@media (max-width: 30rem) { .top nav .wide { display: none; } }

/* hero */
.hero { display: grid; gap: 2.2rem; align-items: center; padding-top: 1.5rem; padding-bottom: 3rem; }
@media (min-width: 52rem) { .hero { grid-template-columns: 1.15fr 0.85fr; padding-top: 2.5rem; padding-bottom: 4rem; } }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw + 1rem, 3.9rem); letter-spacing: -0.01em; }
.lede { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem); color: var(--soft); margin-top: 1.1rem; max-width: 34rem; }
.promises { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.45rem 1.2rem; color: var(--soft); font-size: 0.95rem; }
.promises li::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.5rem; border-radius: 50%; background: var(--gold); vertical-align: 0.12em; }
.store { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.store img { display: block; height: 3.25rem; width: auto; }
.store .soon { display: inline-block; padding: 0.7rem 1.2rem; border-radius: 0.8rem; border: 1px solid var(--rule); background: var(--card); color: var(--ink); font-weight: 600; }
.store .for { font-size: 0.9rem; color: var(--muted); }
.hero-shot { display: flex; justify-content: center; }
.hero-shot .phone { width: min(78vw, 19.5rem); }

/* a phone screen: the real screenshot, with an iPhone's rounded corners */
.phone { display: block; height: auto; aspect-ratio: 644 / 1400; border-radius: 12.5% / 5.75%; border: 1px solid var(--rule); box-shadow: var(--shadow); background: var(--card); }

/* feature rows */
.feature { display: grid; gap: 1.6rem; align-items: center; padding-top: 2.6rem; padding-bottom: 2.6rem; border-top: 1px solid var(--rule); }
.feature .phone { width: min(70vw, 17rem); margin: 0 auto; }
.feature h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem); margin-bottom: 0.8rem; }
.feature p + p { margin-top: 0.8rem; }
.feature p { color: var(--soft); max-width: 33rem; }
@media (min-width: 52rem) {
  .feature { grid-template-columns: 1fr 1fr; gap: 3rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .feature.flip .copy { order: 2; }
}
.tag { display: inline-block; margin-left: 0.5rem; padding: 0.05rem 0.55rem; border: 1.5px solid var(--gold); border-radius: 999px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); vertical-align: 0.05em; }
.pro-note { font-size: 0.95rem; border-left: 3px solid var(--gold); padding-left: 0.8rem; }

/* the everyday things */
.more { padding-top: 3rem; padding-bottom: 3rem; border-top: 1px solid var(--rule); }
.more h2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2rem); margin-bottom: 1.4rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 1rem; padding: 1.1rem 1.15rem; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.card p { color: var(--soft); font-size: 0.98rem; }

/* pricing, on the app's burgundy */
.band { background: linear-gradient(180deg, #6e2b2b, #4a1c1c); color: var(--band-ink); }
.band h2, .band h3 { color: var(--band-ink); }
.band a { color: var(--band-ink); }
.pricing { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.pricing > h2 { font-size: clamp(1.7rem, 2.2vw + 1rem, 2.5rem); max-width: 40rem; }
.pricing > p { color: var(--band-soft); margin-top: 0.9rem; max-width: 40rem; }
.plans { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 46rem) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { border: 1px solid rgb(251 247 238 / 25%); border-radius: 1.1rem; padding: 1.3rem 1.35rem; background: rgb(0 0 0 / 12%); }
.plan.pro { border-color: var(--gold); }
.plan h3 { font-size: 1.4rem; }
.price { font-family: var(--serif); font-size: 1.25rem; margin-top: 0.3rem; }
.trial { color: var(--gold); font-weight: 600; font-size: 0.95rem; margin-top: 0.35rem; }
.plan ul { margin: 0.9rem 0 0; padding-left: 1.1rem; color: var(--band-soft); }
.plan li { margin-bottom: 0.3rem; }
.fine { font-size: 0.875rem; color: var(--band-soft); margin-top: 1.4rem; max-width: 44rem; }
.nots { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.nots li { border: 1px solid rgb(251 247 238 / 30%); border-radius: 999px; padding: 0.3rem 0.85rem; font-size: 0.9rem; }

/* privacy and the last word */
.privacy { padding-top: 3.2rem; padding-bottom: 1rem; display: grid; gap: 1rem; }
.privacy > * { max-width: 44rem; }
.privacy h2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2rem); }
.privacy p { color: var(--soft); }
.closing { padding-top: 2.5rem; padding-bottom: 3.5rem; text-align: center; }
.closing h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem); }
.closing .store { justify-content: center; }

/* footer */
footer { border-top: 1px solid var(--rule); padding: 1.6rem 0 2.6rem; font-size: 0.9rem; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-bottom: 0.8rem; }
footer p + p { margin-top: 0.4rem; }

/* press */
.press { padding-top: 1.5rem; padding-bottom: 3rem; }
.press > h1, .press > h2, .press > p, .press > ul, .press > dl { max-width: 46rem; }
.press h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
.press h2 { font-size: 1.45rem; margin: 2.2rem 0 0.6rem; }
.press p, .press li, .press dd { color: var(--soft); }
.press p + p { margin-top: 0.7rem; }
.press ul { padding-left: 1.2rem; margin: 0; }
.press li { margin-bottom: 0.35rem; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.45rem 1.2rem; margin: 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.press-shots { display: grid; gap: 0.8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; max-width: 46rem; }
@media (min-width: 40rem) { .press-shots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.press-shots a { display: block; }
.press-shots .phone { width: 100%; box-shadow: none; }
.icon-big { width: 7rem; height: 7rem; border-radius: 22.37%; display: block; margin-top: 0.8rem; }
.button { display: inline-block; margin-top: 1rem; padding: 0.65rem 1.1rem; border-radius: 0.7rem; background: var(--accent); color: #fbf7ee; text-decoration: none; font-weight: 600; }
.button:hover { background: var(--accent-dark); }
.press .meta { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }
