/* ============================================================
   Photogenia — styles.css
   Единый дизайн-язык для landing + /policy + /offer.
   Mobile-first. Vanilla CSS. Без JS.
   ============================================================ */


/* ---------- 1. Design tokens ---------------------------------- */

:root {
  /* Палитра — premium editorial: deep warm obsidian + champagne gold.
     Ушли от coral+violet к одному благородному акценту.           */
  --bg-deep:     #0A0908;
  --bg-raised:   #141210;
  --bg-elevated: #1C1A16;

  --ink:         #F2EFE8;   /* warm bone / pearl */
  --ink-muted:   #9B948A;
  --ink-subtle:  #645E54;

  --rule:        #2A2723;

  /* Single-accent strategy: champagne → bronze. */
  --accent-1:    #D4B074;   /* champagne gold (primary accent) */
  --accent-2:    #B08A4A;   /* deeper bronze (used only in gradients) */

  --accent-1-soft: rgba(212, 176, 116, 0.10);
  --accent-1-line: rgba(212, 176, 116, 0.26);
  --accent-glow:   rgba(212, 176, 116, 0.22);

  /* Типографика: Cormorant Garamond (editorial serif, full Cyrillic + italic)
     + Manrope (geometric sans, также полный Cyrillic).                        */
  --font-display: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;

  /* Easing (cinematic) */
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);
  --ease-emphasize: cubic-bezier(0.2, 0, 0, 1);

  /* Durations */
  --dur-quick: 180ms;
  --dur-mid:   420ms;
  --dur-slow:  720ms;
  --dur-epic:  1200ms;
}


/* ---------- 2. Reset + base ----------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.003em;
  overflow-x: hidden;
  font-feature-settings: "liga", "calt", "kern";
}

/* Cormorant Garamond — classical editorial serif.
   Применяем единообразный display-шрифт на все крупные/акцентные элементы. */
.display,
.section-title,
.hero-title,
.doc-header .display,
.final-cta .display,
.brand,
.footer-brand,
.style-name,
.step-num,
.section-mark {
  font-family: var(--font-display);
  font-feature-settings: "liga", "calt", "kern";
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent-1); color: var(--bg-deep); }

/* Якорная навигация с учётом sticky-хедера */
section[id] { scroll-margin-top: 5rem; }


/* ---------- 3. Typography utilities --------------------------- */

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4.5vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.005em;
  margin: 0;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-1);
  margin: 0;
  font-weight: 500;
}

.lede {
  color: var(--ink-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
  max-width: 42rem;
  margin: 0 auto;
}

.section-lede {
  color: var(--ink-muted);
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.placeholder {
  background: var(--accent-1-soft);
  color: var(--accent-1);
  padding: 0.1em 0.4em;
  border-radius: 0.2em;
  font-family: var(--font-mono);
  font-size: 0.9em;
  font-weight: 500;
  border: 1px solid var(--accent-1-line);
  white-space: nowrap;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  background: var(--bg-elevated);
  color: var(--ink);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  z-index: 100;
  font-size: 0.9rem;
}
.skip-link:focus { left: 1rem; }

.sep {
  display: inline-block;
  margin: 0 0.45em;
  color: var(--ink-subtle);
  opacity: 0.8;
}


/* ---------- 4. Container -------------------------------------- */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}


/* ---------- 5. Site header ------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-mid) var(--ease-out-expo);
}
.site-header:hover { border-bottom-color: var(--rule); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color var(--dur-quick);
}
.brand:hover { color: var(--accent-1); }

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.92rem;
}
.site-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color var(--dur-quick);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent-1); }

/* Header mini-CTA — только на landing mobile */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(245, 244, 240, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(245, 244, 240, 0.03);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color var(--dur-quick),
              background var(--dur-quick),
              color var(--dur-quick);
}
.header-cta:hover {
  border-color: var(--accent-1);
  background: var(--accent-1-soft);
  color: var(--ink);
}

/* На landing mobile: скрыть nav, показать CTA */
.landing-page .site-nav { display: none; }
@media (min-width: 720px) {
  .landing-page .site-nav { display: flex; }
  .landing-page .header-cta { display: none; }
}
/* На document-pages: nav видна всегда, CTA-кнопки в хедере нет */


/* ---------- 6. Gradient mesh (hero + final-cta) --------------- */

.hero-bg,
.final-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
/* Key light — тёплое золото, большое и далеко снизу-слева */
.mesh-1 {
  width: 80vw;
  height: 80vw;
  min-width: 480px;
  min-height: 480px;
  background: radial-gradient(circle, rgba(212, 176, 116, 0.32), transparent 60%);
  bottom: -35%; left: -20%;
  opacity: 0.9;
  animation-name: mesh-drift-1;
  animation-duration: 42s;
}
/* Rim light — приглушённая бронза сверху-справа */
.mesh-2 {
  width: 60vw;
  height: 60vw;
  min-width: 380px;
  min-height: 380px;
  background: radial-gradient(circle, rgba(176, 138, 74, 0.22), transparent 60%);
  top: -20%; right: -25%;
  opacity: 0.85;
  animation-name: mesh-drift-2;
  animation-duration: 56s;
  animation-delay: -18s;
}
.mesh-3 { display: none; }   /* оставлен в HTML, но скрыт — single-light cinematic */

@keyframes mesh-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(4vw, -3vw) scale(1.06); }
}
@keyframes mesh-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-3vw, 3vw) scale(1.08); }
}


/* ---------- 7. CTA buttons ------------------------------------ */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  transition:
    transform  var(--dur-mid) var(--ease-out-expo),
    box-shadow var(--dur-mid) var(--ease-out-expo),
    filter     var(--dur-mid) var(--ease-out-expo);
}

/* Metallic gold — высокий контраст тёмного текста на champagne, inset
   highlights имитируют полированный металл. Читается как часы/ювелирка. */
.cta-primary {
  background: linear-gradient(135deg, #EBCB88 0%, #C9A66B 45%, #A37F3F 100%);
  color: var(--bg-deep);
  font-weight: 600;
  letter-spacing: 0.015em;
  box-shadow:
    0  8px 32px -10px rgba(176, 138, 74, 0.55),
    0  2px  8px -2px  rgba(0, 0, 0, 0.35),
    inset 0  1px 0 rgba(255, 237, 194, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}
.cta-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 14px 42px -10px rgba(176, 138, 74, 0.65),
    0  4px 12px -2px  rgba(0, 0, 0, 0.40),
    inset 0  1px 0 rgba(255, 237, 194, 0.65),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22);
}
.cta-primary:active { transform: translateY(0); }

.cta-big {
  padding: 1.15rem 2.8rem;
  font-size: 1.02rem;
}


/* ---------- 8. LANDING: hero ---------------------------------- */

.hero {
  position: relative;
  min-height: 92vh;
  padding: 5rem 0 7rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-title {
  position: relative;
  font-weight: 500;
  font-size: clamp(2.5rem, 8.5vw, 6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 1.8rem 0 2rem;
  max-width: 22ch;
}
.hero-title::before {
  content: '';
  position: absolute;
  inset: -30% -15%;
  background: radial-gradient(ellipse at 50% 60%, rgba(212, 176, 116, 0.18), transparent 62%);
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
}
.hero-line {
  display: block;
  padding: 0.05em 0;
}
.hero-title .hl {
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.012em;
  background: linear-gradient(135deg, #EED9A6 0%, #D4B074 50%, #A37F3F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.5rem;
}
.cta-promo {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.trust-line {
  color: var(--ink-subtle);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin: 0;
}


/* ---------- 8b. LANDING: trust-strip -------------------------- */

/* Тонкая полоса фактов между hero и steps. Фактические свойства,
   не маркетинг — Telegram Stars, 152-ФЗ, TLS, без регистраций.  */
.trust-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
  background: rgba(20, 18, 16, 0.6);
}
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: repeat(2, 1fr);
  font-size: 0.85rem;
  color: var(--ink-muted);
}
@media (min-width: 768px) {
  .trust-list {
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
  }
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  letter-spacing: 0.01em;
}
.trust-icon {
  color: var(--accent-1);
  flex-shrink: 0;
  opacity: 0.85;
}


/* ---------- 9. LANDING: steps --------------------------------- */

.steps { padding: 5rem 0 4rem; }

.step-list {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .step-list { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.step {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--bg-raised);
  transition:
    border-color var(--dur-mid) var(--ease-out-expo),
    transform    var(--dur-mid) var(--ease-out-expo);
}
.step:hover {
  border-color: rgba(212, 176, 116, 0.40);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(212, 176, 116, 0.25);
}
.step-shape {
  color: var(--accent-2);
  opacity: 0.85;
  margin-bottom: 1.25rem;
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 2.4rem;
  color: var(--accent-1);
  line-height: 1.15;
  margin-bottom: 0.4rem;
}
.step-name {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}
.step p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.5;
}


/* ---------- 9b. LANDING: numbers ------------------------------ */

/* Editorial полоса-recap реальных цифр сервиса.
   Fraunces italic на числах даёт магазинный editorial look (NYT, Wallpaper*). */
.numbers {
  padding: 5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, transparent 0%, rgba(212, 176, 116, 0.03) 50%, transparent 100%);
}
.numbers-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1rem;
  text-align: center;
}
@media (min-width: 640px) {
  .numbers-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 960px) {
  .numbers-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}
.numbers-list li {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}
.numbers-list .num {
  display: inline-flex;
  align-items: baseline;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  /* padding — чтобы italic ascenders/flourishes не клипались */
  padding: 0.08em 0.05em;
}
.numbers-list em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 4.75rem);
  line-height: 1.1;
  background: linear-gradient(180deg, #EED9A6 0%, #D4B074 55%, #A37F3F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.numbers-list sup {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-left: 0.2em;
  margin-top: 0.25em;
  vertical-align: baseline;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
.numbers-list .num-label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  max-width: 16ch;
  line-height: 1.35;
}


/* ---------- 10. LANDING: style gallery ------------------------ */

.styles { padding: 4rem 0; }

.section-head { margin-bottom: 2.25rem; }

.style-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .style-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .style-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.style-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--rule);
  /* default fallback — будет переопределён per-card ниже */
  background: linear-gradient(160deg, #2A2320, #1A1613);
  transition:
    transform    var(--dur-mid) var(--ease-out-expo),
    border-color var(--dur-mid) var(--ease-out-expo),
    box-shadow   var(--dur-mid) var(--ease-out-expo);
}
/* Warm vignette для кинематографичности */
.style-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 220, 170, 0.08), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.45), transparent 60%);
  pointer-events: none;
}
.style-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;   /* скрыть alt-текст на broken img */
}
.style-card:hover {
  transform: scale(1.015);
  border-color: var(--accent-1);
  box-shadow: 0 24px 60px -24px rgba(212, 176, 116, 0.32);
}

/* Каждая карточка — своя микротональность в спектре warm noir → champagne.
   Монохромные градиенты вместо розово-фиолетовой радуги — выглядит как film stills.  */
.style-card[data-style="monaco"]    { background: linear-gradient(165deg, #3F3224 0%, #1B1612 70%); }
.style-card[data-style="bali"]      { background: linear-gradient(165deg, #2F322C 0%, #16170F 70%); }
.style-card[data-style="paris"]     { background: linear-gradient(165deg, #2A2024 0%, #0F0A0C 70%); }
.style-card[data-style="nyc"]       { background: linear-gradient(165deg, #1E1F22 0%, #0A0B0D 70%); }
.style-card[data-style="penthouse"] { background: linear-gradient(165deg, #48382A 0%, #1E160F 70%); }
.style-card[data-style="office"]    { background: linear-gradient(165deg, #2D241B 0%, #14100B 70%); }
.style-card[data-style="iceland"]   { background: linear-gradient(165deg, #2C2E33 0%, #0E1014 70%); }
.style-card[data-style="tuscany"]   { background: linear-gradient(165deg, #4A3824 0%, #1D140D 70%); }
.style-card[data-style="forest"]    { background: linear-gradient(165deg, #22281D 0%, #0D110A 70%); }

.style-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.25rem 1.25rem 1.1rem;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.88) 10%, rgba(10, 10, 11, 0.15) 85%, transparent);
  z-index: 1;
}
.style-category {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-1);
  margin-bottom: 0.35rem;
}
.style-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.18;
  margin: 0;
  color: var(--ink);
}


/* ---------- 11. LANDING: mid-cta ------------------------------ */

.mid-cta {
  padding: 4.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.mid-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}


/* ---------- 12. LANDING: why ---------------------------------- */

.why { padding: 5rem 0 4rem; }

.why-grid {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

.why-item {
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--bg-raised), rgba(20, 20, 24, 0.4));
  transition: border-color var(--dur-mid);
}
.why-item:hover { border-color: rgba(212, 176, 116, 0.38); }

.why-icon {
  color: var(--accent-1);
  opacity: 0.9;
  margin-bottom: 1rem;
}
.why-item h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
}
.why-item p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.55;
}
.why-item p a {
  color: var(--accent-1);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-1-line);
  transition: border-color var(--dur-quick);
}
.why-item p a:hover { border-bottom-color: var(--accent-1); }


/* ---------- 13. LANDING: FAQ ---------------------------------- */

.faq { padding: 4rem 0; }
.faq-inner { max-width: 48rem; }

.faq-list { margin-top: 2.25rem; }

.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color var(--dur-quick);
}
.faq-item summary::-webkit-details-marker { display: none; }

/* Chevron (▼) */
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--ink-muted);
  border-bottom: 1.5px solid var(--ink-muted);
  transform: translateY(-70%) rotate(45deg);
  transition:
    transform    var(--dur-mid) var(--ease-out-expo),
    border-color var(--dur-quick);
}
.faq-item summary:hover { color: var(--accent-1); }
.faq-item summary:hover::after { border-color: var(--accent-1); }
.faq-item[open] summary::after {
  transform: translateY(-15%) rotate(-135deg);
  border-color: var(--accent-1);
}
.faq-item[open] summary { color: var(--accent-1); }

.faq-body {
  padding: 0 0 1.5rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.faq-body p { margin: 0; }
.faq-body a {
  color: var(--accent-1);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-1-line);
}
.faq-body a:hover { border-bottom-color: var(--accent-1); }


/* ---------- 14. LANDING: final-cta ---------------------------- */

.final-cta {
  position: relative;
  overflow: hidden;
  min-height: 40vh;
  padding: 6rem 0 7rem;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.final-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.final-cta .display {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin: 0.5rem 0 1.25rem;
  max-width: 18ch;
}
.micro-text {
  color: var(--ink-subtle);
  font-size: 0.85rem;
  margin: 0.25rem 0 0;
}


/* ---------- 15. Site footer ----------------------------------- */

.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--rule);
}

/* Landing footer: 3 cols */
.landing-page .site-footer { padding: 4rem 0 2rem; margin-top: 0; }
.landing-page .footer-inner {
  display: grid;
  gap: 2rem 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .landing-page .footer-inner {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
}
.footer-col-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-subtle);
  margin: 0 0 0.8rem;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.footer-col li { color: var(--ink-muted); }
.footer-col a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color var(--dur-quick);
}
.footer-col a:hover { color: var(--ink); }

.footer-brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.005em;
}
.landing-page .footer-brand-col .footer-brand { font-size: 1.55rem; }
.footer-tagline {
  color: var(--ink-subtle);
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}
.footer-bottom {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-subtle);
  font-size: 0.85rem;
  grid-column: 1 / -1;
}

/* Document-page footer: 2 элемента в строку */
.document-page .site-footer { padding: 2.5rem 0 2rem; margin-top: 4rem; }
.document-page .footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .document-page .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--dur-quick);
}
.footer-nav a:hover { color: var(--ink); }


/* ---------- 16. DOCUMENT PAGES (policy, offer) ---------------- */

.document { padding: 3.5rem 0 5rem; }
.document-inner { max-width: 42rem; }

.doc-header { margin-bottom: 3rem; }
.doc-header .display {
  font-size: clamp(2rem, 6vw, 3.25rem);
  margin: 0.75rem 0 1.5rem;
  max-width: 20ch;
}

.doc-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1rem;
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
}
.doc-meta dt { color: var(--ink-subtle); font-weight: 500; }
.doc-meta dd { margin: 0; color: var(--ink-muted); }

.rule {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 2rem 0 0;
}

.document h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 3rem 0 1rem;
  scroll-margin-top: 5rem;
}
.section-mark {
  display: inline-block;
  margin-right: 0.55em;
  color: var(--accent-1);
  font-style: italic;
  font-weight: 500;
  font-family: var(--font-display);
}

.document p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--ink);
}

.document ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.5rem;
  color: var(--ink);
}
.document li {
  margin-bottom: 0.45rem;
  line-height: 1.6;
}
.document li::marker { color: var(--accent-1); }

.document a {
  color: var(--accent-1);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-1-line);
  transition: border-color var(--dur-quick);
}
.document a:hover { border-bottom-color: var(--accent-1); }

/* Terms definition list */
.terms { margin: 1rem 0 1.5rem; }
.terms dt {
  font-weight: 500;
  margin-top: 0.85rem;
  color: var(--ink);
}
.terms dt:first-child { margin-top: 0; }
.terms dd {
  margin: 0.2rem 0 0;
  padding: 0;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Callout (важные пункты: § 6.2 policy, § 5.4 и § 6.2 offer) */
.callout {
  border-left: 2px solid var(--accent-1);
  background: var(--accent-1-soft);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 10px 10px 0;
}
.callout p { margin: 0; line-height: 1.65; }

/* Credentials */
.credentials { margin-top: 4rem; }
.credentials h2 { margin-top: 0; }
.credentials-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 2rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--bg-raised);
  font-size: 0.95rem;
  margin: 1rem 0 0;
}
.credentials-list dt { color: var(--ink-muted); font-weight: 500; }
.credentials-list dd { margin: 0; color: var(--ink); }


/* ---------- 17. Hero staggered fade-in ------------------------ */

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero .eyebrow,
.hero .hero-title,
.hero .lede,
.hero .hero-cta,
.final-cta .eyebrow,
.final-cta .display,
.final-cta .cta,
.final-cta .micro-text {
  opacity: 0;
  animation: fade-in-up var(--dur-epic) var(--ease-out-expo) forwards;
}
.hero .eyebrow    { animation-delay: 0.10s; }
.hero .hero-title { animation-delay: 0.22s; }
.hero .lede       { animation-delay: 0.42s; }
.hero .hero-cta   { animation-delay: 0.62s; }

.final-cta .eyebrow    { animation-delay: 0.10s; }
.final-cta .display    { animation-delay: 0.20s; }
.final-cta .cta        { animation-delay: 0.35s; }
.final-cta .micro-text { animation-delay: 0.50s; }


/* ---------- 18. Reduced motion -------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero .eyebrow,
  .hero .hero-title,
  .hero .lede,
  .hero .hero-cta,
  .final-cta .eyebrow,
  .final-cta .display,
  .final-cta .cta,
  .final-cta .micro-text { opacity: 1; }
}


/* ---------- 19. Print ----------------------------------------- */

@media print {
  :root { color-scheme: light; }

  html, body {
    background: #fff !important;
    color: #000 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 11pt;
    line-height: 1.45;
  }

  .site-header,
  .site-footer,
  .skip-link,
  .hero-bg,
  .final-cta-bg,
  .mesh,
  .trust-strip {
    display: none !important;
  }

  .document { padding: 0 !important; }
  .document-inner { max-width: 100%; }

  .document h1,
  .document h2,
  .document h3 { color: #000 !important; page-break-after: avoid; }

  .document p,
  .document li { color: #000 !important; }

  .document a {
    color: #000 !important;
    text-decoration: underline;
    border-bottom: 0;
  }

  .section-mark { color: #444 !important; }

  .callout {
    background: none !important;
    border: 1px solid #000 !important;
    border-left-width: 3px !important;
    color: #000 !important;
  }

  .placeholder {
    background: none !important;
    color: #000 !important;
    border: 1px solid #888 !important;
    font-family: 'Courier New', monospace;
  }

  .credentials-list {
    background: none !important;
    border: 1px solid #000 !important;
    color: #000 !important;
  }
  .credentials-list dt,
  .credentials-list dd { color: #000 !important; }

  section { page-break-inside: avoid; }
}
