/* Расклад «Подкова». Мир — лендинги ко дню рождения Aura7 и колода Ольги (арт-деко, слива, роза, золото):
   кремовая бумага, Cormorant для голоса, Golos для текста, ночная арка, в которой карты ложатся подковой. */

@font-face { font-family: 'Golos Text'; src: url('fonts/GolosText-VariableFont_wght.ttf') format('truetype-variations'), url('fonts/GolosText-VariableFont_wght.ttf') format('truetype'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('fonts/Cormorant.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('fonts/Cormorant-Italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  --a7-neutral-50: #FAF7F4; --a7-neutral-100: #F2EDE8; --a7-neutral-200: #E4DCD4; --a7-neutral-300: #C9BFB5;
  --a7-neutral-400: #9C9289; --a7-neutral-500: #6E655D; --a7-neutral-700: #3E3832; --a7-neutral-900: #1A1715;
  --a7-rose-50: #FCEAF3; --a7-rose-500: #E472AD; --a7-rose-700: #B84A85; --a7-rose-900: #6F2953;
  --a7-pink-500: #FE8272; --a7-yellow-500: #FFD585;
  --a7-violet-700: #6B3A72; --a7-violet-800: #4E2A56; --a7-violet-900: #3A1E3D; --a7-surface-violet: #2E1632;

  --page: var(--a7-neutral-50);
  --nested: var(--a7-neutral-100);
  --card: #FFFFFF;
  --stroke: var(--a7-neutral-200);
  --stroke-strong: var(--a7-neutral-300);
  --text: var(--a7-neutral-900);
  --text-2: var(--a7-neutral-700);
  --text-3: var(--a7-neutral-500);
  --plum: var(--a7-violet-900);
  --plum-2: var(--a7-violet-800);
  --night: var(--a7-surface-violet);
  --accent: var(--a7-rose-900);
  --sun: var(--a7-yellow-500);
  --cream: var(--a7-neutral-50);
  --cream-soft: rgba(250, 247, 244, .8);
  --cream-mute: rgba(250, 247, 244, .58);

  --font-sans: 'Golos Text', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cormorant', 'Times New Roman', Georgia, serif;
  --radius-lg: 20px; --radius-xl: 28px; --radius-pill: 999px;
  --shadow-md: 0 8px 20px rgba(26, 23, 21, .08), 0 2px 6px rgba(26, 23, 21, .05);
  --shadow-lg: 0 18px 44px rgba(26, 23, 21, .10), 0 6px 14px rgba(26, 23, 21, .06);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --arch-ratio: 0.74;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-width: 300px; overflow-x: hidden;
  font-family: var(--font-sans); font-size: 16px; line-height: 1.55; color: var(--text);
  background: radial-gradient(70% 38% at 50% 0%, rgba(228, 114, 173, .10), rgba(228, 114, 173, 0) 70%), var(--page);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--a7-rose-700);
}
::selection { background: rgba(228, 114, 173, .24); color: var(--plum); }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--a7-rose-700); outline-offset: 3px; }
[hidden] { display: none !important; }

.page { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px calc(24px + env(safe-area-inset-bottom)); }

/* ── шапка ── */
.site-head { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; }
.logo img { display: block; width: 105px; height: auto; }
.who {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px;
  border: 1px solid var(--stroke); border-radius: var(--radius-pill); background: var(--card);
  font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none;
}
.who-dot {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--plum); color: var(--sun); font-family: var(--font-serif); font-size: 17px; font-weight: 600; line-height: 1;
}

/* ── раскладка ── */
.layout { display: flex; flex-direction: column; gap: 26px; padding-top: 8px; }
.hero { text-align: center; }
.title {
  margin: 0; font-family: var(--font-serif); font-weight: 500; color: var(--plum);
  font-size: clamp(46px, 12.6vw, 84px); line-height: .94; letter-spacing: -.03em; text-wrap: balance;
}
.title em { display: block; font-style: italic; color: var(--accent); }
.lead { max-width: 36ch; margin: 18px auto 0; font-size: 16.5px; line-height: 1.58; color: var(--text-2); text-wrap: pretty; }
.greet { margin: 16px auto 0; max-width: 34ch; font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--plum); }
.greet b { font-style: normal; font-weight: 700; }

/* ── ночная арка ── */
.altar { display: flex; justify-content: center; }
.arch {
  position: relative; width: 100%; max-width: 440px; aspect-ratio: var(--arch-ratio);
  border-radius: 50% 50% 26px 26px / 37% 37% 26px 26px;
  overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 70% at 50% 26%, rgba(107, 58, 114, .55), rgba(107, 58, 114, 0) 70%),
    linear-gradient(180deg, #3B1D40 0%, #2E1632 46%, #1B0C1F 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 213, 133, .32), 0 34px 60px -26px rgba(46, 22, 50, .55), 0 12px 26px -14px rgba(46, 22, 50, .40);
}
.arch::after {
  content: ''; position: absolute; inset: 9px; z-index: 4; pointer-events: none;
  border: 1px solid rgba(255, 213, 133, .26);
  border-radius: 50% 50% 19px 19px / 36% 36% 19px 19px;
}
.cosmos { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.arch-q {
  position: absolute; left: 12%; right: 12%; top: 9%; height: 22%; z-index: 3;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 24px; line-height: 1.18;
  color: var(--cream); opacity: 0; pointer-events: none;
}
.arch-q.is-on { opacity: 1; transition: opacity .5s var(--ease); }
.arch-status {
  position: absolute; left: 10%; right: 10%; bottom: 6%; z-index: 3; margin: 0;
  text-align: center; font-family: var(--font-serif); font-style: italic; font-size: 19px; line-height: 1.25;
  color: var(--cream-soft); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.arch-status.is-swap { opacity: 0; transform: translateY(6px); }

/* подкова: 7 карт по дуге, позиции считает app.js */
.arc { position: absolute; inset: 0; z-index: 2; }
.pk {
  position: absolute; width: 17%; aspect-ratio: 2 / 3;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  border: 0; padding: 0; background: none;
}
.pk-bob { position: absolute; inset: 0; animation: pkbob 6s ease-in-out infinite; animation-delay: var(--bob, 0s); }
@keyframes pkbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.pk-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.pk.is-open .pk-inner { transform: rotateY(180deg); }
.pk-back, .pk-face {
  position: absolute; inset: 0; border-radius: 5px; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(255, 213, 133, .35), 0 12px 22px -10px rgba(0, 0, 0, .75);
  transition: box-shadow .6s var(--ease);
}
.pk-back img, .pk-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pk-face { transform: rotateY(180deg); box-shadow: 0 0 0 1px rgba(255, 213, 133, .6), 0 12px 22px -10px rgba(0, 0, 0, .75), 0 0 24px rgba(255, 213, 133, .28); }
.pk.is-open { cursor: zoom-in; }
.pk.is-charging .pk-back { animation: charge 1.5s ease-in-out infinite; }
@keyframes charge { 50% { box-shadow: 0 0 0 1px rgba(255, 213, 133, .9), 0 0 24px rgba(255, 213, 133, .55), 0 12px 22px -10px rgba(0, 0, 0, .75); } }

/* ── форма вопроса ── */
.ask { padding: 22px 18px 20px; border-radius: var(--radius-xl); background: var(--nested); }
.field-label, .composer-head { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.chip {
  padding: 9px 15px; border-radius: var(--radius-pill); border: 1px solid var(--stroke); background: var(--card);
  font-size: 14px; font-weight: 500; color: var(--text); text-align: left;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--stroke-strong); }
.chip[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--cream); }
.q, .reply {
  display: block; width: 100%; min-height: 108px; resize: none; padding: 14px 16px;
  border: 1px solid var(--stroke); border-radius: 18px; background: var(--card);
  font-size: 16px; line-height: 1.5; color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.q::placeholder, .reply::placeholder { font-family: var(--font-serif); font-style: italic; font-size: 19px; color: var(--a7-neutral-400); }
.q:focus, .reply:focus { outline: none; border-color: var(--a7-rose-500); box-shadow: 0 0 0 4px rgba(228, 114, 173, .16); }
.is-shake { animation: shake .42s var(--ease); }
@keyframes shake { 20% { transform: translateX(-6px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } }
/* опросник: три шага в той же карточке, прогресс — три штриха */
.ask-dots { display: flex; gap: 6px; margin-bottom: 18px; }
.ask-dots i { flex: 1; height: 3px; border-radius: 2px; background: var(--stroke); transition: background .3s var(--ease); }
.ask-dots i.is-on { background: var(--a7-rose-700); }
.ask-step { animation: fadein .5s var(--ease) both; }
.field {
  display: block; width: 100%; height: 54px; margin-top: 10px; padding: 0 16px;
  border: 1px solid var(--stroke); border-radius: 16px; background: var(--card);
  font-size: 17px; color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field::placeholder { font-family: var(--font-serif); font-style: italic; font-size: 19px; color: var(--a7-neutral-400); }
.field:focus { outline: none; border-color: var(--a7-rose-500); box-shadow: 0 0 0 4px rgba(228, 114, 173, .16); }
.field-label-next { margin-top: 18px; }
p.field-label { margin: 0; }
.ask-step .chips-list { flex-direction: column; align-items: stretch; margin-bottom: 18px; }
.chips-list .chip { padding: 14px 18px; border-radius: 16px; font-size: 15.5px; }
.ask-nav { display: flex; gap: 10px; margin-top: 4px; }
.ask-nav .btn-primary { flex: 1; }
.ask-nav .btn-back { flex: none; width: 56px; padding: 0; }
.btn-back svg { width: 22px; height: 22px; fill: none; stroke: var(--plum); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#start-btn .btn-icon { display: none; }
#start-btn.is-last .btn-icon { display: block; }
.hint { margin: 9px 2px 16px; font-size: 13.5px; line-height: 1.45; color: var(--text-3); }
.hint.is-nudge { color: var(--a7-rose-700); }
.form-error { margin: -6px 2px 14px; font-size: 14px; line-height: 1.4; color: var(--a7-rose-700); }
.fineprint { margin: 12px 4px 0; font-size: 12.5px; line-height: 1.45; text-align: center; color: var(--text-3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border: 0; border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background .25s var(--ease), transform .15s ease, box-shadow .25s var(--ease), opacity .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn-primary { width: 100%; background: var(--plum); color: var(--cream); box-shadow: 0 12px 26px -12px rgba(58, 30, 61, .6); }
.btn-primary:hover:not([disabled]) { background: var(--plum-2); }
.btn-ghost { width: 100%; background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1px var(--stroke-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--plum); }
.btn-light { width: 100%; background: var(--cream); color: var(--plum); }
.btn-light:hover { background: #fff; }
.btn-gold { width: 100%; background: linear-gradient(180deg, #FFE3A6, var(--sun)); color: var(--plum); box-shadow: 0 12px 26px -12px rgba(255, 213, 133, .7); }
.btn-icon { width: 20px; height: 20px; fill: var(--sun); }

/* ── диалог с тарологом ── */
.dialog { display: flex; flex-direction: column; gap: 14px; }
.bubble {
  align-self: flex-end; max-width: 88%; margin: 0; padding: 12px 16px; border-radius: 18px 18px 4px 18px;
  background: var(--plum); color: var(--cream); font-size: 15.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere;
}
.reader { padding: 18px 18px 20px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-md); }
.reader-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.seal { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--plum); }
.seal svg { width: 28px; height: 28px; fill: none; stroke: var(--sun); stroke-width: 1.4; }
.reader-from { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.reader-sub { display: block; margin-top: 1px; font-size: 12.5px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--text-3); }
.reader-cards { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.card-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 3px; border: 0; border-radius: var(--radius-pill);
  background: var(--nested); font-size: 13px; line-height: 1.2; color: var(--text-2); cursor: zoom-in;
}
.card-chip img { width: 20px; height: 30px; border-radius: 3px; object-fit: cover; }
.card-chip b { font-weight: 600; color: var(--plum); }
.reader-text { margin: 0; font-size: 16px; line-height: 1.62; color: var(--text-2); }
.reader-q { margin: 14px 0 0; font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 23px; line-height: 1.26; color: var(--plum); text-wrap: pretty; }
.reader-hook { padding-top: 14px; border-top: 1px solid var(--stroke); font-size: 21px; }
.fade-in { animation: fadein .8s var(--ease) both; }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); filter: blur(5px); } to { opacity: 1; transform: none; filter: blur(0); } }

.composer { padding: 18px 16px 18px; border-radius: 22px; background: var(--nested); }
.composer .chips { margin: 10px 0 12px; }
.composer .chip { font-size: 13.5px; padding: 8px 13px; }
.composer .btn-primary { margin-top: 2px; }

.typing { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 12px 16px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-md); font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--plum); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--a7-rose-500); animation: dot 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* стена: последние три карты — после входа */
.wall {
  position: relative; overflow: hidden; padding: 26px 20px 24px; border-radius: 24px; text-align: center; color: var(--cream);
  background: radial-gradient(90% 70% at 50% 0%, rgba(228, 114, 173, .32), rgba(228, 114, 173, 0) 65%), var(--night);
}
.wall-backs { display: flex; justify-content: center; margin-bottom: 14px; }
.wall-backs img { width: 46px; aspect-ratio: 2 / 3; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 213, 133, .5), 0 10px 18px -8px rgba(0, 0, 0, .8); margin: 0 -4px; }
.wall-backs img:nth-child(1) { transform: rotate(-10deg) translateY(4px); }
.wall-backs img:nth-child(3) { transform: rotate(10deg) translateY(4px); }
/* одна закрытая карта «Итог» — дышит золотом */
.wall-backs.is-one img { width: 68px; margin: 4px 0 6px; animation: final-glow 2.6s ease-in-out infinite; }
@keyframes final-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 213, 133, .55), 0 10px 18px -8px rgba(0, 0, 0, .8), 0 0 14px rgba(255, 213, 133, .25); }
  50% { box-shadow: 0 0 0 1px rgba(255, 213, 133, .95), 0 10px 18px -8px rgba(0, 0, 0, .8), 0 0 30px rgba(255, 213, 133, .6); }
}
.wall-title { margin: 0; font-family: var(--font-serif); font-weight: 500; font-size: 30px; line-height: 1.08; }
.wall-text { max-width: 34ch; margin: 10px auto 18px; font-size: 15px; line-height: 1.5; color: var(--cream-soft); }
.wall-note { margin: 12px 0 0; font-size: 12.5px; color: var(--cream-mute); }
/* пейволл итога (16.11.2026): 89 ₽ или 15 ★, ожидание оплаты */
.wall-pay { max-width: 360px; margin: 0 auto; }
.wall-wait { max-width: 32ch; margin: 0 auto 16px; font-size: 15px; line-height: 1.5; color: var(--cream-soft); }
.wall-or { margin: 12px 0; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--cream-mute); }
.wall .btn-ghost { color: var(--cream); box-shadow: inset 0 0 0 1px rgba(250, 247, 244, .38); }
.wall .btn-ghost:hover:not([disabled]) { box-shadow: inset 0 0 0 1px var(--sun); }
.wall-link {
  display: block; margin: 14px auto 0; padding: 6px 10px; border: 0; background: none; font: inherit; font-size: 14px;
  color: var(--sun); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.wall-link[disabled] { opacity: .55; cursor: default; }
.wall-note a { color: var(--sun); text-underline-offset: 3px; }
.wall-err { color: #FFB4A8; }
.note-ok { background: var(--nested); color: var(--text-2); }
/* «на сегодня всё» — та же ночная карточка, кнопка напоминания в Telegram */
.limit .btn-icon { fill: var(--plum); }
.limit-ok { max-width: 34ch; margin: 0 auto; font-family: var(--font-serif); font-style: italic; font-size: 20px; line-height: 1.3; color: var(--sun); }

/* итоговое письмо */
.letter { padding: 24px 20px 26px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-lg); }
.letter-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.letter-head .seal { width: 46px; height: 46px; }
.letter-head .seal svg { width: 34px; height: 34px; }
.letter-from { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.letter-q { display: block; margin-top: 2px; font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--plum); }
.letter-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; margin: 0 0 18px; }
.letter-cards button { min-width: 0; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: center; }
.letter-cards img { display: block; width: 100%; aspect-ratio: 2 / 3; border-radius: 4px; object-fit: cover; box-shadow: 0 6px 12px -6px rgba(26, 23, 21, .5); }
.letter-cards span { display: block; margin-top: 5px; font-size: 10.5px; line-height: 1.2; letter-spacing: -.01em; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.letter-body p { margin: 0 0 13px; max-width: 64ch; font-size: 16.5px; line-height: 1.66; color: var(--text-2); text-wrap: pretty; }
/* первый абзац — тем же Golos, что и остальной текст (Cormorant 21px читался плохо), но крупнее и сливовым */
.letter-body p:first-child { font-size: 17.5px; font-weight: 500; line-height: 1.6; color: var(--plum); }
.letter-body p:last-child { margin-bottom: 0; }
.p-in { opacity: 0; transform: translateY(12px); filter: blur(6px); }
.p-in.is-in { opacity: 1; transform: none; filter: blur(0); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }

.note { margin: 0; padding: 16px 18px; border-radius: 18px; background: var(--a7-rose-50); font-size: 15px; line-height: 1.5; color: var(--accent); }
.note .btn { margin-top: 12px; }
.restart { align-self: center; margin-top: 4px; }

.expert {
  position: relative; overflow: hidden; padding: 24px 20px; border-radius: 24px; color: var(--cream);
  background: radial-gradient(90% 80% at 100% 0%, rgba(228, 114, 173, .30), rgba(228, 114, 173, 0) 60%), var(--night);
}
.expert-title { margin: 0; font-family: var(--font-serif); font-weight: 500; font-size: 28px; line-height: 1.1; }
.expert-text { margin: 8px 0 18px; font-size: 15px; line-height: 1.5; color: var(--cream-soft); max-width: 40ch; }

/* просмотр карты крупно */
.lightbox {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px;
  background: rgba(26, 12, 30, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fadein .35s var(--ease) both;
}
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-figure img { display: block; height: min(72vh, 620px); width: auto; max-width: 86vw; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 213, 133, .6), 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 60px rgba(255, 213, 133, .25); }
.lb-figure figcaption { text-align: center; color: var(--cream); }
.lb-pos { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.lb-name { display: block; margin-top: 2px; font-family: var(--font-serif); font-size: 26px; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(250, 247, 244, .12); }
.lb-close svg { width: 22px; height: 22px; stroke: var(--cream); stroke-width: 2; fill: none; }

.foot { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--stroke); text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--text-3); }
.foot p { margin: 0 0 4px; }

/* ── десктоп: слева разговор, справа арка остаётся на виду ── */
@media (min-width: 960px) {
  .page { padding: 0 40px 32px; }
  .site-head { height: 76px; }
  .layout {
    display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); column-gap: 64px; row-gap: 26px;
    grid-template-areas: "hero altar" "talk altar" "expert altar" "rest altar";
    grid-template-rows: auto auto auto 1fr; align-items: start; padding-top: 28px;
  }
  .hero { grid-area: hero; text-align: left; }
  .lead, .greet { margin-left: 0; }
  .altar { grid-area: altar; position: sticky; top: 24px; }
  .arch { max-width: 540px; --arch-ratio: .8; border-radius: 50% 50% 30px 30px / 40% 40% 30px 30px; }
  .arch::after { border-radius: 50% 50% 22px 22px / 39% 39% 22px 22px; }
  .arch-status { font-size: 21px; }
  .pk { width: 16%; }
  .talk { grid-area: talk; }
  .expert { grid-area: expert; }
  .ask { padding: 26px 24px 22px; }
  .letter { padding: 30px 30px 32px; }
  .letter-cards { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
  .letter-cards span { font-size: 10.5px; }
  .expert .btn { width: auto; min-width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
