/* Generated by scripts/fetch-fonts.mjs — do not edit by hand. */
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/literata-cyrillic-ext-400-600.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/literata-cyrillic-400-600.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/literata-latin-ext-400-600.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/literata-latin-400-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/golos-text-cyrillic-ext-400-600.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/golos-text-cyrillic-400-600.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/golos-text-latin-ext-400-600.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/golos-text-latin-400-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-cyrillic-ext-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-cyrillic-400.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-cyrillic-ext-500.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-cyrillic-500.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin-ext-500.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Colour tokens mirror the app's design system (lib/core/theme/cn_colors.dart).
   The site's chrome leans on --plum (the app's CTA lilac, and its icon);
   --terracotta stays reserved for period marks, exactly as in the calendar. */
:root {
  color-scheme: light dark;

  --paper: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f6f2ea;
  --ink: #2b2a28;
  --ink-2: #6e6a63;
  --ink-3: #9b968e;
  --plum: #5f4678;
  --plum-deep: #362a4a;
  --plum-ink: #f3eef8;
  --on-plum: #ffffff;
  --terracotta: #c6392c;
  --sage: #7a8b74;
  --border: #eae4db;
  --divider: #f0ebe3;
  --chip-bg: #f2ede5;
  --plum-soft: rgba(95, 70, 120, 0.1);
  --terracotta-soft: rgba(198, 57, 44, 0.1);
  --period-predicted: rgba(198, 57, 44, 0.3);
  --fertile-fill: rgba(95, 70, 120, 0.17);
  --shadow-card: 0 1px 3px rgba(43, 42, 40, 0.06), 0 4px 16px rgba(43, 42, 40, 0.05);
  --shadow-phone: 0 2px 8px rgba(43, 42, 40, 0.08), 0 24px 60px rgba(54, 42, 74, 0.16);

  --font-display: 'Literata', Georgia, 'Times New Roman', serif;
  --font-body: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1160px;
  --wrap-narrow: 720px;
  --pad: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 128px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1c1b1f;
    --surface: #26252a;
    --surface-2: #2c2b30;
    --ink: #edeae4;
    --ink-2: #a9a49c;
    --ink-3: #85807a;
    --plum: #9b85b8;
    --plum-deep: #241d31;
    --plum-ink: #f3eef8;
    --on-plum: #1c1b1f;
    --terracotta: #dc6f60;
    --sage: #8fa189;
    --border: #35343a;
    --divider: #302f34;
    --chip-bg: #302f34;
    --plum-soft: rgba(155, 133, 184, 0.16);
    --terracotta-soft: rgba(220, 111, 96, 0.16);
    --period-predicted: rgba(220, 111, 96, 0.3);
    --fertile-fill: rgba(155, 133, 184, 0.24);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.18);
    --shadow-phone: 0 2px 8px rgba(0, 0, 0, 0.3), 0 24px 60px rgba(0, 0, 0, 0.45);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: currentColor;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding-block: var(--section-y);
}

.display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-size: clamp(2.25rem, 5.4vw, 3.75rem);
  text-wrap: balance;
}

.display--md {
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.12;
}

.display--sm {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
}

.lede {
  margin-top: 20px;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  margin: 0 0 clamp(14px, 2vw, 22px);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* The app icon's half-dome, shrunk to a bullet: every section is marked by
   the same shape the product is. */
.eyebrow::before {
  content: '';
  width: 14px;
  height: 7px;
  flex: none;
  background: var(--plum);
  border-radius: 14px 14px 0 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--plum);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: top 0.15s;
}

.skip-link:focus {
  top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: 500 1rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
  background: var(--plum);
  color: var(--on-plum);
}

.btn--primary:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--plum) 88%, var(--ink));
}

.btn--ghost {
  border-color: var(--border);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--plum);
  color: var(--plum);
}

.btn--soon {
  background: var(--chip-bg);
  color: var(--ink-2);
  border: 1px dashed color-mix(in srgb, var(--plum) 45%, transparent);
  cursor: default;
}

.btn--soon:hover {
  transform: none;
  background: var(--chip-bg);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 0.9375rem;
}

.btn--block {
  width: 100%;
}

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--plum);
}

.brand__mark {
  display: block;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  margin-inline-end: auto;
}

.nav__link {
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 0;
}

.nav__link:hover,
.nav__link[aria-current] {
  color: var(--ink);
}

.site-header__end {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* language menu */
.langs {
  position: relative;
}

.langs__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--ink-2);
  font: 400 0.875rem/1 var(--font-body);
  cursor: pointer;
}

.langs__toggle:hover {
  color: var(--ink);
  border-color: var(--ink-3);
}

.langs__menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 170px;
  padding: 6px;
  margin: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  z-index: 50;
}

.langs__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--ink);
}

.langs__item:hover {
  background: var(--chip-bg);
}

.langs__item.is-active {
  color: var(--plum);
}

.langs__code {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 14px 20px;
}

.mobile-nav .nav__link {
  padding: 12px 0;
  font-size: 1.0625rem;
  border-bottom: 1px solid var(--divider);
}

.mobile-nav__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
}

.mobile-nav__langs .langs__item {
  border: 1px solid var(--border);
}

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding-block: clamp(28px, 5vw, 68px) 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset-inline-end: -10%;
  top: -18%;
  width: min(820px, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--plum-soft), transparent 62%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.hero .display em {
  font-style: normal;
  color: var(--plum);
}

.hero__dial {
  display: flex;
  justify-content: center;
}

/* ------------------------------------------------------------- cycle dial */
.dial {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
}

.dial:focus-visible {
  outline-offset: 8px;
}

.dial__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.dial__track {
  fill: none;
  stroke: var(--border);
  stroke-width: 1;
}

.dial__arc {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
}

.dial__arc--period {
  stroke: color-mix(in srgb, var(--terracotta) 55%, transparent);
}

.dial__arc--fertile {
  stroke: color-mix(in srgb, var(--plum) 45%, transparent);
}

.dial__fill {
  fill: transparent;
  transition: r 0.2s ease;
}

.dial__ring {
  fill: none;
  stroke: transparent;
  stroke-width: 1.5;
}

.dial__num {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--ink-3);
}

.dial__day--period .dial__fill {
  fill: var(--terracotta);
}

.dial__day--period .dial__num {
  fill: #fff;
}

.dial__day--fertile .dial__fill,
.dial__day--ovulation .dial__fill {
  fill: var(--fertile-fill);
}

.dial__day--fertile .dial__num,
.dial__day--ovulation .dial__num {
  fill: var(--ink-2);
}

.dial__day--ovulation .dial__ring {
  stroke: var(--plum);
  stroke-dasharray: 3 3;
}

.dial__day.is-today .dial__ring {
  stroke: var(--ink);
}

.dial__day.is-active .dial__ring {
  stroke: var(--plum);
  stroke-width: 2;
}

.dial__day.is-active .dial__fill {
  r: 16;
}

.dial__center {
  position: absolute;
  inset: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  pointer-events: none;
}

.dial__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
}

.dial__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4rem);
  line-height: 1;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}

.dial__phase {
  font-size: 0.9375rem;
  color: var(--plum);
}

.dial.is-armed .dial__day {
  opacity: 0;
}

.dial.is-drawn .dial__day {
  animation: dial-in 0.45s ease forwards;
  animation-delay: calc(var(--i) * 26ms);
}

@keyframes dial-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ------------------------------------------------------------------ facts */
.facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(48px, 7vw, 84px);
  list-style: none;
  border-top: 1px solid var(--border);
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px clamp(12px, 2vw, 28px) 4px 0;
}

.fact__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--plum);
}

.fact__text {
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------------------------------------------------------- split layouts */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
}

.split--reverse .split__copy {
  order: 2;
}

.split__figure {
  display: flex;
  justify-content: center;
}

.section--diary,
.section--features {
  background: var(--surface-2);
  border-block: 1px solid var(--border);
}

.points {
  list-style: none;
  margin-top: 34px;
  display: grid;
  gap: 22px;
}

.point__title {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.point__body {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 0.9688rem;
  max-width: 46ch;
}

/* legend — the app's calendar key, verbatim */
.legend {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px 18px;
  margin-top: 30px;
  padding: 20px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.legend__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.legend__swatch {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-2);
  position: relative;
}

.legend__swatch--period {
  background: var(--terracotta);
}

.legend__swatch--predicted {
  background: var(--period-predicted);
}

.legend__swatch--fertile {
  background: var(--fertile-fill);
}

.legend__swatch--ovulation {
  background: var(--fertile-fill);
  border: 1.5px dashed var(--plum);
}

.legend__swatch--today {
  border: 1.5px solid var(--ink);
}

.legend__swatch--entry::after {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-3);
}

/* ------------------------------------------------------------------ diary */
.log-sections {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.log-section__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.log-section__name .icon {
  color: var(--plum);
  width: 18px;
  height: 18px;
}

.log-section__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: var(--radius-full);
  background: var(--chip-bg);
  border: 1px solid transparent;
  font-size: 0.8125rem;
  color: var(--ink-2);
  line-height: 1.2;
}

.chip--more {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.note {
  margin-top: 26px;
  font-size: 0.9375rem;
  color: var(--ink-3);
  max-width: 48ch;
}

/* -------------------------------------------------------------- reminders */
.notifs {
  display: grid;
  gap: 14px;
  width: min(420px, 100%);
}

.notif {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.notif--hidden {
  transform: translateX(clamp(0px, 3vw, 34px));
}

.notif__icon {
  display: grid;
  place-items: end center;
  width: 38px;
  height: 38px;
  padding-bottom: 8px;
  flex: none;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--plum);
}

.notif__body {
  flex: 1;
}

.notif__title {
  font-size: 0.9375rem;
  font-weight: 600;
}

.notif__text {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.notif__time {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
}

.notif__tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--plum);
  background: var(--plum-soft);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.ticks {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.ticks li {
  position: relative;
  padding-inline-start: 30px;
  color: var(--ink-2);
  font-size: 0.9688rem;
}

.ticks li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 14px;
  height: 7px;
  background: var(--plum);
  border-radius: 14px 14px 0 0;
}

/* ---------------------------------------------------------------- privacy */
.section--privacy {
  background: var(--plum-deep);
  color: var(--plum-ink);
}

.section--privacy .display,
.section--privacy .privacy__link a {
  color: var(--plum-ink);
}

.eyebrow--light {
  color: color-mix(in srgb, var(--plum-ink) 60%, transparent);
}

.eyebrow--light::before {
  background: color-mix(in srgb, var(--plum-ink) 70%, transparent);
}

.lede--light {
  color: color-mix(in srgb, var(--plum-ink) 78%, transparent);
}

.privacy__head {
  max-width: 640px;
}

.privacy__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(36px, 5vw, 56px);
}

.pcard {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pcard__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--plum-ink);
}

.pcard__title {
  margin-top: 16px;
  font-size: 1.0625rem;
  font-weight: 600;
}

.pcard__body {
  margin-top: 8px;
  font-size: 0.9375rem;
  color: color-mix(in srgb, var(--plum-ink) 75%, transparent);
}

.privacy__link {
  margin-top: 28px;
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------- features */
.features__title {
  max-width: 26ch;
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  margin-top: clamp(36px, 5vw, 56px);
  list-style: none;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.fcard {
  padding: 26px 24px 30px;
  background: var(--paper);
}

.fcard__icon {
  color: var(--plum);
  display: block;
}

.fcard__title {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 600;
}

.fcard__body {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ price */
.price__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.price__card {
  padding: clamp(28px, 3vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.price__trial {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--plum-soft);
  color: var(--plum);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.price__amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
}

.price__value {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.price__unit {
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.price__list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding-top: 22px;
  border-top: 1px solid var(--divider);
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.price__note {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--ink-3);
  text-align: center;
}

/* -------------------------------------------------------------------- faq */
.faq__title {
  max-width: 20ch;
}

.faq {
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--border);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: '';
  width: 12px;
  height: 12px;
  flex: none;
  border-right: 1.5px solid var(--plum);
  border-bottom: 1.5px solid var(--plum);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__q::after {
  transform: rotate(225deg) translate(-3px, -3px);
}

.faq__a {
  padding-bottom: 24px;
  color: var(--ink-2);
  max-width: 62ch;
}

.faq__a a {
  color: var(--plum);
}

/* ---------------------------------------------------------------- closing */
.section--closing {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.closing {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* The app icon, blown up: the page ends on the shape it started with. */
.closing__dome {
  position: absolute;
  bottom: -34%;
  left: 50%;
  width: min(620px, 110%);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: var(--plum-soft);
  border-radius: 999px 999px 0 0;
  z-index: -1;
}

.closing__lede {
  max-width: 52ch;
}

.closing__note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
}

/* ----------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  padding-block: clamp(44px, 6vw, 72px) 28px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.site-footer__tag {
  margin: 14px 0 22px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  max-width: 30ch;
}

.site-footer__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

.site-footer__list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.site-footer__list a {
  text-decoration: none;
  color: var(--ink-2);
}

.site-footer__list a:hover {
  color: var(--ink);
}

.site-footer__list a[aria-current] {
  color: var(--plum);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.site-footer__note {
  max-width: 60ch;
}

/* ------------------------------------------------------------ breakpoints */
@media (max-width: 1040px) {
  .hero__inner,
  .split,
  .split--reverse,
  .price__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .privacy__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__dial {
    order: -1;
  }

  .split--reverse .split__copy,
  .split__copy {
    order: 0;
  }

  .split__figure {
    order: 1;
  }

  .lede,
  .point__body {
    max-width: none;
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav,
  .site-header__end .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-inline-start: auto;
  }

  .site-header__end {
    margin-inline-start: auto;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact {
    padding-inline-end: 16px;
  }

  body.has-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 560px) {
  .facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .fact {
    padding-block: 16px;
    border-bottom: 1px solid var(--divider);
  }

  .hero__cta .btn {
    width: 100%;
  }

  .notif--hidden {
    transform: none;
  }

  .privacy__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* App screens, redrawn in CSS from the app's own tokens (cn_colors.dart,
   cn_spacing.dart) — not screenshots, so they stay sharp and translate. */
.phone {
  width: min(322px, 100%);
  aspect-ratio: 322 / 672;
  padding: 11px;
  border-radius: 48px;
  background: linear-gradient(160deg, #4a4844, #1b1a19 55%, #33312e);
  box-shadow: var(--shadow-phone);
  flex: none;
}

.phone__screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 38px;
  background: var(--paper);
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
}

.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.phone__status-icons {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.phone__status-icons i {
  display: block;
  width: 4px;
  background: var(--ink);
  border-radius: 1px;
}

.phone__status-icons i:nth-child(1) {
  height: 6px;
}

.phone__status-icons i:nth-child(2) {
  height: 8px;
}

.phone__status-icons i:nth-child(3) {
  height: 10px;
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 16px 0;
  min-height: 0;
}

.screen__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 14px;
}

.screen__month {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.screen__chevrons {
  color: var(--ink-3);
  letter-spacing: 6px;
  font-size: 15px;
}

/* calendar */
.cal__week,
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.cal__week {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-3);
  padding-bottom: 6px;
}

.cal__cell {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  color: var(--ink);
}

.cal__cell.is-period {
  background: var(--terracotta);
  color: #fff;
}

.cal__cell.is-predicted {
  background: var(--period-predicted);
  color: #fff;
}

.cal__cell.is-fertile {
  background: var(--fertile-fill);
}

.cal__cell.is-ovulation {
  background: var(--fertile-fill);
  box-shadow: inset 0 0 0 1.2px var(--plum);
}

.cal__cell.is-ovulation::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.2px dashed var(--plum);
}

.cal__cell.is-today {
  box-shadow: inset 0 0 0 1.4px var(--ink);
  font-weight: 600;
}

.cal__entry {
  position: absolute;
  bottom: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.screen__card {
  margin-top: auto;
  margin-bottom: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.screen__card-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.screen__card-label {
  color: var(--ink-2);
  font-size: 12px;
}

.screen__card-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.screen__card-row--sub {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--divider);
  font-size: 11px;
  color: var(--ink-2);
}

.screen__card-accent {
  color: var(--terracotta);
  font-weight: 500;
}

.screen__period-btn {
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;
  background: var(--terracotta-soft);
  color: var(--terracotta);
  text-align: center;
  font-size: 12px;
  font-weight: 500;
}

.screen__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 0 -16px;
  padding: 10px 16px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  font-size: 10px;
  color: var(--ink-3);
}

.screen__tabs .is-active {
  color: var(--plum);
}

/* day log */
.screen--log {
  background: var(--surface);
  margin: 0 -0px;
}

.screen__bar--modal {
  border-bottom: 1px solid var(--divider);
  margin: 0 -16px;
  padding: 10px 16px 12px;
}

.screen__modal-title {
  font-size: 15px;
  font-weight: 600;
}

.screen__done {
  color: var(--plum);
  font-size: 13px;
}

.log__tabs {
  display: flex;
  gap: 6px;
  padding: 12px 0 4px;
  overflow: hidden;
  font-size: 11px;
  color: var(--ink-3);
  /* the app fades the edge of a scrolling row instead of cutting it (CnEdgeFade) */
  mask-image: linear-gradient(to right, #000 82%, transparent);
}

.log__tabs span {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--chip-bg);
  white-space: nowrap;
}

.log__tabs .is-active {
  background: var(--plum);
  color: var(--on-plum);
}

.log__group {
  padding-top: 14px;
}

.log__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.log__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.log__chips .chip {
  padding: 6px 11px;
  font-size: 11px;
}

.chip.is-on {
  background: var(--plum-soft);
  border-color: var(--plum);
  color: var(--plum);
}

.log__note {
  margin: auto 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  color: var(--ink-3);
  font-size: 11px;
}

/* stats */
.stats__sub {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: -8px;
}

.stats__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.stats__card {
  padding: 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  gap: 2px;
}

.stats__num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.stats__cap {
  font-size: 10px;
  color: var(--ink-2);
}

.stats__chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 72px;
  margin: 18px 0 20px;
  padding: 0 2px;
  border-bottom: 1px solid var(--border);
}

.stats__chart span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  background: var(--plum);
  opacity: 0.75;
}

.stats__chart span:last-child {
  background: var(--terracotta);
  opacity: 0.85;
}

.stats__list {
  list-style: none;
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-2);
}

.stats__list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--divider);
}

.stats__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}

/* Legal + support documents: one column of text, a table of contents that
   stays with the reader, clause numbers that are actually citable. */
.doc__head {
  padding-block: clamp(40px, 6vw, 76px) clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--border);
}

.doc__meta {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
}

.doc__summary {
  padding-block: clamp(28px, 4vw, 44px) 0;
}

.summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  list-style: none;
}

.summary__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.summary__icon {
  color: var(--plum);
  flex: none;
  line-height: 0;
}

.doc__body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(36px, 5vw, 64px) clamp(56px, 8vw, 100px);
  align-items: start;
}

.doc__toc {
  position: sticky;
  top: 92px;
}

.doc__toc-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.doc__toc ul {
  list-style: none;
  display: grid;
  gap: 2px;
  margin-top: 12px;
}

.doc__toc a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 6px;
  padding: 7px 0;
  font-size: 0.875rem;
  color: var(--ink-2);
  text-decoration: none;
}

.doc__toc a:hover {
  color: var(--plum);
}

.doc__toc-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
}

.doc__content {
  max-width: 68ch;
}

.doc__section + .doc__section {
  margin-top: clamp(36px, 5vw, 54px);
}

.doc__section {
  scroll-margin-top: 96px;
}

.doc__heading {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: baseline;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 500;
  margin-bottom: 16px;
}

.doc__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--plum);
}

.doc__content p {
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
}

.doc__content a {
  color: var(--plum);
}

.doc__sub {
  margin: 26px 0 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.doc__list,
.doc__steps {
  margin: 0 0 18px;
  padding-inline-start: 22px;
  display: grid;
  gap: 8px;
  color: var(--ink-2);
}

.doc__list {
  list-style: none;
  padding-inline-start: 0;
}

.doc__list li {
  position: relative;
  padding-inline-start: 24px;
}

.doc__list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 12px;
  height: 6px;
  background: var(--plum);
  border-radius: 12px 12px 0 0;
  opacity: 0.75;
}

.doc__steps li {
  padding-inline-start: 4px;
}

.doc__steps li::marker {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--plum);
}

.doc__note {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.9375rem;
}

/* support contact block */
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.contact__main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 46ch;
}

.contact__icon {
  color: var(--plum);
  line-height: 0;
  margin-top: 3px;
}

.contact__title {
  font-size: 1.125rem;
  font-weight: 600;
}

.contact__body {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.contact__actions {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.contact__note {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.contact__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 18px;
  list-style: none;
}

.contact__facts li {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--ink);
}

.contact__fact-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
}

.section--doc {
  min-height: 50vh;
  display: grid;
  align-items: center;
}

@media (max-width: 900px) {
  .doc__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .doc__toc {
    position: static;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .doc__toc-title {
    border-bottom: none;
    padding-bottom: 4px;
  }
}
