:root{
  --bg:#0B0B10;
  --bg2:#07070B;
  --text:#F4F5F7;
  --muted:#B6BAC5;
  --soft:#121321;
  --card:rgba(255,255,255,.035);
  --stroke:rgba(255,255,255,.10);
  --stroke2:rgba(255,255,255,.07);
  --shadow: 0 26px 90px rgba(0,0,0,.58);
  --r: 22px;
  --max: 1180px;
  --accentA:#B04CFF;
  --accentB:#FF3D8D;
  --accentC:#3DE7FF;
}

*{box-sizing:border-box}
html,
html, body { overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }

body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 800px at 20% 0%, rgba(176,76,255,.10), transparent 55%),
              radial-gradient(1000px 700px at 90% 20%, rgba(255,61,141,.10), transparent 55%),
              radial-gradient(1200px 800px at 70% 90%, rgba(61,231,255,.08), transparent 60%),
              linear-gradient(180deg,var(--bg),var(--bg2));
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto; display:block}
.container{max-width:var(--max); margin:0 auto; padding:0 24px}

.bg{position:fixed; inset:0; pointer-events:none; z-index:-1}
.bg__noise{
  position:absolute; inset:0;
  opacity:.11;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  background-size:240px 240px;
  mix-blend-mode: soft-light;
}

@media (max-width: 520px){
  .bg__noise{opacity:.07}
}
.bg__glow{position:absolute; filter: blur(60px); opacity:.55}
.bg__glow--a{width:520px; height:520px; left:-180px; top:-120px; background:radial-gradient(circle, rgba(176,76,255,.65), transparent 65%)}
.bg__glow--b{width:620px; height:620px; right:-220px; top:40px; background:radial-gradient(circle, rgba(255,61,141,.55), transparent 65%)}
.bg__glow--c{width:680px; height:680px; right:10%; bottom:-280px; background:radial-gradient(circle, rgba(61,231,255,.45), transparent 65%)}

.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(8,8,12,.62);
  backdrop-filter: blur(16px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 0}
.brand{display:flex; align-items:center; gap:10px}
.brand__mark{
  width:28px; height:28px; border-radius:10px;
  background: linear-gradient(135deg,var(--accentA),var(--accentB));
  box-shadow: 0 18px 46px rgba(176,76,255,.18), 0 14px 46px rgba(255,61,141,.10);
}
.brand__name{font-weight:700; letter-spacing:.2px}

.nav{display:flex; gap:18px; color:rgba(255,255,255,.78); font-size:14px}
.nav a{padding:8px 10px; border-radius:999px}
.nav a:hover{background:rgba(255,255,255,.05); color:rgba(255,255,255,.92)}
.topbar__cta{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.92);
  font-weight:600;
  transition: transform .12s ease, background .18s ease, border-color .18s ease, filter .18s ease;
  user-select:none;
}
.btn:hover{transform:translateY(-1px); background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.18)}
.btn:active{transform:translateY(0)}
.btn--primary{
  border:none;
  background: linear-gradient(135deg, rgba(176,76,255,1), rgba(255,61,141,1));
  box-shadow: 0 18px 60px rgba(176,76,255,.16), 0 18px 60px rgba(255,61,141,.12);
}
.btn--primary:hover{filter:saturate(1.05) brightness(1.05)}
.btn--ghost{background:transparent; border:1px solid rgba(255,255,255,.14)}
.btn__sub{font-size:12px; opacity:.85; font-weight:500}

.hide-sm{display:inline-flex}
@media (max-width: 860px){
  .nav{display:none}
  .hide-sm{display:none}
  .container{padding:0 18px}
}

.hero{padding:64px 0 34px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:center;
}
.hero__copy{max-width: 640px}
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px; border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:rgba(182,186,197,.95);
  font-size:13px;
}
h1{margin:16px 0 10px; font-size: clamp(38px, 5vw, 64px); line-height:1.02; letter-spacing:-.02em}
.lead{margin:0; font-size:18px; color:rgba(255,255,255,.78); line-height:1.6}
.hero__cta{display:flex; flex-wrap:wrap; gap:12px; margin-top:18px}
.badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:18px}
.badge{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.85);
  font-size:13px;
}
.micro{display:grid; gap:10px; margin-top:18px; color:rgba(182,186,197,.95); font-size:14px}
.micro__item{display:flex; align-items:center; gap:10px}
.dot{width:8px; height:8px; border-radius:999px; display:inline-block}
.dot--a{background:linear-gradient(135deg,var(--accentA),var(--accentB))}
.dot--b{background:linear-gradient(135deg,var(--accentB),var(--accentC))}
.dot--c{background:linear-gradient(135deg,var(--accentC),var(--accentA))}
.fineprint{margin-top:16px; color:rgba(182,186,197,.75); font-size:12px; line-height:1.6}

.hero__visual{position:relative}
.device{
  border-radius: calc(var(--r) + 10px);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.device img{width:100%; height:auto}
.floatPills{position:absolute; inset:0; pointer-events:none}
.pill{
  position:absolute;
  padding:10px 12px;
  border-radius:999px;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.90);
  font-size:13px;
  backdrop-filter: blur(10px);
}
.pill:nth-child(1){left:-6px; top:14%}
.pill:nth-child(2){right:-8px; top:32%}
.pill:nth-child(3){left:18%; bottom:12%}

@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr; gap:18px}
  .pill:nth-child(1){left:6px}
  .pill:nth-child(2){right:6px}
}

.section{padding:56px 0}
.section--tight{padding:46px 0}
.section__head{display:grid; gap:8px; margin-bottom:22px}
.section__head h2{margin:0; font-size: clamp(26px, 3vw, 38px); letter-spacing:-.01em}
.section__sub{margin:0; color:rgba(182,186,197,.92); line-height:1.65; max-width: 62ch}

.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px}
.grid-2{display:grid; grid-template-columns: repeat(2, 1fr); gap:16px}
@media (max-width: 980px){
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
}

.card, .panel{
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding:18px 18px 16px;
  box-shadow: 0 18px 70px rgba(0,0,0,.18);
  overflow:hidden;
}
.card h3, .panel h3{margin:10px 0 8px; font-size:18px}
.card p, .panel p{margin:0; color:rgba(182,186,197,.92); line-height:1.65}
.card__icon{
  width:38px; height:38px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(176,76,255,.18), rgba(255,61,141,.12));
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.92);
  font-weight:700;
}
.tag{
  display:inline-flex; align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color:rgba(255,255,255,.82);
  font-size:12px;
}

.screens .shot img{border-radius:16px; border:1px solid rgba(255,255,255,.08); background:rgba(0,0,0,.20)}
.screens .shot h3{margin-top:14px}

.callout{
  margin-top:18px;
  border-radius: calc(var(--r) + 6px);
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, rgba(176,76,255,.12), rgba(255,61,141,.08), rgba(61,231,255,.06));
  padding:18px;
  display:flex; gap:14px; align-items:center; justify-content:space-between;
}
.callout__title{font-weight:700; margin-bottom:4px}
.callout__text{color:rgba(255,255,255,.82); line-height:1.6}
@media (max-width: 860px){
  .callout{flex-direction:column; align-items:flex-start}
}

.list{margin:12px 0 0; padding:0 0 0 18px; color:rgba(182,186,197,.92); line-height:1.8}
.list li{margin:4px 0}

.trust{
  margin-top:16px;
  display:grid; grid-template-columns: repeat(3, 1fr); gap:12px;
}
.trust__item{
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.025);
  padding:14px 14px 12px;
  text-align:center;
}
.trust__num{font-size:26px; font-weight:800; letter-spacing:-.02em}
.trust__label{color:rgba(182,186,197,.92); margin-top:4px; font-size:13px}
@media (max-width: 860px){
  .trust{grid-template-columns:1fr}
}

.ctaBand{
  margin-top:18px;
  display:flex; gap:14px; align-items:center; justify-content:space-between;
  padding:18px;
  border-radius: calc(var(--r) + 8px);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.ctaBand__title{font-size:18px; font-weight:800}
.ctaBand__text{color:rgba(182,186,197,.92); margin-top:2px}
@media (max-width: 860px){
  .ctaBand{flex-direction:column; align-items:flex-start}
}

.faq{display:grid; gap:12px}
.faq__item{
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 14px 16px;
}
.faq__item summary{cursor:pointer; font-weight:700; outline:none}
.faq__item p{margin:10px 0 0; color:rgba(182,186,197,.92); line-height:1.65}

.footer{
  padding:34px 0 46px;
  border-top:1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.18);
}
.footer__grid{
  display:grid; grid-template-columns: 1.2fr .8fr .9fr;
  gap:18px; align-items:start;
}
.footer__links{display:flex; flex-direction:column; gap:10px; color:rgba(255,255,255,.78)}
.footer__links a:hover{color:rgba(255,255,255,.95)}
.footer__text{margin:12px 0 0; color:rgba(182,186,197,.90); line-height:1.6}
.footer__cta{display:flex; flex-direction:column; gap:10px; align-items:flex-start}
.brandLine{display:flex; align-items:center; gap:10px}
@media (max-width: 980px){
  .footer__grid{grid-template-columns:1fr}
  .footer__cta{align-items:flex-start}
}

/* reveal (safe): content always visible */
.reveal{opacity:1; transform:none}
.reveal.is-in{opacity:1; transform:none}
@media (prefers-reduced-motion: no-preference){
  .reveal.is-in{animation: fadeUp .6s ease both}
}
@keyframes fadeUp{from{opacity:0; transform: translateY(10px)} to{opacity:1; transform:none}}

/* docs pages */
.doc{
  padding:48px 0 56px;
}
.docCard{
  border-radius: calc(var(--r) + 8px);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 22px;
}
.docCard h1{font-size:32px; margin:0 0 10px}
.docCard h2{font-size:20px; margin:18px 0 8px}
.docCard p, .docCard li{color:rgba(182,186,197,.92); line-height:1.75}

/* --- GoKink v3 layout polish (blocks + readability + mobile fix) --- */
*{min-width:0}
html{overflow-x:hidden}

/* "Surface" blocks to keep text readable on the glow background */
.surface{
  border-radius: calc(var(--r) + 10px);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(8,8,12,.58);
  box-shadow: 0 30px 120px rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.surface--soft{
  background: rgba(8,8,12,.40);
  box-shadow: 0 26px 90px rgba(0,0,0,.45);
}

/* Fallback for Android browsers where backdrop-filter is limited/disabled */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .surface{background: rgba(8,8,12,.90)}
  .surface--soft{background: rgba(8,8,12,.86)}
}
.section__panel{padding:26px; overflow:hidden}
.section__panel .section__head{margin-bottom:18px}
.section__panel .grid-3{margin-top:4px}

/* Hero: keep the phone inside the viewport and make copy a clean block */
.hero__copy.surface{padding:22px}
.hero__visual{max-width:560px; margin-inline:auto; overflow:hidden}
.hero__visual.surface{padding:18px}
.hero__frame{overflow:hidden; border-radius: calc(var(--r) + 10px)}
.device{width:100%; max-width:520px; margin-inline:auto}
@media (max-width: 520px){
  .hero{padding:44px 0 26px}
  .hero__copy.surface{padding:18px}
  .hero__visual.surface{padding:14px}
  .hero__cta .btn{width:100%}
  .device{max-width:100%}
}

/* Pills should never stick out on mobile */
.pill:nth-child(1){left:14px !important}
.pill:nth-child(2){right:14px !important}
.pill:nth-child(3){left:14px !important; bottom:14px !important}
@media (max-width: 520px){
  .floatPills{display:none}
}

/* Footer panel */
.footer__panel{padding:22px}

/* Docs: keep same surface look */
.doc-surface{padding:18px}


/* hard clip to prevent Android overflow */
.hero__frame{overflow:hidden; border-radius: 28px;}
.device{max-width: 520px; margin: 0 auto;}
.device img{display:block; width:100%; height:auto;}
@media (max-width: 420px){ .floatPills{display:none;} }


/* v5 additions */
.hero__wordmark{margin:14px 0 10px; display:block}
.hero__wordmark img{width:100%; max-width: 520px; height:auto; display:block; filter: drop-shadow(0 20px 48px rgba(0,0,0,.55))}
@media (max-width: 520px){
  .hero__wordmark img{max-width: 100%;}
}

.miniGrid{display:grid; gap:12px; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top:18px}
.miniCard{border:1px solid rgba(255,255,255,.12); background: rgba(10,10,14,.55); border-radius: 18px; padding: 14px 14px}
.miniCard__k{font-size:12px; letter-spacing:.08em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom:6px}
.miniCard__v{font-size:14px; color: rgba(255,255,255,.88); line-height:1.35}
@media (max-width: 920px){
  .miniGrid{grid-template-columns: 1fr; }
}

/* make details summary nicer on Android */
.faq__item summary{cursor:pointer}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary{list-style:none}

/* device image smoothing */
.device img{border-radius: 22px; box-shadow: 0 22px 60px rgba(0,0,0,.55)}
.hero__visual .device img{border-radius: 24px}

/* hard stop horizontal scroll on Android */
.hero, .section, .footer{overflow-x: clip;}
