/* Self-hosted Google Fonts (no third-party requests). latin + latin-ext only. */
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/geist-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/geist-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/geist-mono-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/geist-mono-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/geist-mono-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/geist-mono-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #07080b;
  --core: #0e1016;
  --core-2: #13161e;
  --text: #f2f3f6;
  --text-2: #a3a8b6;
  --muted: #6c7180;
  --hair: rgba(255, 255, 255, .07);
  --hair-2: rgba(255, 255, 255, .12);
  --accent: #7c8cff;
  --accent-2: #b4bdff;
  --lime: #c6f36b;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --spring: cubic-bezier(.34, 1.36, .64, 1);
  --r: 28px;
  --pad: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16.5px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: clamp(2.9rem, 7.4vw, 6.4rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #07080b; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 10px; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 48px); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 38em; line-height: 1.65; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 40; background: #fff; color: #000; padding: 8px 14px; border-radius: 10px; }

/* Film grain — fixed, non-interactive */
.grain {
  position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Eyebrow pill */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--hair);
  font: 500 .7rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--text-2);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(198, 243, 107, .15), 0 0 12px rgba(198, 243, 107, .6); }

/* Double bezel: outer tray + inner core */
.shell {
  padding: var(--pad); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  box-shadow: inset 0 0 0 1px var(--hair);
}
.core {
  border-radius: calc(var(--r) - var(--pad));
  background: linear-gradient(180deg, var(--core-2), var(--core));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 0 0 1px rgba(255, 255, 255, .03), 0 30px 60px -40px rgba(0, 0, 0, .8);
}

/* Buttons — pill with nested icon */
.btn {
  display: inline-flex; align-items: center; gap: 14px; height: 56px;
  padding: 0 7px 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: #f4f5f8; color: #0a0b0f; font: 500 .98rem var(--sans); letter-spacing: -0.01em; white-space: nowrap;
  box-shadow: inset 0 1px 0 #fff, 0 10px 30px -10px rgba(124, 140, 255, .45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s var(--ease);
}
.btn-icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: #0a0b0f; color: #fff; transition: transform .6s var(--spring);
}
.btn-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { box-shadow: inset 0 1px 0 #fff, 0 16px 40px -10px rgba(124, 140, 255, .65); }
.btn:hover .btn-icon { transform: translate(2px, -1px) scale(1.06); }
.btn:active { transform: scale(.98); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); box-shadow: inset 0 0 0 1px var(--hair-2); }
.btn-ghost .btn-icon { background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Floating island nav */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 20; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav-island {
  pointer-events: auto; display: flex; align-items: center; gap: 28px;
  width: min(1080px, 100%); height: 60px; padding: 0 8px 0 18px; border-radius: 999px;
  background: rgba(14, 16, 22, .55); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: inset 0 0 0 1px var(--hair), inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 50px -20px rgba(0, 0, 0, .7);
  transition: background .5s var(--ease);
}
.nav.scrolled .nav-island { background: rgba(14, 16, 22, .82); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; letter-spacing: -0.02em; }
.logo-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(145deg, #1c2030, #0c0e14); color: var(--lime);
  box-shadow: inset 0 0 0 1px var(--hair-2), inset 0 1px 0 rgba(255, 255, 255, .1);
  font: 500 .7rem var(--mono);
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: .9rem; color: var(--text-2); transition: color .3s var(--ease), background .3s var(--ease); }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair); font: 500 .7rem var(--mono); letter-spacing: .06em; }
.lang a { padding: 6px 9px; border-radius: 999px; color: var(--muted); transition: color .3s var(--ease), background .3s var(--ease); }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: rgba(255, 255, 255, .1); color: var(--text); }
.nav-cta {
  height: 44px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 999px;
  background: #f4f5f8; color: #0a0b0f; font-weight: 500; font-size: .9rem;
  transition: transform .4s var(--ease), background .3s var(--ease);
}
.nav-cta:hover { background: #fff; }
.nav-cta:active { transform: scale(.97); }

.burger { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); cursor: pointer; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .6s var(--ease), translate .6s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { translate: 0 3.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { translate: 0 -3.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 15; display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 110px 28px 40px; background: rgba(7, 8, 11, .86);
  backdrop-filter: blur(40px) saturate(1.4); -webkit-backdrop-filter: blur(40px) saturate(1.4);
  opacity: 0; transition: opacity .5s var(--ease);
}
.menu[hidden] { display: none; }
.menu-open .menu { opacity: 1; }
.menu-links { display: grid; gap: 6px; }
.menu-links a, .menu-lang {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * 55ms + 80ms);
}
.menu-links a { font-size: clamp(2.2rem, 9vw, 3.2rem); letter-spacing: -0.04em; font-weight: 500; line-height: 1.15; }
.menu-links a:last-child { color: var(--accent-2); }
.menu-lang { align-self: flex-start; }
.menu-open .menu-links a, .menu-open .menu-lang { opacity: 1; transform: none; }

/* Tech marquee */
.stack { padding: 70px 0 30px; text-align: center; }
.stack-label { font: 500 .7rem var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.marquee { margin-top: 26px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; color: #5c6170; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* Sections */
.section { padding: 150px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2 { margin-top: 22px; }
.section-head > p:not(.eyebrow) { margin-top: 20px; color: var(--text-2); font-size: 1.12rem; }
.section-head.center { text-align: center; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.bento-card .shell, .bento-card .core { height: 100%; }
.bento-card .core { display: flex; flex-direction: column; padding: 30px; }
.b-web { grid-column: span 7; grid-row: span 2; }
.b-mobile, .b-seo { grid-column: span 5; }
.b-bundle { grid-column: span 12; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--hair-2); }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-2); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.card-tag { font: 500 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; }
.bento-card h3 { margin-top: 28px; font-size: 1.6rem; }
.bento-card .core > p { margin-top: 12px; color: var(--text-2); max-width: 34em; }
.bento-card ul { display: grid; gap: 10px; margin-top: auto; padding-top: 26px; font-size: .9rem; color: var(--text-2); }
.b-web ul { grid-template-columns: 1fr 1fr; }

.viz { margin-top: 26px; border-radius: 18px; overflow: hidden; background: #0a0c11; box-shadow: inset 0 0 0 1px var(--hair); }
.viz-web .viz-bar { height: 34px; }
.viz-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 40px 20px 36px; }
.viz-mobile { position: relative; height: 200px; isolation: isolate; background: radial-gradient(circle at 50% 120%, rgba(124, 140, 255, .35), transparent 60%), #0a0c11; }
.mini-phone {
  position: absolute; bottom: -50px; left: 50%; width: 120px; height: 230px; padding: 34px 12px 12px; border-radius: 26px;
  background: #12151d; box-shadow: inset 0 0 0 1px var(--hair-2), 0 20px 40px -10px rgba(0, 0, 0, .9);
  display: flex; flex-direction: column; gap: 9px; translate: -15% 0; rotate: 6deg; z-index: 1;
  transition: rotate .8s var(--ease), translate .8s var(--ease);
}
.mini-phone.back { translate: -95% 10px; rotate: -8deg; opacity: .65; z-index: 0; }
.b-mobile:hover .mini-phone { rotate: 2deg; translate: -10% -8px; }
.b-mobile:hover .mini-phone.back { rotate: -12deg; translate: -105% 10px; }
.mini-phone span, .mini-phone i { display: block; border-radius: 6px; }
.mini-phone .mp-notch { top: 9px; width: 40px; height: 12px; }
.mp-hero { height: 56px; border-radius: 12px !important; background: linear-gradient(135deg, #7c8cff, #4d5bd6); }
.mp-card { height: 70px; border-radius: 12px !important; background: var(--lime); }
.mp-line { height: 6px; background: rgba(255, 255, 255, .16); }
.mp-line.s { width: 60%; background: rgba(255, 255, 255, .08); }
.mp-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; }
.mp-grid i { height: 34px; border-radius: 9px !important; background: rgba(255, 255, 255, .06); }
.mp-btn { height: 24px; border-radius: 999px !important; background: #f4f5f8; margin-top: auto; }
.viz-seo { position: relative; height: 200px; }
.viz-seo svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; }
.seo-line { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.in .seo-line { stroke-dashoffset: 0; }
.rank-chip { position: absolute; top: 18px; right: 18px; display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--hair-2); font-size: .78rem; color: var(--text-2); }
.rank-chip b { display: grid; place-items: center; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--lime); color: #0a0b0f; font-weight: 600; font-size: .75rem; }

.b-bundle .shell { background: linear-gradient(120deg, rgba(124, 140, 255, .35), rgba(255, 255, 255, .04) 40%, rgba(198, 243, 107, .2)); }
.b-bundle .core {
  flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; padding: 48px;
  background: radial-gradient(80% 140% at 0% 0%, rgba(124, 140, 255, .18), transparent 60%), linear-gradient(180deg, var(--core-2), var(--core));
}
.b-bundle h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.035em; }
.b-bundle p { margin-top: 12px; color: var(--text-2); max-width: 36em; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step .shell, .step .core { height: 100%; }
.step .core { padding: 30px 26px 34px; }
.step-n { display: inline-flex; align-items: center; gap: 10px; font: 500 .78rem var(--mono); color: var(--accent-2); letter-spacing: .08em; }
.step-n::after { content: ''; width: 40px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.step h3 { margin-top: 56px; font-size: 1.35rem; }
.step p { margin-top: 12px; color: var(--text-2); font-size: .95rem; }

/* Why — editorial split */
.why-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.why-head { position: sticky; top: 140px; margin-bottom: 0; }
.why-head .btn { margin-top: 36px; }
.why { border-top: 1px solid var(--hair); }
.why-item { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 40px 0; border-bottom: 1px solid var(--hair); }
.why-n { font: 500 .8rem/1 var(--mono); letter-spacing: .08em; color: var(--accent-2); padding-top: .55em; }
.why-item h3 { font-size: 1.55rem; }
.why-item p { margin-top: 12px; color: var(--text-2); max-width: 32em; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { --r: 22px; --pad: 5px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 20px 20px 24px; font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--hair); transition: transform .6s var(--ease), background .4s var(--ease); }
.plus::before, .plus::after { content: ''; position: absolute; left: 10px; right: 10px; top: 15.25px; height: 1.5px; background: var(--text); border-radius: 2px; }
.plus::after { transform: rotate(90deg); transition: transform .6s var(--ease); }
details[open] .plus { transform: rotate(180deg); background: var(--accent); }
details[open] .plus::after { transform: rotate(0deg); }
.faq details p { padding: 18px 24px 22px; color: var(--text-2); max-width: 44em; }

/* Contact */
.contact { padding-bottom: 120px; isolation: isolate; overflow: hidden; }
.contact-glow { position: absolute; left: 50%; top: 45%; width: 1000px; height: 600px; translate: -50% -50%; background: radial-gradient(closest-side, rgba(124, 140, 255, .2), transparent); pointer-events: none; z-index: -1; }
.contact .shell { --r: 36px; --pad: 8px; }
.contact-core { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; padding: 64px; }
.contact-copy h2 { margin-top: 22px; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.contact-copy .lead { margin-top: 20px; }
.contact-copy .muted { margin-top: 40px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; }
.direct { display: grid; gap: 10px; margin-top: 14px; }
.direct-link {
  display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--hair); font-weight: 500; overflow-wrap: anywhere;
  transition: background .4s var(--ease), transform .5s var(--ease);
}
.direct-link:hover { background: rgba(255, 255, 255, .06); transform: translateX(4px); }
.direct-link small { display: block; font: 500 .66rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.direct-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: rgba(124, 140, 255, .14); }
.direct-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.form { display: grid; gap: 18px; align-content: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label, .chips legend { display: grid; gap: 9px; font: 500 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form input:not([type=radio]), .form textarea {
  font: 400 1rem var(--sans); color: var(--text); background: rgba(0, 0, 0, .35); border: 0; border-radius: 16px;
  padding: 16px 18px; width: 100%; letter-spacing: normal; text-transform: none;
  box-shadow: inset 0 0 0 1px var(--hair), inset 0 2px 6px rgba(0, 0, 0, .35);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { outline: none; background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 4px rgba(124, 140, 255, .15); }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.chips legend { margin-bottom: 9px; padding: 0; }
.chip { display: inline-flex !important; position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  padding: 10px 16px; border-radius: 999px; font: 500 .88rem var(--sans); letter-spacing: -0.005em; text-transform: none; color: var(--text-2);
  background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--hair-2);
  transition: background .4s var(--ease), color .3s var(--ease), box-shadow .4s var(--ease), transform .4s var(--spring);
}
.chip:hover span { color: var(--text); }
.chip input:checked + span { background: #f4f5f8; color: #0a0b0f; box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.chip:active span { transform: scale(.96); }
.form .btn { justify-self: start; margin-top: 6px; }

/* Footer */
.footer { padding: 90px 0 36px; border-top: 1px solid var(--hair); overflow: hidden; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-top .muted { margin-top: 12px; font-size: .92rem; }
.footer-contact { display: grid; gap: 6px; text-align: right; font-size: 1.05rem; }
.footer-contact a { color: var(--text-2); transition: color .3s var(--ease); }
.footer-contact a:hover { color: var(--text); }
.wordmark {
  margin: 60px 0 30px; font-size: clamp(4rem, 17vw, 15rem); font-weight: 600; letter-spacing: -0.06em; line-height: .85; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .01) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 24px; border-top: 1px solid var(--hair); }
.footer-links { display: flex; gap: 22px; font-size: .88rem; color: var(--text-2); }
.footer-links a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 160px 0 120px; }
.legal-back { display: inline-block; margin-bottom: 30px; font: 500 .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .3s var(--ease); }
.legal-back:hover { color: var(--text); }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 48px; }
.legal-core { padding: 12px 40px; }
.legal section { padding: 30px 0; border-top: 1px solid var(--hair); }
.legal section:first-child { border-top: 0; }
.legal h2 { font-size: 1.15rem; letter-spacing: -0.015em; margin-bottom: 12px; }
.legal section p { color: var(--text-2); max-width: 46em; }
.legal section p + p { margin-top: 12px; }
.legal section a { color: var(--accent-2); text-decoration: underline; text-decoration-color: rgba(180, 189, 255, .35); text-underline-offset: 3px; }
.legal strong { color: var(--text); font-weight: 500; }
.legal-updated { margin-top: 24px; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(48px); filter: blur(10px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .seo-line { stroke-dashoffset: 0; transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .b-web, .b-mobile, .b-seo { grid-column: span 12; grid-row: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-head { position: static; }
  .contact-core { grid-template-columns: 1fr; padding: 44px; gap: 44px; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .nav { top: 10px; padding: 0 10px; }
  .nav-island { height: 56px; padding: 0 6px 0 14px; gap: 10px; }
  .nav-end > .lang, .nav-cta { display: none; }
  .burger { display: block; }
  .stack { padding: 56px 0 10px; }
  .section { padding: 100px 0; }
  .section-head { margin-bottom: 44px; }
  .bento-card .core { padding: 22px; }
  .b-web ul { grid-template-columns: 1fr; }
  .viz-scores { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .b-bundle .core { flex-direction: column; align-items: stretch; padding: 30px 22px; gap: 26px; }
  .b-bundle .btn { justify-content: space-between; white-space: normal; text-align: left; }
  .steps { grid-template-columns: 1fr; }
  .step h3 { margin-top: 30px; }
  .why-item { grid-template-columns: 1fr; gap: 10px; padding: 30px 0; }
  .contact-core { padding: 28px 20px; }
  .direct-link { font-size: .88rem; }
  .form-row { grid-template-columns: 1fr; }
  .form .btn { width: 100%; justify-content: space-between; }
  .footer-contact { text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .legal { padding: 120px 0 80px; }
  .legal-core { padding: 6px 22px; }
}

/* Web card: visual stretches to fill the tall bento cell */
.b-web .viz { flex: 1; display: flex; flex-direction: column; min-height: 300px; background: radial-gradient(90% 70% at 50% 40%, rgba(61, 220, 132, .07), transparent 70%), #0a0c11; }
.b-web .viz-scores { flex: 1; align-content: center; }
.viz-vitals { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.viz-vitals span { padding: 16px 20px; font: 500 1.05rem var(--mono); color: var(--text); }
.viz-vitals span + span { border-left: 1px solid var(--hair); }
.viz-vitals small { display: block; margin-bottom: 4px; font-size: .64rem; letter-spacing: .14em; color: var(--muted); }
.b-web ul { margin-top: 0; }
@media (max-width: 767px) { .b-web .viz { min-height: 0; } .viz-vitals span { padding: 12px 14px; font-size: .9rem; } }
.b-web .viz-scores { grid-template-columns: 1fr 1fr; gap: 44px 20px; padding: 48px 24px; }
.b-web .ring { --size: 112px; }
.b-web .ring b { font-size: 1.6rem; }
.b-web .score small { font-size: .8rem; }
@media (max-width: 767px) { .b-web .ring { --size: 84px; } .b-web .ring b { font-size: 1.2rem; } .b-web .viz-scores { gap: 28px 12px; padding: 32px 12px; } }

/* ================= HERO — cinematic ================= */
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --v { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --n { syntax: '<integer>'; inherits: true; initial-value: 0; }
@property --rk { syntax: '<integer>'; inherits: true; initial-value: 24; }

.hero { position: relative; padding: 190px 0 40px; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.aurora { position: absolute; inset: -20% -10% auto; height: 1300px; }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { width: 1100px; height: 700px; left: 50%; top: -200px; margin-left: -550px; background: radial-gradient(closest-side, rgba(124, 140, 255, .42), transparent); animation: aur1 18s var(--ease) infinite alternate; }
.aurora i:nth-child(2) { width: 700px; height: 700px; left: 0; top: 300px; background: radial-gradient(closest-side, rgba(198, 243, 107, .13), transparent); animation: aur2 22s var(--ease) infinite alternate; }
.aurora i:nth-child(3) { width: 800px; height: 800px; right: -100px; top: 420px; background: radial-gradient(closest-side, rgba(168, 106, 255, .24), transparent); animation: aur3 20s var(--ease) infinite alternate; }
@keyframes aur1 { to { transform: translate3d(-120px, 80px, 0) scale(1.15); } }
@keyframes aur2 { to { transform: translate3d(240px, -120px, 0) scale(1.2); } }
@keyframes aur3 { to { transform: translate3d(-260px, -60px, 0) scale(.9); } }

/* Light cone from above */
.beam {
  position: absolute; left: 50%; top: -80px; width: 1400px; height: 1000px; margin-left: -700px;
  background: conic-gradient(from 180deg at 50% 0%, transparent 162deg, rgba(180, 189, 255, .16) 174deg, rgba(220, 225, 255, .3) 180deg, rgba(180, 189, 255, .16) 186deg, transparent 198deg);
  mask-image: linear-gradient(#000 20%, transparent 85%); -webkit-mask-image: linear-gradient(#000 20%, transparent 85%);
  animation: beam 7s ease-in-out infinite alternate; transform-origin: 50% 0;
}
@keyframes beam { from { opacity: .55; transform: scaleX(.85); } to { opacity: 1; transform: scaleX(1.1); } }

/* Star dust */
.stars, .stars::after {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 27% 68%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 41% 14%, #cfd5ff, transparent), radial-gradient(1px 1px at 58% 42%, #fff, transparent),
    radial-gradient(1px 1px at 73% 18%, #fff, transparent), radial-gradient(1.5px 1.5px at 86% 56%, #e6ffc2, transparent),
    radial-gradient(1px 1px at 92% 28%, #fff, transparent), radial-gradient(1px 1px at 6% 48%, #fff, transparent),
    radial-gradient(1px 1px at 34% 36%, #fff, transparent), radial-gradient(1px 1px at 66% 8%, #fff, transparent);
  background-size: 900px 700px; opacity: .45;
  mask-image: linear-gradient(#000 30%, transparent 70%); -webkit-mask-image: linear-gradient(#000 30%, transparent 70%);
}
.stars::after { content: ''; background-position: 450px 300px; animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .2; } to { opacity: 1; } }


.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { margin-top: 28px; max-width: 13.5em; }
.hero .lead { margin-top: 28px; max-width: 34em; }
.hero .actions { margin-top: 40px; }

/* Word-by-word masked rise */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .04em .14em; margin: -.16em -.04em -.14em; }
.w > span { display: inline-block; transform-origin: 0 100%; }
.js .w > span { animation: wordUp 1.3s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 200ms); }
@keyframes wordUp { from { transform: translateY(105%) rotate(5deg); opacity: 0; filter: blur(8px); } to { transform: none; opacity: 1; filter: none; } }
.js .intro { animation: introUp 1.2s var(--ease) both; animation-delay: var(--d); }
@keyframes introUp { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

.points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 36px; font-size: .88rem; color: var(--text-2); }
.points li, .bento-card li { display: flex; align-items: center; gap: 9px; }
.points svg, .bento-card li svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Stage: 3D tilt that flattens as it scrolls into view */
.stage-wrap { position: relative; margin-top: 100px; perspective: 2000px; }
.horizon {
  position: absolute; left: 8%; right: 8%; top: -1px; height: 220px; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(160, 172, 255, .55), transparent 70%);
  filter: blur(20px); opacity: .8; animation: breathe 6s ease-in-out infinite alternate;
}
@keyframes breathe { to { opacity: .45; transform: scaleX(.9); } }
.stage-tilt { position: relative; transform-origin: 50% 0; animation: stageIn 1.8s var(--ease) .9s both; }
@keyframes stageIn { from { opacity: 0; transform: rotateX(32deg) translateY(80px) scale(.9); } to { opacity: 1; transform: rotateX(0) translateY(0) scale(1); } }
@supports (animation-timeline: view()) {
  .stage-tilt { animation: stageScroll linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
  @keyframes stageScroll { from { opacity: .35; transform: rotateX(34deg) scale(.88) translateY(40px); } to { opacity: 1; transform: rotateX(0) scale(1) translateY(0); } }
}
.stage { --r: 36px; --pad: 8px; position: relative; transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .9s var(--ease); transform-style: preserve-3d; }
/* Rotating light running along the frame */
.stage::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 4;
  background: conic-gradient(from var(--a), transparent 0deg, transparent 250deg, rgba(154, 166, 255, .9) 300deg, #c6f36b 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 7s linear infinite;
}
@keyframes spin { to { --a: 360deg; } }

.stage-core {
  position: relative; height: 580px; overflow: hidden;
  display: grid; grid-template-columns: 36% 1fr; gap: 18px; padding: 22px 22px 0;
  background: radial-gradient(120% 90% at 50% 0%, #171b2a 0%, var(--core) 60%);
}
.stage-core::after { content: ''; position: absolute; inset: auto 0 0; height: 140px; z-index: 3; background: linear-gradient(transparent, var(--core)); pointer-events: none; }

.viz-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-bottom: 1px solid var(--hair); background: rgba(255, 255, 255, .02); flex: none; }
.viz-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.viz-bar span { margin: 0 auto; padding: 3px 14px; border-radius: 8px; background: rgba(255, 255, 255, .04); font: 400 .7rem var(--mono); color: var(--muted); }

/* Editor */
.editor { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: rgba(6, 7, 10, .85); box-shadow: inset 0 0 0 1px var(--hair-2); }
.code { padding: 16px 0; font: 400 .74rem/1.85 var(--mono); color: #c9cede; overflow: hidden; }
.code .typed { white-space: pre; }
.ln { display: flex; gap: 14px; padding: 0 16px; }
.ln b { width: 16px; flex: none; text-align: right; font-weight: 400; color: #3d4250; }
.code .k { color: #c792ea; } .code .s { color: #c6f36b; } .code .f { color: #82aaff; } .code .c { color: #7c8cff; } .code .a { color: #ffcb8b; } .code .n { color: #f78c6c; }
.term { margin-top: auto; padding: 14px 18px 150px; border-top: 1px solid var(--hair); font: 400 .74rem/1.9 var(--mono); color: var(--text-2); }
.term .ok { color: #3ddc84; }

/* Typing + assembling — one shared 14s loop, offset per element by --t */
.typed { display: inline-block; animation: type 14s var(--t, 0s) infinite both; }
@keyframes type {
  0% { clip-path: inset(0 100% 0 0); opacity: 1; animation-timing-function: steps(22, end); }
  4% { clip-path: inset(0 0 0 0); opacity: 1; }
  86% { clip-path: inset(0 0 0 0); opacity: 1; }
  92%, 100% { clip-path: inset(0 0 0 0); opacity: 0; }
}
.bld { animation: build 14s var(--t, 0s) infinite both; }
@keyframes build {
  0% { opacity: 0; transform: translateY(14px) scale(.97); filter: blur(6px); }
  3.5% { opacity: 1; transform: none; filter: none; }
  86% { opacity: 1; transform: none; filter: none; }
  92%, 100% { opacity: 0; transform: translateY(-6px); filter: blur(4px); }
}

/* Browser preview */
.browser { position: relative; display: flex; flex-direction: column; margin-right: 150px; border-radius: 16px 16px 0 0; overflow: hidden; background: #0b0d13; box-shadow: inset 0 0 0 1px var(--hair-2), 0 40px 80px -30px rgba(0, 0, 0, .9); }
.browser-body { padding: 22px 28px; }
.browser-body span { display: block; border-radius: 6px; }
.b-nav { display: flex !important; align-items: center; gap: 16px; }
.b-nav span { width: 40px; height: 7px; background: rgba(255, 255, 255, .1); }
.b-nav .b-logo { width: 24px; height: 24px; border-radius: 8px; background: var(--lime); margin-right: auto; }
.b-nav .b-pill { width: 72px; height: 24px; border-radius: 999px; background: #f4f5f8; }
.b-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; margin-top: 40px; align-items: center; }
.b-tag { width: 100px; height: 18px; border-radius: 999px !important; background: rgba(124, 140, 255, .2); }
.b-h { height: 22px; width: 96%; margin-top: 14px; background: linear-gradient(90deg, #eef0f7, #9aa3c4); }
.b-h.s { width: 72%; margin-top: 9px; }
.b-p { height: 7px; width: 90%; margin-top: 18px; background: rgba(255, 255, 255, .1); }
.b-p.s { width: 62%; margin-top: 9px; }
.b-row { display: flex !important; gap: 9px; margin-top: 22px; }
.b-cta { width: 100px; height: 30px; border-radius: 999px !important; background: var(--accent); }
.b-cta.ghost { width: 80px; background: transparent; box-shadow: inset 0 0 0 1px var(--hair-2); }
.b-media {
  height: 190px; border-radius: 14px !important; box-shadow: inset 0 0 0 1px var(--hair);
  background: radial-gradient(circle at 30% 30%, rgba(124, 140, 255, .65), transparent 60%), radial-gradient(circle at 75% 70%, rgba(198, 243, 107, .4), transparent 55%), #12151f;
  background-size: 160% 160%; animation-name: build, media; animation-duration: 14s, 8s; animation-delay: var(--t), 0s; animation-iteration-count: infinite; animation-fill-mode: both; animation-direction: normal, alternate;
}
@keyframes media { to { background-position: 100% 100%; } }
.b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.b-cards span { height: 100px; border-radius: 14px !important; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--hair); }
/* Light sweep while the page renders */
.scan { position: absolute; inset: 38px 0 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(124, 140, 255, .14) 48%, rgba(198, 243, 107, .25) 50%, transparent 52%); background-size: 100% 300%; animation: scan 14s var(--t) infinite both; }
@keyframes scan { 0% { background-position: 0 100%; opacity: 1; } 14% { background-position: 0 0; opacity: 1; } 15%, 100% { opacity: 0; } }

/* Phone */
.phone {
  position: absolute; right: 4%; top: 86px; z-index: 2; width: 236px; height: 480px; padding: 9px; border-radius: 46px;
  background: linear-gradient(160deg, #2c303d, #0c0e13 40%, #1b1e27);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 60px 100px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 80px -20px rgba(124, 140, 255, .35);
  rotate: 5deg; animation: drift 9s var(--ease) infinite alternate;
}
@keyframes drift { to { translate: 0 -14px; } }
.phone-screen { position: relative; display: flex; flex-direction: column; gap: 13px; height: 100%; padding: 50px 16px 16px; border-radius: 38px; background: linear-gradient(180deg, #11141c, #0a0c11); overflow: hidden; }
.phone-screen > span, .phone-screen i, .phone-screen b { display: block; }
.mp-notch { position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 74px; height: 22px; border-radius: 999px; background: #000; z-index: 2; }
.notif {
  position: absolute !important; top: 44px; left: 10px; right: 10px; z-index: 3; display: flex !important; align-items: center; gap: 10px; padding: 10px;
  border-radius: 16px; background: rgba(40, 44, 58, .92); box-shadow: inset 0 0 0 1px var(--hair-2), 0 16px 30px -10px rgba(0, 0, 0, .8);
}
.notif i { width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--lime); }
.notif span { flex: 1; display: grid !important; gap: 6px; }
.notif b { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .55); }
.notif b + b { width: 60%; background: rgba(255, 255, 255, .2); }
.bld-drop { animation: drop 14s var(--t) infinite both; }
@keyframes drop {
  0% { opacity: 0; transform: translateY(-120%) scale(.9); }
  3% { opacity: 1; transform: none; }
  22% { opacity: 1; transform: none; }
  26%, 100% { opacity: 0; transform: translateY(-120%) scale(.9); }
}
.p-head { display: flex !important; align-items: center; gap: 10px; }
.p-avatar { width: 36px; height: 36px; border-radius: 12px; background: var(--lime); }
.p-lines { flex: 1; display: grid !important; gap: 7px; }
.p-lines i { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .16); }
.p-lines i:last-child { width: 60%; background: rgba(255, 255, 255, .08); }
.p-card { position: relative; height: 118px; border-radius: 18px; padding: 14px; background: linear-gradient(135deg, #7c8cff, #4d5bd6); overflow: hidden; }
.p-card b { width: 46%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .7); }
.p-card svg { position: absolute; left: 14px; right: 14px; bottom: 14px; width: calc(100% - 28px); height: 56px; }
.spark { stroke-dasharray: 200; animation: draw 14s var(--t) infinite both; }
@keyframes draw { 0% { stroke-dashoffset: 200; } 8% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 92%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.bars { display: flex !important; align-items: flex-end; gap: 8px; height: 92px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--hair); }
.bars i { flex: 1; height: var(--h); border-radius: 5px; background: linear-gradient(180deg, var(--lime), rgba(198, 243, 107, .25)); transform-origin: 50% 100%; }
.bars i:nth-child(odd) { background: linear-gradient(180deg, var(--accent-2), rgba(124, 140, 255, .2)); }
.grow { animation: grow 14s var(--t) infinite both; }
@keyframes grow { 0% { transform: scaleY(0); } 5% { transform: scaleY(1); } 86% { transform: scaleY(1); opacity: 1; } 92%, 100% { transform: scaleY(1); opacity: 0; } }
.p-tab { display: flex !important; justify-content: space-around; margin-top: auto; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .05); }
.p-tab i { width: 18px; height: 18px; border-radius: 6px; background: rgba(255, 255, 255, .15); }
.p-tab i:first-child { background: var(--lime); }

/* Floating chips */
.float {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 18px;
  background: rgba(22, 25, 35, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--hair-2), inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 50px -20px rgba(0, 0, 0, .9);
  font-size: .82rem; line-height: 1.25; white-space: nowrap; text-align: left;
}
.float b { display: block; font-weight: 500; }
.float small { color: var(--muted); font-size: .72rem; }
.float-a { left: 30%; top: 330px; }
.float-b { right: 25%; top: 40px; }
.float-c { right: 2%; bottom: 60px; }
.float-rank { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 6px; border-radius: 12px; background: var(--lime); color: #0a0b0f; font: 600 .85rem var(--mono); }
.float-dot { width: 38px; height: 38px; border-radius: 12px; background: radial-gradient(circle, var(--accent) 0 6px, rgba(124, 140, 255, .18) 7px); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(124, 140, 255, .12); } }

/* Score ring: masked conic arc; .live counts up with the loop */
.ring { --size: 64px; position: relative; display: grid; place-items: center; width: var(--size); height: var(--size); flex: none; }
.ring::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(#3ddc84 calc(var(--v) * 1%), rgba(255, 255, 255, .07) 0);
  -webkit-mask: radial-gradient(circle, transparent calc(var(--size) / 2 - 4px), #000 calc(var(--size) / 2 - 3.5px));
          mask: radial-gradient(circle, transparent calc(var(--size) / 2 - 4px), #000 calc(var(--size) / 2 - 3.5px));
}
.ring b { position: relative; font: 500 .95rem var(--mono); color: #3ddc84; }
.ring.sm { --size: 40px; }
.ring.sm b { font-size: .75rem; }
.ring.live { animation: score 14s var(--t) infinite both; }
.ring.live b::after { counter-reset: n var(--n); content: counter(n); }
@keyframes score { 0% { --v: 0; --n: 0; } 10% { --v: 98; --n: 98; } 100% { --v: 98; --n: 98; } }
.rank { animation: rank 14s var(--t) infinite both; }
.rank::before { counter-reset: rk var(--rk); content: '#' counter(rk); }
@keyframes rank { 0% { --rk: 24; } 12% { --rk: 1; } 100% { --rk: 1; } }
.score { display: grid; justify-items: center; gap: 10px; text-align: center; }
.score small { font-size: .72rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .aurora i, .beam, .stars::after, .horizon, .phone, .float-dot, .b-media { animation: none; }
  .js .w > span, .js .intro, .stage-tilt { animation: none; }
  .typed, .bld, .bld-drop, .grow, .spark, .scan, .ring.live, .rank { animation: none; }
  .ring.live { --v: 98; --n: 98; } .rank { --rk: 1; }
  .stage::before { animation: none; }
  .notif, .scan { display: none !important; }
}

@media (max-width: 1080px) {
  .stage-core { grid-template-columns: 1fr; }
  .editor { display: none; }
  .browser { margin-right: 120px; }
  .float-a { left: 4%; }
}
@media (max-width: 767px) {
  .hero { padding: 130px 0 20px; }
  .hero .lead { margin-top: 22px; }
  .stage-wrap { margin-top: 60px; }
  .stage { --r: 26px; --pad: 5px; }
  .stage-core { height: 440px; padding: 14px 14px 0; }
  .browser { margin-right: -60px; }
  .browser-body { padding: 16px; }
  .b-hero { grid-template-columns: 1fr; margin-top: 26px; }
  .b-media { display: none !important; }
  .phone { right: 3%; top: 100px; width: 168px; height: 344px; border-radius: 36px; padding: 7px; rotate: 4deg; }
  .phone-screen { border-radius: 30px; padding: 40px 11px 11px; gap: 9px; }
  .notif { top: 36px; }
  .p-card { height: 84px; }
  .p-card svg { height: 36px; }
  .bars { height: 64px; }
  .float-a { left: 4%; top: auto; bottom: 40px; }
  .float-b { right: auto; left: 4%; top: 230px; }
  .float-c { display: none; }
  .beam { width: 900px; margin-left: -450px; }
}

/* Headline: fixed prefix + rotating service word (all words stay in the DOM for SEO) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rotator { display: block; }
.rot-track { display: inline-grid; justify-items: center; overflow: hidden; vertical-align: top; padding: .12em .06em .16em; margin: -.12em -.06em -.16em; }
.rot-word {
  grid-area: 1 / 1; white-space: nowrap; padding-right: .02em;
  background: linear-gradient(90deg, #dfe3ff 0%, var(--accent) 35%, #c6f36b 65%, #dfe3ff 100%) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rot-word:not(:first-child) { opacity: 0; }
.js .rot-word { animation: rot 8.4s var(--ease) infinite both, sheen 5s linear infinite; animation-delay: calc(var(--k) * 2.8s + 1s), 0s; }
@keyframes rot {
  0% { opacity: 0; transform: translateY(70%) scale(.96); filter: blur(10px); }
  5% { opacity: 1; transform: none; filter: none; }
  30% { opacity: 1; transform: none; filter: none; }
  35%, 100% { opacity: 0; transform: translateY(-70%) scale(.96); filter: blur(10px); }
}
@keyframes sheen { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .js .rot-word { animation: none; }
  .rot-word:first-child { opacity: 1; }
}
@media (max-width: 767px) {
  .hero h1 { font-size: clamp(2.3rem, 10.4vw, 3rem); }
}

/* Hero: perspective dot wave (canvas, drawn in main.js) */
.wave {
  position: absolute; left: 0; top: 0; width: 100%; height: 1150px; display: block;
  mask-image: linear-gradient(transparent 18%, #000 40%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(transparent 18%, #000 40%, #000 78%, transparent 100%);
  opacity: 0; transition: opacity 2s var(--ease);
}
.wave.on { opacity: 1; }
@media (max-width: 767px) { .wave { height: 900px; } }
