/* Сайт-визитка beemes: медовый на тёмно-фиолетовом, соты и шестиугольники. */
:root {
  color-scheme: dark;
  --bg: #15121F; --bg2: #1C1828; --bg3: #221D33; --line: #3A3352;
  --fg: #F3EFFF; --muted: #B4ADC9; --honey: #FFB627; --honey-2: #FF8A00; --honey-soft: #FFDE9E;
  --online: #39D98A; --radius: 22px;
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); line-height: 1.55; overflow-x: hidden;
  font-family: "Inter", Roboto, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px;
}
a { color: var(--honey); }
img, svg { display: block; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--honey); color: #241800; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }

/* ---------- Шапка ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(21, 18, 31, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.top-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.brand b { color: var(--honey); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--fg); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; cursor: pointer; border: none;
  background: linear-gradient(135deg, #FFC23D, var(--honey-2)); color: #241800; font: inherit; font-weight: 700;
  border-radius: 999px; padding: 12px 22px; box-shadow: 0 10px 30px -10px rgba(255, 150, 0, 0.7); transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(255, 150, 0, 0.85); }
.btn-small { padding: 9px 18px; font-size: 15px; }
.btn-big { padding: 14px 28px 14px 22px; text-align: left; }
.btn-big svg { width: 28px; height: 28px; flex: none; }
.btn-big b { display: block; font-size: 18px; line-height: 1.2; }
.btn-big small { display: block; font-weight: 500; font-size: 13px; opacity: 0.75; }
.btn[aria-disabled="true"] { opacity: 0.85; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--honey); }

/* ---------- Соты на фоне ---------- */
.comb {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 54 16v30L28 61 2 46V16z M28 61v36' fill='none' stroke='%23FFB627' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 40%, #000 30%, transparent 75%);
}

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 88px; background: radial-gradient(80% 90% at 85% 10%, #3A2B5C 0%, transparent 60%), radial-gradient(45% 45% at 0% 55%, rgba(255, 138, 0, 0.11), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 182, 39, 0.1); color: var(--honey-soft); font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 182, 39, 0.3); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--online); box-shadow: 0 0 0 4px rgba(57, 217, 138, 0.2); }
h1 { margin: 0; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 850; }
.honey { background: linear-gradient(120deg, #FFD25E, var(--honey-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 22px 0 30px; max-width: 34em; color: var(--muted); font-size: 19px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.ticks li::before { content: "✓"; color: var(--honey); font-weight: 800; margin-right: 8px; }

/* Телефон */
.hero-phone { position: relative; display: grid; justify-items: center; }
.phone {
  position: relative; width: 330px; max-width: 100%; aspect-ratio: 330 / 680; padding: 12px; border-radius: 48px;
  background: linear-gradient(160deg, #3B3355, #17131F); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  transform: rotate(-3deg); animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(-3deg) translateY(-12px); } }
.phone-screen { height: 100%; border-radius: 38px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; font-size: 14px; }
.p-status { display: flex; justify-content: space-between; padding: 10px 22px 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.p-head { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; background: var(--bg2); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.p-who { display: grid; line-height: 1.2; }
.p-who small { color: var(--online); font-size: 12px; display: inline-flex; align-items: center; gap: 5px; }
.online { width: 7px; height: 7px; border-radius: 50%; background: var(--online); display: inline-block; }
.p-icons { margin-left: auto; letter-spacing: 6px; opacity: 0.8; }
.p-body {
  flex: 1; padding: 12px 12px 6px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 54 16v30L28 61 2 46V16z M28 61v36' fill='none' stroke='%23FFB627' stroke-opacity='.06' stroke-width='3'/%3E%3C/svg%3E");
}
.p-day { align-self: center; font-size: 11px; color: var(--muted); background: rgba(255, 255, 255, 0.06); padding: 3px 10px; border-radius: 999px; }
.msg { max-width: 80%; padding: 8px 12px 6px; border-radius: 18px; line-height: 1.35; position: relative; }
.msg time { display: block; text-align: right; font-size: 10px; opacity: 0.6; margin-top: 2px; }
.msg.in { align-self: flex-start; background: var(--bg3); border-bottom-left-radius: 6px; }
.msg.out { align-self: flex-end; background: linear-gradient(135deg, #FFC23D, var(--honey-2)); color: #241800; border-bottom-right-radius: 6px; }
.msg.call { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; }
.msg.call small { display: block; font-size: 11px; opacity: 0.7; }
.call-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(36, 24, 0, 0.12); }
.msg-big { align-self: flex-end; width: 96px; height: 96px; }
.em { display: inline-block; width: 1.35em; height: 1.35em; vertical-align: -0.32em; }
.em:empty::before { content: attr(data-fallback); }
.p-input { display: flex; align-items: center; gap: 10px; margin: 6px 10px 12px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--bg3); color: var(--muted); }
.p-field { flex: 1; font-size: 13px; }
.p-send { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--honey); color: #241800; font-size: 14px; }
.flyer { position: absolute; width: 170px; height: 170px; left: -60px; top: -70px; z-index: 2; animation: fly 9s ease-in-out infinite; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45)); }
@keyframes fly { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 33% { transform: translate(28px, 22px) rotate(4deg); } 66% { transform: translate(-14px, 40px) rotate(-2deg); } }

/* Шестиугольные аватары и цвета профиля */
.hex { display: inline-grid; place-items: center; clip-path: var(--hex); font-weight: 800; flex: none; }
.hex-sm { width: 36px; height: 40px; font-size: 16px; }
.hex-lg { width: 104px; height: 116px; font-size: 44px; box-shadow: none; }
.accent-honey { --a1: #FFC23D; --a2: #FF8A00; --on: #221800; }
.accent-sunset { --a1: #FF8A5B; --a2: #FF3D77; --on: #fff; }
.accent-rose { --a1: #FF7AC0; --a2: #B84BFF; --on: #fff; }
.accent-violet { --a1: #A08CFF; --a2: #5B45F0; --on: #fff; }
.accent-ocean { --a1: #4FC3F7; --a2: #2F6BFF; --on: #fff; }
.accent-mint { --a1: #45E0B0; --a2: #119C7A; --on: #221800; }
.accent-lime { --a1: #B7EB4A; --a2: #3FAE2A; --on: #221800; }
.accent-graphite { --a1: #8E8AA3; --a2: #433E57; --on: #fff; }
.hex.accent-rose, .p-head .hex { background: linear-gradient(135deg, var(--a1), var(--a2)); color: var(--on); }

/* ---------- Разделы ---------- */
.section { position: relative; padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); }
h2 { margin: 0; text-align: center; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.sub { margin: 14px auto 48px; max-width: 36em; text-align: center; color: var(--muted); font-size: 18px; }
.sub.left { text-align: left; margin-left: 0; margin-bottom: 28px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--bg2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 182, 39, 0.35), 0 20px 40px -24px rgba(255, 150, 0, 0.5); }
.card-ic { width: 64px; height: 64px; margin-bottom: 14px; }
.emoji-static { display: grid; place-items: center; font-size: 46px; line-height: 1; }
.card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Шифрование */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; margin-bottom: 40px; }
.flow-step { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 22px 16px; border-radius: var(--radius); background: var(--bg2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.flow-step span { color: var(--muted); font-size: 15px; }
.flow-ic { font-size: 40px; line-height: 1; }
.flow-server { box-shadow: inset 0 0 0 1px rgba(255, 182, 39, 0.35); }
.flow-server code { font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; font-size: 15px; color: var(--honey); background: rgba(255, 182, 39, 0.1); padding: 3px 10px; border-radius: 8px; }
.flow-arrow { position: relative; width: 90px; height: 2px; background: linear-gradient(90deg, transparent, var(--honey), transparent); }
.flow-arrow::after { content: "🔒"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 18px; background: var(--bg); padding: 0 4px; }
.flow-arrow span { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); font-size: 12px; color: var(--muted); white-space: nowrap; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.fact { padding: 22px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.fact h3 { margin: 0 0 6px; font-size: 18px; color: var(--honey-soft); }
.fact p { margin: 0; color: var(--muted); font-size: 16px; }

/* Профиль */
.profile-grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center; }
.profile-grid h2 { text-align: left; }
.accents { display: flex; flex-wrap: wrap; gap: 12px; }
.accent { width: 48px; height: 54px; border: none; padding: 0; cursor: pointer; clip-path: var(--hex); background: linear-gradient(135deg, var(--a1), var(--a2)); transition: transform 0.15s; }
.accent:hover { transform: scale(1.08); }
.accent[aria-checked="true"] { transform: scale(1.14); filter: drop-shadow(0 0 0 #fff); outline: none; }
.accent[aria-checked="true"]::after { content: "✓"; display: grid; place-items: center; height: 100%; color: var(--on); font-weight: 900; font-size: 20px; }
.hint { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.pcard { border-radius: 28px; overflow: hidden; background: var(--bg2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.pcard-top { display: grid; justify-items: center; gap: 6px; padding: 30px 20px 22px; background: linear-gradient(160deg, var(--a1), var(--a2)); color: var(--on); transition: background 0.4s; }
.pcard-top .hex { background: rgba(255, 255, 255, 0.22); color: var(--on); box-shadow: none; }
.pcard-name { font-size: 24px; }
.pcard-user { opacity: 0.8; font-size: 14px; }
.pcard-body { padding: 18px 20px 22px; }
.pcard-bio { margin: 0 0 16px; color: var(--muted); }
.pcard-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.pcard-actions span { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: 16px; background: var(--bg3); font-size: 13px; color: var(--muted); }
.pcard-actions i { font-style: normal; font-size: 20px; }
.bubble-demo { display: flex; justify-content: flex-end; }
.bubble-demo span { padding: 9px 14px; border-radius: 18px 18px 6px 18px; background: linear-gradient(135deg, var(--a1), var(--a2)); color: var(--on); transition: background 0.4s; }

/* Скачать */
.download { overflow: hidden; background: radial-gradient(60% 80% at 50% 0%, rgba(255, 182, 39, 0.16), transparent 70%); }
.download .comb { -webkit-mask-image: radial-gradient(60% 70% at 50% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(60% 70% at 50% 30%, #000 20%, transparent 70%); }
.download-box { position: relative; display: grid; justify-items: center; text-align: center; }
.download-emoji { width: 110px; height: 110px; margin-bottom: 8px; }
.download .sub { margin-bottom: 28px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: s; text-align: left; width: 100%; }
.steps li { counter-increment: s; padding: 20px 20px 20px 66px; position: relative; border-radius: var(--radius); background: var(--bg2); color: var(--muted); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.steps li b { color: var(--fg); }
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 18px; width: 34px; height: 38px; display: grid; place-items: center;
  clip-path: var(--hex); background: linear-gradient(135deg, #FFC23D, var(--honey-2)); color: #241800; font-weight: 800;
}
.more-platforms { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 14px; }
.more-platforms .btn { padding: 12px 22px 12px 18px; text-align: left; }
.more-platforms svg { width: 26px; height: 26px; flex: none; }
.more-platforms b { display: block; line-height: 1.2; }
.more-platforms small { display: block; font-weight: 500; font-size: 13px; opacity: 0.75; }
.note-win { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.also { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.whats-new { margin-top: 28px; max-width: 560px; padding: 18px 22px; border-radius: var(--radius); background: rgba(255, 182, 39, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 182, 39, 0.25); text-align: left; }
.whats-new[hidden] { display: none; }
.whats-new h3 { margin: 0 0 6px; font-size: 16px; color: var(--honey-soft); }
.whats-new p { margin: 0; white-space: pre-line; color: var(--muted); font-size: 15px; }

/* Подвал */
.foot { padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, 0.06); color: var(--muted); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.brand-foot { font-size: 19px; }
.credit { margin: 0 0 0 auto; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--honey); }

/* ---------- Телефоны и планшеты ---------- */
@media (max-width: 960px) {
  .hero-grid, .profile-grid { grid-template-columns: 1fr; }
  .hero-phone { margin-top: 12px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .profile-grid .pcard { max-width: 400px; width: 100%; justify-self: center; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .top-row { justify-content: space-between; }
  .hero { padding: 40px 0 64px; }
  .lead { font-size: 17px; }
  .section { padding: 72px 0; }
  .cards, .facts, .steps { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; justify-items: stretch; }
  .flow-arrow { width: 2px; height: 56px; justify-self: center; background: linear-gradient(180deg, transparent, var(--honey), transparent); }
  .flow-arrow span { top: 50%; left: 22px; transform: translateY(-50%); }
  .phone { width: 300px; }
  .flyer { width: 130px; height: 130px; left: -24px; top: -64px; }
  .credit { margin-left: 0; }
  .btn-big { width: 100%; justify-content: center; }
  .cta .btn-ghost { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Документы (политика) ---------- */
.doc { max-width: 760px; padding: 48px 0 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); }
.doc-date { color: var(--muted); margin: 10px 0 28px; }
.doc h2 { text-align: left; font-size: 24px; margin: 36px 0 10px; color: var(--honey-soft); }
.doc p, .doc li { color: #DDD6EE; }
.doc ul { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc li::marker { color: var(--honey); }
.doc-back { margin-top: 40px; }
