/* Скрытая галерея — визуал «апертура / печать сейфа» */
:root {
  --ink: #0b1624;
  --ink-soft: #1c2a3d;
  --fog: #e6ecf2;
  --paper: #f5f8fb;
  --mist: #c5d0dc;
  --accent: #e84e1b;
  --accent-deep: #b8370f;
  --seal: #0f7a6b;
  --seal-soft: #d4efe9;
  --muted: #5b6778;
  --line: rgba(11, 22, 36, 0.1);
  --shadow: 0 18px 50px rgba(11, 22, 36, 0.12);
  --radius: 18px;
  --max: 1120px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Commissioner", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(15, 122, 107, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(232, 78, 27, 0.1), transparent 50%),
    linear-gradient(180deg, #eef3f8 0%, var(--paper) 40%, #edf2f7 100%);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(11, 22, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 22, 36, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  z-index: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--seal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-deep);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(245, 248, 251, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background:
    conic-gradient(from 210deg, var(--ink) 0 55%, var(--seal) 55% 78%, var(--accent) 78% 100%);
  position: relative;
  box-shadow: inset 0 0 0 3px rgba(245, 248, 251, 0.55);
  flex-shrink: 0;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--paper);
}

.nav {
  display: none;
  gap: 1.1rem;
  align-items: center;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent-deep);
}

.menu-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
}

.nav.is-open {
  display: flex;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 1rem;
  background: rgba(245, 248, 251, 0.97);
  border-bottom: 1px solid var(--line);
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(232, 78, 27, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(232, 78, 27, 0.45);
  color: #fff !important;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink) !important;
  border: 1px solid var(--line);
}

.btn-lg {
  padding: 1.05rem 1.55rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 2.2rem 0 3rem;
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    min-height: calc(100vh - 120px);
    max-height: 820px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--seal);
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--seal);
  box-shadow: 0 0 0 4px var(--seal-soft);
}

h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-size: clamp(1.85rem, 4.5vw, 3.1rem);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 550;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-row span::before {
  content: "✓";
  color: var(--seal);
  font-weight: 800;
}

/* Visual stage — CSS art phone/vault */
.stage {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.stage-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 78, 27, 0.22), transparent 70%);
  filter: blur(10px);
  animation: pulse-glow 4.5s ease-in-out infinite;
}

.aperture {
  position: absolute;
  width: min(92%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(11, 22, 36, 0.12);
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(11, 22, 36, 0.04) 0deg 12deg,
      transparent 12deg 24deg
    );
  animation: spin-slow 28s linear infinite;
}

.phone {
  position: relative;
  width: min(72%, 250px);
  aspect-ratio: 9 / 17.5;
  border-radius: 28px;
  background: linear-gradient(160deg, #152233, #0b1624 55%, #173047);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  padding: 12px;
  animation: float-y 5.5s ease-in-out infinite;
}

.phone-screen {
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 122, 107, 0.35), transparent 40%),
    linear-gradient(160deg, #1a2b40, #101c2b);
  display: flex;
  flex-direction: column;
  padding: 1.1rem 0.9rem;
  color: #eef4fa;
}

.phone-lock {
  width: 42px;
  height: 42px;
  margin: 1.4rem auto 0.8rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  position: relative;
}

.phone-lock::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  left: 50%;
  top: -12px;
  transform: translateX(-50%);
}

.phone-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.phone-sub {
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.72;
  margin: 0 0 1rem;
}

.pin-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.pin-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.pin-dots i.on {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(232, 78, 27, 0.7);
}

.blur-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: auto;
}

.blur-thumbs span {
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  filter: blur(1.5px);
  position: relative;
}

.blur-thumbs span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 36, 0.35);
  border-radius: inherit;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* Sections */
section {
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.features {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.2rem 1.15rem 1.3rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 122, 107, 0.35);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.55rem;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Motivation strip — no table */
.hook {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(11, 22, 36, 0.96), rgba(28, 42, 61, 0.94)),
    var(--ink);
  color: #eef4fa;
  box-shadow: var(--shadow);
}

@media (min-width: 800px) {
  .hook {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    padding: 1.8rem 2rem;
  }
}

.hook h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}

.hook p {
  margin: 0 0 1rem;
  opacity: 0.85;
}

.hook-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.hook-points li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.hook-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hook-side {
  text-align: center;
  padding: 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hook-side strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.hook-side span {
  font-size: 0.9rem;
  opacity: 0.75;
}

/* Steps */
.steps {
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  counter-increment: step;
  padding: 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
}

.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--seal);
  display: block;
  margin-bottom: 0.5rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Screenshots */
.shots {
  --shot-w: min(70vw, 260px);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(0px, calc((100% - var(--shot-w)) / 2));
  padding: 0.2rem 0 1rem;
  margin-inline: -0.25rem;
  padding-inline: 0.25rem;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: thin;
}

.shot {
  flex: 0 0 var(--shot-w);
  width: var(--shot-w);
  max-width: var(--shot-w);
  min-width: 0;
  margin: 0;
  scroll-snap-align: center;
}

@media (min-width: 720px) {
  .shots {
    --shot-w: 200px;
  }
}

@media (min-width: 960px) {
  .shots {
    --shot-w: 210px;
    justify-content: center;
    overflow-x: visible;
    scroll-snap-type: none;
    margin-inline: 0;
    padding-inline: 0;
    gap: 1.1rem;
  }

  .shot {
    scroll-snap-align: unset;
  }
}

.shot-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center top;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0b1624;
}

.shot-frame {
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  background:
    linear-gradient(160deg, #d5dee8, #eef3f7 45%, #cfd9e4);
  border: 1px dashed rgba(11, 22, 36, 0.22);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.shot-frame strong {
  display: block;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
}

.shot figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--muted);
  text-align: center;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

/* Pros — not a comparison table */
.pros {
  display: grid;
  gap: 0.7rem;
}

@media (min-width: 700px) {
  .pros {
    grid-template-columns: 1fr 1fr;
  }
}

.pro {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.pro-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--seal-soft);
  color: var(--seal);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

.pro h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.pro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.65rem;
}

.faq details {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 2.2rem 1.4rem;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(232, 78, 27, 0.18), transparent 70%),
    #fff;
  border: 1px solid var(--line);
}

.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.55rem;
  font-size: clamp(1.3rem, 3vw, 1.85rem);
}

.cta-band p {
  margin: 0 auto 1.2rem;
  max-width: 32rem;
  color: var(--muted);
}

/* Article pages */
.page-hero {
  padding: 2rem 0 1rem;
}

.page-hero .lead {
  margin-bottom: 1.1rem;
}

.article {
  max-width: 720px;
}

.article h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.7rem;
  letter-spacing: -0.02em;
}

.article h3 {
  font-size: 1.08rem;
  margin: 1.4rem 0 0.5rem;
}

.article p,
.article li {
  color: var(--ink-soft);
}

.article ul {
  padding-left: 1.15rem;
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin: 1.4rem 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(232, 78, 27, 0.08), rgba(15, 122, 107, 0.08));
  border: 1px solid var(--line);
}

.inline-cta p {
  margin: 0;
  flex: 1 1 220px;
  font-weight: 600;
  color: var(--ink);
}

.cluster-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
}

.chip {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 550;
}

.chip:hover {
  border-color: var(--seal);
  color: var(--seal);
}

/* Downloads page */
.download-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 1.75rem 1.4rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.download-card .file-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0.6rem 0 0.3rem;
}

.download-card .meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.2rem;
}

.download-steps {
  text-align: left;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.download-steps li {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: var(--fog);
  font-size: 0.93rem;
}

.download-steps strong {
  display: block;
  margin-bottom: 0.15rem;
}

/* Ads placeholders */
.ads {
  min-height: 70px;
  margin: 1rem 0;
  border: 1px dashed rgba(11, 22, 36, 0.15);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #8a94a3;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.35);
}

.ads-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 68px;
  z-index: 28;
  margin: 0;
  border-radius: 0;
  min-height: 50px;
  pointer-events: none;
  opacity: 0;
}

/* Sticky download CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(245, 248, 251, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: none;
}

.sticky-cta .btn {
  width: 100%;
}

@media (max-width: 899px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 76px; }
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2.2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-deep);
}

.disclaimer {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Utility */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
