/* АРКАН. Статичная сборка под Cloudflare Pages
   Шрифт: Geologica (SIL OFL 1.1), см. geologica-OFL.txt
   Правило скруглений: кнопки и чипы — pill, контейнеры — 24px, мелкие элементы — 12px */

@font-face {
  font-family: "Geologica";
  src: url("/assets/geologica.woff2?v=3") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1c1a12;
  --olive: #473f1b;
  --muted: #676353;
  --line: #e4e3dc;
  --stone: #f2f2ef;
  --paper: #ffffff;
  --yellow: #ffd610;
  --yellow-deep: #f2c700;
  --night: #0b0b0a;
  --night-2: #151512;
  --night-line: rgba(255, 255, 255, 0.12);
  --night-text: #f3f2ec;
  --night-muted: #a9a695;
  --navy: #030714;
  --navy-2: #0b1226;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 68px;
  --radius: 24px;
  --radius-s: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body.has-subnav { scroll-padding-top: calc(var(--header-h) + 72px); }
html:has(body.has-subnav) { scroll-padding-top: calc(var(--header-h) + 72px); }

body {
  margin: 0;
  font-family: "Geologica", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 330;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "kern", "calt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--yellow); }

.icon { width: 1em; height: 1em; flex: none; fill: currentColor; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--yellow); padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Типографика ---------- */

.h1, .h2, .h3 {
  font-weight: 700;
  letter-spacing: -0.035em;
  font-variation-settings: "SHRP" 40;
  text-wrap: balance;
}
.h1 { font-size: clamp(42px, 6.2vw, 84px); line-height: 0.98; }
.h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; }
.h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.12; letter-spacing: -0.025em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--muted); max-width: 34em; text-wrap: pretty; }
.on-dark .lead { color: var(--night-muted); }
.label { font-size: 15px; font-weight: 500; color: var(--olive); letter-spacing: 0; }
.on-dark .label { color: var(--yellow); }
.fine { font-size: 14px; line-height: 1.5; color: var(--muted); }
.on-dark .fine { color: var(--night-muted); }
.num { font-feature-settings: "tnum", "lnum"; white-space: nowrap; }

/* ---------- Кнопки и ссылки ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease), color .2s var(--ease);
}
.btn .icon { font-size: 18px; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-deep); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.on-dark .btn-outline { border-color: rgba(255,255,255,.55); color: var(--night-text); }
.on-dark .btn-outline:hover { background: var(--night-text); color: var(--night); border-color: var(--night-text); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 550; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: text-decoration-color .2s var(--ease);
}
.link:hover { text-decoration-color: currentColor; }
.link .icon { font-size: 17px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* ---------- Шапка ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { width: 96px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 480;
  transition: background-color .2s var(--ease);
}
.nav a:hover { background: var(--stone); }
.nav a[aria-current="page"] { background: var(--stone); font-weight: 600; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.social {
  width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--line); transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.social .icon { font-size: 19px; }
.social:hover { background: var(--stone); border-color: var(--stone); }
.header .btn-small { margin-left: 6px; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 999px; place-items: center;
  border: 1px solid var(--line);
}
.burger .icon { font-size: 22px; }

@media (max-width: 960px) {
  .nav, .header-right .social { display: none; }
  .burger { display: grid; }
  .header-in { gap: 12px; }
}
@media (max-width: 420px) {
  .header .btn-small { display: none; }
}

/* ---------- Мобильное меню ---------- */

.menu {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0;
  border: 0; background: var(--paper); color: var(--ink);
}
.menu::backdrop { background: rgba(0,0,0,.3); }
.menu[open] { display: flex; flex-direction: column; animation: menu-in .28s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.menu-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu-nav { display: flex; flex-direction: column; margin-top: 12px; }
.menu-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 28px; font-weight: 650; letter-spacing: -0.02em;
}
.menu-nav a .icon { font-size: 22px; color: var(--muted); }
.menu-foot { margin-top: auto; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); display: grid; gap: 12px; }
.menu-foot .btn { width: 100%; }
.menu-foot .channels { grid-template-columns: 1fr; }
.menu-phone { text-align: center; font-weight: 550; padding-top: 6px; }

/* ---------- Секции ---------- */

.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: clamp(56px, 7vw, 88px); }
.night { background: var(--night); color: var(--night-text); }
.navy { background: var(--navy); color: var(--night-text); }
.yellow { background: var(--yellow); color: var(--ink); }
.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 780px; }

/* ---------- Главная: hero ---------- */

.hero { padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 4vw, 56px);
  min-height: min(calc(100dvh - var(--header-h) - 80px), 620px);
}
.hero-copy { position: relative; z-index: 1; display: grid; gap: 24px; align-content: center; }
.hero-title { font-size: clamp(38px, 4.3vw, 62px); }
.hero-copy .actions { margin-top: 12px; }
.hero-art { position: relative; }
.hero-art img, .personal-art img { mix-blend-mode: multiply; }
.hero-art img { width: 125%; max-width: none; margin-left: -14%; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-art img { animation: orbit-in 1.2s var(--ease) both .05s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes orbit-in { from { opacity: 0; transform: scale(.94) rotate(-4deg); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero-art { order: -1; margin-inline: calc(-1 * var(--gutter)); }
  .hero-art img { width: 100%; margin: 0; }
}

/* ---------- Карточки продуктов (кликабельны целиком) ---------- */

.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.offer {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--night-2); border: 1px solid var(--night-line);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.offer-art { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.offer-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.offer-body { display: grid; gap: 10px; padding: 26px 28px 28px; flex: 1; grid-template-rows: auto auto 1fr auto; }
.offer-body .h3 { color: var(--night-text); }
.offer-body p { color: var(--night-muted); }
.offer-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--night-line);
}
.price-inline { display: grid; gap: 2px; }
.price-inline b { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--night-text); }
.price-inline span { font-size: 14px; color: var(--night-muted); }
.go {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--night-text);
}
.go i {
  width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); transition: transform .25s var(--ease);
}
.go .icon { font-size: 20px; }
.offer:hover { border-color: rgba(255,214,16,.55); }
.offer:hover .offer-art img { transform: scale(1.035); }
.offer:hover .go i { transform: translateX(3px); }
.offer-qflow .offer-art { background: var(--navy); }

.side-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.side-link {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 20px;
  padding: 24px 28px; border-radius: var(--radius); border: 1px solid var(--night-line);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.side-link b { font-size: 20px; font-weight: 650; letter-spacing: -0.015em; }
.side-link span { grid-column: 1; color: var(--night-muted); font-size: 15px; line-height: 1.45; }
.side-link i {
  grid-row: 1 / span 2; grid-column: 2; width: 42px; height: 42px; border-radius: 999px;
  display: grid; place-items: center; border: 1px solid var(--night-line); transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.side-link .icon { font-size: 18px; }
.side-link:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.03); }
.side-link:hover i { transform: translateX(3px); background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.more-row { margin-top: 36px; }

@media (max-width: 860px) {
  .offers, .side-links { grid-template-columns: 1fr; }
  .offer-body { padding: 22px 22px 24px; }
  .go-txt { display: none; }
  .side-link { padding: 20px 22px; }
}

/* ---------- Автор ---------- */

.author-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.portrait { border-radius: var(--radius); overflow: hidden; max-width: 384px; }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.portrait-cap { margin-top: 16px; display: grid; gap: 2px; }
.portrait-cap b { font-size: 20px; font-weight: 650; letter-spacing: -0.015em; }
.portrait-cap span { color: var(--muted); font-size: 15px; }
.author-copy { display: grid; gap: 26px; }
.author-copy > p { max-width: 36em; }
.quote {
  font-size: clamp(22px, 2.3vw, 30px); line-height: 1.28; font-weight: 520; letter-spacing: -0.02em;
  padding-left: 24px; border-left: 4px solid var(--yellow); text-wrap: pretty;
}
.quote cite { display: block; margin-top: 12px; font-size: 15px; font-style: normal; font-weight: 400; letter-spacing: 0; color: var(--muted); }

.method { margin-top: clamp(56px, 8vw, 96px); padding-top: 40px; border-top: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { display: grid; gap: 14px; align-content: start; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  background: var(--yellow); font-weight: 700; font-size: 18px;
}
.step b { font-size: 20px; font-weight: 650; line-height: 1.2; letter-spacing: -0.015em; }
.step span { color: var(--muted); font-size: 15px; }

@media (max-width: 860px) {
  .author-grid, .method-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step { grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 2px; }
  .step::before { grid-row: 1 / span 2; }
}

/* ---------- Отзывы ---------- */

.reviews-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.scroller-btns { display: flex; gap: 8px; }
.scroller-btns button {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line);
  display: grid; place-items: center; transition: background-color .2s var(--ease), opacity .2s;
}
.scroller-btns button:hover:not(:disabled) { background: var(--stone); }
.scroller-btns button:disabled { opacity: .35; cursor: default; }
.scroller-btns .icon { font-size: 20px; }
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  background: var(--stone); border-radius: var(--radius); padding: 30px 28px;
}
.review p { font-size: 19px; line-height: 1.45; font-weight: 400; text-wrap: pretty; }
.review footer { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.review footer::before { content: ""; width: 22px; height: 4px; border-radius: 4px; background: var(--yellow); }

@media (max-width: 640px) {
  .scroller-btns { display: none; }
  .reviews { grid-auto-columns: 84%; }
}

/* ---------- Наш круг (канал + ВК) ---------- */

.circle-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.circle-copy { display: grid; gap: 20px; }
.circle-copy .lead { color: var(--olive); }
.channels { display: grid; gap: 12px; }
.channel {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 18px;
  padding: 18px 20px 18px 18px; border-radius: 20px;
  background: var(--night); color: var(--night-text);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.channel-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.channel-ico .icon { font-size: 26px; color: #fff; }
.channel-tg .channel-ico { background: #229ed9; }
.channel-vk .channel-ico { background: #0077ff; }
.channel-txt { display: grid; gap: 2px; }
.channel-txt b { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
.channel-txt span { font-size: 14.5px; color: var(--night-muted); line-height: 1.35; }
.channel > .icon { font-size: 20px; color: var(--night-muted); transition: transform .2s var(--ease), color .2s; }
.channel:hover { background: #1d1d19; }
.channel:hover > .icon { transform: translate(2px, -2px); color: var(--yellow); }
.menu .channel { background: var(--stone); color: var(--ink); }
.menu .channel-txt span { color: var(--muted); }

@media (max-width: 860px) {
  .circle-grid { grid-template-columns: 1fr; }
}

/* ---------- Внутренние страницы: вступление ---------- */

.intro { padding-block: clamp(48px, 8vw, 104px) clamp(36px, 5vw, 64px); }
.intro-copy { display: grid; gap: 22px; max-width: 820px; }
.intro-copy .actions { margin-top: 8px; }

/* Подменю продуктов */
.subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-block: 1px solid var(--line);
}
.subnav-in { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 500;
  border: 1px solid var(--line); transition: background-color .2s var(--ease), border-color .2s, color .2s;
}
.subnav a:hover { border-color: var(--ink); }
.subnav a.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Продукт: подробная секция ---------- */

.product-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.product-top.is-flipped .product-media { order: -1; }
.product-copy { display: grid; gap: 20px; }
.product-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--night-line); }
.product-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.buy { display: grid; gap: 18px; margin-top: 8px; }
.prices { display: flex; flex-wrap: wrap; gap: 0; }
.prices > div { display: grid; gap: 4px; padding-right: 28px; }
.prices > div + div { padding-left: 28px; padding-right: 0; border-left: 1px solid currentColor; border-left-color: var(--night-line); }
.prices b { font-size: clamp(30px, 3vw, 40px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.prices span { font-size: 14px; color: var(--night-muted); }

.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.part { border: 1px solid var(--night-line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.part > p { color: var(--night-muted); }
.part-title { display: grid; gap: 4px; }
.part-title span { color: var(--yellow); font-weight: 500; font-size: 15px; }

.facts { display: grid; gap: 0; margin-top: 6px; }
.facts > div { display: grid; grid-template-columns: minmax(120px, 42%) 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--night-line); font-size: 15.5px; }
.facts dt { color: var(--night-muted); }
.facts dd { font-weight: 500; }
.on-light .facts > div { border-top-color: var(--line); }
.on-light .facts dt { color: var(--muted); }

@media (max-width: 860px) {
  .product-top { grid-template-columns: 1fr; }
  .product-top.is-flipped .product-media { order: -1; }
  .product-top .product-media { order: -1; }
  .parts { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .prices > div { padding-right: 20px; }
  .prices > div + div { padding-left: 20px; }
}

/* ---------- Личный формат: разделённая карточка ---------- */

.personal {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--paper);
}
.personal-copy { min-width: 0; background: var(--night); color: var(--night-text); padding: clamp(28px, 4.5vw, 56px); display: grid; gap: 22px; align-content: start; }
.personal-art { display: grid; place-items: center; padding: 24px; background: #fff; min-height: 320px; }
.personal-art img { width: 100%; max-width: 560px; }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 4px; }
.perks > div { padding: 14px 0; border-top: 1px solid var(--night-line); display: grid; gap: 2px; }
.perks dt { font-size: 14px; color: var(--night-muted); }
.perks dd { font-weight: 550; font-size: 16.5px; line-height: 1.35; }
.personal .actions { margin-top: 10px; }

@media (max-width: 900px) {
  .personal { grid-template-columns: minmax(0, 1fr); }
  .personal .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 14px; }
  .personal-art { order: -1; min-height: 0; padding: 12px 24px 0; }
  .personal-art img { max-width: 420px; }
}
@media (max-width: 480px) {
  .perks { grid-template-columns: 1fr; }
}

/* ---------- Tax Free ---------- */

.taxfree { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.taxfree-mark { display: grid; gap: 6px; }
.taxfree-mark b {
  font-size: clamp(120px, 16vw, 220px); line-height: .82; font-weight: 800; letter-spacing: -0.06em;
  color: var(--yellow); -webkit-text-stroke: 0; font-variation-settings: "SHRP" 100;
}
.taxfree-mark span { font-weight: 550; font-size: 17px; }
.taxfree-copy { display: grid; gap: 20px; }
.taxfree .facts { max-width: 620px; }
.note {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  background: var(--stone); border-radius: var(--radius-s); padding: 16px 18px; font-size: 15.5px; line-height: 1.5; max-width: 620px;
}
.note::before { content: ""; width: 6px; height: 6px; margin-top: 9px; border-radius: 999px; background: var(--olive); }

.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.soon > span { font-weight: 600; margin-right: 6px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--stone); font-size: 15px; }

@media (max-width: 860px) {
  .taxfree { grid-template-columns: 1fr; gap: 16px; }
  .taxfree-mark { grid-auto-flow: column; justify-content: start; align-items: end; gap: 16px; }
  .taxfree-mark b { font-size: 112px; }
}

/* ---------- Цены ---------- */

.tariffs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tariff { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.tariff-art { aspect-ratio: 2 / 1; overflow: hidden; background: #000; }
.tariff-art img { width: 100%; height: 100%; object-fit: cover; }
.tariff-qflow .tariff-art { background: var(--navy); }
.tariff-body { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 34px); flex: 1; }
.tariff-body > p { color: var(--muted); }
.tariff .prices > div + div { border-left-color: var(--line); }
.tariff .prices span { color: var(--muted); }
.tariff .btn { width: 100%; }
.incl { display: grid; gap: 10px; margin-top: 4px; }
.incl li.incl-title { display: block; font-weight: 600; font-size: 15px; }
.incl li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; line-height: 1.45; }
.incl li .icon { font-size: 18px; margin-top: 3px; color: var(--olive); }
.tariff .fine { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }

.pay-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px;
  padding: 18px 22px; border-radius: 20px; background: var(--stone);
}
.pay-note .channel-ico { width: 40px; height: 40px; border-radius: 12px; background: #0077ff; }
.pay-note .channel-ico .icon { font-size: 21px; }
.pay-note p { flex: 1; min-width: 220px; font-weight: 450; }

@media (max-width: 860px) {
  .tariffs { grid-template-columns: 1fr; }
}

/* ---------- Архив ---------- */

.archive-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.archive-photo { border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.archive-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .archive-photo img { animation: photo-in 1.1s var(--ease) both; }
}
@keyframes photo-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

.entries { border-top: 1px solid var(--line); }
.entry {
  display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 12px 32px; align-items: center;
  padding: 28px 20px; margin-inline: -20px; border-bottom: 1px solid var(--line); border-radius: 0;
  transition: background-color .2s var(--ease);
}
.entry-meta { display: grid; gap: 8px; justify-items: start; }
.entry-meta time { color: var(--muted); font-size: 15px; }
.entry-meta .chip { background: var(--yellow); font-weight: 550; font-size: 14px; padding: 5px 12px; }
.entry-copy { display: grid; gap: 6px; }
.entry-copy b { font-size: clamp(20px, 2vw, 25px); font-weight: 650; line-height: 1.2; letter-spacing: -0.02em; }
.entry-copy span { color: var(--muted); }
.entry i {
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line);
  display: grid; place-items: center; transition: background-color .2s var(--ease), border-color .2s, transform .2s var(--ease);
}
.entry i .icon { font-size: 19px; }
.entry:hover { background: var(--stone); }
.entry:hover i { background: var(--yellow); border-color: var(--yellow); transform: translate(2px, -2px); }
.archive-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 40px; }
.archive-foot p { max-width: 40em; }

@media (max-width: 860px) {
  .archive-intro { grid-template-columns: 1fr; }
  .archive-photo { order: -1; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .entry { grid-template-columns: minmax(0, 1fr) auto; padding: 22px 0; margin-inline: 0; }
  .entry-meta { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; }
  .entry:hover { background: transparent; }
}

/* ---------- Подвал ---------- */

.footer { background: var(--night); color: var(--night-text); padding-block: 64px 36px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--night-line); }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand img { width: 118px; }
.footer-brand p { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.footer-col { display: grid; gap: 12px; align-content: start; font-size: 15.5px; }
.footer-col h2 { font-size: 14px; font-weight: 500; color: var(--night-muted); margin-bottom: 4px; }
.footer-col a { display: inline-flex; align-items: center; gap: 10px; width: fit-content; transition: color .2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-col .icon { font-size: 17px; color: var(--night-muted); }
.legal { margin-top: 28px; max-width: 64em; font-size: 13.5px; line-height: 1.55; color: var(--night-muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; margin-top: 24px; font-size: 13.5px; color: var(--night-muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.25); }
.footer-bottom a:hover { color: var(--night-text); }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- 404 ---------- */
.lost { min-height: calc(100dvh - var(--header-h) - 200px); display: grid; align-items: center; }

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