:root {
  --bg: #0b0d10; --text: #e8f1ff; --muted: #8e9bb0; --accent: #b7c9e6;
  --glass: rgba(26,29,36,.55); --glass-strong: rgba(20,23,29,.82);
  --line: rgba(232,241,255,.13); --raised: rgba(232,241,255,.09);
  --pad: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: #0b0d10 url(/brand/bg.jpg) center / cover fixed; color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #f3f8ff; color: #0b0d10; padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(10px + env(safe-area-inset-top)); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.narrow { max-width: 820px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.4rem, 8.5vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 5vw, 2.7rem); line-height: 1.12; letter-spacing: -.015em; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 650; margin-bottom: 6px; }
.lead { color: #b9c6da; font-size: clamp(1rem, 2.4vw, 1.18rem); max-width: 56ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 12px; color: var(--accent); margin-bottom: 14px; }
.fine { color: var(--muted); font-size: 13.5px; }

/* glass */
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: 24px;
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 20px 50px rgba(0,0,0,.35); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn.primary { background: linear-gradient(180deg, #f3f8ff, #b7c9e6); color: #0b0d10; box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(183,201,230,.22); }
.btn.primary:hover { background: linear-gradient(180deg, #fff, #c8d6e5); transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 12px 28px rgba(183,201,230,.32); }
.btn.ghost { background: rgba(232,241,255,.07); border-color: var(--line); color: var(--text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn.ghost:hover { background: rgba(232,241,255,.14); transform: translateY(-2px); }
.btn.sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.link-btn { color: #c8d6e5; text-decoration: none; padding: 8px 12px; font-weight: 550; border-radius: 999px; }
.link-btn:hover { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.cta-row.center { justify-content: center; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.stuck { background: rgba(11,13,16,.6); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 14px; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; color: #b9c6da; padding: 8px 12px; border-radius: 999px; font-size: 14.5px; }
.nav-links a:hover { color: #fff; background: var(--raised); }
.nav-cta { display: flex; align-items: center; gap: 4px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: clamp(28px, 6vw, 72px); padding-bottom: 40px; }
.hero-copy { min-width: 0; }
.hero-mock { position: relative; min-height: 500px; min-width: 0; }
.butterfly { position: absolute; width: 74px; z-index: 3; filter: drop-shadow(0 6px 18px rgba(183,201,230,.35)); pointer-events: none; }
.hero-mock .butterfly { top: -30px; right: 8%; }
.strip img { border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.45); -webkit-mask-image: linear-gradient(#000 85%, transparent); mask-image: linear-gradient(#000 85%, transparent); }

/* markers + shimmer */
.mark { background: linear-gradient(100deg, rgba(183,201,230,.38), rgba(183,201,230,.16)) no-repeat 0 88% / 0% 42%; border-radius: 4px; padding: 0 .08em; transition: background-size 1s cubic-bezier(.2,.7,.2,1) .35s; }
.in .mark, .mark.in { background-size: 100% 42%; }
.shimmer { background: linear-gradient(100deg, #e8f1ff 20%, #8fa6cc 40%, #fff 50%, #8fa6cc 60%, #e8f1ff 80%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -250% 0; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.grid .reveal:nth-child(3n+2) { transition-delay: .08s; }
.grid .reveal:nth-child(3n) { transition-delay: .16s; }

/* floating */
.float-a { animation: floatA 7s ease-in-out infinite; }
.float-b { animation: floatB 8s ease-in-out infinite; }
@keyframes floatA { 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes floatB { 50% { transform: translateY(12px); } }

/* chat mock */
.chat { width: min(380px, 100%); padding: 16px; position: relative; z-index: 1; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat-head div { display: grid; line-height: 1.25; }
.chat-head small { color: var(--muted); display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #7fd6a6; display: inline-block; }
.chat-ico { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--raised); display: grid; place-items: center; }
.chat-ico svg, .cb svg, .vc svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pfp { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(183,201,230,.22); font-weight: 650; flex: none; }
.pfp.s { width: 30px; height: 30px; font-size: 13px; }
.bubbles { display: flex; flex-direction: column; gap: 8px; padding: 14px 0 6px; min-height: 196px; }
.b { max-width: 82%; padding: 9px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; opacity: 0; transform: translateY(8px) scale(.97); transition: opacity .35s, transform .35s; }
.b.show { opacity: 1; transform: none; }
.b.them { background: rgba(232,241,255,.08); border: 1px solid rgba(232,241,255,.09); align-self: flex-start; border-bottom-left-radius: 5px; }
.b.me { background: linear-gradient(160deg, rgba(183,201,230,.38), rgba(122,135,155,.28)); border: 1px solid rgba(232,241,255,.2); align-self: flex-end; border-bottom-right-radius: 5px; }
.typing { display: flex; gap: 4px; height: 20px; align-items: center; padding-left: 6px; opacity: 0; transition: opacity .2s; }
.typing.on { opacity: 1; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: dots 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { transform: translateY(-4px); opacity: .5; } }
.composer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 10px 12px 10px 16px; border-radius: 999px; background: rgba(11,13,16,.4); border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.composer b { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(180deg, #f3f8ff, #b7c9e6); }

/* call card */
.callcard { position: absolute; right: 0; bottom: -64px; width: 230px; padding: 18px; display: grid; justify-items: center; gap: 8px; z-index: 2; background: var(--glass-strong); }
.ring-wrap { position: relative; width: 140px; height: 140px; }
.ring-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-av { position: absolute; inset: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; font-weight: 700; background: radial-gradient(circle at 30% 25%, #dbe7fb, #7f93b3 70%); color: #0b0d10; box-shadow: 0 0 24px rgba(183,201,230,.4); }
.call-meta { display: grid; text-align: center; line-height: 1.3; }
.call-meta small { color: var(--muted); }
.call-btns { display: flex; gap: 10px; }
.cb { width: 38px; height: 38px; border-radius: 50%; background: var(--raised); border: 1px solid var(--line); display: grid; place-items: center; }
.cb.end { background: linear-gradient(180deg, #f0b4b4, #d97c7c); color: #1a0c0c; border: 0; }

/* sections */
.sec { padding-top: clamp(48px, 9vw, 96px); padding-bottom: 8px; }
.sec-head { margin-bottom: 36px; max-width: 680px; }
.sec-head .lead { margin-top: 14px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { padding: 22px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); transition: transform .25s, border-color .25s, box-shadow .25s, opacity .8s ease; }
.card:hover { transform: translateY(-6px); border-color: rgba(183,201,230,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 18px 40px rgba(0,0,0,.4); }
.card.reveal:not(.in):hover { transform: translateY(26px); }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: linear-gradient(160deg, rgba(183,201,230,.22), rgba(183,201,230,.06)); border: 1px solid var(--line); color: var(--accent); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.split.rev { grid-template-columns: 1.15fr 1fr; }
.split > * { min-width: 0; }
.copy .lead { margin-top: 14px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: #c9d5e8; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-2px); }

/* server mock */
.servermock { display: grid; grid-template-columns: 56px 150px 1fr; min-height: 300px; overflow: hidden; }
.sbar { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; border-right: 1px solid var(--line); background: rgba(11,13,16,.3); }
.sv { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--raised); font-weight: 650; font-size: 14px; transition: border-radius .2s; }
.sv.on { border-radius: 13px; background: linear-gradient(160deg, #dbe7fb, #8da3c6); color: #0b0d10; }
.sv.add { border: 1px dashed var(--line); background: none; color: var(--muted); }
.chan { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; border-right: 1px solid var(--line); font-size: 14px; }
.chan strong { padding: 0 8px 8px; }
.chan small { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 10.5px; padding: 8px 8px 2px; }
.ch { padding: 6px 8px; border-radius: 9px; color: #b0bdd1; display: flex; align-items: center; gap: 6px; }
.ch.on { background: var(--raised); color: #fff; }
.ch em { margin-left: auto; font-style: normal; font-size: 11px; background: rgba(183,201,230,.22); border-radius: 999px; padding: 0 7px; }
.msgs { display: flex; flex-direction: column; gap: 14px; padding: 16px; min-width: 0; }
.m { display: flex; gap: 10px; align-items: flex-start; }
.m p { font-size: 14px; display: grid; color: #cdd8ea; line-height: 1.35; }
.m b { color: var(--accent); font-size: 12.5px; }
.m b i { font-style: normal; font-size: 9.5px; letter-spacing: .1em; background: rgba(183,201,230,.25); color: #fff; padding: 1px 6px; border-radius: 6px; margin-left: 6px; }

.phone { padding: 10px; overflow: hidden; }
.phone img { border-radius: 16px; width: 100%; }

.band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; padding: clamp(24px, 5vw, 52px); }
.swatches { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sw { width: 64px; height: 64px; border-radius: 20px; border: 1px solid var(--line); animation: floatA 7s ease-in-out infinite; }
.sw.a { background: linear-gradient(160deg, #f3f8ff, #8fa6cc); }
.sw.b { background: linear-gradient(160deg, #3a4a68, #151b28); animation-delay: -1s; }
.sw.c { background: linear-gradient(160deg, #b7c9e6, #6f7f9e); box-shadow: 0 0 22px rgba(183,201,230,.5); animation-delay: -2s; }
.sw.d { background: linear-gradient(160deg, #cfd8e6, #f3f6f9); animation-delay: -3s; }
.sw.e { background: linear-gradient(160deg, #26304a, #0b0d10); box-shadow: 0 0 0 2px var(--accent); animation-delay: -4s; }

.privacy { padding: clamp(24px, 5vw, 52px); }
.pv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 28px 0 22px; }
.pv-grid div { padding-top: 16px; border-top: 1px solid var(--line); }
.pv-grid p { color: #b9c6da; font-size: 15px; }

.faq { display: grid; gap: 10px; }
details { background: var(--glass); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: border-color .2s; }
details[open] { border-color: rgba(183,201,230,.35); }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; color: var(--accent); transition: transform .25s; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: #b9c6da; padding-bottom: 18px; }

.final { position: relative; text-align: center; padding: clamp(40px, 8vw, 80px) var(--pad); display: grid; justify-items: center; gap: 14px; overflow: hidden; }
.final .butterfly { top: 16px; right: 8%; width: 56px; }
.final .cta-row { margin-bottom: 0; }

.foot { margin-top: clamp(48px, 8vw, 96px); border-top: 1px solid var(--line); background: rgba(11,13,16,.6); padding-bottom: env(safe-area-inset-bottom); }
.foot-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.foot-in p { color: var(--muted); font-size: 14px; }
.foot-in nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.foot-in nav a { color: #b9c6da; text-decoration: none; font-size: 14px; }
.foot-in nav a:hover { color: #fff; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-mock { min-height: 0; display: grid; gap: 18px; justify-items: center; padding-top: 24px; }
  .callcard { position: relative; right: auto; bottom: auto; width: min(380px, 100%); grid-template-columns: auto 1fr auto; justify-items: start; align-items: center; column-gap: 14px; padding: 14px 16px; }
  .ring-wrap { width: 96px; height: 96px; }
  .ring-av { inset: 24px; font-size: 24px; }
  .call-meta { text-align: left; }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .phone { order: 2; }
  .band { grid-template-columns: 1fr; }
  .swatches { justify-content: flex-start; }
  .pv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid, .grid.four { grid-template-columns: 1fr; }
  .servermock { grid-template-columns: 48px 1fr; }
  .msgs { display: none; }
  .btn { padding: 0 20px; }
  .cta-row .btn { flex: 1 1 auto; }
  .brand span { letter-spacing: .14em; }
  .link-btn { padding: 8px 8px; }
  .foot-in nav { margin-left: 0; }
  .hero-mock .butterfly { right: 2%; top: -14px; width: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .mark { background-size: 100% 42%; }
  .shimmer { background-position: 0 0; }
  .b { opacity: 1; transform: none; }
}

.hero-copy .lead { margin-top: 22px; }
.nav-cta, .nav-cta a, .brand span { white-space: nowrap; }
@media (max-width: 600px) { .brand span { letter-spacing: .1em; font-size: 13px; } .nav-in { gap: 8px; } .btn.sm { padding: 0 14px; } }
