/* Aviaso — site styles. Plain CSS, no build step. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
:root {
  --ink: #0f1b2d;
  --ink-2: #1e293b;
  --muted: #475569;
  --muted-2: #64748b;
  --line: #e2e8f0;
  --surface: #f6f8fc;
  --surface-2: #eef3fb;
  --white: #ffffff;
  --brand: #2f7fd1;          /* Aviaso paper-plane blue */
  --brand-600: #2367b2;
  --brand-700: #1b4f8a;
  --navy: #0b2545;
  --sky-50: #f0f7ff;
  --sky-100: #dcebff;
  --sky-200: #bcd8ff;
  --amber: #f5a524;          /* Aviaso icon accent */
  --coral: #fb7185;
  --green: #16a34a;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 1px rgba(15, 27, 45, .04);
  --shadow: 0 10px 30px -12px rgba(15, 27, 45, .18), 0 2px 6px rgba(15, 27, 45, .05);
  --shadow-lg: 0 40px 80px -30px rgba(11, 37, 69, .45), 0 10px 30px -10px rgba(11, 37, 69, .18);
  --container: 1200px;
  --gutter: 20px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 600; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 17px/1 var(--font); letter-spacing: .01em;
  padding: 14px 22px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -8px rgba(11,37,69,.6); }
.btn-primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--ink); border-color: #cbd5e1; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: 17px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(6px);
}
.pill svg { width: 14px; height: 14px; flex-shrink: 0; }
.pill-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 15px; color: var(--muted); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 14px; }
.tag-badge { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand-700); background: var(--sky-100); padding: 3px 9px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: padding .25s ease; }
.site-header .bar {
  display: flex; align-items: center; gap: 28px;
  max-width: var(--container); margin: 0 auto; padding: 10px var(--gutter);
  border-radius: 14px; transition: background .25s ease, box-shadow .25s ease, max-width .3s ease;
}
.site-header.scrolled { padding: 10px 0; }
.site-header.scrolled .bar {
  max-width: 1080px; background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 10px 30px -12px rgba(15,27,45,.22), 0 0 0 1px rgba(15,27,45,.06);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > a, .nav .dd > button {
  font: 500 17px/1 var(--font); color: var(--ink-2); padding: 10px 12px; border-radius: 8px;
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.nav > a:hover, .nav .dd > button:hover, .nav > a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.dd { position: relative; }
.dd > button svg { width: 14px; height: 14px; transition: transform .2s; }
.dd.open > button svg { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: -10px; min-width: 330px;
  background: #fff; border-radius: 14px; padding: 8px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s ease;
}
.dd.open .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .hover-ready .dd:hover .dd-menu { opacity: 1; visibility: visible; transform: none; } }
.dd-menu a { display: flex; gap: 12px; padding: 12px; border-radius: 10px; color: var(--ink); }
.dd-menu a:hover { background: var(--surface); }
.dd-menu .ic { flex-shrink: 0; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--sky-100); color: var(--brand-700); }
.dd-menu .ic svg { width: 18px; height: 18px; }
.dd-menu strong { display: block; font-size: 15px; font-weight: 600; }
.dd-menu span { display: block; font-size: 13px; color: var(--muted-2); line-height: 1.4; }
.header-cta { display: flex; gap: 10px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 960px) {
  .site-header .bar { gap: 12px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav, .header-cta { display: none; }
  .site-header.menu-open .bar { background: #fff; box-shadow: var(--shadow-lg); flex-wrap: wrap; max-width: calc(100% - 20px); }
  .site-header.menu-open .nav { display: flex; flex-direction: column; align-items: stretch; width: 100%; order: 3; padding-top: 8px; border-top: 1px solid var(--line); }
  .site-header.menu-open .header-cta { display: flex; width: 100%; order: 4; padding: 8px 0 6px; }
  .site-header.menu-open .header-cta .btn { flex: 1; }
  .nav > a, .nav .dd > button { padding: 14px 10px; font-size: 17px; width: 100%; justify-content: space-between; }
  .dd-menu { position: static; box-shadow: none; border: 0; padding: 0 0 6px; min-width: 0; display: none; opacity: 1; visibility: visible; transform: none; }
  .dd.open .dd-menu { display: block; }
}

/* ---------- Hero ---------- */
.hero-wrap { padding: 0 20px; margin-top: -72px; }
.hero {
  position: relative; overflow: hidden; border-radius: 28px;
  padding: 150px 0 0;
  background:
    radial-gradient(1100px 600px at 92% 110%, rgba(27,79,138,.95), transparent 60%),
    radial-gradient(900px 520px at 85% 30%, rgba(47,127,209,.55), transparent 62%),
    radial-gradient(700px 400px at 10% 0%, rgba(220,235,255,1), transparent 70%),
    linear-gradient(180deg, #f5f9ff 0%, #e6f0ff 55%, #cfe1fb 100%);
}
.hero::after { /* soft grain-free vignette at the bottom */
  content: ""; position: absolute; inset: auto 0 0 0; height: 160px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.0));
  pointer-events: none;
}
.hero-routes { position: absolute; inset: 0; pointer-events: none; opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, #000 68%); mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, #000 68%); }
.hero-routes path.route { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round; }
.hero-routes path.route.lit { stroke: rgba(245,165,36,.95); stroke-dasharray: 160 1400; stroke-width: 2; animation: route 7s linear infinite; }
.hero-routes path.route.lit.d2 { animation-delay: -2.5s; animation-duration: 9s; }
.hero-routes path.route.lit.d3 { animation-delay: -5s; animation-duration: 11s; }
.hero-routes circle { fill: #fff; }
@keyframes route { from { stroke-dashoffset: 1560; } to { stroke-dashoffset: 0; } }
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--brand-700), var(--brand) 60%, #5aa6ef); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: #334155; max-width: 700px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--muted); display: flex; align-items: flex-start; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.hero-shot { position: relative; z-index: 2; margin: 64px auto -2px; max-width: 1080px; perspective: 1600px; }
.browser {
  border-radius: 14px 14px 0 0; background: #fff; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.7); transform-origin: 50% 100%;
  transform: rotateX(var(--tilt, 10deg)); transition: transform .1s linear;
  will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; outline: 1px solid transparent;
}
.browser-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.browser-bar i:nth-child(1) { background: #f87171; } .browser-bar i:nth-child(2) { background: #fbbf24; } .browser-bar i:nth-child(3) { background: #34d399; }
.browser-bar .url { margin-left: 14px; flex: 1; max-width: 360px; height: 22px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--muted-2); display: flex; align-items: center; padding: 0 10px; }
.browser img { width: 100%; height: auto; }
.float-card {
  position: absolute; z-index: 3; background: #fff;
  border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); border: 1px solid rgba(15,27,45,.06);
  font-size: 13px; color: var(--muted); display: flex; gap: 12px; align-items: center;
}
.float-card b { display: block; color: var(--ink); font-size: 18px; font-weight: 600; }
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card.fc1 { left: -34px; top: 22%; }
.float-card.fc1 .ic { background: #dcfce7; color: var(--green); }
.float-card.fc2 { right: -30px; top: 48%; }
.float-card.fc2 .ic { background: #fef3c7; color: #b45309; }
@media (max-width: 1160px) { .float-card { display: none; } }
@media (max-width: 720px) {
  .hero-wrap { padding: 0 10px; }
  .hero { padding-top: 120px; border-radius: 20px; }
  .browser { transform: none; }
}

/* ---------- Logo marquee ---------- */
.logos { padding: 56px 0 24px; text-align: center; }
.logos p { font-size: 15px; color: var(--muted-2); margin-bottom: 26px; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 48s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .logo-item { height: 40px; display: flex; align-items: center; }
.marquee-track img { height: 32px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .65; transition: filter .25s, opacity .25s; }
.marquee-track .logo-item:hover img { filter: none; opacity: 1; }
.logo-text { font-weight: 600; font-size: 18px; color: #94a3b8; letter-spacing: -.01em; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.0625rem; color: var(--muted); }
.bg-surface { background: var(--surface); }
.muted { color: var(--muted); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.stat { padding: 30px 24px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat::before { content: ""; position: absolute; left: 24px; top: 30px; width: 3px; height: 40px; border-radius: 3px; background: linear-gradient(var(--brand), var(--sky-200)); }
.stat .num { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 600; color: var(--ink); letter-spacing: -.03em; line-height: 1; padding-left: 16px; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.stat .lbl { font-size: 15px; color: var(--muted); line-height: 1.45; }
.stat .src { display: block; font-size: 13px; color: var(--muted-2); margin-top: 4px; }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat { border-bottom: 1px solid var(--line); } .stat:nth-child(2n) { border-right: 0; } .stat:last-child { grid-column: 1 / -1; border-bottom: 0; } }

/* problem cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6e2f3; }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100); color: var(--brand-700); margin-bottom: 20px; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 17px; margin: 0; }
.card .big { font-size: 2.6rem; font-weight: 600; color: var(--ink); letter-spacing: -.03em; line-height: 1; margin-bottom: 14px; }
.card .big small { font-size: 1rem; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cards-2 { grid-template-columns: 1fr; } }

/* ---------- Data-sources rays (signature section) ---------- */
.rays {
  position: relative; overflow: hidden; border-radius: 28px; margin: 0 20px;
  padding: 90px 20px 120px; text-align: center; color: #fff;
  background:
    radial-gradient(60% 70% at 50% 108%, rgba(245,165,36,.95) 0%, rgba(251,113,133,.65) 26%, rgba(47,127,209,.0) 60%),
    radial-gradient(80% 90% at 50% 100%, #2f7fd1 0%, #1b4f8a 45%, #0b2545 100%);
}
.rays::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-conic-gradient(from 180deg at 50% 100%, rgba(255,255,255,.07) 0deg 1deg, transparent 1deg 7deg);
  mask-image: radial-gradient(90% 90% at 50% 100%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(90% 90% at 50% 100%, #000 30%, transparent 75%);
}
.rays > * { position: relative; }
.rays h2 { color: #fff; }
.rays .lead { color: rgba(255,255,255,.8); max-width: 660px; margin: 0 auto 44px; font-size: 1.1rem; }
.chip-cloud { display: flex; flex-direction: column; gap: 16px; align-items: center; max-width: 980px; margin: 0 auto; }
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.chip {
  font-size: 15px; font-weight: 500; letter-spacing: .01em; padding: 6px 12px; border-radius: 8px;
  color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px); transition: background .2s, color .2s, transform .2s;
}
.chip:hover { transform: translateY(-2px); background: rgba(255,255,255,.22); }
.chip.key { background: #fff; color: var(--navy); border-color: #fff; font-weight: 600; }
/* "Single trusted dataset" diagram (D-50): source groups -> validated dataset -> two products, as in the brochure */
.flow { max-width: 1000px; margin: 0 auto; }
.src-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.src { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(4px); transition: background .2s, transform .2s; }
.src:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.src-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--brand-700); }
.src-ic svg { width: 22px; height: 22px; }
.src h3 { color: #fff; font-size: 1rem; margin: 2px 0 4px; }
.src p { margin: 0; color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.45; }
.merge { display: block; width: 100%; height: 44px; overflow: visible; }
.merge path { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.merge-out, .rays .core, .outs { max-width: 560px; margin-left: auto; margin-right: auto; }
.rays .core {
  display: flex; align-items: center; gap: 14px; padding: 16px 24px; text-align: left;
  border-radius: 18px; background: rgba(255,255,255,.96); color: var(--navy); box-shadow: 0 0 0 8px rgba(255,255,255,.15), 0 0 60px rgba(245,165,36,.7);
}
.rays .core img { height: 28px; width: auto; }
.rays .core b { display: block; font-size: 1.15rem; font-weight: 600; }
.rays .core small { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
.outs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.outs a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 12px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); color: #fff; font-weight: 600; text-decoration: none; transition: background .2s; }
.outs a:hover { background: rgba(255,255,255,.26); }
.outs svg { width: 18px; height: 18px; }
.merge.c2, .merge.c1 { display: none; }
.merge.c3 { display: block; }
@media (max-width: 900px) {
  .src-grid { grid-template-columns: 1fr 1fr; }
  .merge.c3, .merge.c1 { display: none; } .merge.c2 { display: block; }
}
@media (max-width: 560px) {
  .src-grid { grid-template-columns: 1fr; }
  .outs { grid-template-columns: 1fr; }
  .merge.c3, .merge.c2 { display: none; } .merge.c1 { display: block; }
}

/* ---------- Product tabs ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); margin: 0 auto 34px; flex-wrap: wrap; justify-content: center; }
.tabs-wrap { text-align: center; }
.tab {
  font: 500 15px/1 var(--font); padding: 11px 16px; border-radius: 9px; border: 0; background: none; color: var(--muted); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s, box-shadow .2s;
}
.tab svg { width: 16px; height: 16px; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tab-panel { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center; text-align: left; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: 1.6rem; letter-spacing: -.02em; }
.tab-panel p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 20px 0 26px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-2); font-size: 17px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sky-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b4f8a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.shot-frame { border-radius: 16px; padding: 10px; background: linear-gradient(135deg, var(--sky-100), #fff 40%, var(--surface-2)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot-frame img { border-radius: 10px; border: 1px solid var(--line); width: 100%; }
.shot-caption { font-size: 13px; color: var(--muted-2); margin-top: 10px; text-align: right; }
@media (max-width: 960px) { .tab-panel { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--sky-200) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step .n {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 16px; display: grid; place-items: center; position: relative;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--brand-700);
}
.step .n svg { width: 24px; height: 24px; }
.step .n::after { counter-increment: step; content: counter(step); position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 26px; } .steps::before { display: none; } .step { text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; } .step .n { grid-row: span 2; margin: 0; } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.rev > :first-child { order: 0; } }

/* schemes grid */
.schemes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.scheme { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; position: relative; overflow: hidden; }
.scheme::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(var(--sky-100), transparent 70%); }
.scheme b { display: block; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; margin-bottom: 6px; }
.scheme span { font-size: 15px; color: var(--muted); display: block; line-height: 1.5; }
@media (max-width: 520px) { .schemes { grid-template-columns: 1fr; } }

/* phone mockup */
.phone {
  width: 290px; margin: 0 auto; aspect-ratio: 9 / 19; border-radius: 44px; padding: 12px; background: #0b1220;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #283244; position: relative;
}
.phone .screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: linear-gradient(180deg, #0b2545, #1b4f8a 60%, #2f7fd1); color: #fff; padding: 46px 18px 18px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.phone .notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 14px; background: #0b1220; }
.phone .p-title { font-size: 13px; opacity: .7; text-transform: uppercase; letter-spacing: .08em; }
.phone .p-h { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.phone .p-card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 12px; }
.phone .p-row { display: flex; justify-content: space-between; align-items: baseline; }
.phone .p-row b { font-size: 18px; }
.phone .bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.18); margin-top: 8px; overflow: hidden; }
.phone .bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--amber), #ffd27a); }
.phone .p-tabs { margin-top: auto; display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; opacity: .85; }
.phone svg.route { width: 100%; height: 70px; }

/* compare table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--surface); font-size: 15px; color: var(--muted); font-weight: 600; }
.compare thead th.us { color: var(--navy); background: var(--sky-100); }
.compare td.us { background: var(--sky-50); color: var(--ink); font-weight: 500; }
.compare tr:last-child td { border-bottom: 0; }
.compare .y, .compare .n { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; align-items: center; justify-content: center; margin-right: 8px; vertical-align: -4px; }
.compare .y { background: #dcfce7; color: var(--green); } .compare .n { background: #fee2e2; color: #dc2626; }
.compare .y svg, .compare .n svg { width: 12px; height: 12px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); }
.table-scroll .compare { min-width: 640px; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillars.pillars-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .pillars, .pillars.pillars-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars, .pillars.pillars-3 { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.08rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* CTA band */
.cta-band {
  margin: 0 20px; border-radius: 28px; padding: 90px 20px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(700px 400px at 15% 0%, rgba(47,127,209,.6), transparent 60%), radial-gradient(800px 500px at 100% 100%, rgba(245,165,36,.35), transparent 60%), var(--navy);
}
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 16px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 620px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); box-shadow: none; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  margin: -72px 20px 0; border-radius: 0 0 28px 28px; padding: 160px 0 90px; position: relative; overflow: hidden;
  background: radial-gradient(900px 500px at 100% 0%, rgba(47,127,209,.35), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(245,165,36,.16), transparent 60%), linear-gradient(180deg, #f5f9ff, #e8f1ff);
}
.page-hero .lede { font-size: 1.25rem; color: #334155; max-width: 720px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 900px; }
.page-hero h1.wide { max-width: none; }
.breadcrumbs { font-size: 15px; color: var(--muted-2); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span[aria-hidden] { margin: 0 8px; }
@media (max-width: 720px) { .page-hero { margin: -72px 10px 0; padding-top: 130px; } }

/* feature grid (inner) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* integrations */
.integrations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.integration { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.integration h3 { font-size: 1.02rem; margin-bottom: 12px; }
.integration .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.integration .chips span { font-size: 13px; padding: 4px 9px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); }
@media (max-width: 960px) { .integrations { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .integrations { grid-template-columns: 1fr; } }

/* customers grid */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; text-align: left; min-height: 170px; transition: box-shadow .2s, transform .2s; }
.logo-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.logo-card .logo-box { height: 56px; display: flex; align-items: center; justify-content: flex-start; width: 100%; }
.logo-card img { max-height: 52px; max-width: 80%; object-position: left center; width: auto; object-fit: contain; }
.logo-card strong { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
.logo-card span { display: block; font-size: 13px; color: var(--muted-2); }
@media (max-width: 960px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.avatar { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--brand), var(--navy)); margin-bottom: 16px; letter-spacing: .02em; }
.person:nth-child(3n+2) .avatar { background: linear-gradient(135deg, #5aa6ef, var(--brand-700)); }
.person:nth-child(3n) .avatar { background: linear-gradient(135deg, var(--amber), #d97706); }
.person strong { display: block; color: var(--ink); font-size: 17px; }
.person span { font-size: 15px; color: var(--muted); }
.has-photos .avatar { width: 96px; height: 96px; border-radius: 50%; font-size: 24px; }
.avatar-photo { display: block; object-fit: cover; background: var(--line); }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }

/* timeline */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand), var(--sky-200)); }
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.tl-item .yr { font-size: 15px; font-weight: 600; color: var(--brand-600); letter-spacing: .04em; }
.tl-item h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.tl-item p { color: var(--muted); margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info .item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .item:last-child { border-bottom: 0; }
.contact-info .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100); color: var(--brand-700); flex-shrink: 0; }
.contact-info .ic svg { width: 20px; height: 20px; }
.contact-info strong { display: block; color: var(--ink); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 15px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font); padding: 12px 14px; border-radius: 10px; border: 1px solid #cbd5e1; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47,127,209,.15); }
.field textarea { min-height: 120px; resize: vertical; }
.form .fine { font-size: 13px; color: var(--muted-2); margin: 12px 0 0; }
.form-status { margin-top: 14px; font-size: 15px; color: var(--green); min-height: 1.2em; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } .form { padding: 22px; } }

/* prose */
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 36px; margin-top: 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--surface)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
.footer-grid h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 14px; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--muted); font-size: 15px; }
.footer-grid a:hover { color: var(--ink); }
.footer-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 15px; color: var(--muted); max-width: 300px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 15px; color: var(--muted-2); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .browser { transform: none !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* tablet mockup (landscape) */
.tablet-wrap { margin: 0; perspective: 1800px; }
.tablet {
  position: relative; border-radius: 30px; padding: 16px 22px; background: linear-gradient(145deg, #1c2433, #0b1220 60%);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3446, inset 0 0 0 6px #0b1220;
  transform: rotateY(-9deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.tablet:hover { transform: rotateY(-3deg) rotateX(2deg); }
.tablet .cam { position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #2f3a4f; box-shadow: inset 0 0 0 1.5px #111827; }
.tablet img { width: 100%; height: auto; border-radius: 10px; background: #000; }
.tablet-wrap .shot-caption { margin-top: 18px; }
@media (max-width: 960px) { .tablet { transform: none; border-radius: 22px; padding: 10px 14px; } .tablet:hover { transform: none; } }

/* ===== Sky hero (from the Aviaso business card) ===== */
:root { --sky: #4a8ac9; --sky-deep: #3a78bb; --sky-light: #79aee3; --sun: #ffd58a; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; transform: translateY(-1px); }

.hero.hero-sky {
  background:
    radial-gradient(900px 500px at 78% 18%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(180deg, var(--sky-deep) 0%, var(--sky) 45%, var(--sky-light) 100%);
  color: #fff;
}
.hero-sky h1 { color: #fff; text-shadow: 0 2px 30px rgba(11,37,69,.18); }
.hero-sky h1 .grad { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--sun); }
.hero-sky .lede { color: rgba(255,255,255,.9); }
.hero-sky .pill-row { color: rgba(255,255,255,.85); }
.hero-sky .pill { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; }
.hero-sky .hero-note { color: rgba(255,255,255,.85); }
.hero-sky .hero-note svg { color: #b9f5cf; }
.hero-sky .btn-light { box-shadow: 0 10px 24px -10px rgba(11,37,69,.55); }

.cloud { position: absolute; pointer-events: none; user-select: none; z-index: 1; height: auto; max-width: none; will-change: transform; backface-visibility: hidden; }
.hero-sky .cloud.c1 { width: 620px; left: -170px; top: -230px; opacity: .85; animation: drift 38s ease-in-out infinite alternate; }
.hero-sky .cloud.c2 { width: 560px; right: -150px; top: 360px; opacity: .9; animation: drift 46s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(60px); } }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 600px) 1fr; gap: 24px; align-items: center; }
.hero-sky .hero-inner { max-width: 600px; }
.hero-sky h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); }
.hero-art { position: relative; align-self: start; margin: 10px -40px 0 -10px; }
.skywriting { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 2.5px rgba(255,255,255,.95)) drop-shadow(0 0 10px rgba(255,255,255,.45)); }
.sw-trail { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.sw-dot, .sw-plane { transform-box: fill-box; transform-origin: center; }

/* draw-on animation, only when JS confirms motion is OK */
.js-motion .sw-trail { stroke-dashoffset: 1; animation: sw-draw 3.2s cubic-bezier(.45,.05,.35,1) .35s forwards; }
.js-motion .sw-dot { opacity: 0; animation: sw-fade .4s ease 2.2s forwards; }
.js-motion .sw-plane { opacity: 0; transform: translate(-14px, 6px) scale(.85); animation: sw-plane .9s cubic-bezier(.2,.7,.2,1) 3.2s forwards; }
/* hold the animation until the artwork scrolls into view (main.js adds .play) */
.js-motion .hero-art:not(.play) .sw-trail, .js-motion .hero-art:not(.play) .sw-dot, .js-motion .hero-art:not(.play) .sw-plane { animation-play-state: paused; }
@keyframes sw-draw { to { stroke-dashoffset: 0; } }
@keyframes sw-fade { to { opacity: 1; } }
@keyframes sw-plane { to { opacity: 1; transform: none; } }
/* business-card line under the skywriting; fades in after the plane arrives */
.hero-art { container-type: inline-size; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin: 28px 0 0; }
}
@media (max-width: 720px) {
  .hero-sky .cloud.c1 { width: 380px; left: -150px; top: -120px; }
  .hero-sky .cloud.c2 { width: 340px; right: -170px; top: auto; bottom: 120px; }
}

/* header sitting on the sky (home only, before scrolling) */
.on-sky .site-header:not(.scrolled):not(.menu-open) .brand img { filter: brightness(0) invert(1); }
.on-sky .site-header:not(.scrolled):not(.menu-open) .nav > a,
.on-sky .site-header:not(.scrolled):not(.menu-open) .nav .dd > button { color: #fff; }
.on-sky .site-header:not(.scrolled):not(.menu-open) .nav > a:hover,
.on-sky .site-header:not(.scrolled):not(.menu-open) .nav .dd > button:hover { background: rgba(255,255,255,.15); }
.on-sky .site-header:not(.scrolled):not(.menu-open) .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.on-sky .site-header:not(.scrolled):not(.menu-open) .btn-primary { background: #fff; color: var(--navy); }
.on-sky .site-header:not(.scrolled):not(.menu-open) .menu-toggle { color: #fff; border-color: rgba(255,255,255,.5); }

/* CTA band in sky style */
.cta-band.sky { background: linear-gradient(180deg, var(--sky-deep), var(--sky) 55%, var(--sky-light)); }
.cta-band.sky > :not(.cloud) { position: relative; z-index: 2; }
.cta-band.sky .eyebrow { color: var(--sun); }
.cta-band.sky p { color: rgba(255,255,255,.9); }
.cta-band.sky .btn-ghost { border-color: rgba(255,255,255,.55); }
.cta-band.sky .cloud.c1 { width: 420px; left: -120px; top: -150px; opacity: .8; }
.cta-band.sky .cloud.c2 { width: 480px; right: -140px; bottom: -220px; opacity: .85; }

.footer-brand .tagline { margin: -8px 0 12px; font-size: 15px; color: var(--muted-2); letter-spacing: .01em; }

@media (prefers-reduced-motion: reduce) {
  .js-motion .sw-trail { stroke-dashoffset: 0; }
  .js-motion .sw-dot, .js-motion .sw-plane { opacity: 1; transform: none; animation: none; }
}
