/* CycleWise waitlist — no external fonts, no trackers. */
:root {
  --pink: #FF657D;          /* Pink/900 (brand) — decorative + button bg with dark text */
  --pink-strong: #B8283F;   /* accessible pink for text/links (≥5.5:1 on canvas) */
  --canvas: #FFF0F2;
  --paper: #FFFFFF;
  --doctor: #F9F9F9;
  --blue: #CCDDFF;
  --rose: #FCD9E0;
  --lilac: #EBD8F5;
  --ink: #2A0F17;
  --ink-2: #4A2330;
  --muted: #6B4652;
  --line: rgba(74, 35, 48, .12);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(42,15,23,.06), 0 12px 40px -12px rgba(42,15,23,.18);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-strong); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2.35rem, 6.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.75rem); max-width: 20ch; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.005em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; z-index: 100; }
.skip:focus { top: 1rem; }

.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-strong); margin-bottom: .8rem; }
.section-lede { max-width: 60ch; font-size: 1.125rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .85rem 1.5rem;
  font: 650 1rem/1 var(--sans); color: var(--ink); text-decoration: none;
  background: var(--pink); border: 2px solid var(--pink); border-radius: 999px;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 22px -10px rgba(255,101,125,.8);
}
.btn:hover { background: #FF7A8F; color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--paper); border-color: var(--ink-2); }
.btn-small { min-height: 42px; padding: .55rem 1.1rem; font-size: .92rem; box-shadow: none; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.brand-mark { width: 28px; height: 28px; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 1.75rem; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 550; }
.nav-links a:hover { color: var(--pink-strong); }
@media (min-width: 760px) { .nav-links { display: flex; } }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .9rem; margin-bottom: 1.4rem;
  font-size: .85rem; font-weight: 600; color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px var(--rose); }
.lede { font-size: clamp(1.1rem, 2vw, 1.28rem); color: var(--muted); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 2rem 0 1.75rem; }
.play-badge { display: inline-flex; line-height: 0; }
.play-badge img { height: 56px; width: auto; }
.play-badge-lg img { height: 72px; }
.download-card { display: grid; gap: 1rem; justify-items: start; }

.watch { padding: clamp(2.5rem, 6vw, 5rem) 0; background: var(--paper); }
.video-wrap {
  position: relative; width: 100%; max-width: 840px; margin: 1.5rem auto 2rem;
  aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); background: #1a0a0f;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.shot-row {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .75rem;
}
.shot-row li { flex: 0 0 auto; width: min(42vw, 180px); scroll-snap-align: start; }
.shot-row img {
  width: 100%; height: auto; border-radius: 22px;
  border: 6px solid var(--paper); box-shadow: var(--shadow);
}
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .95rem; color: var(--ink-2); font-weight: 550; }
.hero-facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-facts li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8283F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero-visual { position: relative; min-height: 460px; display: grid; place-items: center; }
@media (min-width: 900px) { .hero-visual { min-height: 580px; } }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.blob-a { width: 78%; aspect-ratio: 1; background: radial-gradient(circle at 35% 35%, var(--rose), transparent 70%); top: 2%; right: 0; }
.blob-b { width: 58%; aspect-ratio: 1; background: radial-gradient(circle at 50% 50%, var(--blue), transparent 70%); bottom: 0; left: 0; opacity: .8; }
.phone { position: absolute; margin: 0; border-radius: 34px; overflow: hidden; background: var(--paper); border: 7px solid var(--paper); box-shadow: var(--shadow), 0 40px 80px -30px rgba(42,15,23,.35); }
.phone img { border-radius: 27px; }
.phone-front { width: min(56vw, 280px); z-index: 2; transform: translateX(14%) rotate(2deg); }
.phone-back  { width: min(46vw, 236px); z-index: 1; transform: translateX(-46%) translateY(6%) rotate(-7deg); opacity: .96; }
.bubble {
  position: absolute; z-index: 3; left: 2%; top: 10%;
  margin: 0; padding: .7rem 1rem; max-width: 15rem;
  font-size: .9rem; font-weight: 600; color: var(--ink);
  background: var(--paper); border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow);
}
@media (max-width: 480px) { .bubble { top: 0; left: 0; font-size: .82rem; } }

/* Why cards */
.why { padding: clamp(3.5rem, 8vw, 6.5rem) 0; background: var(--paper); border-radius: 40px 40px 0 0; }
.cards { display: grid; gap: 1rem; margin-top: 2.25rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { padding: 1.6rem 1.5rem 1.4rem; border-radius: var(--radius); border: 1px solid var(--line); }
.card p { color: var(--ink-2); font-size: .98rem; margin: 0; }
.card-blue { background: var(--blue); }
.card-pink { background: var(--rose); }
.card-lilac { background: var(--lilac); }
.card-white { background: var(--doctor); }
.icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.75); margin-bottom: 1.1rem; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--pink-strong); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Features */
.features { padding: clamp(3.5rem, 8vw, 6.5rem) 0; background: var(--paper); }
.feature { display: grid; gap: 1.75rem; align-items: center; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 820px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .feature.reverse .shot { order: 2; }
}
.shot {
  margin: 0; justify-self: center; width: min(72vw, 300px);
  padding: 7px; background: var(--paper); border-radius: 34px;
  box-shadow: var(--shadow), 0 30px 60px -30px rgba(42,15,23,.3);
  position: relative; isolation: isolate;
}
.shot::before { content: ""; position: absolute; inset: -14% -22%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, var(--rose), transparent 65%); }
.feature:nth-of-type(2n) .shot::before { background: radial-gradient(circle, var(--blue), transparent 65%); }
.feature:nth-of-type(3n) .shot::before { background: radial-gradient(circle, var(--lilac), transparent 65%); }
.shot img { border-radius: 27px; }
.feature-copy { max-width: 30rem; }
.feature-copy p { color: var(--muted); font-size: 1.08rem; }
.feature-copy h3 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
.step { display: inline-block; font-weight: 700; font-size: .85rem; color: var(--pink-strong); background: var(--canvas); padding: .25rem .65rem; border-radius: 999px; margin-bottom: .9rem; }
.text-link { font-weight: 650; }

/* Honest */
.honest { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--canvas); }
.honest-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .honest-grid { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.honest-lists { display: grid; gap: 1rem; }
@media (min-width: 640px) { .honest-lists { grid-template-columns: 1fr 1fr; } }
.list-block { background: var(--paper); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.list-block ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.list-block li { position: relative; padding-left: 1.9rem; font-size: .99rem; }
.list-block li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 12px; }
.ticks li::before { background-color: var(--rose); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8283F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E"); }
.crosses li::before { background-color: var(--doctor); border: 1px solid var(--line); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A2330' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E"); }

/* Waitlist */
.waitlist { padding: clamp(3.5rem, 8vw, 6.5rem) 0; background: linear-gradient(180deg, var(--canvas), var(--rose)); }
.waitlist-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .waitlist-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } .waitlist-intro { position: sticky; top: 100px; } }
.waitlist-intro > p:not(.kicker) { color: var(--muted); font-size: 1.1rem; max-width: 30rem; }
.mini-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; font-size: .97rem; }
.mini-list li { padding-left: 1.6rem; position: relative; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }

.form-card { background: var(--paper); border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin: 0 0 1.25rem; border: 0; padding: 0; min-width: 0; }
.field > label, legend { display: block; font-weight: 650; color: var(--ink); font-size: .96rem; margin-bottom: .45rem; padding: 0; }
.optional { font-weight: 450; color: var(--muted); }
input[type="text"], input[type="email"], textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--doctor); border: 1.5px solid rgba(74,35,48,.28); border-radius: var(--radius-sm);
  padding: .85rem 1rem; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
textarea { resize: vertical; min-height: 96px; }
input::placeholder, textarea::placeholder { color: #8C6B75; }
input[type="text"]:focus, input[type="email"]:focus, textarea:focus { outline: none; background: var(--paper); border-color: var(--ink-2); box-shadow: 0 0 0 4px var(--rose); }
[aria-invalid="true"] { border-color: var(--pink-strong) !important; background: #FFF7F8 !important; }
.error { color: var(--pink-strong); font-size: .88rem; font-weight: 600; margin: .4rem 0 0; min-height: 0; }
.error:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .6rem 1.1rem; border-radius: 999px; border: 1.5px solid rgba(74,35,48,.28); font-weight: 600; font-size: .95rem; color: var(--ink-2); background: var(--doctor); transition: all .15s; }
.chip input:checked + span { background: var(--rose); border-color: var(--pink-strong); color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.check { display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; align-items: start; }
.check input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--pink-strong); cursor: pointer; }
.check label { font-weight: 500; font-size: .95rem; color: var(--ink-2); margin: 0; cursor: pointer; }
.check .error { grid-column: 2; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 1rem 0 0; font-size: .95rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--pink-strong); }
.form-note { margin: 1rem 0 0; font-size: .85rem; color: var(--muted); }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(42,15,23,.25); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.success { text-align: center; padding: 1.5rem .5rem; }
.success:focus { outline: none; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--rose); display: grid; place-items: center; }
.success-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--pink-strong); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.success h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; }
.success p { color: var(--muted); max-width: 26rem; margin-inline: auto; }
.success .small { font-size: .92rem; margin-top: 1.25rem; }

/* FAQ */
.faq { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--paper); }
.faq h2 { margin-bottom: 1.75rem; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative;
  font-weight: 650; color: var(--ink); font-size: 1.06rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: .35rem; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { color: var(--muted); padding-right: 2rem; }

/* Closing */
.closing { padding: clamp(3.5rem, 8vw, 5.5rem) 0; background: var(--canvas); }
.closing-inner { text-align: center; display: grid; justify-items: center; }
.closing h2 { max-width: none; }
.closing p { color: var(--muted); font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--ink); color: #F3DDE2; padding: 3rem 0 2rem; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; } .disclaimer, .copyright { grid-column: 1 / -1; } }
.footer-sub { margin: .6rem 0 0; font-size: .92rem; color: #E7C6CE; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.footer-links a { color: #fff; font-weight: 600; }
.footer-links a:hover { color: var(--rose); }
.site-footer :focus-visible { outline-color: #fff; }
.disclaimer { font-size: .9rem; color: #E7C6CE; max-width: 70ch; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.5rem; margin: 0; }
.copyright { font-size: .85rem; color: #D2AEB8; margin: 0; }

/* Guides / articles */
.article-hero { padding: clamp(2.2rem, 5vw, 4rem) 0 1rem; }
.article-hero h1 { max-width: 18ch; }
.crumbs { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--pink-strong); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: var(--line); }
.article { padding: 0 0 4rem; }
.article .prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); max-width: none; margin: 2.1rem 0 .7rem; }
.prose h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0 0 .45rem; }
.callout {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.15rem; margin: 1.25rem 0 1.5rem;
}
.callout strong { display: block; margin-bottom: .35rem; color: var(--ink); }
.related { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.related ul { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .45rem; }
.guide-grid { display: grid; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 720px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
.guide-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
}
.guide-card:hover { border-color: var(--pink-strong); }
.guide-card h2 { font-size: 1.25rem; max-width: none; margin: 0 0 .4rem; }
.guide-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.article-cta { margin: 2rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.proof-shots {
  list-style: none; margin: 1.4rem 0 1.8rem; padding: 0;
  display: grid; gap: 1rem;
}
@media (min-width: 720px) { .proof-shots { grid-template-columns: repeat(3, 1fr); } }
.proof-shots figure { margin: 0; }
.proof-shots img {
  width: 100%; border-radius: 22px; border: 6px solid var(--paper);
  box-shadow: var(--shadow); background: var(--paper);
}
.proof-shots figcaption { font-size: .88rem; color: var(--muted); margin-top: .55rem; }
.prose blockquote.policy {
  margin: 1rem 0 1.25rem; padding: .9rem 1.1rem;
  background: var(--paper); border-left: 4px solid var(--pink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
}

/* Reveal on scroll (only when motion is OK and JS ran) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}
