/* Visto Apps. Dark aurora theme, glass surfaces. */

@font-face { font-family: "Instrument Serif"; src: url("../assets/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #08112b;
  --bg-deep: #050b1f;
  --navy: #0b1b4a;
  --blue: #1f4fd8;
  --violet: #7a43f0;
  --magenta: #d974d1;
  --orange: #ff8a5b;
  --cyan: #6ffcfe;
  --cyan-2: #59c8ff;
  --text: #f3f7fc;
  --text-2: #d3dbee;
  --text-3: #a9b5d4;
  --pill: #bee0fd;
  --pill-2: #e3f3ff;
  --pill-text: #0a1a45;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(255, 255, 255, 0.11);
  --glass-line: rgba(255, 255, 255, 0.16);
  --glass-line-2: rgba(255, 255, 255, 0.28);
  --divider: rgba(255, 255, 255, 0.16);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 28px;
  --radius-sm: 20px;
  --max: 1120px;
  --gutter: 40px;
  --blur: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.icon { width: 20px; height: 20px; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 12px; }

/* ---------- background ---------- */
.backdrop { position: absolute; left: 0; right: 0; top: 0; height: 100%; z-index: -2; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, #08132f 0px, #0d2466 300px, #15399c 700px, #122e86 1100px, #0d2266 1600px, #0a1a4c 100%); }
body { position: relative; }
body[data-page="home"] { --page-bg: url("../assets/bg/home.webp"); --page-bg-h: 1312px; }
body[data-page="apps"] { --page-bg: url("../assets/bg/apps.webp"); --page-bg-h: 1312px; }
body[data-page="about"] { --page-bg: url("../assets/bg/about.webp"); --page-bg-h: 1797px; }
body[data-page="contact"] { --page-bg: url("../assets/bg/contact.webp"); --page-bg-h: 1312px; }
body:not([data-page="home"]):not([data-page="apps"]):not([data-page="about"]) { --page-bg: url("../assets/bg/contact.webp"); --page-bg-h: 1312px; }
/* wide layer: the same art stretched to the window, for the sides on large screens */
.backdrop::before {
  content: ""; position: absolute; left: -5%; right: -5%; top: 0; height: var(--page-bg-h);
  background: var(--page-bg) top center / 100% 100% no-repeat; filter: blur(30px) saturate(1.1);
  -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); mask-image: linear-gradient(180deg, #000 75%, transparent);
}
/* core layer: the art at the design width, aligned with the content */
.backdrop__core {
  position: absolute; left: 50%; top: 0; width: 1199px; height: var(--page-bg-h); transform: translateX(-50%);
  background: var(--page-bg) top center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, #000 80%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, #000 80%, transparent);
          mask-composite: intersect;
}
@media (max-width: 1199px) { .backdrop__core { -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); } }
.backdrop::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 900px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 5px, rgba(255,255,255,.025) 5px 6px, transparent 6px 9px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6) 0%, #000 30%, rgba(0,0,0,.4) 60%, transparent 100%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.6) 0%, #000 30%, rgba(0,0,0,.4) 60%, transparent 100%);
}
.wave {
  position: absolute; left: 0; right: 0; z-index: -1; pointer-events: none;
  height: 340px; background: url("../assets/art/wave.svg") center / 100% 100% no-repeat;
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
main { position: relative; }
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
          backdrop-filter: blur(var(--blur)) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 20px 60px rgba(3, 8, 30, .35);
}

/* ---------- type ---------- */
.kicker {
  font-family: var(--sans); font-size: 14.5px; letter-spacing: .36em; text-transform: uppercase;
  color: var(--text); font-weight: 500;
}
.kicker--sans { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--text-2); }
.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.02;
  font-size: clamp(44px, 6.6vw, 80px); text-wrap: balance;
}
.h2 { font-family: var(--serif); font-weight: 400; line-height: 1.08; font-size: clamp(30px, 3.4vw, 40px); letter-spacing: -.005em; }
.h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; font-size: clamp(28px, 3vw, 38px); }
em, .accent {
  font-style: italic;
  background: linear-gradient(95deg, #7af6ff 0%, var(--cyan) 35%, #8fd7ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.display em { background: linear-gradient(95deg, #ffffff 0%, #e8f6ff 30%, #a9dcff 75%, #c7e9ff 100%); -webkit-background-clip: text; background-clip: text; }
.page-hero .display em, .h2 em, .h3 em { background: linear-gradient(95deg, #7af6ff, var(--cyan) 50%, #8fd7ff); -webkit-background-clip: text; background-clip: text; }
.lede { font-size: 18px; line-height: 1.45; color: var(--text); text-wrap: balance; }
.muted { color: var(--text-2); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: background .3s var(--ease); }
.site-header.is-scrolled { background: rgba(8, 17, 43, .55); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; max-width: calc(var(--max) + 80px); margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 27px; letter-spacing: -.02em; justify-self: start; }
.brand img { width: 40px; height: auto; }
.nav-pill {
  display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: rgba(30, 45, 110, .55); border: 1px solid rgba(120, 170, 255, .35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 24px rgba(60, 120, 255, .25);
}
.nav-link { position: relative; padding: 9px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text); transition: background .2s; white-space: nowrap; }
.nav-link:hover { background: rgba(255,255,255,.08); }
.nav-link[aria-current="page"] {
  background: linear-gradient(180deg, #2b74b8, #1f5c9c); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 0 18px rgba(80, 170, 255, .45);
  padding-left: 26px;
}
.nav-link[aria-current="page"]::before { content: ""; position: absolute; left: 13px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: currentColor; }
.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.circle-btn {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; cursor: pointer;
  background: rgba(40, 60, 120, .55); border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.circle-btn:hover { background: rgba(60, 85, 160, .6); }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(30, 45, 110, .5); border: 1px solid var(--glass-line); }
.lang-switch button { border: 0; background: transparent; cursor: pointer; padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--text-3); }
.lang-switch button[aria-pressed="true"] { background: rgba(255,255,255,.14); color: var(--text); }
.menu-btn { display: none; }
.search-bar, .mobile-menu { position: absolute; right: var(--gutter); top: calc(100% + 4px); border-radius: 22px; padding: 10px; }
.search-bar form { display: flex; align-items: center; gap: 10px; padding: 4px 10px; }
.search-bar input { width: min(340px, 70vw); border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; padding: 8px 0; outline: none; }
.search-bar input::placeholder { color: var(--text-3); }
.mobile-menu { left: 16px; right: 16px; padding: 14px; background: rgba(14, 26, 70, .9); }
.mobile-menu nav { display: grid; gap: 4px; margin-bottom: 12px; }
.mobile-link { padding: 14px 16px; border-radius: 14px; font-size: 18px; font-weight: 500; }
.mobile-link[aria-current="page"] { background: rgba(255,255,255,.1); }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn-pill {
  display: inline-flex; align-items: center; gap: 14px; padding: 15px 30px; border-radius: 999px;
  background: linear-gradient(180deg, var(--pill-2), var(--pill)); color: var(--pill-text); font-weight: 600; font-size: 17px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 10px 40px rgba(110, 190, 255, .45); border: 0; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.btn-pill:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.8) inset, 0 14px 50px rgba(110, 190, 255, .6); }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; border: 1px solid var(--glass-line-2); background: rgba(255,255,255,.06); font-weight: 500; cursor: pointer; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 500; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- home hero ---------- */
.home-hero { position: relative; text-align: center; padding-top: 22px; }
.home-hero .kicker { margin-bottom: 16px; }
.home-hero .display { font-size: clamp(46px, 7vw, 86px); line-height: .98; margin: 0 auto; }
.home-hero .lede { margin: 22px auto 0; max-width: 640px; }
.hero-stats { position: absolute; top: 74px; display: grid; gap: 26px; width: 130px; }
.hero-stats--left { left: calc(var(--gutter) + 62px); text-align: left; }
.hero-stats--right { right: calc(var(--gutter) + 56px); text-align: right; }
.hero-stat { padding-bottom: 26px; border-bottom: 1px solid var(--divider); }
.hero-stat:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-stat__value { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.05; }
.hero-stat__label { display: block; font-size: 16px; margin-top: 4px; color: var(--text); }
.hero-stat__value--platforms { font-size: 28px; line-height: 1.2; }
.explore {
  position: relative; z-index: 2; width: 140px; height: 140px; margin: 28px auto 0; border-radius: 50%;
  display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; font-size: 16px;
  background: radial-gradient(circle at 50% 35%, rgba(255,190,200,.35), rgba(255,120,140,.12) 60%, rgba(255,255,255,.05));
  border: 1.5px solid rgba(255,210,220,.55); box-shadow: 0 0 40px rgba(255, 120, 150, .45), inset 0 0 30px rgba(255,255,255,.15);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .3s var(--ease);
}
.explore:hover { transform: scale(1.04); }
.explore img { width: 34px; }
.explore .icon { width: 18px; height: 18px; margin: 0 auto; }
.hero-glow { display: none; position: absolute; left: 50%; top: 420px; width: 1400px; height: 560px; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background:
    radial-gradient(22% 40% at 50% 62%, rgba(255, 150, 90, .85), transparent 70%),
    radial-gradient(26% 40% at 36% 66%, rgba(255, 90, 150, .55), transparent 70%),
    radial-gradient(26% 40% at 66% 58%, rgba(190, 90, 255, .5), transparent 70%),
    radial-gradient(40% 50% at 50% 30%, rgba(80, 150, 255, .35), transparent 70%);
}
.hero-ridge { position: absolute; left: 50%; top: 380px; width: 100vw; height: 330px; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: url("../assets/art/ridge.svg") center / 100% 100% no-repeat; }

.hero-cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: -52px; padding: 0 20px; height: 300px; align-items: end; }
.hero-card {
  position: relative; display: block; height: 285px; border-radius: 34px 34px 0 0; overflow: hidden; padding: 24px 26px; text-align: left;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c1) 72%, transparent), color-mix(in srgb, var(--c2) 70%, transparent));
  border: 1.5px solid color-mix(in srgb, var(--c1) 55%, white 35%); border-bottom: 0;
  box-shadow: 0 0 40px color-mix(in srgb, var(--c1) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transform-origin: bottom center; transition: transform .35s var(--ease);
}
.hero-card[data-pos="0"] { transform: perspective(900px) rotateY(8deg) rotate(-3deg); }
.hero-card[data-pos="1"] { transform: translateY(6px); }
.hero-card[data-pos="2"] { transform: perspective(900px) rotateY(-8deg) rotate(3deg); }
.hero-card:hover { transform: translateY(-6px); }
.hero-card__head { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; text-align: left; }
.hero-card__name { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.hero-card__sub { display: block; font-size: 14px; color: var(--text-2); }
.hero-card__phone { position: absolute; left: 50%; top: 84px; width: 290px; transform-origin: 50% 0; transform: translateX(-46%) rotate(-8deg); filter: drop-shadow(0 16px 30px rgba(0,0,0,.45)); }
.hero-card[data-pos="1"] .hero-card__phone { transform: translateX(-42%) rotate(-7deg); }
.app-icon { width: 64px; height: 64px; border-radius: 22.5%; box-shadow: 0 6px 18px rgba(0,0,0,.35); flex: none; }

/* ---------- panels ---------- */
.panel { position: relative; z-index: 3; border-radius: var(--radius); padding: 30px 28px 30px; text-align: left; }
.panel--apps { margin: -26px -14px 0; background: rgba(255, 255, 255, .06); border-color: rgba(200, 210, 255, .42); }
.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 16px 22px; }
.panel-head .kicker--sans { display: block; margin-bottom: 6px; }
.tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.app-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: 16px 8px 20px; border-radius: 22px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.app-tile:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); box-shadow: 0 0 30px color-mix(in srgb, var(--c1) 40%, transparent); }
.app-tile .app-icon { width: 80px; height: 80px; margin-bottom: 10px; }
.app-tile__name { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.app-tile__sub { font-size: 14px; line-height: 1.25; color: var(--text-2); margin-top: 2px; text-wrap: balance; }

/* ---------- feature rows ---------- */
.features { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); align-items: start; padding-top: 56px; padding-bottom: 72px; }
.features__lead .kicker--sans { display: block; margin-bottom: 14px; color: var(--cyan-2); }
.features__lead .h3 { font-size: clamp(32px, 3.4vw, 42px); }
.feature { padding: 4px 28px; border-left: 1px solid var(--divider); }
.feature .icon { width: 34px; height: 34px; stroke-width: 1.4; margin-bottom: 14px; }
.feature__title { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.feature__text { margin-top: 10px; font-size: 15px; color: var(--text-2); line-height: 1.4; }

/* ---------- page hero (apps/about/contact) ---------- */
.page-hero { position: relative; text-align: center; padding-top: 6px; padding-bottom: 34px; }
.page-hero .kicker { display: block; margin-bottom: 18px; }
.page-hero .display { font-size: clamp(42px, 5.9vw, 70px); line-height: 1; }
.page-hero .lede { margin: 18px auto 0; max-width: 620px; }
.page-hero .wave { top: 20px; left: 50%; right: auto; width: 100vw; transform: translateX(-50%); height: 300px; opacity: .85; }

/* ---------- apps page ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 4px 0 40px; }
.filter {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 26px; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 500;
  background: rgba(20, 35, 90, .45); border: 1px solid var(--glass-line-2); color: var(--text);
}
.filter .icon { width: 22px; height: 22px; stroke-width: 1.5; }
.filter__count { color: var(--text-3); }
.filter[aria-pressed="true"] { background: linear-gradient(180deg, #2a5fd0, #1d46a8); border-color: rgba(120, 190, 255, .8); box-shadow: 0 0 24px rgba(70, 150, 255, .5); }
.filter[aria-pressed="true"] .filter__count { color: var(--text-2); }
.search-field { display: flex; align-items: center; gap: 10px; max-width: 420px; margin: 0 auto 34px; padding: 4px 18px; border-radius: 999px; }
.search-field input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; padding: 11px 0; outline: none; }
.search-field input::placeholder { color: var(--text-3); }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
.app-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 340px; overflow: hidden; border-radius: 26px; padding: 18px 18px 0;
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--c1) 70%, transparent), transparent 70%),
    linear-gradient(165deg, color-mix(in srgb, var(--c1) 55%, #20185a), color-mix(in srgb, var(--c2) 85%, #0b1440));
  border: 1.5px solid color-mix(in srgb, var(--c1) 55%, white 30%);
  box-shadow: 0 0 32px color-mix(in srgb, var(--c1) 35%, transparent), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.app-card:hover { transform: translateY(-5px); box-shadow: 0 0 46px color-mix(in srgb, var(--c1) 55%, transparent), inset 0 1px 0 rgba(255,255,255,.3); }
.app-card__head { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; }
.app-card__titles { flex: 1; min-width: 0; }
.app-card__name { padding-right: 36px; }
.app-card__name { display: block; font-size: 23px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.app-card__sub { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); opacity: .92; margin-top: 4px; line-height: 1.25; }
.arrow-dot { position: absolute; right: 0; top: 4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.75); }
.arrow-dot .icon { width: 16px; height: 16px; }
.app-card__text { margin-top: 14px; font-size: 15px; line-height: 1.38; color: var(--text); }
.chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: color-mix(in srgb, var(--c1) 45%, rgba(0,0,0,.25)); border: 1px solid color-mix(in srgb, var(--c1) 50%, white 30%); }
.chip .icon { width: 16px; height: 16px; }
.app-card__phone { position: absolute; left: 50%; bottom: -150px; width: 230px; transform: translateX(-46%) rotate(-11deg); filter: drop-shadow(0 14px 22px rgba(0,0,0,.45)); pointer-events: none; }
.app-empty { text-align: center; color: var(--text-2); padding: 40px 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px;
  margin: 56px 0 72px; padding: 36px 40px 36px 34%; border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(40, 140, 255, .35), rgba(50, 70, 200, .25) 45%, rgba(120, 70, 220, .3));
  border: 1.5px solid rgba(140, 200, 255, .45);
}
.cta-banner::before { content: ""; position: absolute; left: -6%; top: -30%; width: 40%; height: 170%; background: url("../assets/art/wave.svg") left center / 260% 100% no-repeat; opacity: .9; transform: rotate(-8deg); pointer-events: none; }
.cta-banner .h3 { margin-bottom: 8px; }
.cta-banner p { font-size: 17px; color: var(--text); }

/* ---------- about ---------- */
.story { display: grid; grid-template-columns: 400px 1fr; gap: 44px; align-items: center; padding-top: 10px; padding-bottom: 34px; border-bottom: 1px solid var(--divider); }
.story__image { border-radius: 26px; overflow: hidden; border: 1.5px solid rgba(160, 200, 255, .55); box-shadow: 0 0 40px rgba(90, 150, 255, .35); }
.story__image img { width: 100%; height: auto; }
.story .kicker--sans { display: block; margin-bottom: 12px; }
.story p { margin-top: 20px; font-size: 16px; color: var(--text); line-height: 1.55; }
.philosophy { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); align-items: center; padding-top: 34px; padding-bottom: 34px; border-bottom: 1px solid var(--divider); }
.philosophy .kicker--sans { display: block; margin-bottom: 10px; }
.build { display: grid; grid-template-columns: 380px 1fr; gap: 30px; align-items: center; padding-top: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--divider); }
.build__art img { width: 100%; }
.build .kicker--sans { display: block; margin-bottom: 8px; }
.steps { margin-top: 18px; display: grid; }
.step { display: grid; grid-template-columns: 38px 160px 1fr; align-items: center; gap: 18px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.step:last-child { border-bottom: 0; }
.step__n { width: 38px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; background: rgba(120, 110, 255, .25); border: 1px solid rgba(170, 160, 255, .5); }
.step__title { font-weight: 600; font-size: 16.5px; }
.step__text { font-size: 15px; color: var(--text-2); position: relative; padding-left: 28px; }
.step__text::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: var(--text-3); }
.portfolio { padding-top: 28px; }
.portfolio .panel-head { margin: 0 0 16px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 372px 1fr; gap: 34px; align-items: start; padding-bottom: 50px; border-bottom: 1px solid var(--divider); }
.contact-links { display: grid; gap: 14px; }
.contact-link {
  display: grid; grid-template-columns: 66px 1fr auto; align-items: center; gap: 22px; padding: 16px 20px 16px 18px; border-radius: 22px;
  background: linear-gradient(100deg, rgba(50, 90, 200, .35), rgba(90, 80, 200, .25)); border: 1px solid rgba(150, 190, 255, .4);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.contact-link:nth-child(2) { background: linear-gradient(100deg, rgba(50, 90, 200, .35), rgba(160, 80, 170, .3)); border-color: rgba(220, 160, 220, .4); }
.contact-link:nth-child(3) { background: linear-gradient(100deg, rgba(70, 80, 200, .35), rgba(190, 90, 160, .3)); border-color: rgba(230, 160, 200, .4); }
.contact-link:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(100, 160, 255, .35); }
.contact-link__icon { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: rgba(40, 110, 220, .55); box-shadow: inset 0 0 0 1px rgba(150, 200, 255, .35); }
.contact-link__icon .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.contact-link__title { display: block; font-size: 19px; font-weight: 600; }
.contact-link__text { display: block; font-size: 15px; color: var(--text); margin-top: 2px; overflow-wrap: anywhere; }
.contact-link > .icon { width: 20px; height: 20px; }
.contact-art { margin: 20px 0 0 10px; width: 330px; }
.contact-card {
  border-radius: 34px; padding: 40px; min-height: 548px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(160deg, rgba(40, 110, 240, .35), rgba(30, 60, 170, .3) 55%, rgba(110, 60, 200, .3));
  border: 1.5px solid rgba(150, 210, 255, .6); box-shadow: 0 0 50px rgba(80, 160, 255, .35), inset 0 1px 0 rgba(255,255,255,.2);
}
.contact-card .h3 { font-size: clamp(32px, 3.4vw, 42px); }
.contact-card > p { margin-top: 10px; font-size: 17.5px; max-width: 560px; }
.contact-card__email {
  display: block; margin: 34px 0 30px; padding: 22px 26px; border-radius: 18px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; letter-spacing: -.01em;
  background: rgba(30, 80, 160, .45); border: 1px solid rgba(150, 200, 255, .4); overflow-wrap: anywhere;
}
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.guarantees { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 26px; padding-bottom: 56px; text-align: center; }
.guarantee { padding: 6px 20px; border-left: 1px solid var(--divider); }
.guarantee:first-child { border-left: 0; }
.guarantee .icon { width: 40px; height: 40px; stroke-width: 1.4; margin: 0 auto 12px; }
.guarantee__title { font-size: 19.5px; font-weight: 600; letter-spacing: -.01em; }
.guarantee__text { margin-top: 8px; font-size: 16.5px; line-height: 1.4; }

/* ---------- legal ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 10px 16px 70px; }
.legal .h2 { margin-bottom: 6px; }
.legal .muted { margin-bottom: 28px; font-size: 14px; }
.legal p { margin-bottom: 16px; color: var(--text-2); line-height: 1.65; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: rgba(1, 26, 70, .55); border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: flex; align-items: center; gap: 28px; max-width: calc(var(--max) + 80px); margin: 0 auto; padding: 34px var(--gutter) 18px; }
.brand--footer { font-size: 24px; }
.brand--footer img { width: 34px; }
.footer-tagline { font-size: 14px; line-height: 1.35; padding-left: 26px; border-left: 1px solid var(--divider); }
.footer-nav, .footer-legal-nav { display: flex; gap: 34px; }
.footer-nav { margin-left: auto; padding-right: 34px; border-right: 1px solid var(--divider); }
.footer-link { font-size: 15px; }
.footer-link:hover { color: var(--cyan); }
.footer-link[aria-current="page"] { color: var(--cyan-2); font-weight: 600; }
.footer-legal { max-width: calc(var(--max) + 80px); margin: 0 auto; padding: 0 var(--gutter) 26px; font-size: 12.5px; color: var(--text-3); }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding-top: 60px; padding-bottom: 100px; }
.not-found p { margin: 18px auto 30px; max-width: 460px; font-size: 18px; }

/* ---------- motion ---------- */
.js-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-ready .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
}

.br-wide { display: inline; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-stats { position: static; width: auto; display: flex; justify-content: center; gap: 0; margin-top: 30px; }
  .hero-stat { border: 0; padding: 0 26px; border-left: 1px solid var(--divider); text-align: center; }
  .hero-stats--left .hero-stat:first-child { border-left: 0; }
  .hero-stats-row { display: flex; justify-content: center; flex-wrap: wrap; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-wrap: wrap; }
  .footer-nav { margin-left: 0; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .nav-pill { display: none; }
  .menu-btn { display: grid; }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-actions .lang-switch { display: none; }
  .mobile-menu .lang-switch { display: inline-flex; }
  .hero-cards { grid-template-columns: repeat(3, minmax(240px, 1fr)); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 20px 4px 0; margin: 10px calc(var(--gutter) * -1) 0; padding-left: var(--gutter); padding-right: var(--gutter); height: 270px; scrollbar-width: none; }
  .hero-cards::-webkit-scrollbar { display: none; }
  .hero-card { scroll-snap-align: center; }
  .hero-card[data-pos] { transform: none; }
  .features, .philosophy { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .features__lead, .philosophy__lead { grid-column: 1 / -1; }
  .feature:nth-child(2) { border-left: 0; padding-left: 0; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .story, .build, .contact-grid { grid-template-columns: 1fr; }
  .story__image { max-width: 520px; }
  .build__art { max-width: 380px; margin: 0 auto; }
  .contact-art { display: none; }
  .contact-card { min-height: 0; }
  .guarantees { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .guarantee:nth-child(3) { border-left: 0; }
  .cta-banner { grid-template-columns: 1fr; padding: 34px 30px; text-align: left; }
  .cta-banner::before { opacity: .35; }
  .footer-inner { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .footer-tagline { border: 0; padding: 0; }
  .footer-nav { border: 0; padding: 0; flex-wrap: wrap; gap: 22px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .brand { font-size: 23px; }
  .brand img { width: 34px; }
  .circle-btn { width: 44px; height: 44px; }
  .lede { font-size: 16.5px; }
  .br-wide { display: none; }
  .home-hero .display { font-size: clamp(40px, 11.5vw, 54px); }
  .page-hero .display { font-size: clamp(38px, 10.5vw, 50px); }
  .kicker { font-size: 13px; letter-spacing: .3em; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .hero-stat { padding: 0 12px; }
  .hero-stat:nth-child(odd) { border-left: 0; }
  .hero-stats--right { margin-top: 18px; }
  .hero-stat__value { font-size: 30px; }
  .hero-stat__value--platforms { font-size: 22px; }
  .hero-cards { grid-template-columns: repeat(3, 78%); }
  .panel { padding: 24px 0; }
  .panel-head { margin: 0 16px 18px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 0 16px 6px; scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tiles li { flex: 0 0 130px; scroll-snap-align: start; }
  .portfolio .tiles { padding: 0 0 6px; }
  .features, .philosophy { grid-template-columns: 1fr; padding: 40px 0; }
  .feature, .feature:nth-child(2) { border-left: 0; padding: 18px 0 0; border-top: 1px solid var(--divider); }
  .filters { gap: 10px; }
  .filter { padding: 10px 16px; font-size: 14px; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { height: 400px; }
  .app-card__phone { width: 250px; bottom: -170px; }
  .step { grid-template-columns: 34px 1fr; gap: 6px 14px; }
  .step__text { grid-column: 2; padding-left: 0; }
  .step__text::before { display: none; }
  .contact-card { padding: 28px 22px; }
  .contact-card__actions { justify-content: stretch; }
  .contact-card__actions > * { flex: 1 1 100%; justify-content: center; }
  .contact-link { grid-template-columns: 54px 1fr auto; gap: 14px; }
  .contact-link__icon { width: 54px; height: 54px; }
  .guarantees { grid-template-columns: 1fr; }
  .guarantee { border-left: 0; }
  .cta-banner { padding: 28px 22px; margin: 40px 0 56px; }
  .cta-banner .btn-pill { justify-self: stretch; justify-content: center; }
}
