/* ==========================================================
   Aivora Labs — design system
   Navy / blue / teal, amber spark. Mobile-first.
   ========================================================== */
:root {
  --navy-950: #050D26;
  --navy-900: #0A1A4F;
  --navy-800: #11266B;
  --blue-700: #1438C4;
  --blue-600: #1A47D9;
  --blue-500: #2F6BFF;
  --blue-100: #E3ECFF;
  --blue-50: #F1F5FF;
  --teal-500: #12B5A6;
  --teal-400: #3FE0C5;
  --amber-400: #FFB02E;
  --ink: #0B1433;
  --ink-2: #3D4A6B;
  --ink-3: #5C6889;
  --line: #DCE3F2;
  --bg: #F6F8FD;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 79, .06), 0 2px 8px rgba(10, 26, 79, .05);
  --shadow: 0 2px 4px rgba(10, 26, 79, .04), 0 12px 32px -8px rgba(10, 26, 79, .14);
  --shadow-lg: 0 30px 60px -20px rgba(10, 26, 79, .28);
  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
h3, .h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; color: #fff; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.icon { width: 24px; height: 24px; flex: none; }
.icon--arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }

/* ---------- buttons ---------- */
.btn { --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1.5px solid var(--b); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s; font-family: inherit; white-space: nowrap; }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--sm { padding: 10px 18px; font-size: .95rem; }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn--primary { background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff; box-shadow: 0 8px 20px -6px rgba(31, 94, 255, .55), inset 0 1px 0 rgba(255,255,255,.2); }
.btn--primary:hover { color: #fff; box-shadow: 0 14px 28px -8px rgba(31, 94, 255, .65), inset 0 1px 0 rgba(255,255,255,.2); transform: translateY(-1px); }
.btn--outline { --b: #B9C7EA; background: rgba(255,255,255,.7); color: var(--navy-900); backdrop-filter: blur(6px); }
.btn--outline:hover { --b: var(--blue-500); color: var(--blue-700); background: #fff; }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { color: var(--blue-700); transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.btn--ghost-light { --b: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost-light:hover { --b: #fff; color: #fff; background: rgba(255,255,255,.12); }
.link-btn { background: none; border: 0; color: var(--blue-600); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 248, 253, .72); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.site-header.is-scrolled { border-bottom-color: rgba(220, 227, 242, .9); box-shadow: 0 6px 24px -12px rgba(10, 26, 79, .18); background: rgba(255,255,255,.85); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); }
.brand img { width: 40px; height: 40px; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; color: var(--navy-900); }
.brand__tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-top: 3px; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__tag { color: #9DB0DA; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { position: relative; display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .98rem; transition: color .2s, background-color .2s; }
.site-nav ul a:hover { color: var(--navy-900); background: rgba(47, 107, 255, .07); }
.site-nav ul a[aria-current="page"] { color: var(--blue-600); }
.site-nav ul a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-500), var(--teal-500)); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--navy-900); cursor: pointer; border-radius: 10px; }
.nav-toggle__close { display: none; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 20px 24px; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 14px 12px; font-size: 1.08rem; border-radius: 12px; }
  .site-nav ul a[aria-current="page"] { background: var(--blue-50); }
  .site-nav ul a[aria-current="page"]::after { display: none; }
  .nav-open .site-nav { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .25s var(--ease); }
  .nav-open .nav-toggle__open { display: none; }
  .nav-open .nav-toggle__close { display: inline; }
  .js .site-nav:not(.no-js-nav) { }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(110px, 12vw, 170px); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 600px at 85% 10%, #DCE8FF 0%, transparent 60%), radial-gradient(900px 500px at 0% 0%, #EAF3FF 0%, transparent 60%), linear-gradient(180deg, #F3F7FF 0%, #F6F8FD 100%); }
.hero__grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(26, 71, 217, .14) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob--1 { width: 460px; height: 460px; background: #9CC0FF; top: -120px; right: 8%; }
.blob--2 { width: 340px; height: 340px; background: #9FF0E1; top: 34%; right: -80px; animation-delay: -6s; opacity: .45; }
.blob--3 { width: 280px; height: 280px; background: #FFD99A; bottom: 6%; left: 38%; animation-delay: -12s; opacity: .3; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.08); } }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px rgba(18, 181, 166, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(18, 181, 166, 0); } }
.grad-text { background: linear-gradient(100deg, var(--blue-600) 0%, var(--blue-500) 40%, var(--teal-500) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--ink-2); max-width: 40em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
.hero__actions--center { justify-content: center; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 34px 0 0; color: var(--ink-3); font-size: .93rem; font-weight: 550; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero__chips .icon { width: 20px; height: 20px; color: var(--blue-500); }
.hero__mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(80px, 12vw, 180px); z-index: -1; }
.hero__mountains .m3 { fill: #DCE7FB; }
.hero__mountains .m2 { fill: #C9D9F7; }
.hero__mountains .snow { fill: #fff; opacity: .9; }
.hero__mountains .m1 { fill: var(--bg); }

/* orbit visual */
.hero__visual { position: relative; }
.orbit { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(47, 107, 255, .22); inset: 11%; }
.orbit__ring--1 { inset: 11%; border-style: dashed; animation: spin 80s linear infinite; }
.orbit__ring--2 { inset: 26%; border-color: rgba(18, 181, 166, .28); animation: spin 60s linear infinite reverse; }
.orbit__ring--2::before, .orbit__ring--1::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; top: -5px; left: calc(50% - 5px); background: var(--teal-500); box-shadow: 0 0 14px var(--teal-400); }
.orbit__ring--1::before { background: var(--amber-400); box-shadow: 0 0 14px var(--amber-400); }
.orbit__ring--3 { inset: 37%; background: radial-gradient(circle, rgba(47,107,255,.18), transparent 70%); border: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit__lines line { stroke: rgba(47, 107, 255, .25); stroke-width: .25; stroke-dasharray: 1 1.2; animation: dash 6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.orbit__core { position: absolute; inset: 35%; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #EAF1FF 70%); box-shadow: 0 0 0 10px rgba(255,255,255,.55), 0 0 0 22px rgba(47,107,255,.07), 0 30px 60px -12px rgba(26, 71, 217, .45); }
.orbit__core img { width: 58%; height: auto; filter: drop-shadow(0 8px 14px rgba(26, 71, 217, .3)); }
.orbit__node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; animation: bob 6s ease-in-out infinite; animation-delay: var(--d); width: 130px; }
@keyframes bob { 50% { transform: translate(-50%, calc(-50% - 8px)); } }
.orbit__label { font-size: .78rem; font-weight: 650; color: var(--navy-900); text-align: center; line-height: 1.25; background: rgba(255,255,255,.85); padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow-sm); white-space: nowrap; }

/* app icon tile */
.app-icon { --s: 52px; width: var(--s); height: var(--s); flex: none; display: grid; place-items: center; border-radius: calc(var(--s) * .3); background: linear-gradient(140deg, var(--c1), var(--c2)); color: #fff; box-shadow: 0 10px 22px -10px var(--c1), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 6px rgba(0,0,0,.08); position: relative; }
.app-icon .icon { width: 56%; height: 56%; stroke-width: 1.9; }
.app-icon--sm { --s: 38px; }
.app-icon--lg { --s: 60px; }
.app-icon--xl { --s: 84px; }
.app-icon--ghost { background: var(--blue-50); color: var(--blue-600); box-shadow: inset 0 0 0 1.5px var(--blue-100); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--flush-top { padding-top: 8px; }
.section--tint { background: linear-gradient(180deg, #EEF3FF, #F6F8FD); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head p:last-child { color: var(--ink-2); font-size: 1.1rem; }
.kicker { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 750; color: var(--blue-600); margin-bottom: 12px; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-500), var(--teal-500)); }
.section-head .kicker::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal-500), var(--blue-500)); }
.kicker--light { color: var(--teal-400); }

/* ---------- app cards ---------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.app-grid--home { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.app-grid--home .app-card { padding: 22px; }
.app-grid--home .app-card__summary { font-size: .9rem; }
@media (max-width: 1180px) { .app-grid--home { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .app-grid--home { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .app-grid--home { grid-template-columns: 1fr; } }
.app-grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.app-card { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; text-decoration: none; color: inherit; }
.app-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--c1, var(--blue-500)), var(--c2, var(--teal-500))); opacity: 0; transition: opacity .35s; }
.app-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, var(--c2, var(--blue-100)), transparent 70%); opacity: .12; transition: opacity .35s, transform .5s var(--ease); pointer-events: none; }
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.app-card:hover::before { opacity: 1; }
.app-card:hover::after { opacity: .28; transform: scale(1.2); }
.app-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.app-card__title { font-size: 1.32rem; margin: 0 0 4px; font-weight: 750; color: var(--ink); }
.app-card__title a { color: inherit; text-decoration: none; }
.app-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.app-card__title a:focus-visible { outline: none; }
.app-card:has(a:focus-visible) { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.app-card__tagline { font-weight: 600; color: var(--ink-2); font-size: .98rem; margin-bottom: 10px; }
.app-card__summary { color: var(--ink-3); font-size: .95rem; flex: 1; }
.app-card__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 10px; }
.app-card__more { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--blue-600); font-size: .95rem; }
.app-card:hover .icon--arrow { transform: translateX(4px); }
.app-card--more { background: linear-gradient(160deg, #F4F8FF, #EAF1FF); border-style: dashed; border-color: #BCCDF5; justify-content: center; gap: 10px; }
.app-card--more .app-icon { margin-bottom: 8px; }
.app-card--more .app-card__summary { flex: 0; }
.chip { white-space: nowrap; display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--ink-2); font-size: .78rem; font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--available { background: #E2F8EE; color: #0B7A4B; }
.status--beta { background: #EDE7FF; color: #5B3CC4; }
.status--in-development { background: #E6EEFF; color: #1A47D9; }
.status--coming-soon { background: #FFF2DC; color: #9A5A00; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 36px; }
.svc-card { position: relative; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.9); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #BFD0F7; }
.svc-card h3 { margin: 18px 0 8px; }
.svc-card h3 a { color: var(--ink); text-decoration: none; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-card:has(a:focus-visible) { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.svc-card h3 a:focus-visible { outline: none; }
.svc-card p { color: var(--ink-3); font-size: .97rem; }
.svc-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: var(--blue-600); background: linear-gradient(145deg, #E8EFFF, #DDF7F2); box-shadow: inset 0 0 0 1px rgba(47,107,255,.12); transition: transform .4s var(--ease), background .3s, color .3s; }
.svc-card__icon--lg { width: 68px; height: 68px; border-radius: 20px; }
.svc-card__icon--lg .icon { width: 32px; height: 32px; }
.svc-card:hover .svc-card__icon { transform: rotate(-6deg) scale(1.06); background: linear-gradient(145deg, var(--blue-600), var(--teal-500)); color: #fff; }
.svc-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-600); font-weight: 650; font-size: .93rem; }
.svc-card:hover .icon--arrow { transform: translateX(4px); }
.svc-hero { display: flex; align-items: center; gap: 20px; margin-bottom: 8px; }
.svc-hero h1 { margin: 0; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 46px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--blue-100), var(--blue-500), var(--teal-500), var(--blue-100)); z-index: 0; }
.step { position: relative; z-index: 1; padding: 0 12px; text-align: center; }
.step__num { position: absolute; top: 0; left: 50%; transform: translateX(26px); font-size: .75rem; font-weight: 800; color: var(--ink-3); letter-spacing: .08em; }
.step__icon { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 50%; background: #fff; color: var(--blue-600); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step__icon .icon { width: 34px; height: 34px; }
.step p { color: var(--ink-3); font-size: .97rem; }

/* ---------- dark section ---------- */
.section--dark { background: radial-gradient(900px 500px at 15% 0%, #1B3A9E 0%, transparent 60%), radial-gradient(700px 500px at 100% 100%, #0B5E6B 0%, transparent 60%), var(--navy-950); color: #C9D5F2; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.dark-glow { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.why { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why__copy p { font-size: 1.12rem; margin-bottom: 28px; }
.why__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why__list li { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); transition: background .3s, transform .35s var(--ease), border-color .3s; }
.why__list li:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); border-color: rgba(63, 224, 197, .4); }
.why__list .icon { width: 30px; height: 30px; color: var(--teal-400); }
.why__list h3 { font-size: 1.08rem; margin-bottom: 6px; }
.why__list p { margin: 0; font-size: .95rem; color: #AFC0E6; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 clamp(64px, 9vw, 112px); }
.section--dark + .cta-band, .section--tint + .cta-band { padding-top: clamp(64px, 9vw, 112px); }
.cta-band__inner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(32px, 5vw, 60px); border-radius: 28px; background: linear-gradient(120deg, var(--navy-900) 0%, var(--blue-700) 55%, #0E8C8C 100%); color: #D6E2FF; box-shadow: var(--shadow-lg); isolation: isolate; }
.cta-band__inner h2 { color: #fff; margin-bottom: 10px; }
.cta-band__inner p { margin: 0; max-width: 36em; font-size: 1.08rem; }
.cta-band__glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 176, 46, .45), transparent 65%); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- page hero ---------- */
.page-hero { position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 5vw, 56px); isolation: isolate; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 420px at 90% -10%, color-mix(in srgb, var(--c2, #9CC0FF) 35%, transparent), transparent 65%), radial-gradient(700px 400px at 0% 0%, #EAF3FF, transparent 60%), linear-gradient(180deg, #F1F6FF, var(--bg)); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 22ch; }
.page-hero--404 { padding: clamp(64px, 10vw, 140px) 0; }
.page-hero--404 h1 { max-width: none; }
.page-hero--404 img { margin: 0 auto 20px; }
.float { animation: bob2 5s ease-in-out infinite; }
@keyframes bob2 { 50% { transform: translateY(-10px) rotate(-4deg); } }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .88rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #A9B4CF; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--blue-600); text-decoration: underline; }

/* app detail hero */
.app-hero { display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: center; }
.app-hero__title { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; }
.app-hero__title h1 { margin: 6px 0 0; }
.app-hero__tagline { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; color: var(--navy-800); margin-bottom: 10px; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 26px 0 0; }
.platforms li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.platforms__cat { background: linear-gradient(135deg, var(--c1), var(--c2)) !important; color: #fff !important; border: 0 !important; }
.app-hero__art { display: flex; flex-direction: column; align-items: center; }
.phone { width: 270px; padding: 12px; border-radius: 44px; background: linear-gradient(160deg, #1B2550, #070D26); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08) inset; transform: rotate(4deg); transition: transform .6s var(--ease); }
.app-hero__art:hover .phone { transform: rotate(0) translateY(-6px); }
.phone__screen { border-radius: 34px; background: linear-gradient(180deg, #fff, #F4F7FF); padding: 18px 16px 22px; min-height: 440px; }
.phone__bar { width: 90px; height: 22px; border-radius: 12px; background: #0A102C; margin: 0 auto 22px; }
.phone__head { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.1rem; margin-bottom: 18px; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; }
.phone__head .app-icon { --s: 40px; background: rgba(255,255,255,.22); box-shadow: none; }
.phone__row { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); margin-bottom: 10px; font-size: .82rem; }
.phone__row b { display: block; color: var(--ink); line-height: 1.25; }
.phone__row i { display: block; height: 6px; width: 70%; border-radius: 4px; background: #E6ECF8; margin-top: 6px; }
.phone__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; background: color-mix(in srgb, var(--c1) 14%, #fff); color: var(--c1); }
.phone__ic .icon { width: 18px; height: 18px; }
.art-note { font-size: .75rem; color: var(--ink-3); margin-top: 18px; }

/* two col + misc */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.prose { color: var(--ink-2); font-size: 1.08rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.ticks .icon { color: var(--teal-500); margin-top: 1px; }
.ticks b { color: var(--ink); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.feat-grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.feat { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat h3 { margin: 16px 0 6px; font-size: 1.1rem; }
.feat p { color: var(--ink-3); margin: 0; font-size: .96rem; }
.feat__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--c1, var(--blue-600)); background: color-mix(in srgb, var(--c1, #2F6BFF) 12%, #fff); }
.note { display: flex; gap: 14px; align-items: flex-start; margin-top: 32px; padding: 18px 22px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.note p { margin: 0; }
.note .icon { color: var(--blue-500); margin-top: 1px; }
.note--warn { background: #FFF8EB; border-color: #F6DDAE; }
.note--warn .icon { color: #B26B00; }
.panel { padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.panel--dark { background: linear-gradient(150deg, var(--navy-900), var(--blue-700)); color: #C9D5F2; border: 0; }
.panel--dark h2 { color: #fff; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border: 0; }
.facts dt { color: var(--ink-3); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 600; }
.fineprint { font-size: .84rem; color: var(--ink-3); }
.mini-apps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.mini-apps a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background .2s; }
.mini-apps a:hover { background: var(--blue-50); }
.mini-apps span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.mini-apps small { color: var(--ink-3); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); padding: 0 22px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--blue-500); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* filters */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.search-field { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; background: var(--bg); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.search-field:focus-within { border-color: var(--blue-500); background: #fff; }
.search-field .icon { color: var(--ink-3); width: 20px; height: 20px; }
.search-field input { flex: 1; border: 0; background: none; font: inherit; padding: 12px 0; color: var(--ink); min-width: 0; }
.search-field input:focus { outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { font: inherit; font-size: .9rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.chip-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.chip-btn[aria-pressed="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.select-field select, .field select { font: inherit; padding: 11px 38px 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6889' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; appearance: none; color: var(--ink); cursor: pointer; }
.results-count { color: var(--ink-3); font-size: .92rem; margin: 0 0 16px 4px; }
.empty { text-align: center; padding: 40px; color: var(--ink-2); }
.app-card.is-hidden { display: none; }

/* contact form */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.contact__side { display: grid; gap: 20px; }
.contact__mail { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.08rem; word-break: break-all; }
.contact__mail:hover { color: var(--teal-400); }
.next { padding-left: 20px; margin: 0; display: grid; gap: 10px; color: var(--ink-2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-weight: 650; font-size: .95rem; margin-bottom: 7px; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea, .field select { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #FBFCFF; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(47, 107, 255, .14); }
.field [aria-invalid="true"] { border-color: #D93838; background: #FFF7F7; }
.field__hint { font-size: .84rem; color: var(--ink-3); margin: 6px 0 0; }
.field__err { color: #B42318; font-size: .86rem; font-weight: 600; margin: 6px 0 0; min-height: 0; }
.field__err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form button[disabled] { opacity: .7; cursor: progress; }
.form__status { margin-top: 18px; border-radius: 12px; }
.form__status:not(:empty) { padding: 14px 18px; }
.form__status.is-ok { background: #E6F8EF; color: #0B5E3A; border: 1px solid #A8E2C4; }
.form__status.is-err { background: #FFF1F0; color: #9A1C12; border: 1px solid #F5C2BD; }
.form__status.is-info { background: var(--blue-50); color: var(--navy-800); border: 1px solid var(--blue-100); }

/* privacy */
.prose-block h2 { font-size: 1.35rem; margin-top: 2em; }
.prose-block p { color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: #9DB0DA; padding: 72px 0 28px; font-size: .95rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(63,224,197,.6), rgba(47,107,255,.6), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; }
.footer-brand p { margin: 18px 0 20px; max-width: 32ch; }
.footer-h { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #C3D0EE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); transition: background .2s, transform .2s; }
.footer-social a:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.footer-social .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 52px; padding-top: 24px; font-size: .86rem; }
.footer-bottom p { margin: 0; }

/* ---------- reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .why { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app-hero { grid-template-columns: 1fr; }
  .app-hero__art { display: none; }
}
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
  .two-col, .contact { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .container { width: min(1200px, 100% - 32px); }
  .why__list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .orbit__label { font-size: .64rem; padding: 3px 8px; }
  .orbit__node .app-icon--lg { --s: 44px; }
  .orbit__node { width: 96px; }
  .brand__tag { display: none; }
  .hero__actions .btn { width: 100%; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .app-hero__title { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .hero__visual, .hero__bg, .hero__mountains { display: none !important; }
}
.panel--dark .muted { color: #B9C8EC; }

.filters .chips { order: 3; flex-basis: 100%; }

/* Homepage AI promo */
.ai-promo { background: linear-gradient(180deg, #fff, var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ai-promo__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.ai-promo__copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 16px; }
.ai-promo__uses { margin-top: 22px; }
.ai-promo__offer { position: relative; }
.ai-promo__offer h3 { color: #fff; font-size: 1.5rem; margin: 14px 0 8px; }
.ai-promo__offer > p { margin: 0 0 20px; }
.ai-promo__badge { display: inline-block; font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-900); background: var(--teal-400); padding: 6px 12px; border-radius: 999px; }
.ai-promo__steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.ai-promo__steps li { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; color: #B9C8EC; }
.ai-promo__steps b { display: block; color: #fff; font-weight: 650; }
.ai-promo__ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(63,224,197,.14); color: var(--teal-400); }
.ai-promo__ic .icon { width: 20px; height: 20px; }
@media (max-width: 900px) { .ai-promo__inner { grid-template-columns: 1fr; } }
