:root {
  --bg: #f4f7fb;
  --white: #ffffff;
  --ink: #12151c;
  --muted: #6b7385;
  --line: rgba(18, 21, 28, 0.08);
  --soft: #e9eef5;
  --dark: #141820;
  --navy: #1a2030;
  --red: #d93a32;
  --red-deep: #bd2f28;
  --card: #ffffff;
  --top-bg: rgba(244, 247, 251, 0.86);
  --shadow: rgba(18, 21, 28, 0.04);
  --sans: Manrope, "Segoe UI", sans-serif;
  --max: 1180px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --radius: 26px;
  --grid-line: rgba(18, 21, 28, 0.05);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: #f6c9c5; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 999px;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.sr, .hp {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--red);
}
.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 16ch;
}
.section-title.solutions-title { max-width: 22ch; }
.lede {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.05rem;
}
.note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 70ch;
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  background: var(--top-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  text-decoration: none; font-weight: 800; letter-spacing: -0.04em; font-size: 1.2rem;
  color: var(--navy);
}
.brand-logo { height: 36px; width: auto; display: block; }
.site-nav {
  display: flex; align-items: center; justify-content: center;
  flex: 1;
  gap: clamp(12px, 2.2vw, 28px);
  padding: 0 12px;
}
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  white-space: nowrap;
  transition: color 200ms var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.top-actions { display: flex; align-items: center; flex-shrink: 0; gap: 8px; }
.lang-menu { position: relative; }
.lang-flag {
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  box-shadow: inset 0 0 0 1px rgba(18, 21, 28, 0.14);
  background: #fff; display: block; cursor: pointer; padding: 0; overflow: hidden;
}
.lang-flag img { width: 42px; height: 42px; max-width: none; object-fit: cover; border-radius: 50%; display: block; }
.lang-pop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50;
  min-width: 210px; max-height: 320px; overflow: auto;
  background: #fff; border-radius: 16px; padding: 6px;
  box-shadow: 0 18px 50px rgba(18, 21, 28, 0.16);
}
.lang-pop[hidden] { display: none !important; }
[dir="rtl"] .lang-pop { right: auto; left: 0; }
[dir="rtl"] .lang-opt, [dir="rtl"] .lang-more { text-align: right; }
.lang-opt, .lang-more {
  width: 100%; display: flex; align-items: center; gap: 8px;
  border: 0; background: transparent; border-radius: 10px;
  min-height: 40px; padding: 0 10px; cursor: pointer; text-align: left;
  font: 700 14px/1.2 var(--sans); color: var(--muted);
}
.lang-opt img { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; }
.lang-opt[aria-pressed="true"] { background: rgba(217, 58, 50, 0.1); color: var(--red); }
.lang-more { justify-content: center; color: var(--red); border-top: 1px solid var(--line); border-radius: 0; margin-top: 4px; }
.btn-cabinet {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  background: var(--red); color: #fff !important; text-decoration: none;
  font-weight: 800; font-size: 0.92rem; letter-spacing: -0.02em;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
.btn-cabinet:hover { background: var(--red-deep); transform: translateY(-1px); }
.account-chip { display: flex; align-items: center; gap: 8px; }
.account-chip[hidden], .avatar[hidden], .btn-logout[hidden], .btn-cabinet[hidden] { display: none !important; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; text-decoration: none;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1rem;
}
.btn-logout {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--red); color: #fff; cursor: pointer;
  font: 800 0.92rem/1 var(--sans); letter-spacing: -0.02em;
}
.btn-logout:hover { background: var(--red-deep); }
.drawer .btn-logout { width: 100%; margin-top: 8px; background: var(--red); color: #fff; }
.drawer-cabinet {
  display: block; margin-top: 8px; padding: 12px;
  border-radius: 12px; background: var(--navy); color: #fff !important;
  text-align: center; font-weight: 800; text-decoration: none;
}
.drawer-cabinet:hover { background: #11151f; }
.menu-btn {
  display: none;
  width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: var(--navy); place-content: center; gap: 5px; cursor: pointer;
}
.menu-btn span {
  display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px;
}
.drawer {
  position: fixed; inset: 78px 16px auto auto; z-index: 60;
  width: min(320px, calc(100vw - 32px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px var(--shadow);
  padding: 18px;
  display: grid; gap: 4px;
}
.drawer[hidden] { display: none !important; }
.drawer a {
  text-decoration: none; padding: 12px 12px; border-radius: 12px; font-weight: 600;
}
.drawer a:hover { background: var(--soft); }
.drawer-cta { background: var(--red) !important; color: #fff !important; text-align: center; margin-top: 8px; }
.drawer-lang { margin: 10px 4px 4px; width: fit-content; }

/* CTA like GigaCloud */
.cta {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; font-weight: 700; color: var(--ink);
}
.cta-box, .card-arrow {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  transition: background 280ms var(--ease), transform 280ms var(--ease);
}
.cta-box::before, .card-arrow::before {
  content: "";
  width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M5 11 L11 5 M7.2 5 H11 V8.8' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M5 11 L11 5 M7.2 5 H11 V8.8' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.cta:hover .cta-box { background: var(--red-deep); transform: translateY(-1px); }
.cta.compact .cta-box { width: 36px; height: 36px; border-radius: 8px; }
.cta.submit {
  border: 0; background: transparent; cursor: pointer; padding: 0; font: inherit;
}

/* Hero */
.hero {
  min-height: min(88vh, 860px);
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: 32px 28px 48px;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(900px 420px at 72% 18%, rgba(190, 210, 240, 0.55), transparent 60%),
    linear-gradient(180deg, #eef3f9 0%, var(--bg) 100%);
  background-size: 56px 56px, 56px 56px, auto, auto;
  background-position: center top, center top, center, center;
}
.hero-copy { padding: 24px 12px; max-width: 560px; }
.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(2.7rem, 5.4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 800;
}
.hero-note {
  display: flex; gap: 14px; align-items: center;
  margin-top: 56px; max-width: 380px;
}
.hero-note img {
  width: 72px; height: 72px; object-fit: cover; border-radius: 14px; flex: none;
}
.hero-note p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.hero-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #e7eef7, #d5e2f0);
  aspect-ratio: 16 / 10;
  min-height: 420px;
  box-shadow: 0 30px 80px rgba(40, 70, 120, 0.12);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 42%;
}

/* Trust / stats */
.trust { padding: 48px 0 20px; }
.trust-head {
  display: block;
  margin-bottom: 28px;
}
.trust-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 18ch;
}
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  padding: 28px 0 12px;
  border-top: 1px solid var(--line);
}
.stats b {
  display: block;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--red);
}
.stats span {
  display: block; margin-top: 12px; color: var(--muted); max-width: 22ch; font-size: 0.98rem;
}

/* Solutions */
.solutions { padding: 72px 0; }
.solutions-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-top: 36px;
}
.solutions-aside {
  position: sticky;
  top: 96px;
  padding: 8px 0;
}
.solutions-aside h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.solutions-aside p {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 28ch;
  font-size: 0.98rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.media-card {
  position: relative;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: 0 8px 32px var(--shadow);
}
.media-card.dark { background: var(--navy); color: #fff; }
.media-card-text { padding: 28px 28px 12px; position: relative; z-index: 1; }
.media-card-text h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.media-card-text p { margin: 0; color: var(--muted); max-width: 34ch; }
.media-card.dark .media-card-text p { color: #c2cad8; }
.media-card-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 28px 16px 16px;
}
.media-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(244, 247, 251, 0.35) 40%);
  pointer-events: none;
}
.media-card.dark .media-card-visual::before {
  background: linear-gradient(180deg, transparent 0%, rgba(20, 24, 32, 0.5) 45%);
}
.media-card-visual img {
  width: 100%;
  max-width: 420px;
  height: 250px;
  object-fit: contain;
  object-position: center bottom;
  margin: 8px auto 0;
}
.card-arrow {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  text-decoration: none;
}
.media-card.dark .card-arrow { background: rgba(255,255,255,0.14); }

/* Products */
.products { padding: 24px 0 72px; }
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px;
}
.product {
  border-radius: var(--radius); padding: 28px 24px 20px; overflow: hidden;
  display: flex; flex-direction: column; min-height: 0;
}
.product.light { background: var(--card); box-shadow: 0 8px 32px var(--shadow); }
.product.dark { background: var(--navy); color: #fff; }
.product.accent { background: #1f2a3d; color: #fff; }
.product-kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 10px;
}
.plat-ico {
  width: 28px; height: 28px; flex: none;
  display: grid; place-items: center; color: var(--navy);
}
.product.dark .plat-ico, .product.accent .plat-ico { color: #fff; }
.plat-ico svg { width: 26px; height: 26px; display: block; fill: currentColor; }
.product h3 {
  margin: 0; font-size: 1.45rem; letter-spacing: -0.03em; font-weight: 800;
}
.product p { margin: 0; color: var(--muted); }
.product.dark p, .product.accent p { color: #c2cad8; }
.product ul {
  margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted);
}
.product.dark ul, .product.accent ul { color: #c2cad8; }
.product li {
  padding: 10px 0; border-top: 1px solid var(--line);
  padding-left: 14px; position: relative;
}
.product.dark li, .product.accent li { border-top-color: rgba(255,255,255,0.12); }
.product li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}
.product .store-stack {
  margin-top: auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 22px;
  align-items: stretch;
}
.product .store-stack .store-badge {
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
}
.product.dark > .store-badge {
  width: calc(50% - 4px);
  margin: auto auto 0;
  padding: 0;
  display: block;
  align-self: center;
}
.product .store-badge-lg img,
.product .store-stack img {
  width: 100% !important;
  height: auto !important;
  max-width: none;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  margin: 0;
  display: block;
}

/* Why */
.why { padding: 80px 0; background: var(--bg); }
.why-intro { max-width: 760px; margin-bottom: 28px; }
.why .section-title { max-width: 16ch; }
.why-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.why-list article {
  background: #fff; border-radius: 24px; padding: 22px 20px 24px;
  box-shadow: 0 12px 36px rgba(18, 21, 28, 0.05);
}
.why-mark {
  width: 44px; height: 44px; border-radius: 14px; margin-bottom: 16px;
  display: grid; place-items: center; color: var(--red);
  background: rgba(217, 58, 50, 0.1);
}
.why-mark svg { width: 22px; height: 22px; display: block; fill: currentColor; }
.why-list h3 { margin: 0 0 8px; font-size: 1.12rem; letter-spacing: -0.03em; }
.why-list p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Guarantees */
.guarantees { padding: 72px 0; }
.layer-visual {
  margin: 28px 0 0; border-radius: 24px; overflow: hidden; background: #dfe8f2;
}
.layer-visual img { width: 100%; height: auto; object-fit: cover; max-height: 420px; display: block; }
.layer-path {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 16px 0 0; padding: 0; list-style: none;
}
.layer-path li {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 12px; border-radius: 12px;
  background: #fff; border: 1px solid rgba(23, 23, 23, 0.08);
  font-size: 14px; line-height: 18px;
}
.layer-path li::before {
  counter-increment: layer;
  content: counter(layer);
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: #171717; color: #fff; font-size: 12px; font-weight: 500;
}
.layer-path { counter-reset: layer; }
.guarantee-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px;
}
.layer-scene {
  display: grid; gap: 6px; margin: 0 0 16px; padding: 10px;
  border-radius: 12px; background: #f4f4f5; border: 1px solid rgba(23, 23, 23, 0.08);
}
.layer-scene p {
  display: flex; justify-content: space-between; gap: 8px; align-items: baseline;
  margin: 0; color: #171717; font-size: 13px; line-height: 18px;
}
.layer-scene span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.layer-scene b { flex: none; font-weight: 500; color: #b42318; font-size: 12px; }
.layer-scene .is-open b { color: #525252; }
.layer-scene .is-cut span { text-decoration: line-through; color: #737373; }
.guarantee-grid article {
  background: var(--white); border-radius: 24px; padding: 22px 22px 24px;
  box-shadow: 0 10px 32px rgba(18, 21, 28, 0.05);
}
.layer-ico {
  width: 46px; height: 46px; border-radius: 16px; margin-bottom: 16px;
  display: grid; place-items: center; color: #fff; background: var(--navy);
}
.layer-ico svg { width: 22px; height: 22px; display: block; fill: currentColor; }
.guarantee-grid h3 { margin: 0 0 8px; letter-spacing: -0.03em; }
.guarantee-grid p { margin: 0; color: var(--muted); }
.guarantee-grid .layer-scene p { color: #171717; font-size: 13px; line-height: 18px; }
.guarantees .section-title {
  max-width: 18ch;
  white-space: normal;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
}

/* Lab */
.lab-section { padding: 24px 0 72px; }
.lab-head {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end;
}
.lab-head .counter { margin: 0; text-align: right; min-width: 140px; }
.lab-label {
  margin: 16px 0 8px; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.lab-label:first-child { margin-top: 0; }
.lab-section .section-title { max-width: 18ch; }
.lab-panel {
  margin-top: 22px;
  display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 18px;
  background: #fff; border-radius: 32px; padding: 18px;
  box-shadow: 0 18px 50px rgba(18, 21, 28, 0.06);
  align-items: stretch;
}
.lab-controls {
  min-width: 0;
  background: var(--bg);
  border-radius: 22px;
  padding: 16px 16px 18px;
}
.presets, .modes { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  min-height: 40px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font: 600 14px/1.2 var(--sans); cursor: pointer;
}
.choice[aria-pressed="true"], .choice[aria-checked="true"] {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters .choice {
  display: flex; justify-content: space-between; width: 100%;
  border-radius: 14px; text-align: left; padding: 10px 12px; font-size: 14px;
}
.filters .choice[aria-pressed="true"]::after { content: var(--filter-on, "вкл"); color: #ffb1a8; font-size: 12px; font-weight: 800; }
.filters .choice[aria-pressed="false"]::after { content: var(--filter-off, "выкл"); color: var(--muted); font-size: 12px; font-weight: 500; }
.counter { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.counter strong {
  display: block; color: var(--ink); font-size: 2.4rem; letter-spacing: -0.05em;
  line-height: 1; margin-bottom: 6px; font-weight: 800;
}
.feed {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: stretch; gap: 10px; min-width: 0; align-content: start;
  background: var(--bg); border-radius: 22px; padding: 12px;
}
.feed-card {
  position: relative; margin: 0; border-radius: 14px; overflow: hidden;
  aspect-ratio: 3 / 4; background: #12151c;
}
.feed-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-card.is-blurred img { filter: blur(7px) saturate(0.75); transform: scale(1.08); }
.feed-card.is-skipped { display: grid; place-items: center; background: #1a2030; color: #fff; }
.feed-card.is-cut { display: none; }
.feed-card .post-mask {
  position: absolute; inset: 0; margin: 0; padding: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(18, 21, 28, 0.28); color: #fff; text-align: center; font-weight: 700;
}
.feed-card .stamp { background: var(--red); color: #fff; border-radius: 8px; padding: 4px 8px; letter-spacing: 0.04em; }
.feed-card .reveal { border: 0; border-radius: 999px; min-height: 36px; padding: 0 14px; background: #fff; color: var(--ink); font: 700 14px/1 var(--sans); cursor: pointer; }
.post-slot {
  display: grid; grid-template-rows: 1fr; margin-bottom: 10px;
  transition: grid-template-rows 280ms var(--ease), margin 280ms var(--ease), opacity 280ms var(--ease);
}
.post-slot.is-cut { grid-template-rows: 0fr; margin: 0; opacity: 0; pointer-events: none; }
.post {
  position: relative; overflow: hidden; background: var(--bg); border-radius: 16px;
  padding: 14px 16px 16px;
}
.post.is-blurred { min-height: 108px; }
.post-meta {
  margin: 0 0 4px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted);
}
.post-title { margin: 0; font-size: 1.12rem; letter-spacing: -0.03em; font-weight: 800; }
.post-text { margin: 8px 0 0; color: var(--muted); font-size: 0.98rem; }
.post.is-blurred .post-meta,
.post.is-blurred .post-title,
.post.is-blurred .post-text { filter: blur(5px); user-select: none; }
.post-mask { display: none; }
.post.is-blurred .post-mask {
  position: absolute; inset: 0; margin: 0; padding: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(244, 247, 251, 0.62); font-weight: 700;
}
.stamp {
  border: 2px solid var(--red); color: var(--red); padding: 3px 8px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  transform: rotate(-8deg); background: rgba(255,255,255,0.85);
}
.reveal {
  border: 1px solid var(--ink); background: #fff; color: var(--ink);
  min-height: 36px; padding: 6px 12px; border-radius: 999px;
  font: 700 14px/1 var(--sans); cursor: pointer;
}
.post.is-skipped { padding: 12px 16px; background: var(--soft); }
.skip-line { margin: 0; font-weight: 700; }

/* Timeline */
.steps { padding: 72px 0; }
.timeline {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.timeline li {
  background: var(--white); border-radius: 22px; padding: 22px;
  min-height: 240px;
  box-shadow: 0 8px 32px rgba(18, 21, 28, 0.04);
}
.timeline time {
  display: block; margin-bottom: 14px; color: var(--red);
  font-weight: 800; letter-spacing: -0.02em;
}
.timeline h3 { margin: 0 0 8px; }
.timeline p { margin: 0; color: var(--muted); }

/* Pricing */
.price { padding: 24px 0 72px; }
.price .section-title {
  max-width: none;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  text-wrap: balance;
}
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; align-items: stretch;
}
.price-grid article {
  display: flex; flex-direction: column;
  background: var(--card); border-radius: 28px; padding: 22px 22px 20px;
  box-shadow: 0 16px 40px rgba(18, 21, 28, 0.06);
  border: 1px solid var(--line);
}
.price-grid .featured { background: var(--navy); color: #fff; box-shadow: none; }
.plan { margin: 0; color: var(--muted); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.78rem; }
.featured .plan { color: #c2cad8; }
.amount-row {
  display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap;
  margin: 12px 0 4px;
}
.amount-stack {
  display: none; flex-direction: column; align-items: flex-end; gap: 4px;
}
.price-grid article.is-year .amount-stack { display: flex; }
.price-grid article.is-year .period[data-i18n="pro.mo"],
.price-grid article.is-year .period[data-i18n="fam.mo"] { display: none; }
.amount-old {
  font-size: 1.05rem; font-weight: 700; color: var(--muted); line-height: 1;
  text-decoration: line-through; text-decoration-thickness: 2px;
}
.featured .amount-old { color: #8b95a8; }
.sale-off {
  color: #15803d; font-size: 0.95rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
}
.featured .sale-off { color: #4ade80; }
.amount {
  margin: 0; font-size: 2.3rem; letter-spacing: -0.04em; font-weight: 800; line-height: 1;
}
.price-grid > article > .amount { margin: 14px 0 4px; }
.period { margin: 0 0 12px; color: var(--muted); }
.featured .period { color: #c2cad8; }
.price-grid ul { margin: 8px 0 18px; padding: 0; list-style: none; flex: 1; }
.price-grid li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; color: var(--ink); font-size: 0.95rem;
}
.price-grid li::before {
  content: ""; width: 8px; height: 8px; margin-top: 0.45em; border-radius: 50%;
  background: var(--red); flex: none;
}
.featured li { color: #e7edf6; }
.featured li::before { background: #ffb4ad; }
.plan-go {
  display: flex; align-items: center; justify-content: center;
  min-height: 46px; border-radius: 999px;
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 800;
}
.featured .plan-go { background: var(--red); }

/* FAQ */
.faq { padding: 24px 0 48px; }
.faq .section-title { max-width: none; }
.faq-list {
  margin-top: 22px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 12px; align-items: start;
}
.faq details {
  background: var(--card); border-radius: 18px; padding: 0 18px;
  box-shadow: 0 8px 24px var(--shadow); border: 1px solid var(--line);
}
.faq summary {
  cursor: pointer; font-weight: 800; font-size: 1.05rem; list-style: none;
  min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 10px; height: 10px; flex: none;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 200ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq p { margin: 0 0 16px; color: var(--muted); max-width: 68ch; }

/* Access */
.access { padding: 24px 0 80px; }
.access-box {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: end;
  background: var(--white); border-radius: var(--radius); padding: 36px;
  box-shadow: 0 18px 50px rgba(18, 21, 28, 0.05);
}
.waitlist { display: grid; gap: 12px; }
.waitlist input[type="email"] {
  height: 54px; padding: 0 16px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--bg); color: var(--ink);
  font: 500 16px/1.2 var(--sans);
}
.status { min-height: 1.3em; margin: 0; font-weight: 700; }
.status.is-ok { color: #1f7a3a; }

.platform-icons {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 180px;
  padding: 24px 0 8px;
}
.platform-icons img { width: 72px; height: 72px; object-fit: contain; }
.platform-icons.on-dark img { filter: invert(1) brightness(1.2); }

.site-footer {
  margin-top: 0;
  background: var(--top-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 0;
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  box-shadow: none;
}
.site-footer .brand { color: var(--navy); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1.15fr;
  gap: 28px;
}
.site-footer h2 {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.site-footer p, .site-footer a {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.45;
}
.site-footer a:hover { color: var(--ink); }
.footer-pay {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}
.pay-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end;
  gap: 8px;
}
.pay-slot {
  height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
}
.pay-slot img {
  height: 14.784px; width: auto; max-width: none;
  object-fit: contain; display: block;
}
.pay-slot.is-webpay img { height: 28.512px; }

.price-controls {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin: 22px 0 8px;
}
.bill-toggle { display: flex; gap: 8px; margin: 22px 0 8px; flex-wrap: wrap; }
.price-controls .bill-toggle { margin: 0; }
.bill-toggle button {
  min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: 700 14px/1 var(--sans); cursor: pointer;
}
.bill-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.browser-row, .store-stack, .download-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.browser-row { margin-top: auto; padding: 18px 0 8px; justify-content: center; }
.browser-row img { width: 52px; height: 52px; object-fit: contain; }
.store-badge img, .store-stack img { height: 52px; width: auto; object-fit: contain; }
.store-badge-lg img { height: 64px !important; }
.download-row .store-badge img { height: 56px; }
.download { padding: 12px 0 72px; }
.download-stage {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  border-radius: 32px; padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 24px 60px rgba(18, 21, 28, 0.12);
}
.download-bg { position: absolute; inset: 0; }
.download-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.42;
  animation: download-drift 22s ease-in-out infinite alternate;
}
.download-stage::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 24, 36, 0.72), rgba(18, 24, 36, 0.88));
}
.download-copy, .download-split { position: relative; z-index: 1; }
.download-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.download-copy .section-title, .download-copy .lede { margin-left: auto; margin-right: auto; }
.download-stage .section-title { max-width: 16ch; }
.download-split {
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 32px;
  margin-top: 28px; align-items: stretch;
}
.download-rule { background: rgba(255, 255, 255, 0.35); }
.download-col {
  background: none; border: 0; border-radius: 0;
  padding: 4px 0; text-align: center;
}
.download-col h3 { margin: 0 0 8px; font-size: 1.2rem; letter-spacing: -0.03em; }
.download-col p { margin: 0; color: #c9d2e0; }
.download-stage .store-badge-lg img {
  height: 40px !important; width: auto !important; max-width: 148px;
  aspect-ratio: auto; object-fit: contain; border-radius: 0; margin: 0;
}
@keyframes download-drift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-2%, -2%, 0); }
}
.download-stage .eyebrow { color: #ffb4ad; }
.download-stage .section-title, .download-stage .lede { color: #fff; }
.download-stage .lede { color: #c9d2e0; }
.download-row { margin-top: 18px; justify-content: center; gap: 10px; }
.download-browsers { justify-content: center; margin-top: 16px; gap: 14px; padding: 0; }
.download-browsers img { width: 32px; height: 32px; }
.product .store-badge, .product .store-stack { margin-top: auto; padding-top: 18px; }

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
}
.cookie-inner {
  max-width: 920px; margin: 0 auto;
  display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 16px 18px; box-shadow: 0 18px 50px var(--shadow);
}
.cookie-title { margin: 0 0 4px; font-weight: 800; letter-spacing: -0.02em; }
.cookie-body { margin: 0; color: var(--muted); font-size: 0.92rem; max-width: 58ch; }
.cookie-body a { color: var(--red); }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-btn {
  min-height: 42px; padding: 0 16px; border-radius: 12px; border: 0;
  background: var(--red); color: #fff; font: 800 14px/1 var(--sans); cursor: pointer;
}
.cookie-btn.ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}

.legal-modal {
  width: min(760px, calc(100vw - 32px));
  max-height: min(82vh, 860px);
  border: 0; border-radius: 24px; padding: 0;
  background: #fff; color: var(--ink);
  box-shadow: 0 30px 80px rgba(18, 21, 28, 0.22);
}
.legal-modal::backdrop { background: rgba(18, 21, 28, 0.45); }
.legal-modal-bar {
  position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 18px; background: #fff; border-bottom: 1px solid var(--line);
}
.legal-modal-bar p { margin: 0; font-weight: 800; }
.legal-modal-bar button {
  width: 36px; height: 36px; border: 0; border-radius: 10px;
  background: var(--soft); font-size: 1.3rem; cursor: pointer;
}
.legal-modal-body { padding: 8px 22px 28px; overflow: auto; max-height: calc(82vh - 72px); }
.legal-modal-body h1 { font-size: 1.6rem; letter-spacing: -0.03em; margin: 12px 0; }
.legal-modal-body h2 { font-size: 1.15rem; margin: 22px 0 8px; }
.legal-modal-body p { margin: 0 0 10px; color: var(--muted); }

.why { background: var(--bg); }
.why-list article { background: #fff; }
.guarantee-grid article, .timeline li { background: var(--card); box-shadow: 0 8px 32px var(--shadow); }
.post { background: var(--bg); }
.post-mask { background: color-mix(in srgb, var(--bg) 70%, transparent); }
.reveal { background: var(--card); color: var(--ink); border-color: var(--ink); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .post-slot, .cta-box { transition: none; }
  .download-bg img { animation: none; }
}

/* Tablet */
@media (max-width: 1100px) {
  .site-nav { display: none; }
  .menu-btn { display: grid; }
  .top { padding: 12px 18px; gap: 12px; }
  .hero {
    grid-template-columns: 1fr 1fr; min-height: 0; padding: 20px 18px 28px; gap: 18px;
  }
  .hero-copy { max-width: none; padding: 8px 0; }
  .hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 18px; }
  .hero-note { margin-top: 22px; max-width: none; }
  .hero-visual { min-height: 0; max-height: none; aspect-ratio: 5 / 4; }
  .top-actions > .btn-cabinet,
  .account-chip { display: none !important; }
  .trust-head { margin-bottom: 20px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .stats b { font-size: 2rem; }
  .stats span { font-size: 0.82rem; max-width: none; }
  .solutions { padding: 48px 0; }
  .solutions-layout { grid-template-columns: 1fr; gap: 18px; }
  .solutions-aside { position: static; }
  .card-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .media-card-visual { min-height: 230px; padding-top: 24px; }
  .media-card-visual img { height: 210px; max-height: none; object-fit: contain; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product.light { grid-column: 1 / -1; }
  .product { padding: 22px 20px 16px; }
  .product .store-badge-lg img,
  .product .store-stack img { width: 100% !important; height: auto !important; }
  .download-stage .store-badge-lg img { height: 38px !important; }
  .why-list { grid-template-columns: 1fr 1fr; }
  .faq-list { grid-template-columns: 1fr 1fr; }
  .feed { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filters .choice { padding: 8px 8px; font-size: 13px; gap: 4px; }
  .guarantee-grid { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .lab-head { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .lab-head .counter { text-align: left; }
  .lab-panel { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
  .post-slot { margin-bottom: 0; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline li { min-height: 0; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .section-title { max-width: none; }
  .wrap { width: min(var(--max), calc(100% - 36px)); }
}

@media (max-width: 760px) {
  .download-split { grid-template-columns: 1fr; gap: 0; }
  .download-rule { width: 100%; height: 1px; margin: 18px 0; }
  .feed { grid-template-columns: 1fr 1fr; }
  .guarantees .section-title { white-space: normal; font-size: clamp(1.7rem, 7vw, 2.15rem); }
  .faq-list, .why-list, .guarantee-grid, .layer-path { grid-template-columns: 1fr; }
  .lab-panel { border-radius: 24px; padding: 12px; }
  .hero { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; }
  .hero-visual { aspect-ratio: 16 / 10; max-height: 260px; }
  .hero h1 { font-size: 2.15rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .trust-head, .card-grid, .why-list, .guarantee-grid,
  .timeline, .price-grid, .footer-grid, .product-grid {
    grid-template-columns: 1fr;
  }
  .product.light { grid-column: auto; }
  .price-grid article:first-child { grid-column: auto; }
  .btn-cabinet { display: inline-flex; }
  .top { padding-left: 14px; padding-right: 14px; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .pay-row { justify-content: flex-start; }
  .footer-pay { align-items: flex-start; }
  .browser-row img { width: 40px; height: 40px; }
  .download-browsers img { width: 32px; height: 32px; }
  .product .store-badge-lg img,
  .product .store-stack img { width: 100% !important; height: auto !important; }
  .download-stage .store-badge-lg img { height: 36px !important; }
  .cookie-inner { padding: 14px; }
  .filters { grid-template-columns: 1fr; }
}
