@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-variable-v20.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;
}

:root {
  --bg: #f4efe6;
  --surface: #fffdf8;
  --surface-alt: #ebe4d6;
  --ink: #10211c;
  --ink-soft: #3d4f48;
  --ink-mute: #6d7a74;
  --line: #ddd4c4;
  --line-strong: #c8bead;
  --accent: #147a66;
  --accent-dark: #0b3029;
  --accent-soft: #dceee7;
  --accent-ink: #ffffff;
  --focus: #147a66;
  --warn: #8a5a22;

  --font: Manrope, system-ui, "Segoe UI", sans-serif;

  --step--1: clamp(0.8rem, 0.76rem + 0.18vw, 0.88rem);
  --step-0: clamp(0.95rem, 0.92rem + 0.16vw, 1.02rem);
  --step-1: clamp(1.05rem, 1rem + 0.22vw, 1.15rem);
  --step-2: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem);
  --step-3: clamp(1.7rem, 1.35rem + 1.1vw, 2.35rem);

  --wrap: 1180px;
  --narrow: 720px;
  --header-h: 76px;
  --section-y: 5rem;
  --shadow: 0 24px 60px rgba(11, 48, 41, 0.1);
}

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

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

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 70;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }

/* Prevent iOS focus zoom when form styles reset the font size. */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}
a { color: var(--accent); text-underline-offset: 3px; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  padding: 0.6rem 0.9rem;
  background: var(--accent-dark);
  color: #fff;
  border-radius: 8px;
}
.skip-link:focus { top: 0.75rem; }

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.4rem, var(--narrow)); margin-inline: auto; }
.muted { color: var(--ink-mute); }
.small { font-size: var(--step--1); }
.lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 38rem; line-height: 1.5; }

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: 1.1rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem 0.35rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kicker i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.kicker--light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #d5efe7;
}
.kicker--light i {
  background: #7ed0b6;
  box-shadow: 0 0 0 4px rgba(126, 208, 182, 0.18);
}

.section { padding: var(--section-y) 0; position: relative; }
.section[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.section-head { max-width: 38rem; margin-bottom: 2rem; }
.section-head--wide,
.section-head--wide .lead { max-width: none; }

.availability-section { background: #f1f6f2; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 56px;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent-dark);
  color: var(--accent-ink);
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover {
  background: #08241f;
  transform: translateY(-1px);
}
.btn:disabled,
.btn:disabled:hover {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--surface); }
.btn--wide { width: 100%; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  height: var(--header-h);
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  overflow: hidden;
}
.site-head__row {
  width: min(100% - 2.4rem, var(--wrap));
  height: var(--header-h);
  margin: 0 auto;
  padding-inline: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}
.logo img { width: 124px; height: auto; }
.site-head__nav { display: flex; align-items: center; gap: 0.35rem; }
.site-head__link {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 560;
}
.site-head__link:hover { color: var(--ink); background: var(--surface-alt); }
.site-head__cta {
  min-height: 44px;
  min-width: 11.5rem;
  margin-left: 1rem;
  padding: 0.45rem 1.45rem;
  box-shadow: none;
}

.site-foot {
  padding: 2.2rem 0 2.6rem;
  background: var(--bg);
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.site-foot a { color: var(--ink-soft); text-decoration: none; }
.site-foot a[hidden] { display: none !important; }
.site-foot a:hover { color: var(--ink); }
.site-foot__logo { display: inline-flex; }
.site-foot__copy {
  margin: 1rem 0 0;
  color: var(--ink-mute);
  font-size: 0.78rem;
}
.site-foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  margin: 0;
}
.disclaimer {
  margin: 0;
  padding: 0.95rem 1.1rem;
  background: var(--surface-alt);
  border-radius: 14px;
  color: var(--ink-soft);
  font-size: var(--step--1);
}
.site-foot .disclaimer {
  max-width: none;
  margin-top: 1.25rem;
  background: transparent;
  padding: 0;
  color: var(--ink-mute);
  font-size: 0.72rem;
  line-height: 1.5;
  white-space: nowrap;
}

/* Hero */
.hero {
  position: relative;
  overflow: visible;
  padding: 3.75rem 0 0;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 3.5vw, 2.8rem);
  align-items: center;
}
.hero__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
.hero h1 {
  max-width: 14em;
  margin: 0;
  font-size: clamp(1.95rem, 1.35rem + 2vw, 2.85rem);
  letter-spacing: -0.035em;
}
.hero__eyebrow {
  margin: 0;
  color: var(--ink-mute);
  font-size: var(--step--1);
  font-weight: 600;
}
.hero__sub {
  max-width: 36rem;
  margin: 0;
  color: var(--ink-soft);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
  margin-top: 0.5rem;
}
.hero__cta > .btn {
  min-width: 18rem;
  padding-inline: 2rem;
}
.hero__cta > .btn::after,
.closing-copy .btn::after {
  content: "";
  width: 1.05em;
  height: 1.05em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h12.5M13 6.5 18.5 12 13 17.5' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h12.5M13 6.5 18.5 12 13 17.5' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero__more {
  color: var(--accent);
  font-weight: 600;
}
.hero-visual {
  margin: 0;
  max-width: none;
  width: 100%;
  background: transparent;
}
.hero-visual img {
  width: 122%;
  max-width: none;
  margin-left: -8%;
  background: transparent;
  filter: brightness(1.08);
  mix-blend-mode: multiply;
}
.hero__bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 1.15rem 0 0;
  padding: 1.5rem 0 1.65rem;
  list-style: none;
  border-top: 1px solid var(--line);
}
.hero__bar li {
  padding: 0 1.25rem 0 0;
}
.hero__bar li:not(:first-child) { padding-left: 1.15rem; border-left: 1px solid var(--line); }
.hero__bar strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero__bar span { color: var(--ink-soft); font-size: var(--step--1); }

/* About */
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-fact {
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.6vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
}
.about-fact__num {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--accent);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.about-fact__num small { font-size: 0.42em; font-weight: 700; letter-spacing: -0.01em; }
.about-fact h3 { margin: 0 0 0.35rem; }
.about-fact p { margin: 0 0 1.1rem; color: var(--ink-soft); }
.about-fact__src {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 0.78rem;
  text-decoration-color: var(--line-strong);
}
.about-fact__src:hover { color: var(--accent-dark); }

.fact-people {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.9rem 0 1.25rem;
  padding: 0;
  list-style: none;
}
.fact-people li {
  width: 22px;
  color: var(--line-strong);
}
.fact-people li.is-on { color: var(--accent); }
.fact-people svg { width: 100%; height: auto; }
.fact-people--wide { gap: 0.55rem; }
.fact-people--wide li { width: 30px; }

.fact-timeline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem 0.5rem;
  margin: 1.15rem 0 1.25rem;
}
.fact-timeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.fact-timeline__dot--end { background: var(--accent-dark); }
.fact-timeline__line {
  height: 0;
  border-top: 2px dashed var(--line-strong);
}
.fact-timeline b {
  color: var(--ink-mute);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.fact-timeline__from { grid-column: 1 / 2; }
.fact-timeline__to { grid-column: 3 / 4; justify-self: end; }

.about-limits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}
.about-limits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--step--1);
}
.about-limits b { color: var(--ink); }
.about-limits__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f3ded9;
  color: #a33c2c;
}
.about-limits__icon svg { width: 12px; }

/* Why habits work */
.habit-section { background: var(--surface); }
.section-cta { margin-top: 2rem; text-align: center; }
.result-layout > .section-cta { grid-column: 1 / -1; }
.privacy-device--local { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.privacy-device--local .privacy-device__caption { grid-column: 1; }
.habit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.habit-copy h2 { margin-bottom: 0.4em; max-width: 22ch; }
.habit-copy .lead { margin-bottom: 1.5rem; }
.habit-chips {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  font-size: var(--step-1);
  font-weight: 650;
}
.habit-chips li { display: flex; align-items: center; gap: 0.8rem; }
.habit-chips__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.habit-chips__icon svg { width: 23px; }
.habit-sources { margin: 0; color: var(--ink-mute); font-size: 0.8rem; }
.habit-sources a { color: var(--ink-mute); text-decoration-color: var(--line-strong); }
.habit-sources a:hover { color: var(--accent-dark); }

.habit-chart {
  width: min(100%, 420px);
  justify-self: center;
  margin: 0;
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg);
}
.habit-chart figcaption {
  margin-bottom: 0.9rem;
  color: var(--ink-mute);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.habit-chart__plot { position: relative; }
.habit-chart__plot svg { width: 100%; height: auto; }
.habit-chart__pin {
  position: absolute;
  top: 0;
  left: 60%;
  display: grid;
  transform: translate(-50%, -8%);
  text-align: center;
  padding: 0.45rem 0.75rem;
  border-radius: 14px;
  background: var(--accent-dark);
  color: #fffdf8;
  line-height: 1.25;
  white-space: nowrap;
}
.habit-chart__pin strong { font-size: 1.05rem; letter-spacing: -0.02em; }
.habit-chart__pin span { color: #a9ebcd; font-size: 0.72rem; }
.habit-chart__axis {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  color: var(--ink-mute);
  font-size: 0.78rem;
}

.habit-score {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.habit-score__label {
  margin: 0 0 0.7rem;
  color: var(--ink-mute);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.habit-score__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.habit-score__spark { flex: 1; min-width: 0; height: 40px; }
.habit-score__point {
  display: grid;
  gap: 0.15rem;
  color: var(--ink-mute);
  text-align: center;
}
.habit-score__point b {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.habit-score__point small { font-size: 0.7rem; font-weight: 600; }
.habit-score__point--now { color: var(--accent-dark); }
.habit-score__point--now b { font-size: 1.85rem; }
.habit-score__point em {
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}
.habit-score__note {
  margin: 0.7rem 0 0;
  color: var(--ink-mute);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* Result preview */
.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.result-copy h2 { margin-bottom: 0.4em; max-width: 24ch; }
.result-copy .lead { max-width: 26rem; margin-bottom: 1.75rem; }
.result-gets {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--step-1);
}
.result-gets li { display: flex; align-items: center; gap: 0.75rem; }
.result-gets__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}
.result-gets__icon svg { width: 14px; }
.result-preview {
  position: relative;
  width: min(100%, 400px);
  justify-self: center;
  margin: 0;
  padding: 1.75rem 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.result-preview__tag {
  display: inline-block;
  margin-bottom: 1.15rem;
  color: var(--ink-mute);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.result-preview__score {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--accent-dark);
}
.result-preview__score strong { font-size: 3.6rem; letter-spacing: -0.04em; line-height: 1; }
.result-preview__score span { color: var(--ink-mute); font-weight: 700; }
.result-preview__band { margin: 0.45rem 0 0.8rem; color: var(--ink-soft); }
.result-preview__meter {
  height: 8px;
  margin-bottom: 1.6rem;
  border-radius: 99px;
  background: var(--surface-alt);
  overflow: hidden;
}
.result-preview__meter i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.result-preview__parts {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.result-preview__parts li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.6rem;
  font-size: 0.92rem;
}
.result-preview__parts b { color: var(--ink-mute); font-size: 0.8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.result-preview__parts i {
  grid-column: 1 / -1;
  display: block;
  height: 8px;
  border-radius: 99px;
  background: var(--surface-alt);
  overflow: hidden;
}
.result-preview__parts em { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.result-preview__parts .is-low em { background: #c2803a; }
.result-preview__parts .is-low b { color: #8a5a22; }
.result-preview__label {
  margin: 1.6rem 0 0.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.result-preview__drivers {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.result-preview__drivers li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
}
.result-preview__drivers li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c2803a;
}
.result-preview__link {
  display: inline-block;
  margin-top: 1.3rem;
  font-size: var(--step--1);
  font-weight: 700;
}

/* Habits */
.habits-shell { display: grid; grid-template-columns: auto minmax(0, 32rem); justify-content: center; gap: 1.8rem clamp(3.2rem, 6vw, 5rem); align-items: center; }
.habits-notes { display: grid; gap: 1.05rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.habits-notes li { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; padding-top: 1.05rem; border-top: 1px solid var(--line); }
.habits-notes b { display: block; }
.habits-notes b::after { content: ":"; }
.habits-notes span { display: block; color: var(--ink-soft); font-size: var(--step--1); }
.app-offer {
  margin-top: 1.75rem;
  padding: 1.15rem 1.25rem;
  background: var(--accent-soft);
  border-radius: 18px;
}
.app-offer__title { margin: 0 0 0.25rem; font-weight: 700; }
.app-offer__text { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }
.app-offer__price { margin: 0.45rem 0 1rem; color: var(--ink-soft); font-size: var(--step--1); }
.app-offer__price b { color: var(--accent-dark); font-size: 1rem; }
.field input[aria-invalid="true"] { border-color: var(--warn); }
@media (max-width: 520px) {
  .app-offer > .btn { width: 100%; }
}

/* Phone mockups */
.phone {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 248px;
  padding: 7px;
  background: #121614;
  border-radius: 46px;
  box-shadow: 0 0 0 1.5px #3b4440, 0 0 0 3.5px #1a1f1d, 0 26px 52px rgba(11, 48, 41, 0.18);
}
/* Бічні кнопки: дія + гучність зліва, живлення справа */
.phone::before,
.phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; }
.phone::before {
  left: -5px;
  top: 92px;
  height: 118px;
  background: linear-gradient(to bottom, #2e3633 0 20px, transparent 20px 34px, #2e3633 34px 74px, transparent 74px 82px, #2e3633 82px 118px);
}
.phone::after { right: -5px; top: 138px; height: 68px; background: #2e3633; }
/* Рядок стану поверх екрана: час, Dynamic Island, мережа й батарея */
.phone__chrome {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 7px;
  right: 7px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 42px;
  padding: 0 20px 0 26px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.phone__chrome span { justify-self: start; }
.phone__chrome i { width: 74px; height: 22px; border-radius: 99px; background: #000; }
.phone__chrome b { justify-self: end; width: 50px; height: 11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 11'%3E%3Cg fill='%2310211c'%3E%3Crect x='0' y='7' width='3' height='4' rx='.8'/%3E%3Crect x='4.5' y='5' width='3' height='6' rx='.8'/%3E%3Crect x='9' y='3' width='3' height='8' rx='.8'/%3E%3Crect x='13.5' y='.5' width='3' height='10.5' rx='.8'/%3E%3C/g%3E%3Cg fill='none' stroke='%2310211c' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M20 4.3a9.5 9.5 0 0 1 12.5 0'/%3E%3Cpath d='M22.4 6.9a6 6 0 0 1 7.7 0'/%3E%3C/g%3E%3Ccircle cx='26.25' cy='9.5' r='1.3' fill='%2310211c'/%3E%3Crect x='35.5' y='1' width='12' height='9' rx='2.6' fill='none' stroke='%2310211c' stroke-opacity='.4'/%3E%3Crect x='37' y='2.5' width='9' height='6' rx='1.4' fill='%2310211c'/%3E%3Crect x='48.3' y='3.8' width='1.6' height='3.4' rx='.8' fill='%2310211c' fill-opacity='.4'/%3E%3C/svg%3E") right center / contain no-repeat; }
.phone__body { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; height: 506px; min-height: 506px; padding: 3.2rem 0.95rem 1.6rem; background: #f4efe6; border-radius: 39px; color: var(--ink); overflow: hidden; }
/* Home indicator */
.phone__body::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 96px; height: 4px; margin-left: -48px; border-radius: 99px; background: rgba(16, 33, 28, 0.85); }
.phone h2 { margin: 0 0 0.85rem; font-size: 1.15rem; }
.phone small { display: block; color: var(--ink-mute); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.mock-bar, .mock-meter { height: 5px; border-radius: 99px; background: #e4ddd0; overflow: hidden; }
.mock-bar i, .mock-meter i { display: block; height: 100%; background: var(--accent); }
.mock-kicker { margin: 1.1rem 0 0.35rem; color: var(--accent); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.mock-quiz__top { display: grid; gap: 0.4rem; }
.mock-scale-opts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.28rem; margin: 0.15rem 0 0; padding: 0; list-style: none; }
.mock-scale-opts li { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; min-height: 54px; padding: 0.45rem 0.15rem 0.4rem; border: 1px solid var(--line); border-radius: 12px; background: #fffdf8; }
.mock-scale-opts li i { width: 12px; height: 12px; border: 1.5px solid var(--line-strong); border-radius: 50%; }
.mock-scale-opts li b { font-size: 0.78rem; font-weight: 650; line-height: 1; }
.mock-scale-opts li.is-on { background: var(--accent-soft); border-color: var(--accent); }
.mock-scale-opts li.is-on i { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent-soft); }
.mock-scale-legend { display: flex; justify-content: space-between; margin-top: 0.5rem; color: var(--ink-mute); font-size: 0.58rem; }
.mock-cta { margin-top: auto; padding: 0.85rem; border-radius: 999px; background: var(--accent-dark); color: #fff; text-align: center; font-weight: 650; font-size: 0.88rem; }
.mock-day { background: #f7f3ea; }
.mock-day__score { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 0.75rem; align-items: center; margin-bottom: 0.75rem; padding: 0.75rem 0.8rem; border-radius: 18px; background: #0b3029; color: #e8f4ef; }
.mock-day__score small { color: #7ed0b6; }
.mock-day__score b { display: block; margin-top: 0.1rem; font-size: 0.92rem; }
.mock-day__chip { padding: 0.28rem 0.55rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 0.78rem; font-weight: 700; }
.mock-day__chip span { color: #7ed0b6; }
.mock-day__score .mock-meter { grid-column: 1 / -1; margin-top: 0.25rem; background: rgba(255, 255, 255, 0.12); }
.mock-day__score .mock-meter i { background: #7ed0b6; }
.mock-plan-ui { background: #f7f3ea; }
.mock-plan-ui__score { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; padding: 0.75rem 0.8rem; border-radius: 18px; background: #0b3029; color: #e8f4ef; }
.mock-plan-ui__ring { width: 3.6rem; height: 3.6rem; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle, #0b3029 56%, transparent 57%), conic-gradient(#7ed0b6 0 64%, rgba(255, 255, 255, 0.14) 64% 100%); }
.mock-plan-ui__ring strong { font-size: 1.15rem; line-height: 1; letter-spacing: -0.03em; }
.mock-plan-ui__ring span { color: #9bb8b0; font-size: 0.55rem; font-weight: 700; }
.mock-plan-ui__score small { color: #7ed0b6; }
.mock-plan-ui__score b { display: block; margin: 0.12rem 0 0.2rem; font-size: 0.92rem; letter-spacing: -0.02em; }
.mock-result-parts { display: grid; gap: 0.5rem; margin: 0 0 0.9rem; padding: 0; list-style: none; text-align: left; }
.mock-result-parts li { display: grid; grid-template-columns: 1fr auto; gap: 0.22rem 0.5rem; align-items: baseline; }
.mock-result-parts span { color: var(--ink-soft); font-size: 0.68rem; }
.mock-result-parts b { font-size: 0.68rem; font-weight: 700; }
.mock-result-parts i { grid-column: 1 / -1; display: block; height: 5px; border-radius: 99px; background: #e4ddd0; overflow: hidden; }
.mock-result-parts em { display: block; height: 100%; border-radius: inherit; background: #2aa585; }
.mock-result-parts .is-low span, .mock-result-parts .is-low b { color: var(--warn); }
.mock-result-parts .is-low em { background: #c4a06a; }
.mock-result-drivers { display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.mock-result-drivers li { padding: 0.45rem 0.6rem; border-radius: 10px; background: #fffdf8; border: 1px solid var(--line); font-size: 0.7rem; text-align: left; }
.story__soon {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.mock-plan-ui__label { margin: 0 0 0.45rem; color: var(--ink-mute); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.mock-day__list, .mock-streaks { margin: 0; padding: 0; list-style: none; }
.mock-day__list span, .plan-habits__icon { width: 2rem; height: 2rem; border-radius: 10px; background: var(--accent-soft) center / 14px no-repeat; }
.mock-day__list .is-move, .plan-habits__icon.is-move { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M13 4.5 8 12h4l-1 7.5L16 12h-4l1-7.5Z' stroke='%230b3029' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.mock-day__list .is-sleep, .plan-habits__icon.is-sleep { background-color: #efe6d4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M15.2 4.8A7.2 7.2 0 1 0 19 14.6 6.2 6.2 0 0 1 15.2 4.8Z' stroke='%230b3029' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.mock-day__list .is-walk, .plan-habits__icon.is-walk { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3029' stroke-width='1.8'%3E%3Cellipse cx='8.5' cy='8' rx='2.6' ry='3.8'/%3E%3Cellipse cx='15.5' cy='15.5' rx='2.6' ry='3.8'/%3E%3C/svg%3E"); }
.mock-day__list .is-kegel, .plan-habits__icon.is-kegel { background-color: #e3ece6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3029' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='7.5'/%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3C/svg%3E"); }
.mock-day__list .is-breath, .plan-habits__icon.is-breath { background-color: #eadfd4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3029' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 9h10a2.5 2.5 0 1 0-2.5-2.5'/%3E%3Cpath d='M4 14h13a2.5 2.5 0 1 1-2.5 2.5'/%3E%3C/svg%3E"); }
.mock-day__list .is-pause, .plan-habits__icon.is-pause { background-color: #eadfd4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='6' y='6' width='12' height='12' rx='3' stroke='%230b3029' stroke-width='1.8'/%3E%3Cpath d='M9.5 9.5h5v5h-5z' fill='%230b3029'/%3E%3C/svg%3E"); }
.mock-day__list b { display: block; font-size: 0.84rem; line-height: 1.2; }
.mock-day__list em { display: block; color: var(--ink-mute); font-size: 0.68rem; font-style: normal; line-height: 1.15; }
.mock-day__list { display: grid; gap: 0.4rem; margin: 0 0 0.7rem; }
.mock-day__list li { display: grid; grid-template-columns: 2rem minmax(0, 1fr) 1.25rem; gap: 0.6rem; align-items: center; padding: 0.55rem 0.6rem; border-radius: 14px; background: #fff; }
.mock-day__list li i { width: 1.25rem; height: 1.25rem; border: 1.5px solid var(--line-strong); border-radius: 5px; background: #fff; }
.mock-day__list li.is-on i { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5 10 16.5 18 8' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.mock-progress__score, .mock-streaks__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 0.7rem; }
.mock-progress__score { align-items: flex-end; margin: 0.4rem 0; }
.mock-progress__score strong { font-size: 3rem; line-height: 0.85; letter-spacing: -0.04em; }
.mock-progress__score b { display: block; color: var(--ink-mute); font-size: 0.78rem; }
.mock-progress__score .is-up { color: var(--accent); font-size: 0.75rem; font-weight: 700; }
.mock-spark { width: 100%; height: 58px; margin: 0.2rem 0 1rem; }
.mock-streaks { display: grid; gap: 0.85rem; }
.mock-streaks__row em { color: var(--ink-mute); font-size: 0.72rem; font-style: normal; font-weight: 700; }
.mock-heat { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin-top: 0.4rem; }
.mock-heat i { height: 8px; border-radius: 2px; background: #e4ddd0; }
.mock-heat i.on { background: #2aa585; }
.mock-heat i.now { background: #0b3029; }

/* Story */
.story-section { padding-top: 3.2rem; }
.story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.story > li { display: grid; grid-template-rows: auto auto auto 1fr; justify-items: center; text-align: center; gap: 0.4rem; min-width: 0; }
.story__idx { color: var(--accent); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.08em; }
.story > li > h3 { margin: 0.15rem 0 0; }
.story > li > p { max-width: 20rem; margin: 0 0 1rem; color: var(--ink-soft); font-size: var(--step--1); }
.story .phone,
.habits-shell .phone { width: min(100%, 248px); height: auto; }

/* Privacy band */
.privacy-section { background: #e7f0e9; }
.privacy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.75rem);
  border-radius: 36px;
  background: radial-gradient(circle at 92% 0%, #236c58 0, transparent 42%), #0b3029;
  color: #fffdf8;
  overflow: hidden;
}
.privacy-hero__copy h2 {
  max-width: 11ch;
  margin-bottom: 0.45em;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.privacy-hero__copy h2 em { color: #a9ebcd; font-style: normal; }
.privacy-hero__copy > p:not(.kicker) {
  max-width: 30rem;
  color: #d8ebe2;
  font-size: var(--step-1);
}

.privacy-device {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(44px, 0.7fr) minmax(0, 1fr);
  align-items: center;
  row-gap: 1rem;
  width: min(100%, 520px);
  justify-self: center;
}
.privacy-device__screen {
  padding-bottom: 1rem;
  border-radius: 20px;
  background: #f8faf6;
  box-shadow: 0 26px 50px rgba(0, 13, 11, 0.35), 0 0 0 10px rgba(255, 255, 255, 0.06);
}
.privacy-device__chrome {
  display: flex;
  gap: 5px;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #dce7de;
}
.privacy-device__chrome i { width: 6px; height: 6px; border-radius: 50%; background: #b9cdc1; }
.privacy-device__lock {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 1.3rem auto 1.1rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.privacy-device__lock svg { width: 34px; }
.privacy-device__row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 1rem 0.5rem;
}
.privacy-device__row::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2b9d78;
}
.privacy-device__row::after {
  content: "";
  flex: 1;
  height: 7px;
  border-radius: 99px;
  background: #e1eae4;
}
.privacy-device__row:nth-of-type(2)::after { flex: 0 1 72%; }
.privacy-device__row:nth-of-type(3)::after { flex: 0 1 86%; }
.privacy-device__wire {
  position: relative;
  height: 0;
  margin: 0 0.4rem;
  border-top: 2px dashed rgba(169, 235, 205, 0.45);
}
.privacy-device__wire::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a9ebcd;
  animation: privacy-packet 2.6s ease-in infinite;
}
.privacy-device__block {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #a9ebcd;
  color: #0b3029;
  box-shadow: 0 0 0 6px rgba(169, 235, 205, 0.16);
  transform: translate(-50%, calc(-50% - 1px));
}
.privacy-device__block svg { width: 16px; }
.privacy-device__cloud {
  display: grid;
  place-items: center;
  width: min(100%, 104px);
  aspect-ratio: 1;
  justify-self: center;
  border: 2px solid rgba(169, 235, 205, 0.45);
  border-radius: 50%;
  color: #a9ebcd;
}
.privacy-device__cloud svg { width: 46%; }
.privacy-device__caption {
  display: grid;
  margin: 0;
  text-align: center;
  line-height: 1.3;
}
.privacy-device__caption strong { color: #fffdf8; font-size: 1rem; }
.privacy-device__caption span { color: #a9ebcd; font-size: 0.85rem; }
.privacy-device__caption--server { grid-column: 3; }

@keyframes privacy-packet {
  0% { left: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { left: calc(100% - 8px); opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

.privacy-checks {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}
.privacy-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.privacy-checks__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #7ed0b6;
  color: #0b3029;
}
.privacy-checks__icon svg { width: 16px; }
.privacy-checks li div { display: grid; line-height: 1.35; }
.privacy-checks strong { color: #fffdf8; font-size: 1.05rem; }
.privacy-checks li div span { color: #b9d6ca; font-size: var(--step--1); }


/* FAQ */
.faq {
  display: grid;
  gap: 0.65rem;
  max-width: none;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  interpolate-size: allow-keywords;
  transition: border-color 0.2s ease;
}
.faq details::details-content {
  display: block;
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0.28s ease, opacity 0.22s ease, content-visibility 0.28s allow-discrete;
}
.faq details[open]::details-content {
  height: auto;
  opacity: 1;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer;
  padding: 1.05rem 3.2rem 1.05rem 1.15rem;
  color: var(--ink);
  font-weight: 650;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq details[open] summary { color: var(--accent-dark); }
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.faq details[open] .faq__body { grid-template-rows: 1fr; }
.faq__body p {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s ease 0.04s, transform 0.22s ease 0.04s;
}
.faq details[open] .faq__body p {
  opacity: 1;
  transform: none;
}
@starting-style {
  .faq details[open] .faq__body p {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* Close */
.closing {
  padding: 5.5rem 0;
  background: var(--accent-dark);
}
.closing-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}
.closing-copy h2 {
  margin: 0;
  max-width: none;
  color: #fff;
  font-size: var(--step-3);
}
.closing-copy h2 em {
  font-style: normal;
  color: #7ed0b6;
}
.closing-copy .lead {
  margin: 0;
  max-width: none;
  color: #c9ddd6;
}
.closing-copy .kicker { margin: 0; }
.closing-copy__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  width: 100%;
}
.closing .btn {
  width: auto;
  min-width: 18rem;
  padding-inline: 2rem;
  background: #fff;
  color: var(--accent-dark);
  box-shadow: none;
}
.closing .btn:hover { background: #e8f4ef; }
.closing-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
  color: #9bb8b0;
  font-size: var(--step--1);
}
.closing-facts li { display: inline; }
.closing-facts li:not(:last-child)::after {
  content: " · ";
  color: rgba(255, 255, 255, 0.34);
}

.doc { padding: 4rem 0 5rem; }
.doc h2 { margin-top: 2.1rem; }
.doc ul { padding-left: 1.2rem; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  font-size: 0.95rem;
}
.doc th, .doc td {
  text-align: left;
  padding: 0.75rem 0.55rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.doc th { color: var(--ink-mute); font-weight: 600; }

.quiz-shell { min-height: 100vh; display: flex; flex-direction: column; }
.quiz-shell .site-head { display: none; }
.quiz-main { flex: 1; padding: 1.5rem 0 3rem; }
.progress { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.progress__bar { height: 3px; background: var(--line); }
.progress__fill { width: 0; height: 100%; background: var(--accent); transition: width 0.25s ease; }
.progress__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  color: var(--ink-soft);
}
.progress__back, .link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.screen { display: none; }
.screen.is-active { display: block; }
.q__block {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.q__title { max-width: 16ch; }
.q__hint { color: var(--ink-soft); }
.q__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; margin-top: 1.25rem; }
.options, .scale { display: grid; gap: 0.55rem; }
.scale { grid-template-columns: repeat(5, 1fr); }
.option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
}
.option:hover { border-color: var(--accent); }
.option.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.option__mark {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
}
.option.is-selected .option__mark {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--accent-soft);
}
.option--multi .option__mark { border-radius: 4px; }
.scale-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 0.55rem;
  color: var(--ink-mute);
  font-size: var(--step--1);
}
/* Згода перед першим питанням */
.consent {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.consent.is-pending {
  background: var(--accent-soft);
  border: 2px solid var(--accent);
}
.consent.is-attn { animation: consent-attn 0.6s ease; }
.consent__title { margin: 0 0 0.35rem; font-weight: 700; }
.consent__text { margin: 0 0 0.85rem; color: var(--ink-soft); font-size: var(--step--1); }
.consent__check {
  position: relative;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  min-height: 56px;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  cursor: pointer;
}
.consent.is-pending .consent__check { border-color: var(--accent); box-shadow: 0 6px 18px rgba(11, 48, 41, 0.08); }
.consent__check:hover { border-color: var(--accent); }
.consent__check input {
  position: absolute;
  width: 26px;
  height: 26px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.consent__box {
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  transition: background-color 0.15s ease;
}
.consent__box::after {
  content: "";
  width: 12px;
  height: 7px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: translateY(-2px) rotate(-45deg);
  opacity: 0;
}
.consent__check input:checked + .consent__box { background: var(--accent); }
.consent__check input:checked + .consent__box::after { opacity: 1; }
.consent__check input:focus-visible + .consent__box { outline: 3px solid var(--focus); outline-offset: 2px; }
.consent__label { font-size: var(--step--1); font-weight: 600; line-height: 1.4; }
.consent__hint { display: none; margin: 0.65rem 0 0; color: var(--accent-dark); font-size: var(--step--1); font-weight: 600; }
.consent.is-pending .consent__hint { display: block; }
.consent__policy { margin: 0.6rem 0 0; font-size: var(--step--1); }
@keyframes consent-attn {
  0%, 100% { transform: none; box-shadow: none; }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); box-shadow: 0 0 0 5px rgba(20, 122, 102, 0.22); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}
.option.is-locked,
.link-btn.is-locked,
.btn.is-locked { opacity: 0.45; cursor: not-allowed; }
.option.is-locked:hover { border-color: var(--line); }
.interlude { max-width: 36rem; }
.calc { text-align: center; padding: 4rem 0; }
.calc-steps {
  display: grid;
  gap: 0.6rem;
  width: max-content;
  max-width: 100%;
  margin: 1.4rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.calc-steps li {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--ink-mute);
  transition: color 0.2s ease;
}
.calc-steps li::before {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.calc-steps li.is-done { color: var(--ink); }
.calc-steps li.is-done::before {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.3 2.6 2.6L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.roadmap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-mute);
}
.roadmap li { display: flex; align-items: center; gap: 0.5rem; }
.roadmap li:not(:last-child)::after { content: "→"; color: var(--line-strong); }
.roadmap li.is-current { color: var(--accent); }
.plan-card { border: 2px solid var(--accent); }
.plan-habits { display: grid; gap: 0.55rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.plan-habits li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.plan-habits .plan-habits__icon { width: 2.4rem; height: 2.4rem; background-size: 16px; }
.plan-habits b { display: block; font-size: 0.95rem; }
.plan-habits em { display: block; color: var(--ink-mute); font-size: var(--step--1); font-style: normal; }
.plan-habits--compact { margin: 0 0 1.25rem; }
.plan-locked {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0.9rem 0 1.1rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}
.plan-locked::before {
  content: "";
  flex: 0 0 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='5.5' y='10.5' width='13' height='9.5' rx='2.4' stroke='%23147a66' stroke-width='2'/%3E%3Cpath d='M8.5 10.5V8a3.5 3.5 0 0 1 7 0v2.5' stroke='%23147a66' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.trial-steps {
  display: grid;
  gap: 0;
  margin: 1.1rem 0 1.2rem;
  padding: 0;
  list-style: none;
}
.trial-steps li {
  position: relative;
  display: grid;
  gap: 0.1rem;
  padding: 0 0 0.85rem 1.6rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}
.trial-steps li::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.trial-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 0;
  left: 4px;
  width: 2px;
  background: var(--line);
}
.trial-steps b { color: var(--ink); font-size: 0.9rem; }
.hero__note { margin: 0.9rem 0 0; color: var(--ink-mute); font-size: var(--step--1); line-height: 1.5; }
.spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 1.2rem;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.result, .offer, .done { max-width: 640px; margin: 0 auto; }
.card {
  margin: 0 0 1rem;
  padding: 1.3rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.card__title { font-size: 1.25rem; }
.gauge { display: flex; align-items: baseline; gap: 0.35rem; }
.gauge__value { font-size: 3rem; line-height: 1; }
.gauge__max, .gauge__label { color: var(--ink-mute); }
.result__interpretation { margin-top: 0.9rem; color: var(--ink-soft); }
.recommendations {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.recommendations li {
  display: grid;
  gap: 0.3rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.recommendations li:first-child { padding-top: 0; border-top: 0; }
.recommendations b { color: var(--ink); font-size: 0.88rem; }
.recommendations span { color: var(--ink-soft); line-height: 1.55; }
.bar { height: 8px; background: var(--surface-alt); border-radius: 99px; overflow: hidden; }
.bar__fill { width: 0; height: 100%; background: var(--accent); transition: width 0.6s ease; }
.bar--thin { height: 6px; margin-top: 0.45rem; }
.components, .drivers, .plan__list, .steps { margin: 0; padding: 0; list-style: none; }
.component { padding: 0.7rem 0; border-top: 1px solid var(--line); }
.component:first-child { border-top: 0; padding-top: 0; }
.component__head { display: flex; justify-content: space-between; gap: 1rem; }
.component.is-low .component__name { color: var(--warn); }
.drivers li, .plan__list li, .steps li { position: relative; padding: 0.45rem 0 0.45rem 1.15rem; }
.drivers li::before, .plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.steps { counter-reset: done; }
.steps li { padding-left: 1.8rem; }
.steps li::before {
  counter-increment: done;
  content: counter(done);
  position: absolute;
  left: 0;
  top: 0.35rem;
  color: var(--accent);
  font-weight: 700;
}
.field { display: grid; gap: 0.4rem; margin-bottom: 0.8rem; }
.field input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
}
.form-note, .form-status { color: var(--ink-mute); font-size: var(--step--1); }
.email-gate { margin-top: 1.5rem; }
.email-gate .form-status:empty { display: none; }
.email-gate .form-status, .email-gate .form-note { margin: 0.75rem 0 0; }
.plan__trial:empty { display: none; }
#early-access-form { margin-top: 1.25rem; }
#early-access-form .form-status:empty { display: none; }
.plan__price { font-size: 1.8rem; }
.plan__period { color: var(--ink-mute); }
.info-block ul { padding-left: 1.1rem; color: var(--ink-soft); }
.error-page { padding: 7rem 0; text-align: center; }

@media (min-width: 981px) and (max-width: 1366px) {
  .hero-visual img {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 64px;
    --section-y: 3.6rem;
  }
  .wrap,
  .narrow,
  .site-head__row {
    width: min(100% - 1.5rem, var(--wrap));
  }
  .logo img { width: 104px; }
  .site-head__cta {
    min-width: 0;
    min-height: 40px;
    margin-left: 0;
    padding: 0.4rem 0.85rem;
    font-size: 0.86rem;
    flex: 0 1 auto;
    white-space: nowrap;
  }
  .site-foot .disclaimer { white-space: normal; }
  .hero__cta > .btn,
  .closing .btn { min-width: 0; }
  .site-head__link { display: none; }

  .hero { padding: 2.1rem 0 0; overflow-x: hidden; }
  .hero h1 { max-width: none; }
  .hero__copy {
    align-items: stretch;
    gap: 1rem;
  }
  .hero__cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 0.2rem;
  }
  .hero__cta > .btn,
  .hero__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
  .hero__more {
    min-height: 56px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--ink);
    font-weight: 650;
    text-decoration: none;
  }
  .hero-visual { overflow: hidden; }
  .hero-visual img {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
  .habits-shell,
  .hero__grid,
  .result-layout { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .habit-layout { grid-template-columns: 1fr; }
  .habit-copy h2 { max-width: none; }
  .habit-chart { justify-self: stretch; width: 100%; }
  .result-copy h2 { max-width: none; }
  .result-preview { justify-self: stretch; width: 100%; }

  .privacy-hero { grid-template-columns: 1fr; }
  .privacy-hero__copy h2 { max-width: 14ch; }
  .privacy-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }


  .hero__bar {
    grid-template-columns: 1fr 1fr;
    margin-top: 0.85rem;
    padding: 0.35rem 0 1.25rem;
  }
  .hero__bar li {
    padding: 1rem 0.85rem 1rem 0;
  }
  .hero__bar li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero__bar li:nth-child(even) { padding-right: 0; }
  .hero__bar li:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
  }
  .hero__bar li:nth-child(n+3) { padding-top: 1rem; }


  .story {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
  }
  .story > li {
    flex: 0 0 236px;
    scroll-snap-align: start;
  }
  .story .phone,
  .habits-shell .phone {
    width: 236px;
    max-width: none;
    margin-inline: auto;
  }

  .about-facts { grid-template-columns: 1fr; }
  .about-limits { gap: 0.5rem; }
  .result-preview { padding: 1.25rem 1.2rem 1.15rem; border-radius: 24px; }
  .result-preview__score strong { font-size: 3rem; }

  .closing { padding: 3.4rem 0; }
  .closing-copy h2 { max-width: none; }
  .closing .btn { width: 100%; }
  .closing-copy__cta { flex-direction: column; align-items: stretch; }

  .q__title { max-width: none; }
  .doc { padding: 3.2rem 0 4rem; }
}

@media (max-width: 640px) {
  :root {
    --header-h: 60px;
    --section-y: 2.85rem;
  }
  .wrap,
  .narrow,
  .site-head__row {
    width: min(100% - 1.25rem, var(--wrap));
  }
  .site-head__row { gap: 0.5rem; }
  .logo img { width: 96px; }
  .site-head__cta {
    min-height: 38px;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
  }
  .q__title,
  .disclaimer { overflow-wrap: break-word; }
  .section-head { margin-bottom: 1.4rem; }
  .hero { padding: 1.6rem 0 0; }
  .hero__bar {
    grid-template-columns: 1fr;
    padding-bottom: 0.4rem;
  }
  .hero__bar li,
  .hero__bar li:nth-child(even),
  .hero__bar li:nth-child(n+3) {
    padding: 0.9rem 0;
    border-left: 0;
  }
  .hero__bar li:not(:first-child) { border-left: 0; }
  .hero__bar li:nth-child(-n+2),
  .hero__bar li:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }
  .hero__bar li:last-child { border-bottom: 0; }
  .hero__cta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta > .btn { width: 100%; }
  .privacy-hero { gap: 1.75rem; padding: 1.6rem 1.25rem 1.75rem; border-radius: 26px; }
  .privacy-hero__copy h2 { font-size: clamp(2.1rem, 10vw, 2.8rem); }
  .privacy-device { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); width: min(100%, 330px); row-gap: 0.75rem; }
  .privacy-device__caption strong { font-size: 0.92rem; }
  .privacy-device__caption span { font-size: 0.78rem; }
  .privacy-device__screen { box-shadow: 0 18px 36px rgba(0, 13, 11, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.06); }
  .privacy-device__lock { width: 52px; height: 52px; margin: 0.85rem auto 0.8rem; }
  .privacy-device__lock svg { width: 24px; }
  .privacy-device__wire { margin: 0 0.2rem; }
  .privacy-device__block { width: 28px; height: 28px; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08); }
  .privacy-device__block svg { width: 14px; }
  .privacy-device__cloud { width: min(100%, 92px); }
  .privacy-checks { grid-template-columns: 1fr; gap: 0.9rem; }

  .scale { grid-template-columns: 1fr; }
  .faq summary { padding-right: 3rem; }

  .closing { padding: 2.75rem 0; }

  .site-foot { padding: 1.7rem 0 2.1rem; }
  .site-foot .disclaimer { white-space: normal; }
  .site-foot__row { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .site-foot nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .quiz-main { padding: 1.15rem 0 2.4rem; }
  .progress__row { min-height: 50px; }
  .option { min-height: 48px; }
  .card { padding: 1.1rem 1.05rem; border-radius: 18px; }
  .gauge__value { font-size: 2.5rem; }

  .doc table { font-size: 0.82rem; }
  .doc th, .doc td { padding: 0.6rem 0.4rem; }
  .doc .narrow { overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
