/* Bloomura website. Generated by scripts/build-site.ts from the app's own tokens — edit there. */

@font-face { font-family: 'Bricolage Grotesque'; font-weight: 600; font-display: swap; src: url('fonts/BricolageGrotesque_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-display: swap; src: url('fonts/InstrumentSans_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 500; font-display: swap; src: url('fonts/InstrumentSans_500Medium.ttf') format('truetype'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; font-display: swap; src: url('fonts/InstrumentSans_600SemiBold.ttf') format('truetype'); }

:root {
  --ground: #F8F5F2;
  --surface: #FFFFFF;
  --sunken: #EFEAE5;
  --primary: #C8102E;
  --primary-pressed: #A00C25;
  --on-primary: #FFFFFF;
  --primary-soft: #FBE3E5;
  --on-primary-soft: #8E0B21;
  --ink: #1C1918;
  --ink-muted: #66605C;
  --line: #E7E1DC;
  --line-strong: #8A847E;
  --menstrual-tone: #BF0F2C;
  --menstrual-soft: #FBE3E5;
  --menstrual-on-soft: #1C1918;
  --menstrual-deep: #BF0F2C;
  --follicular-tone: #2B855E;
  --follicular-soft: #E2F1EA;
  --follicular-on-soft: #1C1918;
  --follicular-deep: #23704F;
  --ovulatory-tone: #C27D04;
  --ovulatory-soft: #FEF4E6;
  --ovulatory-on-soft: #1C1918;
  --ovulatory-deep: #9E5C00;
  --luteal-tone: #523894;
  --luteal-soft: #ECE6F7;
  --luteal-on-soft: #1C1918;
  --luteal-deep: #523894;
  --brand: #C8102E;
  --ink-band: #1C1918;
  --on-ink-band: #F8F5F2;
  --on-ink-band-muted: #E7E1DC;
  --radius: 20px;
  --radius-small: 12px;
  --gutter: 20px;
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --text: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #141211;
    --surface: #1E1B1A;
    --sunken: #0D0C0B;
    --primary: #FF6B7A;
    --primary-pressed: #FF8F9A;
    --on-primary: #2B060C;
    --primary-soft: #3A1A1E;
    --on-primary-soft: #FFC9CE;
    --ink: #F4EFEC;
    --ink-muted: #ADA59F;
    --line: #2E2A28;
    --line-strong: #7E7671;
    --menstrual-tone: #E8455A;
    --menstrual-soft: #3A1A1E;
    --menstrual-on-soft: #F4EFEC;
    --menstrual-deep: #BF0F2C;
    --follicular-tone: #4FB887;
    --follicular-soft: #17302A;
    --follicular-on-soft: #F4EFEC;
    --follicular-deep: #23704F;
    --ovulatory-tone: #F5B347;
    --ovulatory-soft: #3A2C14;
    --ovulatory-on-soft: #F4EFEC;
    --ovulatory-deep: #9E5C00;
    --luteal-tone: #7656C6;
    --luteal-soft: #1F1930;
    --luteal-on-soft: #F4EFEC;
    --luteal-deep: #523894;
    --brand: #FF6B7A;
    --ink-band: #1E1B1A;
    --on-ink-band: #F4EFEC;
    --on-ink-band-muted: #ADA59F;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.125rem); }
h3 { font-size: 1.1875rem; }
p { margin: 0 0 1em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-small { width: 0.95em; height: 0.95em; vertical-align: -0.12em; }
.icon-large { width: 2.5rem; height: 2.5rem; color: var(--primary); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--ground); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.01em; }
.brand .logo { width: 30px; height: 30px; color: var(--brand); }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: var(--ink-muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; }
.site-nav a:hover { color: var(--ink); background: var(--sunken); }
.site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }

/* Sections */
.band { padding: 56px 0; border-top: 1px solid var(--line); }
.page-head + .band { border-top: none; padding-top: 8px; }
.section-lede { color: var(--ink-muted); font-size: 1.125rem; max-width: 62ch; }
.lede { font-size: clamp(1.125rem, 2.2vw, 1.3125rem); color: var(--ink-muted); max-width: 40ch; }
.page-head { padding: 64px 0 32px; }
.page-head .lede { max-width: 56ch; }
.meta { color: var(--ink-muted); font-size: 0.9375rem; }
.fine { color: var(--ink-muted); font-size: 0.9375rem; margin-top: 24px; max-width: 75ch; }
.fine a { white-space: nowrap; }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-text h1 { max-width: 12ch; }
.soon { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 18px; font-weight: 500; margin-top: 8px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 20px; }
.hero-links a { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hero-links a:hover { text-decoration: underline; }
.hero-shot { background: var(--luteal-soft); border-radius: 32px; padding: 40px 32px 0; overflow: hidden; display: flex; justify-content: center; max-height: 560px; }
.hero-shot .shot { width: 100%; max-width: 300px; border-radius: 28px 28px 0 0; border: 1px solid var(--line); border-bottom: none; }

/* Phases */
.phases { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.phase { border-radius: var(--radius); padding: 24px; }
.phase h3 { margin: 16px 0 6px; }
.phase p { margin: 0; font-size: 0.9875rem; }
.phase-mark { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--surface); }
.phase-mark .icon { width: 24px; height: 24px; }
.phase-menstrual { background: var(--menstrual-soft); color: var(--menstrual-on-soft); }
.phase-menstrual .phase-mark { color: var(--menstrual-tone); }
.phase-follicular { background: var(--follicular-soft); color: var(--follicular-on-soft); }
.phase-follicular .phase-mark { color: var(--follicular-tone); }
.phase-ovulatory { background: var(--ovulatory-soft); color: var(--ovulatory-on-soft); }
.phase-ovulatory .phase-mark { color: var(--ovulatory-tone); }
.phase-luteal { background: var(--luteal-soft); color: var(--luteal-on-soft); }
.phase-luteal .phase-mark { color: var(--luteal-tone); }

/* Features */
.features { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 40px; }
.feature { border-top: 2px solid var(--ink); padding-top: 20px; }
.feature .icon { width: 28px; height: 28px; color: var(--primary); margin-bottom: 12px; }
.feature p { color: var(--ink-muted); margin: 0; }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.screen { margin: 0; }
.screen .shot { border-radius: 24px; border: 1px solid var(--line); }
.screen figcaption { margin-top: 12px; color: var(--ink-muted); font-size: 0.9375rem; }

/* The ink band */
.ink-band { background: var(--ink-band); color: var(--on-ink-band); border-top: none; }
.ink-band .section-lede { color: var(--on-ink-band-muted); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .icon { width: 24px; height: 24px; margin-top: 2px; }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 10px; background: var(--primary); color: var(--on-primary); text-decoration: none; font-weight: 600; padding: 14px 22px; border-radius: 999px; }
.button:hover { background: var(--primary-pressed); }
.button-light { background: var(--on-ink-band); color: var(--ink-band); }
.button-light:hover { background: var(--on-ink-band-muted); }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.plan { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 28px; background: var(--surface); }
.plan p { margin: 0; color: var(--ink-muted); }

/* Honest */
.honest { display: flex; gap: 24px; align-items: flex-start; }
.honest p { max-width: 68ch; color: var(--ink-muted); }

/* About */
.principles { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 28px; }
.principles li { display: flex; gap: 18px; }
.principles h3 { margin-bottom: 4px; }
.principles p { margin: 0; color: var(--ink-muted); }
.number { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--primary-soft); color: var(--on-primary-soft); font-family: var(--display); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }

/* Legal */
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-bottom: 72px; }
.toc { position: sticky; top: 24px; align-self: start; font-size: 0.9375rem; }
.toc-heading { font-family: var(--text); font-size: 0.875rem; font-weight: 600; color: var(--ink-muted); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; border-left: 1px solid var(--line); }
.toc a { color: var(--ink-muted); text-decoration: none; display: block; padding-left: 14px; }
.toc a:hover { color: var(--ink); }
.legal { max-width: 70ch; }
.legal-head > * { max-width: 70ch; }
@media (min-width: 901px) { .legal-head { padding-left: calc(var(--gutter) + 296px); } }
.legal section { padding-top: 8px; margin-bottom: 32px; scroll-margin-top: 16px; }
.legal h2 { font-size: 1.5rem; }
.callout { display: flex; gap: 12px; align-items: flex-start; background: var(--primary-soft); color: var(--on-primary-soft); border-radius: var(--radius-small); padding: 16px 18px; margin-top: 24px; max-width: 60ch; }
.callout a { color: inherit; font-weight: 600; }
.callout .icon { margin-top: 3px; }

/* Deletion */
.steps { padding: 0; margin: 0 0 20px; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; }
.steps li span { padding-top: 3px; }
.steps li::before { content: counter(step); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--on-primary-soft); font-family: var(--display); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.plain { padding-left: 1.2em; }
.plain li { margin-bottom: 8px; }
.table-wrap { overflow-x: auto; margin: 8px 0 20px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9875rem; }
th, td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; color: var(--ink-muted); font-size: 0.875rem; }
td:first-child { width: 48%; padding-right: 24px; }

/* Support */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-family: var(--display); font-weight: 600; font-size: 1.1875rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; color: var(--primary); font-family: var(--text); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--ink-muted); margin: 0 0 20px; max-width: 68ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; background: var(--sunken); font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 32px; }
.footer-brand p { color: var(--ink-muted); margin-top: 12px; max-width: 30ch; }
.footer-heading { font-family: var(--text); font-size: 0.875rem; font-weight: 600; color: var(--ink-muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-note { color: var(--ink-muted); margin: 0 0 6px; max-width: 80ch; }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .phases { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-grid { grid-template-columns: 1fr; gap: 8px; }
  .toc { position: static; border: 1px solid var(--line); border-radius: var(--radius-small); padding: 16px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .band { padding: 40px 0; }
  .hero { padding: 32px 0 40px; }
  .page-head { padding: 40px 0 24px; }
  .header-row { min-height: 0; }
  .site-nav { margin-left: -12px; }
  .phases, .features, .plans { grid-template-columns: 1fr; }
  .screens { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .screen { scroll-snap-align: start; }
  .hero-shot { padding: 28px 24px 0; max-height: 440px; }
  .honest { flex-direction: column; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  td:first-child { width: 44%; padding-right: 12px; }
}
