/* === Страница «О корректоре ФОРТИС» — дизайн-система Oura (why-oura, science-and-research) === */
.ab {
  --ab-pad: max(24px, calc((100vw - 1440px) / 2));
  --ab-line: rgba(56, 54, 51, 0.12);
  --ab-line-dark: rgba(244, 238, 230, 0.14);
  --ab-radius: 24px;
  --ab-radius-sm: 16px;
  --ab-radius-lg: 32px;
  --ab-serif: "Cormorant", Georgia, "Times New Roman", serif;
  --ab-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ab-cream: #faf7f2;
  --ab-cream-tint: #f3ede4;
  --ab-dark: #141312;
  --ab-dark-surface: #1e1d1a;
}

.ab--flush-nav .nav-backdrop {
  inset: 76px 0 0;
}

.ab img {
  height: auto;
}

/* --- HERO --- */
.ab-hero {
  position: relative;
  min-height: min(88vh, 880px);
  display: grid;
  align-content: end;
  padding: 140px var(--ab-pad) 72px;
  overflow: hidden;
  isolation: isolate;
}

.ab-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.ab-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.ab-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 19, 18, 0.45) 0%, rgba(20, 19, 18, 0.15) 35%, rgba(20, 19, 18, 0.72) 100%);
}

.ab-hero__copy {
  max-width: min(920px, 70vw);
  color: #fff;
}

.ab-eyebrow {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(56, 54, 51, 0.55);
}

.ab-hero .ab-eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.ab-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--ab-serif);
  font-weight: 300;
  font-size: clamp(42px, 5.8vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.ab-hero h1 em {
  font-family: inherit;
  font-style: italic;
  font-weight: 300;
  font-size: 1.08em;
  letter-spacing: -0.02em;
}

.ab-hero__lead {
  margin: 24px 0 0;
  font-family: var(--ab-serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
}

.ab-hero__lead .fn-mark {
  font-family: var(--ab-sans);
  font-size: 0.72em;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  vertical-align: super;
  color: #fff;
  text-decoration: none;
}

.ab-fn {
  margin: 28px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(56, 54, 51, 0.65);
}

.ab-fn .fn-mark {
  font-family: var(--ab-sans);
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1;
  vertical-align: text-top;
  margin-right: 0.14em;
}

.ab-hero__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Hero o-korrektore: Oura split (вариант 4b) — не трогает o-nas */
.ab-hero--split {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content: stretch;
  padding-top: 20vh;
  padding-bottom: 40px;
  box-sizing: border-box;
}

.ab-hero--split::after {
  background:
    linear-gradient(90deg, rgba(20, 19, 18, 0.42) 0%, rgba(20, 19, 18, 0.12) 48%, rgba(20, 19, 18, 0.05) 100%),
    linear-gradient(180deg, rgba(20, 19, 18, 0.28) 0%, rgba(20, 19, 18, 0.08) 38%, rgba(20, 19, 18, 0.55) 100%);
}

.ab-hero--split .ab-hero__copy {
  display: contents;
  color: #fff;
}

.ab-hero--split .ab-hero__top {
  max-width: min(720px, 60vw);
}

.ab-hero--split .ab-eyebrow {
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
}

.ab-hero--split h1 {
  max-width: 16ch;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.ab-hero--split h1 em {
  font-size: 1em;
}

.ab-hero--split .ab-hero__bottom {
  max-width: min(400px, 42vw);
}

.ab-hero--split .ab-hero__lead {
  margin: 0;
  font-family: var(--ab-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.7vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: #fff;
  max-width: 26em;
}

/* --- КНОПКИ --- */
.ab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ab-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.15);
}

.ab-btn--ghost {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.ab-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.55);
}

.ab-btn--ink {
  background: var(--ink);
  color: var(--cream);
}

.ab-btn--ink:hover {
  background: #000;
}

.ab-btn--outline {
  background: none;
  border: 1px solid rgba(56, 54, 51, 0.28);
  color: var(--ink);
}

.ab-btn--outline:hover {
  border-color: var(--ink);
  background: rgba(56, 54, 51, 0.04);
}

/* --- СЕКЦИИ И ОТСТУПЫ (OURA AIR) --- */
.ab-section {
  padding: clamp(96px, 10vw, 150px) var(--ab-pad);
}

.ab-section--tight {
  padding-top: 64px;
}

.ab-section--top {
  padding-top: 160px;
}

/* Тёмная полноэкранная полоса (Oura Dark Contrast) */
.ab-section--dark {
  --ab-line: var(--ab-line-dark);
  color: var(--cream);
  background: var(--ab-dark);
  margin-inline: calc(var(--ab-pad) * -1);
  padding: clamp(104px, 11vw, 160px) var(--ab-pad);
}

.ab-section--dark .ab-eyebrow {
  color: rgba(244, 238, 230, 0.5);
}

.ab-section--dark .ab-head p {
  color: rgba(244, 238, 230, 0.68);
}

.ab-section--dark .ab-list li {
  color: var(--cream);
}

.ab-section--dark .ab-note {
  color: rgba(244, 238, 230, 0.48);
}

/* --- ЗАГОЛОВКИ СЕКЦИЙ --- */
.ab-head {
  margin-bottom: 64px;
  max-width: 820px;
}

.ab-head h1,
.ab-head h2 {
  margin: 0;
  font-family: var(--ab-serif);
  font-weight: 300;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.ab-head h1 em,
.ab-head h2 em {
  font-family: inherit;
  font-style: italic;
  font-weight: 300;
  font-size: 1.08em;
  letter-spacing: -0.02em;
  color: inherit;
}

.ab-head p {
  margin: 20px 0 0;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.62;
  color: var(--muted);
}

.ab-head a,
.ab-note a {
  color: inherit;
  text-underline-offset: 3px;
}

/* Асимметричная журнальная шапка секции (Why Oura & Science) */
.ab-head--split {
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
  gap: 24px 64px;
  align-items: end;
}

.ab-head--split .ab-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

.ab-head--split h2 {
  margin: 0;
}

.ab-head--split p:not(.ab-eyebrow) {
  margin: 0;
  max-width: 44ch;
}

/* Центрированная шапка (Anatomy & Effect) */
.ab-head--center {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ab-head--center p {
  margin-left: auto;
  margin-right: auto;
}

/* --- ЛИД И ФАКТЫ О ПРОДУКТЕ --- */
.ab-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ab-back:hover {
  color: var(--ink);
}

.ab-lede {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr);
  gap: 64px;
  align-items: start;
}

.ab-lede__main p {
  margin: 0 0 24px;
  font-family: var(--ab-sans);
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 300;
  line-height: 1.42;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.ab-lede__side {
  margin: 0;
  display: grid;
  gap: 28px;
}

.ab-lede-note dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(56, 54, 51, 0.45);
}

.ab-lede-note dd {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

/* Факты: кремовая панель (принятый вариант 2) */
.ab-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(36px, 4vw, 72px);
  row-gap: clamp(40px, 4vw, 64px);
  margin-top: 88px;
  padding: clamp(40px, 4vw, 64px) clamp(32px, 4vw, 56px);
  background: rgba(250, 247, 242, 0.92);
  border-radius: 28px;
}

.ab-fact {
  padding: 0;
  border: 0;
  min-width: 0;
}

.ab-fact dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(56, 54, 51, 0.42);
}

.ab-fact dd {
  margin: 14px 0 0;
  font-family: var(--ab-serif);
  font-style: italic;
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--ink);
}

.ab-fact dd span {
  display: block;
  margin-top: 14px;
  max-width: 28ch;
  font-family: var(--ab-sans);
  font-style: normal;
  font-size: 14px;
  line-height: 1.58;
  letter-spacing: 0;
  color: var(--muted);
}

/* Оглавление — курсивный ряд на ширину блока фактов */
.ab-toc {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  margin: 88px 0 0;
  padding: 0;
  list-style: none;
}

.ab-toc a {
  display: inline-flex;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--ab-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 1.65vw, 23px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.ab-toc a:hover {
  border: 0;
  background: transparent;
  transform: none;
  color: #34b39a;
}

/* --- СТАТИСТИКА И ПОКАЗАТЕЛИ (OURA DIVIDERS) --- */
.ab-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 64px;
  padding: 56px 0;
  border-top: 1px solid var(--ab-line);
  border-bottom: 1px solid var(--ab-line);
}

.ab-stat {
  padding: 0 36px;
  border-right: 1px solid var(--ab-line);
}

.ab-stat:first-child {
  padding-left: 0;
}

.ab-stat:last-child {
  padding-right: 0;
  border-right: 0;
}

.ab-stat__value {
  margin: 0 0 12px;
  font-family: var(--ab-serif);
  font-style: italic;
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: inherit;
}

.ab-stat h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ab-stat p:last-child {
  margin: 0;
  max-width: 28ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.ab-section--dark .ab-stats {
  border-color: rgba(244, 238, 230, 0.14);
}

.ab-section--dark .ab-stat {
  border-color: rgba(244, 238, 230, 0.14);
}

.ab-section--dark .ab-stat__value {
  color: #fff;
}

.ab-section--dark .ab-stat h3 {
  color: var(--cream);
}

.ab-section--dark .ab-stat p:last-child {
  color: rgba(244, 238, 230, 0.65);
}

/* --- АНАТОМИЯ: FOCUS STAGE & КАРТОЧКИ СЛОЕВ --- */
.ab-stage {
  margin: 0 0 64px;
  overflow: hidden;
  border-radius: var(--ab-radius-lg);
  background: radial-gradient(ellipse at center, #262422 0%, #151413 100%);
  border: 1px solid rgba(244, 238, 230, 0.1);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.45);
  position: relative;
}

.ab-stage img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  padding: 48px 64px;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}

.ab-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}

.ab-pair__title {
  margin: 0;
  font-family: var(--ab-serif);
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.ab-pair__title em {
  font-family: inherit;
  font-style: italic;
  font-weight: 300;
}

.ab-section--dark .ab-pair__title {
  color: var(--cream);
}

.ab-pair__text p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.62;
  color: var(--muted);
}

.ab-section--dark .ab-pair__text p {
  color: rgba(244, 238, 230, 0.68);
}

.ab-pair__text p:last-child {
  margin-bottom: 0;
}

/* Карточки 4 слоев (Oura Focus Cards) */
.ab-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.ab-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--ab-radius);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 238, 230, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ab-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 238, 230, 0.22);
}

.ab-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.ab-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ab-card:hover .ab-card__media img {
  transform: scale(1.03);
}

.ab-card__body {
  padding: 24px 28px 28px;
}

.ab-card__num {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 238, 230, 0.45);
  margin-bottom: 12px;
}

.ab-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--cream);
}

.ab-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 238, 230, 0.68);
}

.ab-card p + p {
  margin-top: 8px;
}

/* Врезка Small & Large */
.ab-inset {
  margin-top: 64px;
  padding: 44px;
  border-radius: var(--ab-radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 238, 230, 0.1);
  color: var(--cream);
}

.ab-inset .ab-split {
  gap: 48px;
}

.ab-section--dark .ab-inset .ab-split__body p,
.ab-section--dark .ab-inset .ab-note {
  color: rgba(244, 238, 230, 0.68);
}

.ab-section--dark .ab-inset .ab-list li {
  color: var(--cream);
}

/* --- МЕХАНИКА ПОСАДКИ (OURA STORY CARDS) --- */
.ab-mech--rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(280px, 1fr));
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-width: thin;
}

.ab-mech__item {
  border-radius: var(--ab-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 54, 51, 0.08);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-mech__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(0, 0, 0, 0.08);
}

.ab-mech__item img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.ab-mech__body {
  padding: 24px;
}

.ab-mech__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(56, 54, 51, 0.45);
  margin-bottom: 8px;
}

.ab-mech__value {
  font-family: var(--ab-serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--ink);
}

.ab-mech__body p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
  color: var(--muted);
}

/* Bleed контейнер (Схема посадки) */
.ab-bleed {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
  margin-top: 64px;
  border-radius: var(--ab-radius-lg);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 54, 51, 0.08);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.ab-bleed__media {
  min-height: 420px;
  background: #f0e8dc;
}

.ab-bleed__media picture,
.ab-bleed__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-bleed__body {
  padding: 48px 48px 48px 0;
}

.ab-bleed__body h3 {
  margin: 0 0 16px;
  font-family: var(--ab-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

/* --- СРАВНЕНИЕ («НЕ ПОДУШКА, А РЫЧАГ») --- */
.ab-compare {
  margin-top: 48px;
}

.ab-compare__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ab-compare__col {
  border-radius: var(--ab-radius);
  padding: 44px 36px;
}

.ab-compare__col--before {
  background: rgba(56, 54, 51, 0.035);
  border: 1px solid rgba(56, 54, 51, 0.06);
}

.ab-compare__col--after {
  background: var(--ab-dark);
  color: var(--cream);
  border: 1px solid rgba(244, 238, 230, 0.08);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
}

.ab-compare__tag {
  display: inline-flex;
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(56, 54, 51, 0.45);
}

.ab-compare__col--after .ab-compare__tag {
  color: rgba(244, 238, 230, 0.55);
}

.ab-compare__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.ab-compare__col li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.ab-compare__col--before li {
  color: rgba(56, 54, 51, 0.72);
}

.ab-compare__col--before li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: rgba(56, 54, 51, 0.4);
  font-weight: 700;
}

.ab-compare__col--after li {
  color: rgba(244, 238, 230, 0.9);
}

.ab-compare__col--after li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #34b39a;
}

.ab-compare__note {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(56, 54, 51, 0.5);
}

.ab-compare .ab-fn {
  margin: 10px 0 0;
}

/* --- ТАБЛИЦА РАЗМЕРОВ И ЦЕН --- */
.ab-table-wrap {
  border: 1px solid rgba(56, 54, 51, 0.08);
  border-radius: var(--ab-radius);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow-x: auto;
  padding: 8px 16px;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.03);
}

table.ab-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.ab-table th,
.ab-table td {
  padding: 22px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(56, 54, 51, 0.08);
  vertical-align: middle;
}

.ab-table thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(56, 54, 51, 0.48);
  white-space: nowrap;
}

.ab-table tbody tr:last-child th,
.ab-table tbody tr:last-child td {
  border-bottom: 0;
}

.ab-table tbody th {
  font-family: var(--ab-serif);
  font-style: italic;
  font-size: 32px;
  font-weight: 300;
  color: var(--ink);
  white-space: nowrap;
}

.ab-table td {
  color: var(--muted);
}

.ab-table .ab-price {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

/* --- ПАСПОРТ ИЗДЕЛИЯ (ТТХ) --- */
.ab-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin-top: 48px;
}

.ab-spec {
  display: grid;
  gap: 6px;
  padding: 24px 0;
  border-top: 1px solid var(--ab-line);
}

.ab-spec dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(56, 54, 51, 0.45);
}

.ab-spec dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

/* --- СЦЕНАРИИ И ДЕНЬ ПО ЧАСАМ --- */
.ab-day {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.ab-day__item {
  padding-top: 24px;
  border-top: 1px solid rgba(56, 54, 51, 0.16);
}

.ab-day__time {
  margin: 0 0 8px;
  font-family: var(--ab-serif);
  font-style: italic;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ab-day__item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ab-day__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* Карточки сцен Oura Lifestyle Cards (why-oura/10.png) */
.ab-scenes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.ab-scene {
  position: relative;
  margin: 0;
  border-radius: var(--ab-radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--ab-dark);
}

.ab-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ab-scene:hover img {
  transform: scale(1.04);
}

.ab-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 19, 18, 0.04) 0%, rgba(20, 19, 18, 0.78) 100%);
  pointer-events: none;
}

.ab-scene figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ab-scene strong {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ab-scene span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.ab-scene__arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  pointer-events: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ab-scene:hover .ab-scene__arrow {
  background: #fff;
  color: var(--ink);
  transform: scale(1.08);
}

/* Кому подходит */
.ab-who {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 64px;
  margin-top: 16px;
  padding-top: 36px;
  border-top: 1px solid var(--ab-line);
}

.ab-who article h3,
.ab-who article h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.ab-who article p {
  margin: 0;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.58;
  color: var(--muted);
}

/* --- АДАПТАЦИЯ (ПРИВЫКАНИЕ) --- */
.ab-adapt {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--ab-line);
  border-bottom: 1px solid var(--ab-line);
  list-style: none;
}

.ab-adapt__step {
  padding: 0 36px;
  border-right: 1px solid var(--ab-line);
}

.ab-adapt__step:first-child {
  padding-left: 0;
}

.ab-adapt__step:last-child {
  padding-right: 0;
  border-right: 0;
}

.ab-adapt__time {
  margin: 0 0 10px;
  font-family: var(--ab-serif);
  font-style: italic;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ab-adapt__step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ab-adapt__step p {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* --- ЦИТАТА (EDITORIAL QUOTE) --- */
.ab-quote {
  margin: 64px 0 0;
  padding: 56px;
  border-radius: var(--ab-radius);
  background: var(--ab-dark);
  color: var(--cream);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.25);
}

.ab-quote p {
  margin: 0;
  max-width: 38ch;
  font-family: var(--ab-serif);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.ab-quote cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 238, 230, 0.55);
}

.ab-section--dark .ab-quote {
  margin-top: 56px;
  padding: 32px 0 0;
  background: none;
  border-radius: 0;
  border-top: 1px solid var(--ab-line);
  box-shadow: none;
}

/* --- ФИНАЛЬНЫЙ CTA (OURA HERO CARD) --- */
.ab-finale {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
  border-radius: var(--ab-radius-lg);
  background: var(--ab-dark);
  color: var(--cream);
  padding: clamp(48px, 6vw, 84px);
  overflow: hidden;
  box-shadow: 0 24px 56px -16px rgba(0, 0, 0, 0.35);
}

.ab-finale__copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.ab-finale__copy h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--ab-serif);
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
}

.ab-finale__copy p {
  margin: 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.62;
  color: rgba(244, 238, 230, 0.72);
}

.ab-finale__copy .ab-note {
  color: rgba(244, 238, 230, 0.45);
}

.ab-finale__copy .ab-note a {
  color: rgba(244, 238, 230, 0.8);
}

.ab-finale__media {
  overflow: hidden;
  border-radius: var(--ab-radius);
  background: #22201d;
}

.ab-finale__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- ОБЩИЕ ЭЛЕМЕНТЫ (SPLIT, LIST, NOTE) --- */
.ab-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.ab-split--reverse .ab-split__media {
  order: -1;
}

.ab-split__media {
  border-radius: var(--ab-radius);
  overflow: hidden;
  background: #efe7dc;
}

.ab-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-split__media--contain {
  padding: 24px;
  background: #f0e8dc;
}

.ab-split__media--contain img {
  object-fit: contain;
}

.ab-split__body h2,
.ab-split__body h3 {
  margin: 0 0 16px;
  font-family: var(--ab-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.ab-split__body h2 em,
.ab-split__body h3 em {
  font-family: inherit;
  font-style: italic;
  font-weight: 300;
}

.ab-split__body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.62;
  color: var(--muted);
}

.ab-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.ab-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.ab-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34b39a;
}

.ab-note {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(56, 54, 51, 0.55);
}

.ab-rule {
  height: 1px;
  margin: 0 var(--ab-pad);
  background: var(--ab-line);
}

.ab-mt {
  margin-top: 48px;
}

.ab-subhead {
  margin: 48px 0 16px;
  font-family: var(--ab-serif);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 1100px) {
  .ab-facts {
    column-gap: 40px;
    row-gap: 56px;
  }
  .ab-toc {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 28px;
  }
  .ab-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 48px;
  }
  .ab-stat {
    border-right: 0;
    padding: 0;
  }
  .ab-day {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ab-head--split,
  .ab-lede,
  .ab-split,
  .ab-bleed,
  .ab-pair,
  .ab-compare__grid,
  .ab-who,
  .ab-specs,
  .ab-finale {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ab-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 48px;
    margin-top: 72px;
    padding: 32px 24px;
  }

  .ab-bleed__body {
    padding: 32px;
  }

  .ab-adapt {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ab-adapt__step {
    border-right: 0;
    border-bottom: 1px solid var(--ab-line);
    padding: 0 0 24px 0;
  }
  .ab-adapt__step:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .ab-section--dark {
    padding-block: 72px;
  }

  .ab-inset {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .ab {
    --ab-pad: 16px;
  }

  .ab--flush-nav .nav-backdrop {
    inset: 64px 0 0;
  }

  .ab-hero {
    min-height: 76vh;
    padding-top: 120px;
    padding-bottom: 48px;
  }

  .ab-hero--split {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 16vh;
    padding-bottom: 32px;
  }

  .ab-hero--split .ab-hero__top,
  .ab-hero--split .ab-hero__bottom {
    max-width: none;
  }

  .ab-hero__copy {
    max-width: none;
  }

  .ab-hero__lead {
    font-size: clamp(18px, 4vw, 24px);
  }

  .ab-section {
    padding: 64px var(--ab-pad);
  }

  .ab-stage img {
    padding: 24px 16px;
  }

  .ab-facts {
    grid-template-columns: 1fr;
    row-gap: 40px;
    margin-top: 64px;
  }
  .ab-fact dd {
    font-size: 30px;
  }
  .ab-toc {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 24px;
  }
  .ab-toc a {
    white-space: normal;
  }
  .ab-stats {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }

  .ab-day {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ab-quote,
  .ab-finale {
    padding: 32px 24px;
  }
}

.ab-section[id] {
  scroll-margin-top: 96px;
}

/* --- CTA-ряд кнопок (o-korrektore + o-nas) --- */
.ab-cta__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ab-finale__copy .ab-cta__row {
  margin-top: 4px;
}

.ab-finale__copy .ab-btn--outline {
  border-color: rgba(244, 238, 230, 0.28);
  color: var(--cream);
}

.ab-finale__copy .ab-btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ab-finale__copy .ab-btn--ink {
  background: #fff;
  color: var(--ab-dark);
}

.ab-finale__copy .ab-btn--ink:hover {
  background: var(--ab-cream);
}

/* --- Галерея фабрики --- */
.ab-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.ab-gallery figure {
  margin: 0;
  border-radius: var(--ab-radius);
  overflow: hidden;
  background: #1a1917;
}

.ab-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 40%;
}

.ab-gallery figcaption {
  padding: 16px 20px 20px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(244, 238, 230, 0.62);
}

/* --- Карточки документов (Oura research cards) --- */
.ab-docs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ab-doc {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--ab-radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(56, 54, 51, 0.08);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

a.ab-doc:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 54, 51, 0.16);
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.08);
}

.ab-doc--static {
  cursor: default;
}

.ab-doc__media {
  aspect-ratio: 16 / 10;
  background: #efe7dc;
  overflow: hidden;
}

.ab-doc__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ab-doc__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 24px 24px 28px;
}

.ab-doc__tag {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(56, 54, 51, 0.45);
}

.ab-doc h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.ab-doc p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.ab-doc__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(56, 54, 51, 0.5);
}

.ab-doc__arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ab-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
}

.ab-doc--static .ab-doc__arrow {
  background: rgba(56, 54, 51, 0.12);
  color: rgba(56, 54, 51, 0.45);
}

.ab-partners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 48px;
  margin-top: 16px;
  padding-top: 36px;
  border-top: 1px solid var(--ab-line);
}

.ab-partners article h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.ab-partners article p {
  margin: 0;
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.58;
  color: var(--muted);
}

.ab-legal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}

.ab-legal .ab-spec:first-child,
.ab-legal .ab-spec:nth-child(2) {
  border-top: 0;
  padding-top: 0;
}

@media (max-width: 1100px) {
  .ab-docs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ab-partners,
  .ab-legal {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ab-legal .ab-spec:nth-child(2) {
    border-top: 1px solid var(--ab-line);
    padding-top: 24px;
  }
}

@media (max-width: 640px) {
  .ab-docs,
  .ab-gallery {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-btn:hover,
  .ab-card:hover,
  .ab-mech__item:hover,
  .ab-scene:hover img,
  a.ab-doc:hover {
    transform: none;
  }
}

.ab .nav-models {
  max-width: 520px;
}
