@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #FBF7F4;
  --surface: #FFFFFF;
  --surface-2: #F1ECF7;
  --line: #ECE5EF;
  --ink: #221A2E;
  --ink-2: #3E3550;
  --muted: #5A5066;
  --accent: #8E2F50;
  --accent-hover: #6B1F3B;
  --violet: #5B4A99;
  --rose: #E26D8E;
  --hero-bg: #221A2E;
  --hero-ink: #F4EDE4;
  --hero-muted: #C9C0D4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17111F;
    --surface: #221A2E;
    --surface-2: #2C2240;
    --line: #3A3048;
    --ink: #F4EDE4;
    --ink-2: #DDD4E6;
    --muted: #B9AFC6;
    --accent: #F08FAA;
    --accent-hover: #F7B3C6;
    --violet: #B7A8EA;
    --hero-bg: #0F0A16;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

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

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { background: var(--hero-bg); color: var(--hero-ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--hero-ink); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand:hover { color: #FFFFFF; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: var(--hero-muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--hero-ink); }

/* Hero */
.hero { background: var(--hero-bg); color: var(--hero-ink); padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { margin: 0 0 16px; font-size: clamp(36px, 6vw, 56px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.hero p.lead { margin: 0 0 28px; font-size: 19px; color: var(--hero-muted); max-width: 34em; }
.hero-icon { justify-self: center; width: min(280px, 70vw); height: auto; border-radius: 22%; outline: 1px solid rgba(244, 237, 228, 0.18); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.brand img { outline: 1px solid rgba(244, 237, 228, 0.2); }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.badges li { border: 1px solid #4A3F5A; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--hero-ink); }
.soon { display: inline-block; margin-top: 24px; font-weight: 700; color: var(--rose); }
.soon.flush { margin: 0; color: var(--accent); }
.store { display: inline-block; margin-top: 24px; padding: 14px 26px; border-radius: 999px; background: var(--rose); color: #221A2E; font-weight: 700; text-decoration: none; }
.store:hover { background: #EE90AA; color: #221A2E; }
.price .store { margin: 0; }
.store-note { margin: 12px 0 0; font-size: .95rem; opacity: .8; }
.amount s { font-size: .5em; font-weight: 600; opacity: .55; margin-left: .2em; }
.more { margin: 28px 0 0; }

/* Sections */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 34px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; }
.section-lead { margin: 0 0 32px; color: var(--muted); max-width: 40em; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 20px; }
.card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.card svg { display: block; margin-bottom: 12px; }

.privacy-band { background: var(--surface-2); }
.checks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.checks svg { flex: none; margin-top: 4px; }

.price { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: var(--surface); border: 2px solid var(--rose); border-radius: 24px; padding: 28px; }
.price .amount { font-size: 48px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.price p { margin: 6px 0 0; color: var(--ink-2); }

/* Prose pages */
.page-title { background: var(--hero-bg); color: var(--hero-ink); padding: 40px 0 44px; }
.page-title h1 { margin: 0; font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.02em; line-height: 1.15; }
.page-title p { margin: 8px 0 0; color: var(--hero-muted); }
.prose { max-width: 720px; padding: 40px 20px 64px; }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose h3 { font-size: 18px; margin: 28px 0 6px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.callout { background: var(--surface-2); border-radius: 16px; padding: 16px 20px; }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.contact .email { font-size: 20px; font-weight: 700; word-break: break-all; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; min-height: 28px; }
details p, details ol, details ul { margin: 10px 0 4px; color: var(--ink-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer p { margin: 0; max-width: 46em; }

@media (max-width: 760px) {
  .hero { padding: 32px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-icon { order: -1; width: 160px; justify-self: start; }
  section { padding: 48px 0; }
}

/* Screenshots */
.hero-shot { justify-self: center; width: min(300px, 70vw); height: auto; border-radius: 36px; outline: 6px solid #0F0A16; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.shots img { width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(34, 26, 46, 0.12); }

/* Plus cards sit above the price box */
#price .grid { margin-bottom: 20px; }

/* FAQ */
.faq { max-width: 760px; }

/* Maker */
.maker { background: #0E1524; color: #F3EEE3; }
.maker .wrap { display: flex; gap: 24px; align-items: flex-start; }
.maker-mark { flex: none; fill: #F5B544; margin-top: 4px; }
.maker p { margin: 0; color: #C9CFDC; max-width: 44em; }
.maker a { color: #2EE6D6; }
.maker a:hover { color: #8FF3EA; }

@media (max-width: 760px) {
  .hero-shot { order: -1; width: 220px; justify-self: start; }
  .shots { grid-template-columns: 1fr; max-width: 320px; }
  .maker .wrap { flex-direction: column; }
}

/* ---- Visual refresh ---- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(60% 80% at 85% 20%, rgba(226, 109, 142, 0.28), transparent 70%),
  radial-gradient(50% 70% at 70% 100%, rgba(91, 74, 153, 0.45), transparent 70%),
  var(--hero-bg); }
.hero h1 { background: linear-gradient(100deg, #FFFFFF 30%, #F7B3C6 75%, #B7A8EA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-moons { position: absolute; left: 50%; bottom: 14px; width: min(700px, 90vw); height: auto; transform: translateX(-50%); color: #F4EDE4; opacity: 0.16; }

.device-stack { position: relative; justify-self: center; width: min(380px, 80vw); aspect-ratio: 380 / 520; }
.device-stack img { position: absolute; height: auto; display: block; }
.phone { border-radius: 34px; outline: 6px solid #0F0A16; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.phone.front { width: 62%; left: 6%; top: 0; z-index: 2; }
.phone.back { width: 54%; right: 0; top: 9%; transform: rotate(6deg); opacity: 0.9; z-index: 1; }
.watch { width: 30%; left: -6%; bottom: 2%; z-index: 3; border-radius: 26%; outline: 7px solid #2A2233; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); }

/* Cycle wheel */
.phases { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; margin: 0 0 36px; padding: 28px; border-radius: 24px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.wheel { width: 190px; height: 190px; flex: none; }
.wheel .ph-m { stroke: #C8385F; } .wheel .ph-f { stroke: #E9A0B4; } .wheel .ph-o { stroke: #F5B544; } .wheel .ph-l { stroke: #7C68C4; }
.w-big { font-size: 46px; font-weight: 800; fill: var(--ink); }
.w-small { font-size: 14px; font-weight: 600; fill: var(--muted); }
.phase-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1 1 280px; }
.phase-key li { color: var(--ink-2); }
.phase-key b { color: var(--ink); margin-right: 6px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
.dot.ph-m { background: #C8385F; } .dot.ph-f { background: #E9A0B4; } .dot.ph-o { background: #F5B544; } .dot.ph-l { background: #7C68C4; }

/* Screenshot tour */
.tour { background: linear-gradient(180deg, var(--bg), var(--surface-2)); }
.tour-row { --gutter: max(20px, calc((100vw - 1000px) / 2)); list-style: none; margin: 0; padding: 8px var(--gutter) 24px; scroll-padding-inline: var(--gutter); display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tour-row li { flex: 0 0 220px; scroll-snap-align: start; }
.tour-row img { width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(34, 26, 46, 0.16); display: block; }
.tour-row p { margin: 12px 4px 0; font-size: 15px; color: var(--muted); line-height: 1.45; }
.tour-row b { display: block; color: var(--ink); font-size: 16px; }

/* Devices */
.devices .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.devices-art { position: relative; padding: 0 0 40px 40px; }
.tablet { width: 100%; height: auto; display: block; border-radius: 26px; outline: 10px solid #1C1626; box-shadow: 0 30px 70px rgba(34, 26, 46, 0.3); }
.watch.small { position: absolute; width: 28%; height: auto; left: 0; bottom: 0; }
.checks.narrow { grid-template-columns: 1fr; }

/* Doctor report */
.report { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: center; margin: 0 0 20px; padding: 28px; border-radius: 24px; background: var(--surface-2); }
.report img { width: 100%; height: auto; display: block; border-radius: 10px; box-shadow: 0 18px 40px rgba(34, 26, 46, 0.22); transform: rotate(-3deg); }
.report h3 { margin: 0 0 8px; font-size: 22px; }
.report p { margin: 0; color: var(--ink-2); }

/* Nick branding */
.maker { background: radial-gradient(70% 120% at 100% 0%, rgba(46, 230, 214, 0.12), transparent 60%), #0E1524; }
.signature { margin-top: 16px !important; font-weight: 700; color: #F5B544 !important; letter-spacing: 0.02em; }
.foot-mark { fill: #F5B544; vertical-align: -2px; }

@media (max-width: 760px) {
  .device-stack { width: min(320px, 86vw); justify-self: center; order: 0; }
  .devices .wrap { grid-template-columns: 1fr; }
  .report { grid-template-columns: 1fr; }
  .report img { max-width: 220px; }
  .tour-row li { flex-basis: 64vw; }
  .phases { justify-content: center; }
}
