@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #05080f;
  --bg-2: #0a0f1a;
  --bg-3: #0f1624;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(160, 200, 255, 0.11);
  --line-strong: rgba(160, 200, 255, 0.22);
  --text: #eef4fb;
  --muted: #93a3b8;
  --faint: #66768c;
  --cyan: #3fe0ec;
  --blue: #4a72ff;
  --violet: #8b6cff;
  --glow: rgba(63, 224, 236, 0.28);
  --radius: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (max-width: 860px) { html { scroll-padding-top: 116px; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16.5px/1.65 "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration-color: rgba(63, 224, 236, 0.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--cyan); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { color: var(--muted); font-weight: 500; }
nav.site { display: flex; gap: 26px; margin-left: auto; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 0.93rem; font-weight: 500; white-space: nowrap; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 650; font-size: 0.95rem;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent; transition: filter .15s, background .15s, border-color .15s;
}
.btn-primary { color: #03121a; background: linear-gradient(90deg, var(--cyan), #6aa8ff); box-shadow: 0 10px 30px -12px var(--glow); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }
header.site .btn { padding: 8px 16px; font-size: 0.88rem; }
@media (max-width: 860px) {
  header.site .wrap { flex-wrap: wrap; gap: 10px 20px; padding-top: 12px; padding-bottom: 12px; }
  nav.site { order: 3; width: 100%; margin-left: 0; gap: 18px; overflow-x: auto; }
  header.site .btn { margin-left: auto; }
}

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.hero .bg { position: absolute; inset: 0; background: url("/img/hero-waves.webp") right center / auto 120% no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, rgba(5, 8, 15, 0.92) 38%, rgba(5, 8, 15, 0.35) 70%, rgba(5, 8, 15, 0.1) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(5, 8, 15, 0) 30%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 120px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 22px; max-width: 13em; font-weight: 750; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #b6c3d4; max-width: 34em; margin: 0 0 34px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .hero .bg { background-image: url("/img/hero-waves-800.webp"); background-size: cover; background-position: 70% center; opacity: 0.55; }
  .hero::before { background: linear-gradient(180deg, rgba(5, 8, 15, 0.55), var(--bg)); }
  .hero .wrap { padding-top: 72px; padding-bottom: 72px; }
}
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan); font-size: 0.78rem; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 18px; }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.gradient { background: linear-gradient(90deg, var(--cyan), var(--blue) 60%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Stats */
.stats { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats .wrap > div { padding: 30px 24px; border-right: 1px solid var(--line); }
.stats .wrap > div:first-child { padding-left: 0; }
.stats .wrap > div:last-child { border-right: 0; }
.stats strong { display: block; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; }
.stats span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 760px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap > div { padding: 22px 14px; }
  .stats .wrap > div:nth-child(odd) { padding-left: 0; }
  .stats .wrap > div:nth-child(2) { border-right: 0; }
  .stats .wrap > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Sections */
main { display: block; }
.section { padding: 110px 0; border-bottom: 1px solid var(--line); }
.section.alt { background: var(--bg-2); }
@media (max-width: 760px) { .section { padding: 72px 0; } }
.section-head { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 48px; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; } }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0; font-weight: 720; }
h3 { font-size: 1.12rem; margin: 0 0 8px; line-height: 1.3; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* Capabilities */
.grid-4 { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.cap { background: var(--bg); padding: 32px 28px; }
.section.alt .cap { background: var(--bg-2); }
.cap .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(135deg, rgba(63, 224, 236, 0.16), rgba(74, 114, 255, 0.16)); border: 1px solid var(--line-strong); }
.cap .icon svg { width: 22px; height: 22px; stroke: var(--cyan); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cap p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.cap ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cap li { font-size: 0.76rem; color: #c3d0df; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 10px; }

/* Featured */
.featured { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line-strong); border-radius: 24px; overflow: hidden; background: var(--bg-3); margin-bottom: 20px; box-shadow: 0 40px 100px -50px rgba(74, 114, 255, 0.5); }
.featured .art img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.featured .body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.featured .label { color: var(--cyan); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.featured h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.01em; margin-bottom: 12px; }
.featured p { color: var(--muted); margin: 0 0 24px; }
.featured .meta { display: flex; gap: 26px; flex-wrap: wrap; margin: 0 0 28px; padding: 0; list-style: none; }
.featured .meta li { font-size: 0.82rem; color: var(--muted); }
.featured .meta strong { display: block; font-size: 1.3rem; color: var(--text); }
.featured .btn { align-self: flex-start; }
@media (min-width: 900px) { .featured { grid-template-columns: 1.35fr 1fr; } .featured .art img { aspect-ratio: auto; } .featured .body { padding: 48px; } }

/* Products */
.products { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .products { grid-template-columns: repeat(4, 1fr); } }
.product { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
a.product:hover { border-color: rgba(63, 224, 236, 0.45); background: var(--surface-2); transform: translateY(-2px); }
.product img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.8); }
.product .cat { color: var(--cyan); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.product h3 { margin: 0; }
.product p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.product .more { margin-top: auto; padding-top: 6px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
a.product:hover .more { color: var(--cyan); }

/* Approach */
.approach { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .approach { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.approach .num { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; color: var(--cyan); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.approach p { color: var(--muted); margin: 0; }

/* Contact band */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 48px; border: 1px solid var(--line-strong); background: radial-gradient(120% 140% at 100% 0%, rgba(74, 114, 255, 0.35), rgba(5, 8, 15, 0) 55%), radial-gradient(90% 120% at 0% 100%, rgba(63, 224, 236, 0.22), rgba(5, 8, 15, 0) 60%), var(--bg-3); }
.cta h2 { max-width: 16em; margin-bottom: 16px; }
.cta p { color: #b6c3d4; max-width: 36em; margin: 0; }
.contacts { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 36px; }
@media (min-width: 760px) { .contacts { grid-template-columns: repeat(3, 1fr); } }
.contacts a, .contacts div { display: block; text-decoration: none; padding: 18px 20px; border-radius: 14px; background: rgba(5, 8, 15, 0.55); border: 1px solid var(--line-strong); color: var(--text); }
.contacts a:hover { border-color: rgba(63, 224, 236, 0.5); }
.contacts small { display: block; color: var(--muted); font-size: 0.8rem; margin-bottom: 2px; }
.contacts span { color: var(--cyan); word-break: break-word; }
@media (max-width: 560px) { .cta { padding: 44px 22px; border-radius: 22px; } }

/* Long-form pages */
.page-head { padding: 80px 0 44px; border-bottom: 1px solid var(--line); background: radial-gradient(80% 140% at 100% 0%, rgba(74, 114, 255, 0.18), rgba(5, 8, 15, 0) 60%), var(--bg); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 12px; }
.page-head p { color: var(--muted); margin: 0; max-width: 46em; }
.page-head .app-id { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.page-head .app-id img { width: 72px; height: 72px; border-radius: 17px; }
.legal { max-width: 46em; padding: 48px 0 96px; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 12px; letter-spacing: -0.01em; }
.legal h3 { margin: 26px 0 8px; }
.legal p, .legal li { color: #c8d3e0; }
.legal ul { padding-left: 22px; }
.legal li { margin: 5px 0; }
.legal code { font-size: 0.86em; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.legal .contacts { margin: 0 0 8px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .legal .contacts { grid-template-columns: repeat(2, 1fr); } }
.pending { background: rgba(242, 182, 50, 0.07); border: 1px dashed rgba(242, 182, 50, 0.55); border-radius: 12px; padding: 18px 20px; margin: 24px 0; }
.pending strong { display: block; margin-bottom: 4px; color: #f5c453; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* Footer */
footer.site { background: var(--bg-2); color: var(--muted); font-size: 0.9rem; padding: 64px 0 40px; border-top: 1px solid var(--line); }
.foot { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.foot .about { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot { grid-template-columns: 1.6fr repeat(3, 1fr); } .foot .about { grid-column: auto; } }
.foot h4 { color: var(--text); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 8px 0; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .about p { margin: 14px 0 0; max-width: 24em; }
.legalline { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--faint); font-size: 0.82rem; }

/* Services, scope, steps, leadership */
.grid-3 { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-3 .cap { padding: 38px 32px; }
.scopes { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .scopes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .scopes { grid-template-columns: repeat(4, 1fr); } }
.scope { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 2px solid transparent; border-image: none; position: relative; }
.scope::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue)); border-radius: 2px; }
.scope p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.steps { display: grid; gap: 24px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps .num { font-size: 2.2rem; font-weight: 750; line-height: 1; letter-spacing: -0.02em; margin-bottom: 14px; background: linear-gradient(90deg, var(--cyan), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.industries { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.industries span { color: var(--faint); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-right: 10px; }
.industries b { font-weight: 600; font-size: 0.92rem; color: #c3d0df; border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; }
.leader { display: grid; gap: 36px; grid-template-columns: 1fr; padding: 40px; border-radius: 24px; border: 1px solid var(--line-strong); background: radial-gradient(100% 120% at 100% 0%, rgba(74, 114, 255, 0.16), rgba(5, 8, 15, 0) 60%), var(--bg-3); }
@media (min-width: 900px) { .leader { grid-template-columns: 1.4fr 1fr; gap: 56px; padding: 52px; } }
.leader h3 { font-size: 1.6rem; margin: 0; }
.leader .role { color: var(--cyan); font-weight: 600; margin: 4px 0 18px; }
.leader p { color: #b6c3d4; }
.leader h4 { color: var(--text); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 14px; }
.academia ul { list-style: none; padding: 0; margin: 0; }
.academia li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.academia li strong { display: block; color: var(--text); font-size: 1rem; }
.academia .note { margin: 16px 0 0; color: var(--muted); font-size: 0.88rem; }
@media (max-width: 560px) { .leader { padding: 28px 20px; } }

/* Engagement models and phases */
.models { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .models { grid-template-columns: repeat(3, 1fr); } }
.model { padding: 32px 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line-strong); }
.model .tag { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(63, 224, 236, 0.35); border-radius: 999px; padding: 3px 10px; margin-bottom: 18px; }
.model h3 { font-size: 1.35rem; }
.model p { color: var(--muted); margin: 0; }
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); }
@media (min-width: 1040px) { .phases { grid-template-columns: repeat(5, 1fr); } }
.phases li { display: flex; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 1040px) { .phases li { flex-direction: column; gap: 14px; padding: 28px 24px 0 0; border-bottom: 0; } }
.phases li > span { font-size: 0.85rem; font-weight: 700; color: var(--cyan); letter-spacing: 0.1em; min-width: 2.2em; }
.phases p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Brand hero: full waves image and a large S mark */
.hero-brand { min-height: min(86vh, 820px); display: flex; align-items: center; }
.hero-brand .bg { background: url("/img/hero-waves.webp") center / cover no-repeat; }
.hero-brand::before { background: linear-gradient(90deg, rgba(5, 8, 15, 0.92) 0%, rgba(5, 8, 15, 0.7) 34%, rgba(5, 8, 15, 0.15) 62%, rgba(5, 8, 15, 0) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(5, 8, 15, 0) 22%); }
.hero-brand .wrap { width: 100%; }
.hero-mark {
  position: absolute; z-index: 2; right: max(2vw, calc((100vw - 1200px) / 2 - 40px)); top: 50%; transform: translateY(-50%);
  width: clamp(300px, 34vw, 520px); height: auto; pointer-events: none;
  filter: brightness(1.3) saturate(1.15) drop-shadow(0 0 28px rgba(63, 224, 236, 0.5)) drop-shadow(0 0 80px rgba(74, 114, 255, 0.4));
}
.hero-brand h1, .hero-brand p.lead { max-width: 11.5em; }
.hero-brand p.lead { max-width: 30em; }
@media (max-width: 900px) {
  .hero-brand { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-brand .bg { background-image: url("/img/hero-waves-800.webp"); opacity: 0.7; }
  .hero-brand::before { background: linear-gradient(180deg, rgba(5, 8, 15, 0.1) 0%, rgba(5, 8, 15, 0.6) 45%, var(--bg) 100%); }
  .hero-mark { position: relative; right: auto; top: auto; transform: none; width: min(62vw, 300px); margin: 36px auto -24px; display: block; }
  .hero-brand .wrap { padding-top: 24px; }
}

/* App Store badges */
.product .actions { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product .actions .more { margin-top: 0; padding-top: 0; text-decoration: none; }
.product .actions .more:hover { color: var(--cyan); }
.store-badge { display: inline-block; line-height: 0; border-radius: 8px; transition: transform .15s, filter .15s; }
.store-badge:hover { transform: translateY(-1px); filter: brightness(1.15); }
.store-badge img { height: 40px; width: auto; border-radius: 0; box-shadow: none; }
.product .store-badge img { width: auto; height: 40px; }
