/* CycleMate landing page — design system
   Palette and layout follow the reference: warm cream canvas, deep rose accent,
   soft lilac secondary, and generous whitespace. Everything is self-contained:
   no external fonts, no remote images, no inline styles (CSP is style-src 'self'). */

:root {
  --rose: #b81d5b;
  --rose-dark: #8e1246;
  --rose-tint: #fbe8f1;
  --rose-line: #f0cfdf;
  --lilac: #8b7ab8;
  --lilac-tint: #efeaf9;
  --plum: #33182a;
  --ink: #2a1a24;
  --muted: #6d5a63;
  --bg: #fdf7fa;
  --cream: #fdfbf9;
  --line: #f0dfe7;
  --white: #fff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 48px #4d19331f;
  --shadow-soft: 0 8px 24px #4d193314;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.022em; font-weight: 800; }

h1 { font-size: clamp(2.6rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }

h1 em, h2 em {
  font-style: normal;
  color: var(--rose);
}

p { margin: 0; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--rose);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  z-index: 20;
}
.skip:focus { left: 0; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  box-shadow: 0 10px 26px #b81d5b38;
}
.button:hover { transform: translateY(-1px); background: var(--rose-dark); box-shadow: 0 14px 32px #b81d5b45; }
.button:focus-visible { outline: 3px solid #8b7ab880; outline-offset: 3px; }
.button svg { width: 18px; height: 18px; flex: none; }

.button.ghost {
  background: #fff;
  color: var(--rose);
  border-color: var(--rose-line);
  box-shadow: var(--shadow-soft);
}
.button.ghost:hover { background: var(--rose-tint); color: var(--rose-dark); }

.button.wide { width: 100%; }

.fine {
  margin-top: 12px;
  font-size: 0.83rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  background: #fdfbf9e6;
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.brand-mark { width: 30px; height: 30px; flex: none; }

.nav nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--muted);
}
.nav nav a:hover { color: var(--rose); }

.nav-cta { padding: 11px 22px; font-size: 0.9rem; }


/* ---------------------------------------------------------------- trust strip */

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 22px;
  border-left: 1px solid var(--line);
}
.strip li:first-child { border-left: 0; }
.strip svg { width: 26px; height: 26px; color: var(--rose); flex: none; }
.strip b { display: block; font-size: 0.95rem; }
.strip span { font-size: 0.85rem; color: var(--muted); }

/* ---------------------------------------------------------------- split sections */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 24px;
}
.split.reverse .split-copy { order: 2; }
.split.reverse .split-visual { order: 1; }

.split-copy .split-lead {
  margin-top: 16px;
  color: var(--muted);
  max-width: 32em;
}

.split-visual { display: flex; justify-content: center; }

.numbered, .plain, .legend { list-style: none; margin: 30px 0 0; padding: 0; }

.numbered li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.numbered li:first-child { border-top: 0; }
.numbered b { display: block; font-size: 1rem; }
.numbered p { margin-top: 4px; font-size: 0.9rem; color: var(--muted); }

.num {
  flex: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--rose);
  background: var(--rose-tint);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.plain li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.plain li:first-child { border-top: 0; }
.plain svg { width: 24px; height: 24px; color: var(--rose); flex: none; margin-top: 2px; }
.plain b { display: block; font-size: 0.97rem; }
.plain p { margin-top: 3px; font-size: 0.88rem; color: var(--muted); }

/* calendar card */

.calendar-card {
  width: min(430px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1rem;
}
.calendar-head svg { width: 20px; height: 20px; color: var(--muted); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}
.calendar-grid .dow { font-size: 0.68rem; font-weight: 700; color: #a3949b; }
.calendar-grid i {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 10px;
  color: #4a3842;
}
.calendar-grid i.logged { background: var(--rose); color: #fff; font-weight: 700; }
.calendar-grid i.est {
  border: 1.5px dashed var(--rose-line);
  color: var(--rose);
}

.legend { display: flex; gap: 20px; margin-top: 16px; font-size: 0.78rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 11px; height: 11px; border-radius: 999px; display: inline-block; }
.dot.solid { background: var(--rose); }
.dot.dashed { border: 1.5px dashed var(--rose); }

.calendar-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.calendar-foot svg { width: 22px; height: 22px; color: var(--rose); }


/* ---------------------------------------------------------------- download band */

.band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 44px;
  border-radius: 34px;
  background:
    radial-gradient(60% 90% at 12% 20%, #4a2436 0%, transparent 70%),
    linear-gradient(135deg, #33182a, #24111d);
  color: #fff;
  box-shadow: 0 28px 70px #33182a44;
}

.band-copy h2 { color: #fff; }
.band-copy p { margin-top: 14px; color: #e7d3de; max-width: 30em; }

.band-card {
  background: #fdfbf9;
  color: var(--ink);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 20px 50px #00000033;
}

.band-card .tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--rose-tint);
  color: var(--rose);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.band-card h3 { margin-top: 12px; font-size: 1.45rem; }
.band-sub { margin: 4px 0 18px; font-size: 0.85rem; color: var(--muted); }

.detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rose);
}
.detail-link svg { width: 17px; height: 17px; }
.detail-link:hover { color: var(--rose-dark); }


/* ---------------------------------------------------------------- details */

.details {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}
.details p { margin-top: 14px; color: var(--muted); font-size: 0.93rem; }

.details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.details dl > div { background: #fff; padding: 16px 18px; }
.details dt { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #a3949b; }
.details dd { margin: 5px 0 0; font-size: 0.9rem; font-weight: 600; word-break: break-word; }

/* ---------------------------------------------------------------- faq */

.faq {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 92px;
  align-items: start;
}
.faq-copy p { margin-top: 16px; color: var(--muted); font-size: 0.93rem; }

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 4px 20px;
  margin-bottom: 10px;
  transition: box-shadow 0.16s ease;
}
.faq-list details[open] { box-shadow: var(--shadow-soft); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 0 18px; font-size: 0.9rem; color: var(--muted); }

/* ---------------------------------------------------------------- closing */

.closing {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 26px;
  max-width: var(--max);
  margin: 0 auto 72px;
  padding: 72px 24px;
  text-align: center;
  overflow: hidden;
}
.closing-bloom {
  position: absolute;
  width: 340px;
  height: 340px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.closing h2, .closing .button { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- footer */

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 24px 44px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.foot-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 1rem; }
.foot-tag { font-weight: 600; }
footer nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; }
footer nav a:hover { color: var(--rose); }
.foot-note { flex-basis: 100%; font-size: 0.78rem; color: #a3949b; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 960px) {
  .split, .faq { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; }
  .split.reverse .split-copy { order: 0; }
  .split.reverse .split-visual { order: 0; }
  .band { grid-template-columns: 1fr; padding: 44px 26px; }
  .nav nav { display: none; }
}

@media (max-width: 720px) {
  .strip { grid-template-columns: 1fr; }
  .strip li { border-left: 0; border-top: 1px solid var(--line); }
  .strip li:first-child { border-top: 0; }
  .details dl { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}

/* The design-reference gallery is styled independently in screens.css. */
