/* Страницы VIP-раздела (/razdevator): лендинг, статьи, редакторы. Подключается только там — app/head.php. */
.landing-layout {
  --landing-night: #112046;
  --landing-title-size: 2.25rem;
  --landing-heading-size: 1.875rem;
  --landing-reading-title-size: 1.5rem;
  display: flex; flex-direction: column; min-height: 100vh;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 640px) {
  .landing-layout {
    --landing-title-size: 3rem;
    --landing-heading-size: 2.25rem;
    --landing-reading-title-size: 1.875rem;
  }
}
@media (min-width: 1024px) {
  .landing-layout { --landing-title-size: 3.75rem; }
}
.landing-layout[data-landing-palette="plum"] { --landing-night: #482354; --landing-halo: color-mix(in srgb, var(--landing-night) 15%, var(--bg)); }
.landing-layout[data-landing-palette="teal"] { --landing-night: #07524e; --landing-halo: color-mix(in srgb, var(--landing-night) 15%, var(--bg)); }
.landing-wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.landing-bar { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: var(--card); }
.landing-bar__in { display: flex; min-height: 68px; align-items: center; gap: 8px; flex-wrap: wrap; }
.landing-brand { margin-right: auto; color: var(--head); font-size: clamp(18px, 3.6vw, 22px); font-weight: 900; letter-spacing: -.025em; overflow-wrap: anywhere; }
.landing-brand--header { display: inline-flex; align-items: center; gap: 8px; min-width: 0; min-height: 44px; }
.landing-brand__icon {
  flex: none; width: clamp(30px, 5vw, 36px); height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--landing-edge, var(--line));
}
.landing-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 clamp(12px, 3vw, 26px); font-size: 14px; color: var(--ink-2); }
.landing-nav a, .landing-back { display: inline-flex; align-items: center; min-height: 44px; }
.landing-nav a:hover, .landing-back:hover { color: var(--head); text-decoration: underline; text-underline-offset: 4px; }
.landing-back { gap: 6px; padding-inline: 6px; font-size: 14px; font-weight: 650; }
.landing-menu { display: none; }
.landing-main { flex: 1; outline: none; }
.landing-hero {
  background: radial-gradient(ellipse 58% 46% at 73% 44%, var(--landing-halo, var(--violet-soft)), transparent), var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  .landing-hero { position: relative; isolation: isolate; }
  .landing-hero::before {
    --glow-size: clamp(240px, 42vw, 500px);
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(circle closest-side,
      color-mix(in srgb, var(--accent) 13%, transparent),
      color-mix(in srgb, var(--accent) 5%, transparent) 50%, transparent);
    background-size: min(100%, var(--glow-size)) min(100%, var(--glow-size));
    background-repeat: no-repeat;
    animation: landing-hero-glow 13s ease-in-out -2.5s infinite alternate;
  }
  @keyframes landing-hero-glow {
    0% { background-position: 12% 42%; }
    55% { background-position: 86% 16%; }
    100% { background-position: 45% 84%; }
  }
}
.landing-hero__in { display: grid; align-items: center; justify-items: center; gap: 16px; padding-block: clamp(44px, 8vw, 108px); }
.landing-hero-image { width: min(100%, 600px); max-height: 480px; aspect-ratio: auto 3 / 2; object-fit: contain; border-radius: var(--r-lg); }
.landing-image-slot {
  display: grid; place-items: center; position: relative; overflow: hidden; aspect-ratio: 16 / 10;
  border: 1px dashed var(--line-3); border-radius: var(--r-md); background: var(--soft);
}
.landing-image-slot:has(img) { border-style: solid; }
.landing-image-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.landing-image-slot__placeholder {
  display: grid; justify-items: center; gap: 8px; padding: 8px; color: var(--ink-2);
  text-align: center; font-size: 13px; line-height: 1.3;
}
.landing-hero-pair {
  width: min(100%, 660px); min-width: 0; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(10px, 2vw, 16px); background: var(--card);
}
.landing-hero-pair__frames { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(6px, 1vw, 10px); }
.landing-hero-pair[data-focus="before"] .landing-hero-pair__frames { grid-template-columns: minmax(0, 1.55fr) minmax(0, .65fr); }
.landing-hero-pair[data-focus="after"] .landing-hero-pair__frames { grid-template-columns: minmax(0, .65fr) minmax(0, 1.55fr); }
.landing-hero-pair figure { min-width: 0; margin: 0; position: relative; }
.landing-hero-pair .landing-image-slot { height: clamp(184px, 32vw, 412px); aspect-ratio: auto; }
.landing-hero-pair__after .landing-image-slot {
  border-style: solid;
  background:
    radial-gradient(ellipse at 21% 14%, color-mix(in srgb, var(--head) 55%, transparent), transparent 67%),
    radial-gradient(ellipse at 82% 88%, color-mix(in srgb, var(--accent) 31%, transparent), transparent 69%),
    color-mix(in srgb, var(--head) 44%, var(--accent-soft));
  box-shadow: inset 0 1px 2px color-mix(in srgb, var(--head) 38%, transparent);
}
.landing-hero-pair--sample figure:first-child img { filter: saturate(.34) brightness(.83); }
.landing-hero-pair__after .landing-image-slot img { filter: blur(12px); transform: scale(1.15); }
.landing-hero-pair__after .landing-image-slot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(145deg, rgb(255 242 248 / 44%), rgb(237 211 226 / 26%) 55%, rgb(240 190 215 / 30%));
}
.landing-hero-pair figcaption {
  position: absolute; z-index: 1; inset-inline-start: 9px; bottom: 9px; max-width: calc(100% - 18px); overflow-wrap: anywhere; pointer-events: none;
  border: 1px solid var(--line-3); border-radius: 999px; padding: 3px 9px;
  background: var(--card); color: var(--head); font-size: 12px; font-weight: 700;
}
.landing-hero-pair figure:last-child figcaption { inset-inline-start: auto; inset-inline-end: 9px; }
.landing-hero-pair__toggle {
  position: absolute; inset: 0; padding: 0;
  border: 2px solid transparent; border-radius: var(--r-md); background: transparent; cursor: pointer;
}
.landing-hero-pair__toggle:disabled { display: none; }
.landing-hero-pair__toggle[aria-pressed="true"] { border-color: var(--accent); }
.landing-hero-pair__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.landing-hero-pair__age {
  position: absolute; z-index: 2; top: 50%; left: 50%; translate: -50% -50%;
  display: grid; place-items: center; gap: 5px; width: max-content; min-width: 64px; max-width: calc(100% - 8px); min-height: 54px; padding: 9px 10px;
  border: 1px solid var(--line-3); border-radius: 15px; background: var(--card); color: var(--head); box-shadow: var(--shadow);
  font: inherit; font-size: clamp(19px, 3vw, 30px); font-weight: 850; line-height: 1; text-decoration: none; cursor: pointer;
}
.landing-hero-pair__age-label { font-size: 12px; font-weight: 600; color: var(--ink-2); overflow-wrap: anywhere; }
a.landing-hero-pair__age:is(:hover, :focus-visible) { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 24%, transparent), var(--shadow); }
.landing-hero-pair__age:disabled { cursor: default; }
@media (prefers-reduced-motion: no-preference) {
  .landing-hero-pair__frames { transition: grid-template-columns .3s ease; }
}
.landing-hero__content { display: grid; justify-items: center; gap: 15px; text-align: center; min-width: 0; }
.landing-hero__author { color: var(--ink-2); font-size: 14px; }
.landing-age { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--head); font-size: 13px; font-weight: 750; }
.landing-hero h1 { font-size: var(--landing-title-size); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; overflow-wrap: anywhere; }
.landing-lead { max-width: 46ch; color: var(--ink-2); font-size: clamp(16px, 2vw, 18px); line-height: 1.6; }
.landing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 5px; }
.landing-action { min-height: 52px; padding-inline: 20px; }
:is(.landing-hero, .landing-close, .landing-reading) .landing-telegram-primary {
  --telegram-blue: #0878ad;
  background: var(--telegram-blue); color: #fff;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--telegram-blue) 27%, transparent);
}
:is(.landing-hero, .landing-close, .landing-reading) .landing-telegram-primary:not(:disabled):hover {
  background: color-mix(in srgb, var(--telegram-blue) 92%, black);
}
:is(.landing-hero, .landing-close, .landing-reading) .landing-telegram-primary:disabled { opacity: 1; filter: saturate(.75); }
.landing-mode-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 14px; }
.landing-mode-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--head); font-size: 15px; font-weight: 720; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.landing-actions > .landing-mode-link { align-self: center; }
.landing-hero .landing-hero__online {
  --online-fill: #54283a; --online-border: #a3667c; --online-ink: #fff4f8;
  justify-content: center; min-height: 52px; padding-inline: 16px; border-radius: 14px;
  border: 1px solid var(--online-border); background: var(--online-fill); color: var(--online-ink); text-decoration: none;
}
.landing-hero__online .ic { flex: none; width: 17px; height: 17px; }
.landing-hero .landing-hero__online:hover {
  border-color: color-mix(in srgb, var(--online-border) 80%, var(--online-ink));
  background: color-mix(in srgb, var(--online-fill), var(--online-border) 12%);
}
.landing-reading { padding-block: clamp(25px, 5vw, 64px) clamp(52px, 8vw, 96px); }
.landing-reading__header, .landing-reading__article { max-width: 72ch; margin-bottom: 34px; overflow-wrap: anywhere; }
.landing-reading__article {
  margin-inline: auto; padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line); border-radius: 20px; background: var(--card);
}
.landing-reading h1 { font-size: var(--landing-reading-title-size); font-weight: 900; line-height: 1.2; letter-spacing: -.025em; }
.landing-reading__lead { margin-top: 14px; color: var(--ink-2); font-size: 16px; line-height: 1.625; }
.landing-reading__cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: var(--soft); }
.landing-reading__article > .landing-reading__cover { margin-top: 18px; }
.landing-reading__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; color: var(--ink-2); font-size: .8125rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.landing-reading__article > .landing-reading__meta { margin-top: 14px; }
.landing-reading__demo { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.landing-reading__demo > span { display: inline-flex; align-items: center; gap: 4px; }
.landing-reading__demo .ic { flex: none; width: 15px; height: 15px; }
.landing-reading__demo-label { padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; font-size: .75rem; }
.landing-reading__article h2 { margin: 28px 0 9px; font-size: clamp(18px, 2.5vw, 22px); font-weight: 900; letter-spacing: -.025em; }
.landing-reading__article p + p { margin-top: 14px; }
.landing-reading__article p { line-height: 1.625; }
.landing-reading__list { display: grid; gap: 5px; margin-block: 12px; padding-inline-start: 1.3em; list-style: disc; }
ol.landing-reading__list { list-style: decimal; }
ol.landing-reading__list--labeled { list-style: none; padding-inline-start: 0; }
.landing-reading__table { width: 100%; margin-block: 15px; border-collapse: collapse; table-layout: fixed; font-size: .9rem; text-align: start; }
.landing-reading__table :is(th, td) { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.landing-reading__table th { background: var(--soft); text-align: start; }
.landing-reading__table-scroll { overflow-x: auto; margin-block: 15px; }
.landing-reading__table-scroll .landing-reading__table { min-width: 32rem; margin: 0; }
.landing-reading__actions, .landing-reading-photo__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.landing-reading__actions { margin-top: 22px; }
.landing-reading__actions .btn { max-width: 100%; height: auto; min-height: 46px; padding-block: 8px; text-align: center; white-space: normal; }
.landing-reading-photo {
  width: min(100%, 420px); margin: 24px auto; padding: clamp(14px, 3vw, 22px);
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-lg); text-align: center;
}
.landing-reading-photo h2 { margin: 0 0 6px; }
.landing-reading-photo p { color: var(--ink-2); }
.landing-reading-photo__actions { justify-content: center; margin-top: 12px; }
.landing-reading-photo img { display: block; max-width: 100%; max-height: 280px; margin: 14px auto 0; border-radius: 10px; }
.landing-reading-photo [hidden] { display: none; }
.landing-reading-photo [role="status"]:not(:empty) { margin-top: 9px; font-size: .875rem; }
.landing-reading__featured {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-auto-rows: 1fr;
  gap: 14px; margin: 0 0 32px; padding: 0; list-style: none;
}
.landing-reading__feature { display: flex; min-width: 0; }
.landing-reading__feature--lead { grid-row: span 2; }
.landing-reading__feature a {
  position: relative; isolation: isolate; display: flex; align-items: flex-end; width: 100%; min-height: 156px;
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--landing-night); color: var(--head); overflow-wrap: anywhere;
}
.landing-reading__feature a::after {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(180deg, transparent 12%, color-mix(in srgb, var(--landing-night) 38%, transparent) 48%,
    color-mix(in srgb, var(--bg) 98%, transparent) 100%);
}
.landing-reading__feature:not(.landing-reading__feature--lead) a::after {
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 30%, transparent),
    color-mix(in srgb, var(--bg) 65%, transparent) 55%, color-mix(in srgb, var(--bg) 98%, transparent));
}
.landing-reading__feature .landing-reading__cover {
  position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0;
}
.landing-reading__feature-copy { min-width: 0; padding: clamp(12px, 2.3vw, 21px); }
.landing-reading__feature h2 { font-size: clamp(16px, 2.2vw, 24px); font-weight: 850; line-height: 1.16; letter-spacing: -.02em; }
.landing-reading__feature--lead h2 { font-size: clamp(26px, 4vw, 42px); }
.landing-reading__feature .landing-reading__meta { margin-top: 6px; gap: 3px 10px; }
.landing-reading__feature .landing-reading__demo { column-gap: 10px; }
.landing-reading__feature a:is(:hover, :focus-visible) { border-color: var(--accent); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .landing-reading__feature .landing-reading__cover { transition: transform .32s ease; }
  .landing-reading__feature a:hover .landing-reading__cover { transform: scale(1.035); }
}
@media (max-width: 680px) {
  .landing-reading__featured { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 10px; }
  .landing-reading__feature--lead { grid-column: 1 / -1; grid-row: auto; }
  .landing-reading__feature--lead a { min-height: clamp(196px, 56vw, 320px); }
  .landing-reading__feature .landing-reading__meta { font-size: .75rem; }
}
.landing-reading__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 16px; padding: 0; list-style: none; }
@media (max-width: 680px) { .landing-reading__grid { grid-template-columns: minmax(0, 1fr); } }
.landing-reading__grid li { display: flex; min-width: 0; }
.landing-reading__grid a {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; width: 100%; padding: clamp(14px, 2vw, 20px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow-wrap: anywhere;
}
.landing-reading__grid a:hover { border-color: var(--accent); }
.landing-reading__grid :is(h2, h3) { font-size: 18px; font-weight: 900; line-height: 1.3; letter-spacing: -.025em; }
.landing-reading__grid p { color: var(--ink-2); }
.landing-reading__more h2 { margin-bottom: 14px; }
.landing-art { position: relative; display: grid; place-items: center; width: min(100%, 190px); aspect-ratio: 1; }
.landing-art__orbit, .landing-art__orbit::before, .landing-art__orbit::after { position: absolute; border-radius: 50%; }
.landing-art__orbit { inset: 10%; border: 1px solid var(--line-3); }
.landing-art__orbit::before { inset: -10%; border: 1px dashed var(--line-3); content: ""; }
.landing-art__orbit::after { top: 5%; left: 17%; width: 10px; height: 10px; background: var(--brand-orange); content: ""; }
.landing-art__tile {
  z-index: 1; display: grid; place-items: center; width: 43%; aspect-ratio: 1;
  border-radius: 28%; color: var(--gold-ink); background: var(--landing-night);
  box-shadow: var(--shadow-hi); transform: rotate(-12deg);
}
.landing-guide { padding-block: clamp(36px, 6vw, 74px); background: var(--landing-night); color: var(--gold-ink); }
.landing-main :is(.landing-modes, .landing-guide, .landing-info, .landing-faq, .landing-tools, .landing-media, .landing-close, .landing-facts, .landing-examples, .landing-demo) h2 { font-size: var(--landing-heading-size); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; overflow-wrap: anywhere; }
.landing-guide h2 { color: inherit; }
.landing-guide__grid { display: grid; align-items: start; gap: 16px; margin-top: 24px; }
.landing-guide__sidebar { display: grid; gap: 18px; }
.landing-section-lead { color: var(--ink-2); }
.landing-guide .landing-section-lead { max-width: 68ch; margin-top: 8px; }
.landing-steps { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; counter-reset: launch-step; }
.landing-steps li, .landing-guide__note {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
  color: var(--head); padding: clamp(14px, 2.5vw, 24px); overflow-wrap: anywhere;
}
.landing-steps li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start;
  align-items: start; gap: 14px; counter-increment: launch-step;
}
.landing-steps li::before {
  display: grid; place-items: center; min-width: 32px; height: 32px; padding-inline: 4px;
  border-radius: 10px; background: var(--accent-soft); color: var(--head);
  font-size: 14px; font-weight: 800; content: counter(launch-step);
}
.landing-steps h3 { color: inherit; font-size: 18px; margin-bottom: 6px; }
.landing-guide__note h3 { margin: 10px 0 6px; font-size: 19px; }
.landing-steps p, .landing-guide__note p { color: var(--ink-2); }
.landing-modes, .landing-tools { padding-block: clamp(36px, 7vw, 84px); }
.landing-mode { min-width: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: clamp(18px, 2.8vw, 28px); }
.landing-mode .landing-image-slot, .landing-examples__card .landing-image-slot { margin-bottom: 16px; }
.landing-mode h3 { font-size: 21px; margin-bottom: 8px; }
.landing-mode p { color: var(--ink-2); }
.landing-facts { padding-block: clamp(26px, 4vw, 48px); border-block: 1px solid var(--line); background: var(--soft); }
.landing-main .landing-facts h2 { text-align: center; font-size: clamp(24px, 3.1vw, 36px); }
.landing-facts__grid, .landing-examples__grid { display: grid; gap: 14px; margin-top: 20px; }
.landing-facts__grid { gap: 1px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.landing-facts__card { min-width: 0; padding: clamp(16px, 3.4vw, 34px); background: var(--card); text-align: center; overflow-wrap: anywhere; }
.landing-facts__card h3 { color: var(--head); font-size: clamp(25px, 3.2vw, 38px); margin-bottom: 6px; letter-spacing: -.04em; }
.landing-facts__card p { color: var(--ink-2); }
#custom-stats .landing-facts__card h3 { font-size: clamp(29px, 4.2vw, 46px); font-variant-numeric: tabular-nums; }
.landing-examples__card p, .landing-demo__lead { color: var(--landing-local-muted, var(--ink-2)); }
.landing-examples, .landing-demo { padding-block: clamp(36px, 7vw, 84px); }
.landing-examples__card { min-width: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: 22px; }
.landing-examples__card h3 { font-size: 20px; margin-bottom: 8px; }
.landing-demo { border-block: 1px solid var(--line); background: var(--soft); }
.landing-demo__lead { max-width: 60ch; margin-top: 10px; }
.landing-demo__grid { display: grid; gap: 16px; margin-top: 28px; }
.landing-upload { display: grid; gap: 28px; margin-top: clamp(24px, 4vw, 48px); }
.landing-photo {
  min-width: 0; display: grid; align-content: stretch; gap: 8px; overflow-wrap: anywhere;
}
.landing-photo .landing-photo__drop { min-height: clamp(230px, 32vw, 348px); padding: clamp(16px, 3vw, 32px); }
.landing-photo__empty { display: grid; justify-items: center; gap: 10px; }
.landing-photo__replace { display: none; color: var(--ink-2); font-size: 14px; text-decoration: underline; text-underline-offset: .2em; }
.landing-photo__image {
  display: block; width: 100%; max-height: min(50vh, 340px); border-radius: var(--r-md); object-fit: contain;
}
.landing-photo__status { font-size: 14px; }
.landing-photo__status:empty { position: absolute; }
.landing-photo .landing-photo__status.is-error { color: var(--danger-ink); font-weight: 650; }
.landing-photo__clear { justify-self: start; min-height: 44px; }
.landing-upload__controls {
  display: grid; align-content: center; gap: 22px; min-width: 0;
  border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 32px); background: var(--card);
}
.landing-upload__field { display: grid; gap: 12px; font-weight: 650; }
.landing-mode-picker { position: relative; min-width: 0; }
.landing-mode-picker[open] { z-index: 3; }
.landing-mode-picker summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px;
  padding: 10px 14px; list-style: none; cursor: pointer; overflow-wrap: anywhere;
  border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--bg);
}
.landing-mode-picker summary::-webkit-details-marker { display: none; }
.landing-mode-picker[open] summary { border-color: var(--line-3); }
.landing-mode-picker__options {
  position: absolute; inset: calc(100% + 7px) 0 auto; display: grid; gap: 4px;
  max-height: min(50vh, 19rem); overflow: auto; overscroll-behavior: contain; padding: 6px;
  border: 1px solid var(--line-3); border-radius: 14px; background: var(--card); box-shadow: var(--shadow-hi);
}
.landing-mode-picker__option {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px;
  padding: 8px 11px; cursor: pointer; border-radius: 9px; font-weight: 550; color: var(--ink); overflow-wrap: anywhere;
}
.landing-mode-picker__option:hover { background: var(--soft); }
.landing-mode-picker__option:has(input:checked) { background: var(--accent-soft); color: var(--head); font-weight: 700; }
.landing-mode-picker__option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
.landing-upload__controls fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.landing-upload__controls legend { padding: 0; margin-bottom: 8px; font-weight: 650; }
.landing-upload__sizes { display: flex; gap: 4px 14px; flex-wrap: wrap; }
.landing-upload__sizes label { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); cursor: pointer; min-height: 36px; }
.landing-upload__sizes input { margin: 0; accent-color: var(--accent); }
.landing-upload__open { justify-content: center; min-height: 46px; }
.landing-upload__open:disabled { opacity: 1; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); box-shadow: none; }
.landing-photo__mobile { display: none; }
.landing-use-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 18px; padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.landing-use-note > .ic { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.landing-use-note h3 { font-size: .95rem; }
.landing-use-note p { margin-top: 4px; color: var(--ink-2); font-size: .875rem; }
.landing-result {
  position: fixed; inset: 0; width: min(540px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  margin: auto; padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-radius: 20px;
  color: var(--head); background: var(--card); box-shadow: var(--shadow-hi); text-align: center;
  overflow: auto; overflow-wrap: anywhere;
}
.landing-result::backdrop { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); }
.landing-result h3 { margin-top: 4px; padding-inline: 20px; font-size: clamp(22px, 4.8vw, 30px); }
.landing-result[data-preview-stage="waiting"] .landing-result__title {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.landing-result__loading {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px;
  width: min(100%, 380px); margin-inline: auto; padding-inline-end: 28px; text-align: start;
  color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.landing-result__ring {
  position: relative; display: grid; place-items: center; width: clamp(54px, 9vw, 72px); aspect-ratio: 1;
  border-radius: 50%; color: var(--head); font-weight: 750;
  background: conic-gradient(var(--accent) var(--preview-percent, 0%), var(--line) 0);
}
.landing-result__ring::before { position: absolute; inset: 3px; border-radius: inherit; background: var(--card); content: ""; }
.landing-result__ring span { position: relative; }
.landing-result__meter { display: grid; gap: 8px; font-size: 15px; }
.landing-result__countdown { color: var(--accent); font-weight: 700; }
.landing-result__loading progress {
  appearance: none; width: 100%; height: 6px; border: 0; border-radius: 999px;
  overflow: hidden; background: var(--line); accent-color: var(--accent);
}
.landing-result__loading progress::-webkit-progress-bar { background: var(--line); }
.landing-result__loading progress::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
.landing-result__loading progress::-moz-progress-bar { background: var(--accent); border-radius: 999px; }
.landing-result__frame { margin-top: 22px; overflow: hidden; border-radius: 18px; background: var(--bg); }
.landing-result__image {
  display: block; width: 100%; height: clamp(180px, 62dvh, 630px); object-fit: contain;
  filter: blur(24px); transform: scale(1.06);
}
.landing-result[data-preview-size="compact"] .landing-result__image { height: clamp(150px, 29dvh, 300px); }
.landing-result[data-preview-size="large"] .landing-result__image { height: clamp(210px, 72dvh, 730px); }
.landing-result[data-preview-stage="waiting"] .landing-result__frame {
  width: min(100%, 288px); margin-inline: auto; border: 1px solid var(--line-3); padding: 11px;
}
.landing-result[data-preview-stage="waiting"] .landing-result__image {
  width: auto; max-width: 100%; height: auto; max-height: min(52dvh, 462px); margin-inline: auto;
  border-radius: 12px; filter: none; transform: none;
}
.landing-result[data-preview-stage="waiting"][data-preview-size="compact"] .landing-result__image { max-height: min(33dvh, 300px); }
.landing-result[data-preview-stage="waiting"][data-preview-size="large"] .landing-result__image { max-height: min(58dvh, 510px); }
.landing-result__action { margin-top: 22px; }
.landing-result[data-preview-stage="waiting"] .landing-result__action { border-top: 1px solid var(--line); padding-top: 18px; }
.landing-result__action .landing-action { width: 100%; justify-content: center; height: auto; padding-block: 10px; text-wrap: balance; }
.landing-result__action p { color: var(--ink-2); font-size: 14px; margin-top: 8px; }
.landing-result__action .landing-result__telegram { margin-top: 0; color: var(--head); font-size: 17px; font-weight: 800; text-transform: uppercase; }
.landing-result[data-preview-stage="ready"] :is(.landing-result__telegram, .landing-result__lead) { display: none; }
.landing-result__action .landing-result__lead { margin: 0 0 12px; }
.landing-result__telegram + .landing-result__lead { margin-top: 6px; }
.landing-result__close {
  position: absolute; top: 8px; inset-inline-end: 8px; width: 44px; height: 44px; padding: 0;
  color: var(--ink); background: transparent; box-shadow: none;
}
.landing-result__close:hover { background: var(--soft); }
.landing-result__close:focus-visible { outline-width: 2px; outline-offset: 1px; }
@media (max-width: 659px) {
  .landing-result h3 { padding-inline: 32px; }
  .landing-result__loading { gap: 12px; }
  .landing-result__meter { font-size: 14px; line-height: 1.35; }
  .landing-result__frame { margin-top: 16px; }
  .landing-result__image { height: clamp(150px, 39dvh, 330px); }
  .landing-result[data-preview-size="large"] .landing-result__image { height: clamp(190px, 53dvh, 380px); }
  .landing-result[data-preview-stage="waiting"] .landing-result__frame { padding: 8px; }
  .landing-result[data-preview-stage="waiting"] .landing-result__image { max-height: 39dvh; }
  .landing-result[data-preview-stage="waiting"][data-preview-size="large"] .landing-result__image { max-height: 45dvh; }
  .landing-result__action { margin-top: 16px; }
  .landing-result[data-preview-stage="waiting"] .landing-result__action { padding-top: 12px; }
  .landing-result__action p { line-height: 1.35; }
  .landing-result__action .landing-result__telegram { font-size: 15px; }
}
.landing-result[data-preview-stage="ready"] {
  --ready-surface: #0b0d1e;
  --ready-border: #222537;
  --ready-photo: #090a14;
  --ready-ink: #f3f4ff;
  --ready-muted: #a4a8bf;
  --ready-blue: #0073ca;
  --ready-blue-end: #005ea5;
  --ready-glow: #5843f4;
  --ready-image-height: clamp(220px, 67dvh, 625px);
  width: min(448px, calc(100% - 24px)); padding: clamp(18px, 3vw, 28px);
  color: var(--ready-ink); border-color: var(--ready-border); background: var(--ready-surface);
  color-scheme: dark;
}
.landing-result[data-preview-stage="ready"]::backdrop { background: color-mix(in srgb, var(--ready-photo, var(--bg)) 90%, transparent); }
.landing-result[data-preview-stage="ready"] .landing-result__title { margin: 0; padding: 0; font-size: clamp(21px, 4vw, 27px); line-height: 1.2; }
.landing-result__subtitle { margin-top: 9px; color: var(--ready-muted); font-size: 14px; line-height: 1.45; }
.landing-result[data-preview-stage="ready"] .landing-result__frame {
  position: relative; margin-top: 19px; border-radius: 12px; background: var(--ready-photo);
}
.landing-result[data-preview-stage="ready"] .landing-result__image {
  height: var(--ready-image-height); object-fit: cover; filter: blur(32px) brightness(.62); transform: scale(1.14);
}
.landing-result[data-preview-stage="ready"][data-preview-size="compact"] { --ready-image-height: clamp(155px, 36dvh, 320px); }
.landing-result[data-preview-stage="ready"][data-preview-size="large"] { --ready-image-height: clamp(245px, 73dvh, 700px); }
.landing-result__overlay {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ready-photo) 18%, transparent), color-mix(in srgb, var(--ready-photo) 57%, transparent));
  color: var(--ready-ink); font-size: 14px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase;
}
.landing-result[data-preview-stage="ready"] .landing-result__action { margin-top: 17px; }
.landing-result[data-preview-stage="ready"] .landing-result__action .landing-action {
  min-height: 46px; border-radius: 12px; color: var(--ready-ink);
  background: linear-gradient(130deg, var(--ready-blue), var(--ready-blue-end));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--ready-glow) 38%, transparent);
}
.landing-result[data-preview-stage="ready"] .landing-result__action .landing-action:not(:disabled):hover { filter: brightness(1.16); }
.landing-result[data-preview-stage="ready"] .landing-result__action .landing-action:disabled { opacity: .72; box-shadow: none; }
.landing-result[data-preview-stage="ready"] .landing-result__action p { color: var(--ready-muted); }
.landing-result__dismiss {
  min-height: 44px; margin: 14px auto 0; padding-inline: 23px; border: 1px solid var(--ready-border); border-radius: 12px;
  background: color-mix(in srgb, var(--ready-surface) 90%, var(--ready-ink)); color: var(--ready-ink); box-shadow: none;
}
.landing-result__dismiss:hover { background: color-mix(in srgb, var(--ready-surface) 82%, var(--ready-ink)); }
@media (max-width: 659px) {
  .landing-result[data-preview-stage="ready"] { --ready-image-height: clamp(160px, calc(100dvh - 305px), 420px); }
  .landing-result[data-preview-stage="ready"][data-preview-size="standard"]:has(.landing-action:disabled) {
    --ready-image-height: clamp(155px, calc(100dvh - 345px), 395px);
  }
  .landing-result[data-preview-stage="ready"][data-preview-size="large"] { --ready-image-height: clamp(185px, calc(100dvh - 260px), 475px); }
}
.landing-demo__choices {
  display: grid; align-content: start; gap: 9px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(12px, 2.5vw, 24px);
}
.landing-demo__choice { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.landing-demo__choice[open] { border-color: var(--line-3); }
.landing-demo__choice summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  list-style: none; cursor: pointer; color: var(--head); padding: 14px 16px; font-weight: 700;
}
.landing-demo__choice summary::-webkit-details-marker { display: none; }
.landing-demo__choice p { padding: 0 16px 15px; color: var(--ink-2); }
.landing-demo__entry {
  display: grid; justify-items: center; align-content: center; gap: 10px; min-width: 0;
  border: 1px solid var(--line-3); border-radius: var(--r-lg); padding: clamp(16px, 3.5vw, 36px);
  background: var(--card); text-align: center; overflow-wrap: anywhere;
}
.landing-demo__symbol {
  width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 4px;
  border: 1px solid var(--line-3); border-radius: 17px; color: var(--head); background: var(--accent-soft);
}
.landing-demo__entry h3 { font-size: clamp(20px, 2.5vw, 27px); letter-spacing: -.035em; }
.landing-demo__entry p { max-width: 32ch; color: var(--ink-2); }
.landing-demo__entry .landing-action { justify-content: center; width: 100%; max-width: 315px; margin-top: 6px; }
.landing-demo__entry .landing-demo__status {
  padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-md);
  margin-top: 6px; color: var(--head); font-size: 14px; background: var(--accent-soft);
}
.landing-info { border-bottom: 1px solid var(--line); }
.landing-info#rezultat { background: var(--card); }
.landing-info__in, .landing-faq { display: grid; gap: 22px; padding-block: clamp(36px, 7vw, 84px); }
.landing-topics { display: grid; gap: 20px; }
.landing-topic + .landing-topic { border-top: 1px solid var(--line); padding-top: 20px; }
.landing-topic h3 { font-size: 19px; margin-bottom: 6px; }
.landing-topic p { color: var(--ink-2); }
.landing-articles { list-style: none; padding: 0; margin: 0; }
.landing-articles li + li { border-top: 1px solid var(--line); }
.landing-articles a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding-block: 12px; font-weight: 650; }
.landing-articles a:hover { text-decoration: underline; }
.landing-articles p { margin-bottom: 12px; color: var(--landing-local-muted, var(--ink-2)); }
.landing-article-teasers:not([data-landing-style]) {
  background: linear-gradient(165deg, color-mix(in srgb, var(--landing-night) 45%, var(--bg)), var(--bg) 70%);
}
.landing-article-teasers__in { padding-block: clamp(32px, 6vw, 70px); }
.landing-article-teasers__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.landing-article-teasers__head .btn { border: 1px solid var(--line-3); }
.landing-article-teasers__grid, .landing-faq__groups {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px;
}
.landing-article-teasers__grid { margin: 0; padding: 0; list-style: none; }
.landing-article-teasers__grid li { display: flex; min-width: 0; }
.landing-article-teasers__grid a {
  display: grid; grid-template: auto 1fr / minmax(0, 1fr) auto; width: 100%; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); color: var(--head);
}
.landing-article-teasers__grid a:is(:hover, :focus-visible) { border-color: var(--accent); }
.landing-article-teasers__grid a:focus-visible { outline-offset: 3px; }
.landing-article-teasers__media {
  grid-column: 1 / -1; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 2.2; background: var(--accent-soft); color: var(--accent);
}
.landing-article-teasers__media .landing-reading__cover { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.landing-article-teasers__media > .ic { width: 32px; height: 32px; }
.landing-article-teasers__copy { padding: 16px 8px 18px 16px; overflow-wrap: anywhere; }
.landing-article-teasers__copy h3 { font-size: clamp(17px, 1.65vw, 20px); line-height: 1.25; }
.landing-article-teasers__copy p { margin-top: 6px; color: var(--ink-2); font-size: .9rem; line-height: 1.55; }
.landing-article-teasers__arrow {
  display: grid; place-items: center; width: 32px; height: 32px; margin: 14px 12px 0 0;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent);
}
.landing-article-teasers__arrow .ic { width: 17px; height: 17px; }
.landing-faq.landing-faq--grouped { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: clamp(32px, 6vw, 70px); }
.landing-faq--grouped .landing-faq__group { min-width: 0; align-self: start; padding: 8px 14px 10px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.landing-faq__group h3 { display: flex; align-items: center; gap: 10px; padding: 8px 4px 12px; color: var(--head); font-size: 1rem; }
.landing-faq__group h3 .ic { flex: none; width: 19px; height: 19px; color: var(--accent); }
.landing-faq__group .faq { gap: 0; color: var(--head); }
.landing-faq--grouped .landing-faq__group .faq details { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.landing-faq__group .faq summary { min-height: 44px; padding: 12px 28px 12px 4px; font-size: .9375rem; line-height: 1.45; overflow-wrap: anywhere; }
.landing-faq__group .faq summary::after { right: 8px; width: 8px; height: 8px; }
.landing-faq__group .faq details[open] summary, .landing-faq__group .faq summary:hover { color: var(--accent); }
.landing-faq__group .faq .faq__a { padding: 0 9px 13px 4px; font-size: .875rem; line-height: 1.55; overflow-wrap: anywhere; }
.landing-faq__more {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 6px 12px; border: 1px solid var(--line-3); border-radius: var(--r-sm); color: var(--head); background: var(--card); font-weight: 650;
}
.landing-faq__more:hover { border-color: var(--accent); }
.landing-faq__more .ic { flex: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .landing-article-teasers__media .landing-reading__cover, .landing-article-teasers__arrow { transition: transform .28s ease; }
  .landing-article-teasers__grid a:hover .landing-reading__cover { transform: scale(1.035); }
  .landing-article-teasers__grid a:hover .landing-article-teasers__arrow { transform: translateX(2px); }
}
@media (prefers-reduced-motion: reduce) {
  .landing-faq__group .faq summary::after { transition: none; }
}
.landing-media { display: grid; gap: 18px; padding-block: clamp(36px, 7vw, 84px); }
.landing-media img { width: min(100%, 780px); max-height: 660px; object-fit: contain; border-radius: var(--r-lg); }
.landing-media p { color: var(--landing-local-muted, var(--ink-2)); }
.landing-close { background: var(--landing-night); color: var(--gold-ink); padding-block: clamp(32px, 6vw, 68px); }
.landing-close__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.landing-close__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.landing-close h2 { color: inherit; }
.landing-close p { margin-top: 8px; color: color-mix(in srgb, var(--gold-ink) 84%, transparent); }
.landing-close .landing-action:not(.landing-telegram-primary) { background: var(--gold-ink); color: var(--landing-night); }
.landing-close .landing-action:not(.landing-telegram-primary):hover { background: color-mix(in srgb, var(--gold-ink) 92%, var(--landing-night)); }

@media (prefers-reduced-motion: no-preference) {
  .landing-heading-letters > span { opacity: 0; }
  .landing-heading-letters.is-typing > span { animation: landing-type-letter 1ms step-end var(--letter-delay) forwards; }
  @keyframes landing-type-letter { to { opacity: 1; } }

  .landing-reveal {
    opacity: 0;
    translate: 0 12px;
  }
  .landing-reveal.is-in {
    transition: opacity .46s ease, translate .46s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--landing-reveal-delay, 0ms);
  }
  .landing-reveal:is(.is-in, :focus-within, :target) { opacity: 1; translate: none; }
  .landing-reveal:is(:focus-within, :target) { transition: none; }
  .landing-upload.has-photo .landing-photo__image,
  .landing-reading-photo img:not([hidden]) { animation: landing-photo-appear .35s ease-out; }
  .landing-result[open][data-preview-stage="waiting"],
  .landing-result[open][data-preview-stage="ready"] .landing-result__frame { animation: landing-photo-appear .4s ease-out; }
  .landing-telegram-primary:not(:disabled):is(:focus-visible, :active) > .ic { animation: landing-plane .5s ease-in-out; }

  @keyframes landing-photo-appear {
    from { opacity: .25; translate: 0 7px; scale: .985; }
    to { opacity: 1; translate: none; scale: 1; }
  }
  @keyframes landing-plane {
    0%, 100% { transform: none; }
    50% { transform: translate(5px, -5px) rotate(-10deg); }
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .landing-telegram-primary:not(:disabled):hover > .ic { animation: landing-plane .5s ease-in-out; }
}
.landing-foot { margin-top: 0; }
.landing-foot .foot__in { display: grid; justify-items: center; text-align: center; }
.landing-foot .foot__nav { align-items: center; justify-content: center; }
.landing-foot .foot__in > :is(.foot__logo, .landing-foot__brand, .foot__copy) { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 660px) {
  .landing-foot .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); }
  .landing-foot .foot__in > :is(.foot__logo, .landing-foot__brand) { justify-self: start; text-align: start; }
  .landing-foot .foot__copy { justify-self: end; text-align: end; }
}
.landing-main section[data-landing-style="paper"] { color: var(--ink); background: var(--card); }
.landing-main section[data-landing-style="soft"] { color: var(--ink); background: var(--soft); }
.landing-main section[data-landing-style="dark"] {
  color: var(--gold-ink); background: var(--landing-night);
  --landing-local-muted: color-mix(in srgb, var(--gold-ink) 84%, transparent);
}
.landing-main section[data-landing-style] h2, .landing-main section[data-landing-style] .landing-topic h3 { color: inherit; }
.landing-main section[data-landing-style] .landing-topic p, .landing-main section[data-landing-style] .landing-close__in p { color: var(--landing-local-muted, var(--ink-2)); }
.landing-main .landing-wrap[data-landing-style] { padding-inline: clamp(12px, 3vw, 24px); border-radius: var(--r-lg); }
@media (max-width: 659px) {
  .landing-bar__in { min-height: 60px; flex-wrap: nowrap; }
  .landing-bar__in > :is(.landing-nav--desktop, .landing-back, .theme-toggle) { display: none; }
  .landing-menu { position: relative; display: block; }
  .landing-bar__in > details > summary { width: 44px; height: 44px; }
  .landing-menu > summary { list-style: none; }
  .landing-menu > summary::-webkit-details-marker { display: none; }
  .landing-menu__panel {
    position: absolute; z-index: 80; inset-block-start: calc(100% + 8px); inset-inline-end: 0;
    display: grid; width: min(230px, calc(100vw - 32px)); gap: 2px; padding: 6px;
    border: 1px solid var(--line-3); border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-hi);
  }
  .landing-menu__panel a { padding-inline: 10px; border-radius: 9px; }
  .landing-menu__panel a:hover { background: var(--soft); }
  .landing-menu__panel .landing-back { border-top: 1px solid var(--line); }
  .landing-hero .landing-hero__in { gap: 20px; padding-block: 28px 34px; }
  .landing-hero__content { width: 100%; gap: 12px; }
  .landing-hero .landing-mode-links { display: none; }
  .landing-hero .landing-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: min(100%, 26rem); gap: 8px; }
  .landing-hero .landing-actions > * { width: 100%; min-height: 46px; justify-content: center; }
  .landing-photo__desktop { display: none; }
  .landing-photo__mobile { display: inline; }
  .landing-upload__sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
  .landing-upload__sizes label {
    position: relative; justify-content: center; min-width: 0; min-height: 44px; padding: 8px 4px;
    border: 1px solid var(--line); border-radius: 9px; background: var(--bg); font-size: 13px; white-space: nowrap;
  }
  .landing-upload__sizes input { position: absolute; width: 1px; height: 1px; opacity: 0; }
  .landing-upload__sizes label:has(:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--head); }
  .landing-upload__sizes label:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: -3px; }
}
@media (min-width: 760px) {
  .landing-hero__in { min-height: 480px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; }
  .landing-hero:not([data-hero-layout="center"]) .landing-hero__in:has(.landing-hero-image) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
  .landing-hero:not([data-hero-layout="center"]) .landing-hero__in:has(.landing-hero-pair) { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); }
  .landing-hero[data-hero-layout="reverse"] .landing-hero__in:has(.landing-hero-pair) { grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); }
  .landing-hero__content { justify-self: start; justify-items: start; text-align: left; }
  .landing-actions { justify-content: flex-start; }
  .landing-mode-links { justify-content: flex-start; }
  .landing-hero[data-hero-layout="reverse"] .landing-hero__content { grid-column: 2; grid-row: 1; }
  .landing-hero[data-hero-layout="reverse"] :is(.landing-art, .landing-hero-image, .landing-hero-pair) { grid-column: 1; grid-row: 1; }
  .landing-hero[data-hero-layout="center"] .landing-hero__in { grid-template-columns: minmax(0, 1fr); }
  .landing-hero[data-hero-layout="center"] .landing-hero__content { justify-self: center; justify-items: center; text-align: center; }
  .landing-hero[data-hero-layout="center"] .landing-actions { justify-content: center; }
  .landing-hero[data-hero-layout="center"] .landing-mode-links { justify-content: center; }
  .landing-art { width: min(100%, 400px); }
  .landing-modes__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
  .landing-guide__grid:has(.landing-guide__note) { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; }
  .landing-guide__grid:not(:has(.landing-guide__note)) .landing-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .landing-facts__grid, .landing-examples__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .landing-demo__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .landing-upload { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-info__in, .landing-faq { grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr); align-items: start; }
}
