/* =========================================================
   Delve — shared styles
   Colors, fonts and sizes live in the variables below.
   ========================================================= */
:root {
  --ink: #111111;
  --text-muted: #555555;
  --text-soft: #666666;
  --bg: #ffffff;
  --lavender: #f3eff9;     /* vibe band + text-page background */
  --lavender-line: #e6e1ef;
  --max: 1280px;
  --pad: 80px;
  --font-display: "Bricolage Grotesque", -apple-system, "Helvetica Neue", "Segoe UI", sans-serif;
  --font-body: "Figtree", -apple-system, "Helvetica Neue", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--text-muted); }
a:focus-visible, button:focus-visible {
  outline: 3px solid #8f88b0;
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; padding-bottom: 32px;
}
.site-header .logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 36px; font-weight: 500; }
.nav a { text-decoration: none; color: #444; }
.nav a:hover { color: var(--ink); }
.nav .pill {
  background: var(--ink); color: #fff; font-weight: 600;
  padding: 12px 22px; border-radius: 999px;
}
.nav .pill:hover { color: #fff; opacity: .88; }

/* ---------- Store buttons ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 12px 24px; border-radius: 999px; min-height: 56px;
  transition: transform .15s ease;
}
.store:hover { color: #fff; transform: translateY(-2px); }
.store .label { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 12px; }
.store strong { font-size: 20px; font-weight: 700; }
.store.light { background: #fff; color: var(--ink); }
.store.light:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero .wrap {
  display: flex; align-items: center; gap: 40px;
  padding-top: 40px; padding-bottom: 88px;
}
.hero-copy { flex: 1; display: flex; flex-direction: column; gap: 28px; }
.hero h1 {
  margin: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(64px, 9.7vw, 124px); line-height: .92; letter-spacing: -0.032em;
}
.hero .lede { margin: 0; font-size: 22px; color: var(--text-muted); max-width: 520px; }
.hero .note { font-size: 16px; color: var(--text-soft); }

.phone {
  width: 330px; flex-shrink: 0;
  background: var(--ink); border-radius: 48px; padding: 11px;
}
.phone .screen { border-radius: 38px; overflow: hidden; background: #fff; }
.phone img { width: 100%; height: auto; }

/* ---------- Vibe band ---------- */
.vibes { background: var(--lavender); }
.vibes .wrap {
  padding-top: 96px; padding-bottom: 96px;
  display: flex; flex-direction: column; align-items: center; gap: 48px;
}
.vibes h2 {
  margin: 0; text-align: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em;
}
.vibe-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1060px;
}
.vibe-list li {
  padding: 16px 32px; border-radius: 999px;
  font-size: 28px; font-weight: 700; line-height: 1.2;
}

/* ---------- Features ---------- */
.features .wrap {
  padding-top: 112px; padding-bottom: 112px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; row-gap: 16px;
}
/* Each feature spans 3 shared rows (title, text, screenshot) so the screenshots line up */
.feature {
  display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 16px;
  border-top: 4px solid var(--ink); padding-top: 24px;
}
.feature h3 {
  margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1.1;
}
.feature p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text-muted); }
.shot {
  aspect-ratio: 720 / 1055;
  border-radius: 24px; overflow: hidden; border: 1px solid var(--lavender-line);
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- Closing banner ---------- */
.closing .wrap { padding-bottom: 80px; }
.closing .panel {
  background: var(--ink); border-radius: 40px; padding: 88px 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.closing h2 {
  margin: 0; color: #fff;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 6.3vw, 80px); line-height: .95; letter-spacing: -0.035em;
}
.closing .stores { flex-direction: column; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
  padding-top: 24px; padding-bottom: 48px; font-size: 15px; color: var(--text-soft);
}
.site-footer img { height: 28px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 28px; }
.site-footer a { color: var(--text-soft); }
.site-footer a:hover { color: var(--ink); }

/* ---------- Text pages (privacy, support) ---------- */
.doc { background: linear-gradient(180deg, #faf9fd 0%, #ece6f7 100%); }
.doc .wrap { padding-top: 24px; padding-bottom: 96px; }
.doc article {
  background: #fff; border-radius: 32px;
  padding: 56px clamp(24px, 6vw, 72px);
  max-width: 800px; margin: 0 auto;
}
.doc h1 {
  margin: 0 0 8px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 6vw, 60px); line-height: 1; letter-spacing: -0.03em;
}
.doc .updated { margin: 0 0 40px; color: var(--text-soft); }
.doc h2 { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin: 40px 0 10px; }
.doc p, .doc li { font-size: 17px; line-height: 1.65; max-width: 68ch; }
.doc ul { padding-left: 1.2em; }
.contact-box { background: var(--lavender); border-radius: 20px; padding: 24px 28px; margin: 8px 0 24px; }
.contact-box p { margin: 0 0 4px; }
.contact-box a { font-weight: 700; font-size: 20px; }
details { border-top: 1px solid var(--lavender-line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--lavender-line); }
summary { cursor: pointer; font-weight: 700; font-size: 18px; }
details p { margin: 10px 0 0; color: var(--text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  :root { --pad: 48px; }
  .features .wrap { grid-template-columns: 1fr; max-width: 560px; row-gap: 64px; }
  .feature { display: flex; flex-direction: column; gap: 16px; grid-row: auto; }
  .closing .panel { flex-direction: column; align-items: flex-start; padding: 64px 48px; }
  .closing .stores { flex-direction: row; }
}
@media (max-width: 860px) {
  .hero .wrap { flex-direction: column; align-items: flex-start; gap: 48px; }
  .phone { align-self: center; width: 290px; }
  .vibe-list li { font-size: 20px; padding: 12px 22px; }
  .vibe-list { gap: 10px; }
}
@media (max-width: 560px) {
  :root { --pad: 20px; }
  .site-header .wrap { padding-top: 20px; padding-bottom: 20px; }
  .site-header .logo img { height: 32px; }
  .nav a:not(.pill) { display: none; }
  .hero .wrap { padding-top: 16px; padding-bottom: 64px; }
  .hero .lede { font-size: 19px; }
  .vibes .wrap { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
  .vibe-list li { font-size: 17px; padding: 10px 18px; }
  .features .wrap { padding-top: 72px; padding-bottom: 72px; }
  .closing .panel { padding: 48px 28px; border-radius: 28px; }
  .closing .stores { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .store { transition: none; }
  .store:hover { transform: none; }
}
