/* EncrypChat · encryp.chat — sin fuentes ni recursos externos (también funciona en Tor sin JavaScript) */
:root {
  --bg: #0B0F14; --bg2: #0F151C; --card: #131B23; --card2: #18222C; --line: #1F2B36;
  --text: #EAF2F0; --text2: #9FB0AD; --muted: #6E807C;
  --accent: #2BD9A3; --accent2: #1FB386; --ink: #06261C; --glow: rgba(43,217,163,.18);
  --r: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Barra superior */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11,15,20,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(31,43,54,.7); }
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(43,217,163,.25), 0 6px 18px rgba(0,0,0,.4); }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--text2); font-size: 15px; font-weight: 500; }
.links a:hover { color: var(--text); text-decoration: none; }
.langs { display: flex; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a { color: var(--text2); font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 999px; }
.langs a:hover { color: var(--text); text-decoration: none; }
.langs a[aria-current] { background: var(--accent); color: var(--ink); }

/* Portada */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 900px; background:
  radial-gradient(600px 380px at 78% 30%, rgba(43,217,163,.16), transparent 70%),
  radial-gradient(520px 340px at 10% 10%, rgba(46,107,230,.10), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); pointer-events: none; }
.herogrid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 1fr; gap: 48px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; background: rgba(43,217,163,.1); border: 1px solid rgba(43,217,163,.35);
  color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(43,217,163,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43,217,163,.55); } 70% { box-shadow: 0 0 0 10px rgba(43,217,163,0); } 100% { box-shadow: 0 0 0 0 rgba(43,217,163,0); } }
.hero h1 { font-size: clamp(30px, 5vw, 60px); overflow-wrap: break-word; font-weight: 800; margin: 22px 0 18px; }
.hero h1 span { background: linear-gradient(100deg, #5BF0C2, var(--accent) 45%, #18A97E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text2); max-width: 580px; margin: 0; }
.center .lead { margin: 0 auto; }

/* Botones de tiendas */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.center .stores { justify-content: center; }
.store { position: relative; display: inline-flex; align-items: center; gap: 11px; padding: 10px 20px 10px 16px; border-radius: 14px; background: #000; color: #fff;
  border: 1px solid #3A4651; min-width: 190px; cursor: default; }
.store svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 11px; color: #C9D3D1; }
.store b { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.store::after { content: "⏳"; position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; display: grid; place-items: center; font-size: 12px;
  background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 3px var(--bg); }
.store.big { min-width: 220px; padding: 13px 24px 13px 18px; }
.store.big b { font-size: 21px; }

.trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.trust li { font-size: 14px; color: var(--text2); display: inline-flex; align-items: center; gap: 7px; }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* Móviles de maqueta */
.herophones { position: relative; height: 600px; }
.phone { position: absolute; width: 280px; height: 580px; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #2A333C, #12181E);
  box-shadow: 0 0 0 1px #3A4651, 0 40px 80px rgba(0,0,0,.55), 0 0 120px var(--glow); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 88px; height: 25px; background: #000; border-radius: 20px; z-index: 3; }
.phone.back { left: 4%; top: 30px; transform: rotate(-6deg); opacity: .92; }
.phone.front { right: 4%; top: 0; transform: rotate(4deg); }
.phone.sm { position: relative; width: 250px; height: 520px; border-radius: 42px; padding: 10px; }
.phone.sm::before { top: 18px; width: 80px; height: 23px; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg); font-size: 12px; display: flex; flex-direction: column; }
.phone.sm .screen { border-radius: 33px; font-size: 11.5px; }
.sbar { display: flex; justify-content: space-between; padding: 14px 24px 6px; font-size: 11px; font-weight: 600; color: var(--text); }
.sbar span:last-child { letter-spacing: -1px; font-size: 9px; }
.sh { padding: 4px 16px; }
.brandmini { font-size: 11px; color: var(--accent); font-weight: 700; }
.ttl { font-size: 25px; font-weight: 800; padding: 2px 16px 8px; }
.chips { display: flex; gap: 6px; padding: 0 12px 10px; white-space: nowrap; overflow: hidden; }
.chips span { padding: 4px 10px; border-radius: 999px; background: var(--card); color: var(--text2); font-size: 10.5px; font-weight: 600; }
.chips .on { background: var(--accent); color: var(--ink); }
.row { display: flex; align-items: center; gap: 10px; padding: 8px 14px; }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; flex: none; }
.av.notes { background: var(--card2); font-size: 17px; }
.av.big { width: 96px; height: 96px; font-size: 30px; }
.rt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rt b { font-size: 13px; }
.rt span { color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; }
.rm { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.rm small { color: var(--muted); font-size: 10px; }
.rm i { font-style: normal; min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px; background: var(--accent); color: var(--ink); font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 0 18px; border-top: 1px solid var(--line); background: var(--bg2); font-size: 17px; filter: grayscale(1); opacity: .6; }
.tabbar .on { filter: none; }
.bar { display: flex; align-items: center; gap: 9px; padding: 6px 12px 10px; border-bottom: 1px solid var(--line); }
.bar .av { width: 34px; height: 34px; font-size: 11px; }
.bar div:nth-child(2) { display: flex; flex-direction: column; }
.bar b { font-size: 13px; }
.bar small { color: var(--accent); font-size: 10px; }
.bar .icons { margin-left: auto; font-size: 14px; letter-spacing: 6px; }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 12px; background: radial-gradient(circle at 30% 20%, rgba(43,217,163,.05), transparent 60%); }
.note { align-self: center; font-size: 9.5px; color: var(--text2); background: var(--card); padding: 4px 10px; border-radius: 999px; margin-bottom: 4px; }
.m { max-width: 78%; padding: 7px 11px; border-radius: 16px; font-size: 11.5px; line-height: 1.35; opacity: 0; animation: pop .5s forwards; }
.m.in { align-self: flex-start; background: var(--card2); border-bottom-left-radius: 5px; }
.m.out { align-self: flex-end; background: var(--accent); color: var(--ink); border-bottom-right-radius: 5px; font-weight: 500; }
.m.once { border: 1px dashed rgba(43,217,163,.55); background: transparent; color: var(--accent); }
.m.voice { display: inline-flex; align-items: center; gap: 7px; }
.wave { width: 70px; height: 14px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px); -webkit-mask-image: linear-gradient(transparent 0, #000 0);
  clip-path: polygon(0 40%, 8% 20%, 16% 55%, 24% 10%, 32% 45%, 40% 0, 48% 50%, 56% 20%, 64% 60%, 72% 25%, 80% 50%, 88% 30%, 100% 45%, 100% 100%, 0 100%); opacity: .8; }
.m:nth-child(2) { animation-delay: .3s; } .m:nth-child(3) { animation-delay: 1.1s; } .m:nth-child(4) { animation-delay: 1.9s; }
.m:nth-child(5) { animation-delay: 2.7s; } .m:nth-child(6) { animation-delay: 3.5s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.compose { margin: 8px 10px 18px; padding: 9px 14px; border-radius: 999px; background: var(--card); color: var(--muted); display: flex; justify-content: space-between; font-size: 11.5px; }
.compose.dark { background: rgba(0,0,0,.45); color: #ddd; border: 1px solid rgba(255,255,255,.2); position: relative; z-index: 2; }

.screen.call { background: radial-gradient(circle at 50% 30%, #1E2A55, #0B0F14 70%); }
.callbody { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.ring { padding: 8px; border-radius: 50%; border: 2px solid rgba(43,217,163,.5); animation: ring 2.4s infinite; margin-bottom: 8px; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(43,217,163,.4); } 80% { box-shadow: 0 0 0 26px rgba(43,217,163,0); } 100% { box-shadow: 0 0 0 0 rgba(43,217,163,0); } }
.cname { font-size: 22px; }
.callbody small { color: var(--text2); }
.pill { margin-top: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(43,217,163,.14); border: 1px solid rgba(43,217,163,.4); color: var(--accent); font-size: 11px; font-weight: 600; }
.pill.dim { margin-top: 0; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--text2); }
.callbtns { display: flex; justify-content: center; gap: 22px; padding: 0 0 34px; }
.callbtns span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); font-size: 19px; }
.callbtns .end { background: #E5484D; color: #fff; transform: rotate(135deg); }

.screen.story { background: #000; }
.prog { display: flex; gap: 4px; padding: 4px 12px; position: relative; z-index: 2; }
.prog i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.3); }
.prog .done { background: #fff; }
.prog .half { background: linear-gradient(90deg, #fff 55%, rgba(255,255,255,.3) 55%); }
.sthead { display: flex; align-items: center; gap: 8px; padding: 8px 12px; position: relative; z-index: 2; }
.sthead .av { width: 30px; height: 30px; font-size: 10px; box-shadow: 0 0 0 2px var(--accent); }
.sthead small { color: #ccc; }
.scene { position: absolute; inset: 0; background: linear-gradient(180deg, #2B1A4D 0%, #B4456B 45%, #F29A5C 62%, #1D3E63 63%, #0E2238 100%); }
.sun { position: absolute; left: 50%; top: 51%; width: 90px; height: 90px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(#FFE7A3, #FFB35C); box-shadow: 0 0 60px #FFB35C; }
.sea { position: absolute; left: 0; right: 0; top: 62.5%; bottom: 0; background: repeating-linear-gradient(180deg, rgba(255,255,255,.07) 0 2px, transparent 2px 9px); }
.stext { position: relative; z-index: 2; margin: auto auto 12px; padding: 6px 14px; background: rgba(0,0,0,.45); border-radius: 10px; font-size: 16px; font-weight: 700; }

/* Secciones */
.sec { padding: 96px 0; }
.sec.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.sec h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; max-width: 780px; margin-bottom: 44px; }
.center h2 { margin-left: auto; margin-right: auto; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.f { position: relative; padding: 26px; border-radius: var(--r); background: linear-gradient(180deg, var(--card), #10171E); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.f:hover { transform: translateY(-3px); border-color: rgba(43,217,163,.45); }
.f .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; background: rgba(43,217,163,.1); border: 1px solid rgba(43,217,163,.25); margin-bottom: 16px; }
.f h3 { font-size: 18px; margin-bottom: 8px; }
.f p { margin: 0; color: var(--text2); font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; justify-items: center; }
.gallery figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.gallery figcaption { color: var(--text2); font-size: 15px; font-weight: 600; text-align: center; }
.gallery .phone { box-shadow: 0 0 0 1px #3A4651, 0 24px 50px rgba(0,0,0,.5); }

.secgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; position: relative; }
.steps li { position: relative; padding: 22px 22px 22px 78px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.steps .n { position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-weight: 800; }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--text2); font-size: 15px; }
.unknown { position: sticky; top: 96px; padding: 30px; border-radius: 24px; background: radial-gradient(circle at 80% 0, rgba(43,217,163,.16), transparent 60%), var(--card); border: 1px solid rgba(43,217,163,.3); }
.unknown h3 { font-size: 22px; margin-bottom: 18px; }
.unknown ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.unknown li { display: flex; align-items: center; gap: 12px; color: var(--text2); font-size: 16px; text-decoration: line-through; text-decoration-color: rgba(229,72,77,.7); }
.unknown li::before { content: "✕"; flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(229,72,77,.14); color: #FF7A7E; font-size: 12px; font-weight: 800; text-decoration: none; }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.faq details[open] { border-color: rgba(43,217,163,.4); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--text2); overflow-wrap: anywhere; }

.cta { position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(43,217,163,.15), transparent); pointer-events: none; }
.cta .wrap { position: relative; }
.logo-big img { display: inline-block; width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 0 0 1px rgba(43,217,163,.35), 0 20px 60px rgba(43,217,163,.25); margin-bottom: 26px; }
.cta h2 { margin-bottom: 14px; }
.mail { margin: 30px 0 0; font-size: 17px; font-weight: 600; }

.foot { border-top: 1px solid var(--line); padding: 44px 0 36px; background: var(--bg2); }
.footgrid { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: start; }
.footgrid p { margin: 10px 0 0; font-size: 14px; }
.footlinks { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 6px; }
.footlinks a { color: var(--text2); font-size: 14px; }
.onion { grid-column: 1 / -1; overflow-wrap: anywhere; }
.onion a { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }


/* Cifrado destacado */
.enc { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 50% 0, rgba(43,217,163,.13), transparent 70%), var(--bg2); border-top: 1px solid rgba(43,217,163,.25); border-bottom: 1px solid var(--line); }
.enchead { text-align: center; max-width: 860px; margin: 0 auto; }
.enchead h2 { margin: 0 auto 18px; font-size: clamp(32px, 4.6vw, 52px); }
.shield { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 28px; display: grid; place-items: center; font-size: 42px;
  background: linear-gradient(160deg, rgba(43,217,163,.28), rgba(43,217,163,.06)); border: 1px solid rgba(43,217,163,.5);
  box-shadow: 0 0 0 10px rgba(43,217,163,.06), 0 0 0 22px rgba(43,217,163,.03), 0 20px 70px rgba(43,217,163,.3); }
.flow { display: grid; grid-template-columns: 1fr 70px 1.25fr 70px 1fr; align-items: center; gap: 0; margin: 56px auto 0; max-width: 980px; }
.node { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.node small { color: var(--text2); font-size: 13px; font-weight: 600; }
.bub { background: var(--accent); color: var(--ink); padding: 11px 16px; border-radius: 18px 18px 5px 18px; font-weight: 600; font-size: 15px; }
.bub.in { background: var(--card2); color: var(--text); border-radius: 18px 18px 18px 5px; }
.node.srv small { color: var(--accent); }
.cipher { width: 100%; padding: 14px 16px; border-radius: 14px; background: #070A0E; border: 1px dashed rgba(43,217,163,.45); color: #6FE3BF;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; position: relative; }
.cipher::before { content: "🔒"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--bg2); padding: 0 6px; font-size: 15px; }
.pipe { height: 2px; background: repeating-linear-gradient(90deg, rgba(43,217,163,.6) 0 6px, transparent 6px 12px); position: relative; overflow: hidden; }
.pipe i { position: absolute; top: -3px; left: -10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: travel 2.2s linear infinite; }
@keyframes travel { to { left: 100%; } }
.chiplbl { text-align: center; color: var(--text2); font-weight: 600; margin: 56px 0 14px; }
.encchips { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; }
.encchips li { padding: 7px 14px; border-radius: 999px; background: rgba(43,217,163,.08); border: 1px solid rgba(43,217,163,.3); color: var(--text); font-size: 14px; font-weight: 500; }
.encchips li::before { content: "🔒 "; font-size: 11px; }
.enccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.ec { padding: 26px; border-radius: var(--r); background: linear-gradient(180deg, rgba(43,217,163,.07), rgba(19,27,35,.9) 45%); border: 1px solid rgba(43,217,163,.22); }
.ec .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; background: rgba(43,217,163,.12); border: 1px solid rgba(43,217,163,.3); margin-bottom: 16px; }
.ec h3 { font-size: 18px; margin-bottom: 8px; }
.ec p { margin: 0; color: var(--text2); font-size: 15px; }

/* Todas las funciones */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.cat { padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.cat h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 14px; }
.cat h3 span { font-size: 20px; }
.cat ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cat li { position: relative; padding-left: 22px; color: var(--text2); font-size: 14.5px; line-height: 1.4; }
.cat li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
@media (max-width: 1000px) { .enccards { grid-template-columns: repeat(2, 1fr); } .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .enccards, .cats { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 360px; }
  .pipe { width: 2px; height: 40px; margin: 8px auto; background: repeating-linear-gradient(180deg, rgba(43,217,163,.6) 0 6px, transparent 6px 12px); }
  .pipe i { left: -3px; top: -10px; animation-name: travelv; }
}
@keyframes travelv { to { top: 100%; } }

@media (max-width: 1000px) {
  .herogrid { grid-template-columns: 1fr; }
  .herophones { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .secgrid { grid-template-columns: 1fr; }
  .unknown { position: static; }
}
@media (max-width: 720px) {
  .links { display: none; }
  .langs { margin-left: auto; }
  .hero { padding: 44px 0 56px; }
  .herophones { height: 470px; }
  .phone:not(.sm) { width: 220px; height: 456px; border-radius: 38px; padding: 9px; }
  .phone:not(.sm) .screen { border-radius: 30px; font-size: 10.5px; }
  .phone.back { left: 0; } .phone.front { right: 0; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .sec { padding: 68px 0; }
  .store { min-width: 0; flex: 1 1 160px; }
  .footgrid { grid-template-columns: 1fr; }
}
@media (max-width: 340px) { .brand span { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .m { opacity: 1; } html { scroll-behavior: auto; } }
