@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/nunito-latin-400-normal.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: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/nunito-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url(/static/fonts/nunito-latin-700-normal.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: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url(/static/fonts/nunito-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url(/static/fonts/nunito-latin-800-normal.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: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url(/static/fonts/nunito-cyrillic-800-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  /* Guiden design system, the same tokens as the app (web/src/styles.css): white canvas, the logo's violet, soft panels. */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --panel: #F7F6FB;
  --ink: #142B40;
  --muted: #5D6F80;
  --primary: #5B4FE0;
  --primary-hover: #4A3ED1;
  --lavender: #A9A1FB;
  --accent: #F1EFFF;
  --accent-strong: #E6E2FF;
  --line: #E8E5F3;
  --field: #6B7C88;
  --success: #2E8F63;
  --success-soft: #E3F5EC;
  --error: #C9423D;
  --error-bg: #FDECEA;
  --night: #142B40;
  --highlight: linear-gradient(90deg, #ECE9FF 0%, #E4F6EE 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgb(20 43 64 / 4%), 0 8px 24px rgb(20 43 64 / 6%);
  --shadow-lg: 0 2px 4px rgb(20 43 64 / 6%), 0 24px 56px rgb(20 43 64 / 14%);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.clinics :focus-visible, .footer :focus-visible { outline-color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
main:focus { outline: none; }

.skip {
  position: absolute; left: 12px; top: -200px; z-index: 50;
  background: var(--surface); color: var(--ink); padding: 12px 18px; border-radius: 12px;
  font-weight: 600; box-shadow: var(--shadow);
}
.skip:focus { top: 12px; }

/* Typography */
.h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
.h2 { font-size: clamp(1.75rem, 1.25rem + 1.7vw, 2.75rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; max-width: 22ch; }
.lead { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3rem); color: var(--muted); max-width: 62ch; margin-top: 16px; }
.note { font-size: 1rem; color: var(--muted); max-width: 70ch; }
.link { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
.link:hover { color: var(--primary-hover); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-strong); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--arrow { padding-right: 8px; }
.btn__circle {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--primary); flex: none;
}
.btn__circle::after { content: "→"; font-weight: 700; font-size: 1.05rem; line-height: 1; transition: transform .2s; }
.btn:hover .btn__circle::after { transform: translateX(3px); }
.btn--light .btn__circle { background: var(--primary); color: #fff; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Labels */
.pill {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 14px; border-radius: 999px; background: var(--accent); color: var(--primary);
  font-size: .9375rem; font-weight: 600; margin-bottom: 16px;
}
.pill--light { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lavender); flex: none; }
.badge {
  display: inline-block; font-size: .875rem; font-weight: 600; color: var(--muted);
  border: 1.5px dashed var(--field); border-radius: 999px; padding: 3px 12px; margin-bottom: 16px;
}
.tag { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .01em; padding: 3px 10px; border-radius: 999px; }
.tag--family { background: var(--accent); color: var(--primary); }
.tag--pro { background: #E4ECF5; color: var(--ink); }
.tag--doc { background: #F1EEE6; color: #5A4A2A; }
.tag--ok { background: var(--accent); color: var(--primary); }
.who { display: inline-block; margin-top: 14px; font-size: .875rem; font-weight: 700; color: var(--primary); }

/* Header */
.header { position: sticky; top: 0; z-index: 20; color: var(--ink); background: rgb(255 255 255 / 90%); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; margin-right: auto; border-radius: 10px; flex: none; }
.brand__logo { height: 36px; width: auto; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav a:hover { background: var(--panel); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); }
.lang__item { display: grid; place-items: center; min-width: 44px; min-height: 36px; padding: 0 10px; border-radius: 999px; font-size: .9375rem; font-weight: 700; text-decoration: none; }
.lang__item--on { background: var(--accent); color: var(--primary); }
a.lang__item:hover { text-decoration: underline; text-underline-offset: 3px; }

.menu { position: relative; display: none; }
.menu__toggle { list-style: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; cursor: pointer; }
.menu__toggle::-webkit-details-marker { display: none; }
.menu__icon, .menu__icon::before, .menu__icon::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.menu__icon::before, .menu__icon::after { content: ""; position: absolute; left: 0; }
.menu__icon::before { top: -7px; }
.menu__icon::after { top: 7px; }
.menu[open] .menu__icon { background: transparent; }
.menu[open] .menu__icon::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu__icon::after { top: 0; transform: rotate(-45deg); }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px));
  display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 18px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg);
}
.menu__panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; min-height: 48px; display: flex; align-items: center; }
.menu__panel a:hover { background: var(--accent); color: var(--primary); }
.menu__panel .btn { justify-content: center; margin-top: 8px; color: #fff; }
.menu__panel .btn:hover { background: var(--primary-hover); }
.menu__panel :focus-visible { outline-color: var(--primary); }

/* Hero */
.hero { position: relative; color: var(--ink); background: var(--highlight); overflow: hidden; }
.hero__body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hero__copy { max-width: 600px; }
.hero__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); line-height: 1.06; letter-spacing: -0.02em; font-weight: 800; }
.hero__lead { margin-top: 20px; font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); color: var(--muted); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__visual { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); align-items: center; }
.hero__media { display: block; grid-column: 2; grid-row: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--accent); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 60%; }
.peek { grid-column: 1; grid-row: 1; position: relative; z-index: 1; margin-right: -64px; display: grid; gap: 10px; justify-items: start; }
.peek__badge { font-size: .8125rem; font-weight: 700; color: var(--muted); background: var(--surface); border: 1.5px dashed var(--field); padding: 3px 10px; border-radius: 999px; }
.peek__card, .peek__bubble { background: var(--surface); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 18px; width: 100%; }
.peek__eyebrow { font-size: .8125rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; }
.peek__theme { font-weight: 700; font-size: 1.0625rem; margin-top: 2px; }
.peek__task { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 1rem; }
.peek__task > span:nth-child(2) { flex: 1; display: grid; }
.peek__check { width: 22px; height: 22px; border-radius: 7px; background: var(--primary); position: relative; flex: none; }
.peek__check::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.peek__small { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.peek__bubble { font-size: .9375rem; width: 92%; }
.peek__bubble--family { justify-self: end; border-bottom-right-radius: 6px; }
.peek__bubble--team { justify-self: start; background: var(--accent); border-bottom-left-radius: 6px; }
.peek__meta { margin-top: 6px; font-size: .8125rem; color: var(--primary); font-weight: 700; }

/* Sections */
.section { padding: clamp(44px, 5.5vw, 80px) 0; }
.section__head { margin-bottom: clamp(24px, 3vw, 36px); }
.note-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }

.audience { background: var(--panel); padding: clamp(36px, 4.5vw, 60px) 0; }
.audience__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: start; }
.audience__title { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.1rem); line-height: 1.2; letter-spacing: -0.015em; }
.audience__text { color: var(--muted); font-size: 1.1875rem; }

.loop__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.loop__step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.loop__step:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 28px; z-index: 1; width: 24px; height: 24px; display: grid; place-items: center;
  background: var(--bg); color: var(--primary); font-weight: 700; border-radius: 50%;
}
.loop__top { display: flex; align-items: center; justify-content: space-between; }
.loop__n { display: block; font-size: 1.75rem; opacity: .35; font-weight: 700; color: var(--primary); line-height: 1; letter-spacing: -0.02em; }
.loop__t { margin-top: 18px; font-size: 1.1875rem; line-height: 1.25; }
.loop__d { margin-top: 8px; color: var(--muted); font-size: 1rem; }

.year { background: var(--highlight); }
.year .pill { background: var(--surface); }
.year__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; align-items: start; margin-bottom: 24px; }
.months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.month {
  font: inherit; color: var(--ink); text-align: left; cursor: pointer; width: 100%;
  background: rgba(255, 255, 255, .62); border: 2px solid transparent; border-radius: 16px; padding: 12px 14px;
  display: grid; gap: 6px; align-content: start; min-height: 100px;
  transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.month:hover { background: var(--surface); transform: translateY(-2px); box-shadow: var(--shadow); }
.month[aria-selected="true"] { background: var(--surface); border-color: var(--primary); box-shadow: var(--shadow); }
.month__top { display: flex; align-items: center; gap: 8px; }
.month__ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--primary); flex: none; transition: background-color .2s, color .2s; }
.month__ic .ic { width: 17px; height: 17px; }
.month[aria-selected="true"] .month__ic { background: var(--primary); color: #fff; }
.month__n { font-size: .875rem; font-weight: 700; color: var(--primary); }
.month__label { font-weight: 600; color: var(--muted); }
.month__t { font-size: 1rem; line-height: 1.3; font-weight: 600; }
.hint { margin-top: 10px; font-size: 1rem; font-weight: 600; color: var(--primary); }
.js-only { display: none; }
.js .js-only { display: block; }
.mcards { min-width: 0; }
.mcard__head { display: flex; gap: 14px; align-items: center; }
.mcard { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 36px); }
.mcard__eyebrow { font-size: .875rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; }
.mcard__title { font-size: clamp(1.3rem, 1.15rem + .55vw, 1.65rem); line-height: 1.2; margin-top: 2px; }
.mcard__rows { margin-top: 20px; display: grid; gap: 14px; }
.mcard__rows div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mcard__rows dt { font-weight: 700; font-size: 1rem; }
.mcard__rows dd { color: var(--muted); font-size: 1rem; }
.plan { margin-top: 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); border-left: 5px solid var(--ink); padding: 16px 18px; }
.plan__head { font-size: .9375rem; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan__ic .ic { width: 18px; height: 18px; display: block; }
.plan__who { font-weight: 500; color: var(--muted); }
.plan__task { margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.plan__date { font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; font-size: .9375rem; }
.plan__fb { margin-top: 8px; font-size: 1rem; color: var(--muted); }
.mcard__note { margin-top: 16px; font-size: .9375rem; color: var(--muted); }

.profile__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.profile .note { margin-top: 24px; }
.entries { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.entries__list { display: grid; gap: 12px; }
.entry { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.entry:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.entry > :not(.entry__ic) { grid-column: 2; justify-self: start; }
.entry__ic { grid-row: 1 / span 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.entry__ic--family { background: var(--accent); color: var(--primary); }
.entry__ic--pro { background: #E4ECF5; color: var(--ink); }
.entry__ic--doc { background: #F1EEE6; color: #5A4A2A; }
.entry--pro { border-style: dashed; border-color: var(--field); }
.entry__t { font-weight: 600; }
.entry__s { font-size: .9375rem; color: var(--muted); }

.goals { background: var(--panel); }
.goals__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.goals__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.goals__img--a { grid-row: 1; grid-column: 1; }
.goals__img--b { grid-row: 1; grid-column: 2; }
.goals__list { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.goals__list li { padding: 22px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.goals__list h3 { font-size: 1.1875rem; margin-top: 14px; }
.goals__list p { margin-top: 6px; color: var(--muted); font-size: 1rem; }

.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.screen { display: grid; grid-template-rows: 1fr auto; gap: 20px; }
.screen figcaption h3 { font-size: 1.1875rem; }
.screen figcaption p { margin-top: 6px; color: var(--muted); font-size: 1rem; }
.screen__ui { background: var(--panel); border-radius: var(--radius-lg); padding: 20px; display: grid; gap: 10px; align-content: start; font-size: .9375rem; line-height: 1.35; }
.phone { border: 8px solid var(--ink); border-radius: 34px; box-shadow: var(--shadow-lg); background: var(--panel); }
.desk { border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--panel); border-top: 28px solid var(--ink); }
.ui__card { background: var(--surface); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; justify-items: start; }
.ui__card--accent { background: var(--accent); }
.ui__card--line { border-left: 4px solid var(--primary); gap: 8px; }
.ui__eyebrow { font-size: .75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; }
.ui__strong { font-weight: 700; }
.ui__muted { color: var(--muted); font-size: .875rem; }
.ui__head { font-weight: 700; font-size: 1rem; }
.ui__row { display: flex; align-items: center; gap: 8px; }
.ui__box { width: 16px; height: 16px; border: 2px solid var(--field); border-radius: 5px; flex: none; }
.ui__unknown { color: var(--muted); font-weight: 600; font-style: italic; }
.ui__chip { font-size: .8125rem; font-weight: 600; background: #E4ECF5; border-radius: 8px; padding: 2px 8px; }
.ui__btn { margin-top: 4px; background: var(--primary); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .875rem; }

.clinics { background: var(--ink); color: #fff; }
.clinics .lead, .clinics .note { color: rgba(255, 255, 255, .85); }
.clinics .note { margin: 20px 0 32px; }
.clinics__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.flow { display: grid; gap: 12px; counter-reset: f; }
.flow li { position: relative; padding: 18px 20px 18px 76px; transition: background-color .2s, transform .2s; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); counter-increment: f; }
.flow li:hover { background: rgba(255, 255, 255, .12); transform: translateX(4px); }
.flow__ic { position: absolute; left: 20px; top: 18px; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--ink); display: grid; place-items: center; }
.flow__ic .ic { width: 20px; height: 20px; }
.flow h3 { font-size: 1.125rem; }
.flow p { margin-top: 4px; color: rgba(255, 255, 255, .82); font-size: 1rem; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.facts dt { display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; }
.facts dd { margin-top: 8px; font-size: 1rem; }

.faq { background: var(--panel); }
.faq__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; min-height: 48px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 1.125rem; font-weight: 600; }
.faq__item summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 1.25rem; line-height: 1; }
.faq__item[open] summary::after { content: "−"; background: var(--ink); color: #fff; }
.faq__item p { padding: 0 4px 22px; color: var(--muted); max-width: 64ch; }

.final__box { text-align: center; display: grid; justify-items: center; gap: 0; background: var(--highlight); border-radius: 36px; padding: clamp(40px, 6vw, 72px) var(--gutter); }
.final__box .h2 { max-width: none; }
.final__box .lead { margin: 16px auto 28px; }
.final__box .note { margin-top: 16px; }

.footer { background: var(--night); color: #fff; padding: 48px 0; }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.footer__name { font-weight: 700; font-size: 1.125rem; }
.footer__muted { color: #C7D3DD; font-size: .9375rem; margin-top: 6px; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 4px 32px; }
.footer__nav a { color: #E6EDF3; font-size: 1rem; text-underline-offset: 3px; padding: 8px 0; min-height: 44px; display: flex; align-items: center; }

/* Forms */
.formpage__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.formpage__intro .pill { margin-top: 24px; }
.formpage__intro .note { margin-bottom: 16px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 22px; }
.form__purpose { color: var(--muted); font-size: 1rem; }
.form__privacy { color: var(--muted); font-size: .9375rem; }
.fld { display: grid; gap: 6px; }
.fld label { font-weight: 700; }
.fld__req { font-weight: 500; color: var(--muted); font-size: .9375rem; }
.fld__hint { color: var(--muted); font-size: .9375rem; }
.fld__err { color: var(--error); font-weight: 700; font-size: 1rem; }
.fld input[type="text"], .fld input[type="email"], .fld input[type="url"], .fld select {
  width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: var(--surface); border: 2px solid var(--field); border-radius: 12px;
}
.fld select { appearance: auto; }
.fld input:focus-visible, .fld select:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-color: var(--ink); }
.fld--err input, .fld--err select { border-color: var(--error); }
.fld--err { border-left: 4px solid var(--error); padding-left: 14px; }
.fld--check { grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
.fld--check .fld__err { grid-column: 1 / -1; }
.fld--check input { width: 28px; height: 28px; margin: 0; accent-color: var(--primary); }
.fld--check label { font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.errsum { border: 3px solid var(--error); background: var(--error-bg); border-radius: 16px; padding: 18px 20px; }
.errsum:focus { outline: 3px solid var(--ink); outline-offset: 3px; }
.errsum h2 { font-size: 1.25rem; }
.errsum p, .errsum ul { margin-top: 8px; }
.errsum li + li { margin-top: 4px; }
.errsum a { color: var(--error); font-weight: 700; text-underline-offset: 3px; }

.center { text-align: center; }
.center .wrap { display: grid; justify-items: center; gap: 20px; }
.center .lead { margin: 0 auto; }
.done { display: grid; justify-items: center; gap: 16px; }
.done__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); position: relative; }
.done__icon::after { content: ""; position: absolute; left: 24px; top: 14px; width: 14px; height: 26px; border: solid var(--primary); border-width: 0 4px 4px 0; transform: rotate(45deg); }
.big404 { font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 800; line-height: 1; color: var(--accent); -webkit-text-stroke: 2px var(--primary); }

.prose h2 { font-size: 1.375rem; margin-top: 32px; }
.prose p { margin-top: 10px; max-width: 68ch; }
.prose .note { margin-top: 12px; }
.draft { background: #FFF6E5; border: 1.5px solid #B7791F; color: #5C3D0B; border-radius: 12px; padding: 12px 16px; font-weight: 600; margin-bottom: 24px; }

/* Icons and motion */
.ic { width: 22px; height: 22px; display: block; flex: none; }
.ibox { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent); color: var(--primary); flex: none; }
.ibox--lg { width: 52px; height: 52px; border-radius: 16px; background: var(--lavender); color: #fff; }
.ibox--lg .ic { width: 26px; height: 26px; }
.ibox--sm { width: 30px; height: 30px; border-radius: 9px; }
.ibox--sm .ic { width: 17px; height: 17px; }
.loop__step, .goals__list li, .facts div, .screen__ui { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.loop__step:hover, .goals__list li:hover, .facts div:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.screen:hover .screen__ui { transform: translateY(-6px) rotate(-.4deg); }

@keyframes rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes pop { from { opacity: 0; translate: 0 14px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes zoom { from { scale: 1.08; } to { scale: 1; } }
@keyframes fadein { from { opacity: 0; translate: 12px 0; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; }
  .js .reveal.in { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .js .reveal.in:nth-child(2) { animation-delay: .08s; }
  .js .reveal.in:nth-child(3) { animation-delay: .16s; }
  .js .reveal.in:nth-child(4) { animation-delay: .24s; }
  .js .reveal.in:nth-child(5) { animation-delay: .32s; }
  .hero__media img { animation: zoom 14s cubic-bezier(.2, .6, .2, 1) both; }
  .hero__copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .peek > * { animation: pop .55s cubic-bezier(.2, .7, .2, 1) both; }
  .peek__badge { animation-delay: .4s; }
  .peek__card { animation-delay: .6s; }
  .peek__bubble--family { animation-delay: 1.4s; }
  .peek__meta { animation: fadein .4s ease both 2.1s; }
  .peek__bubble--team { animation-delay: 2.7s; }
  .mcard.is-in { animation: fadein .35s ease both; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: block; }
  .loop__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop__step:not(:last-child)::after { display: none; }
  .loop__step:last-child { grid-column: 1 / -1; }
  .goals__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero__body { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 48px; gap: 28px; }
  .hero__visual { grid-template-columns: 1fr; gap: 16px; }
  .hero__media { grid-column: 1; aspect-ratio: 4 / 3; }
  .hero__media img { object-position: 75% 60%; }
  .peek { grid-column: 1; grid-row: 2; margin-right: 0; justify-items: stretch; }
  .audience__grid, .year__grid, .profile__grid, .clinics__grid, .faq__wrap, .formpage__grid { grid-template-columns: 1fr; }
  .screens { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .goals__grid { grid-template-columns: 1fr; }
  .goals__img--a, .goals__img--b, .goals__list { grid-column: 1; grid-row: auto; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header__cta { display: none; }
  .header__inner { gap: 8px; min-height: 64px; }
  .brand__logo { height: 30px; }
  .months { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .month { min-height: 92px; }
  .loop__steps, .goals__list, .facts { grid-template-columns: 1fr; }
  .mcard__rows div { grid-template-columns: 1fr; gap: 2px; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .hero__actions .btn--ghost { justify-content: center; }
  .footer__nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
