/* ==========================================================================
   SkyBlue Software Solutions — marketing site
   Palette: azure #0A84FF · cyan #22D3EE · ink navy #0B1B3A · near-white #F6F9FF
   Type: Sora (display) · Inter (body) · JetBrains Mono (labels/data)
   ========================================================================== */

:root {
  --azure: #0a84ff;
  --azure-600: #0869d6;
  --cyan: #22d3ee;
  --ink: #0b1b3a;
  --ink-2: #112a52;
  --slate: #5b6b86;
  --slate-2: #7a89a3;
  --paper: #f6f9ff;
  --sky-tint: #eaf2ff;
  --white: #ffffff;
  --line: #e2e8f4;
  --line-soft: #eef2fb;

  --maxw: 1180px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(11, 27, 58, .06), 0 4px 14px rgba(11, 27, 58, .05);
  --shadow: 0 18px 50px -18px rgba(11, 27, 58, .28);
  --shadow-azure: 0 22px 48px -20px rgba(10, 132, 255, .55);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* eyebrow / mono label ----------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--azure);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--azure), var(--cyan));
}
.eyebrow--center { justify-content: center; }

/* buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(135deg, var(--azure) 0%, #2b9bff 100%);
  color: #fff;
  box-shadow: var(--shadow-azure);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 26px 56px -18px rgba(10, 132, 255, .7); }
.btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.btn--light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover { transform: translateY(-2px); border-color: #cdd9ef; }
.btn--lg { padding: 17px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--azure) 0%, var(--cyan) 100%);
  box-shadow: 0 6px 16px -4px rgba(10, 132, 255, .5);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; letter-spacing: -0.02em; }
.brand__name b { color: var(--azure); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--slate);
  padding: 9px 14px;
  border-radius: 9px;
  transition: color .18s, background .18s;
}
.nav a:hover { color: var(--ink); background: var(--sky-tint); }
.nav a.is-active { color: var(--azure); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative;
  transition: transform .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 560px at 16% -8%, rgba(10, 132, 255, .55), transparent 60%),
    radial-gradient(820px 520px at 92% 8%, rgba(34, 211, 238, .28), transparent 55%),
    linear-gradient(165deg, #081226 0%, #0b1b3a 55%, #07203a 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(900px 600px at 30% 0%, #000 0%, transparent 75%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 86px 0 96px;
}
.hero .eyebrow { color: var(--cyan); }
.hero .eyebrow::before { background: linear-gradient(90deg, var(--cyan), transparent); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero h1 .accent {
  background: linear-gradient(120deg, #7cc6ff, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  margin: 22px 0 32px;
  font-size: 1.12rem;
  color: rgba(225, 235, 252, .82);
  max-width: 30em;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 26px;
  margin-top: 40px; padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero__meta div { display: flex; flex-direction: column; gap: 3px; }
.hero__meta b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; }
.hero__meta span { font-size: 0.82rem; color: rgba(225, 235, 252, .6); }

/* hero app frame ----------------------------------------------------------- */
.app-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0d1f3f;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7);
}
.app-frame__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.app-frame__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.app-frame__bar i:nth-child(1) { background: #ff6058; }
.app-frame__bar i:nth-child(2) { background: #ffbd2e; }
.app-frame__bar i:nth-child(3) { background: #28c840; }
.app-frame__bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 0.72rem; color: rgba(255, 255, 255, .45); }
.app-frame img { width: 100%; display: block; }
.hero__visual { position: relative; }
.hero__chip {
  position: absolute;
  left: -22px; bottom: 34px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink);
  padding: 13px 17px; border-radius: 15px;
  box-shadow: var(--shadow);
}
.hero__chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 4px rgba(40, 200, 64, .18); }
.hero__chip b { font-family: var(--font-display); font-size: 1.02rem; }
.hero__chip small { display: block; color: var(--slate); font-size: 0.74rem; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 96px 0; }
.section--tint { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }
.section__head { max-width: 660px; margin-bottom: 52px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section--ink h2 { color: #fff; }
.section__lead { margin-top: 18px; font-size: 1.1rem; color: var(--slate); }
.section--ink .section__lead { color: rgba(225, 235, 252, .75); }

/* ==========================================================================
   Module dock — signature element
   ========================================================================== */
.dock { position: relative; padding: 8px 0 4px; container-type: inline-size; }
.dock__spine {
  position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(10, 132, 255, .35) 12%, var(--azure) 50%, rgba(34, 211, 238, .45) 88%, transparent);
}
.dock__pulse {
  position: absolute; top: 50%; left: 0;
  width: 70px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  filter: blur(.4px);
  will-change: transform;
  /* Composited transform (no per-frame layout/paint) instead of animating `left`. */
  animation: dock-flow 4.2s linear infinite;
}
@keyframes dock-flow {
  from { transform: translate(-100%, -50%); }
  to   { transform: translate(calc(100cqw + 100%), -50%); }
}
@media (prefers-reduced-motion: reduce) {
  .dock__pulse { animation: none; transform: translate(50cqw, -50%); }
}
.dock__core {
  position: relative; z-index: 2;
  margin: 0 auto 30px;
  width: max-content;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--azure), var(--cyan));
  color: #fff;
  box-shadow: var(--shadow-azure);
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em;
}
.dock__core svg { width: 22px; height: 22px; }
.dock__row {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.mod {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mod::before {
  content: ""; position: absolute; left: 50%; top: -18px; transform: translateX(-50%);
  width: 2px; height: 18px; background: var(--line);
}
.mod__node {
  position: absolute; left: 50%; top: -22px; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--line-soft); border: 2px solid var(--line);
}
.mod__icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 14px;
  background: var(--sky-tint); color: var(--azure);
}
.mod__icon svg { width: 22px; height: 22px; }
.mod h3 { font-size: 1.04rem; }
.mod p { margin-top: 6px; font-size: 0.84rem; color: var(--slate); }
.mod__tag {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  color: var(--slate-2); background: var(--line-soft);
}
.mod--live { border-color: rgba(10, 132, 255, .4); box-shadow: 0 18px 40px -22px rgba(10, 132, 255, .55); }
.mod--live::before { background: var(--azure); }
.mod--live .mod__node { background: var(--azure); border-color: #fff; box-shadow: 0 0 0 4px rgba(10, 132, 255, .25); }
.mod--live .mod__icon { background: linear-gradient(135deg, var(--azure), var(--cyan)); color: #fff; }
.mod--live .mod__tag { color: var(--azure); background: rgba(10, 132, 255, .1); }
.mod--live .mod__tag .dot { width: 6px; height: 6px; border-radius: 50%; background: #28c840; }
.mod--live:hover, .mod:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mod--soon { background: #fbfcff; }
.mod--soon h3, .mod--soon .mod__icon { opacity: .9; }

/* ==========================================================================
   Feature grid
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6e2f7; }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(10, 132, 255, .12), rgba(34, 211, 238, .14));
  color: var(--azure);
}
.card__icon svg { width: 25px; height: 25px; }
.card h3 { font-size: 1.18rem; }
.card p { margin-top: 10px; color: var(--slate); font-size: 0.96rem; }

/* split feature (image + text) -------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--paper);
}
.split__media img { width: 100%; display: block; }
.split ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.split li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink); font-size: 0.99rem; }
.split li svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--azure); margin-top: 1px; }
.split li b { font-weight: 600; }
.split li span { color: var(--slate); font-weight: 400; }

/* stat band ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: left; }
.stat b { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; display: block; }
.section--ink .stat b { background: linear-gradient(120deg, #8ccbff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 0.92rem; color: var(--slate); }
.section--ink .stat span { color: rgba(225, 235, 252, .65); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 64px 56px; color: #fff; isolation: isolate; }
.cta-band__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 380px at 12% 0%, rgba(34, 211, 238, .35), transparent 60%),
    linear-gradient(120deg, var(--azure) 0%, #0a5fd6 55%, var(--ink) 120%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); max-width: 16em; }
.cta-band p { margin-top: 14px; color: rgba(255, 255, 255, .85); max-width: 36em; font-size: 1.05rem; }
.cta-band__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 0.98rem; color: var(--ink);
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--azure); box-shadow: 0 0 0 4px rgba(10, 132, 255, .14);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__note { font-size: 0.82rem; color: var(--slate); }
.form__ok {
  display: none;
  align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: var(--r-sm);
  background: rgba(40, 200, 64, .1); color: #157a2b; font-size: 0.92rem; font-weight: 500;
}
.form__ok.is-shown { display: flex; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(225, 235, 252, .7); padding: 70px 0 34px; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand__name { color: #fff; }
.site-footer__about { margin-top: 18px; max-width: 30em; font-size: 0.95rem; color: rgba(225, 235, 252, .6); }
.fcol h4 { color: #fff; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.fcol a, .fcol p { display: block; font-size: 0.93rem; color: rgba(225, 235, 252, .62); margin-bottom: 11px; transition: color .15s; }
.fcol a:hover { color: var(--cyan); }
.site-footer__bottom {
  margin-top: 50px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.84rem; color: rgba(225, 235, 252, .5);
}
.soon-pill {
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em;
  padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: rgba(225, 235, 252, .7);
  margin-left: 6px; vertical-align: middle;
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 80% -20%, rgba(34, 211, 238, .25), transparent 60%),
    radial-gradient(800px 460px at 8% 0%, rgba(10, 132, 255, .45), transparent 60%),
    linear-gradient(160deg, #081226, #0b1b3a 70%);
}
.page-hero__inner { padding: 78px 0 70px; max-width: 720px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.1rem); font-weight: 800; }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero .eyebrow::before { background: linear-gradient(90deg, var(--cyan), transparent); }
.page-hero p { margin-top: 20px; font-size: 1.13rem; color: rgba(225, 235, 252, .8); }

/* two-column form layout (demo / contact) ---------------------------------- */
.form-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}
.note-box {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(10, 132, 255, .06), rgba(34, 211, 238, .07));
}
.note-box h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 9px; }
.note-box .dot { width: 9px; height: 9px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 4px rgba(40, 200, 64, .18); }
.note-box p { margin: 8px 0 16px; color: var(--slate); font-size: 0.95rem; }

.contact-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.contact-list .ic {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--sky-tint); color: var(--azure);
}
.contact-list .ic svg { width: 21px; height: 21px; }
.contact-list b { display: block; font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 3px; }
.contact-list a, .contact-list span { color: var(--ink); font-size: 1.02rem; }
.contact-list a:hover { color: var(--azure); }

@media (max-width: 880px) {
  .form-layout { grid-template-columns: 1fr; gap: 36px; }
}

/* lightbox (click-to-zoom screenshots) ------------------------------------- */
.app-frame img, .split__media img { cursor: zoom-in; }

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 4vmin;
  background: rgba(7, 18, 38, .85);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
  opacity: 0; transition: opacity .22s ease;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__img {
  max-width: 96vw; max-height: 92vh;
  width: auto; height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 110px -18px rgba(0, 0, 0, .85);
  transform: scale(.95); transition: transform .22s ease;
  cursor: default;
}
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .1); color: #fff;
  cursor: pointer; display: grid; place-items: center;
  transition: background .18s, transform .18s;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); transform: rotate(90deg); }
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox__hint {
  position: absolute; bottom: 22px; left: 0; right: 0;
  text-align: center; color: rgba(255, 255, 255, .6);
  font-size: 0.82rem; font-family: var(--font-mono); letter-spacing: 0.04em;
}
body.lightbox-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__img { transition: none; }
  .lightbox__close:hover { transform: none; }
}

/* reveal animation --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; padding: 64px 0 72px; }
  .hero__visual { max-width: 560px; }
  .split, .split--rev .split__media { grid-template-columns: 1fr; order: 0; }
  .split { gap: 32px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (max-width: 820px) {
  .nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 16px; right: 16px; top: 74px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 12px; gap: 4px; box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 13px 14px; }
  .dock__row { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .cta-band { padding: 44px 28px; }
  .cta-band__actions .btn { flex: 1; }
  .field--row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .dock__row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero__chip { left: 8px; }
  .container { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .dock__pulse { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .mod:hover { transform: none; }
}

/* ==========================================================================
   Mobile app — SkyCore Courier App (phone mockups)
   ========================================================================== */
.phone {
  position: relative;
  width: 268px; max-width: 76vw;
  margin: 0 auto;
  padding: 9px;
  border-radius: 40px;
  background: linear-gradient(165deg, #1b2942, #0c1730);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 44px 90px -34px rgba(11, 27, 58, .65), inset 0 0 0 2px rgba(255, 255, 255, .04);
}
.phone img { width: 100%; display: block; border-radius: 32px; }
.phone--tilt { transform: rotate(-3deg); transition: transform .4s ease; }
.phone--tilt:hover { transform: rotate(0); }

/* hero arrangement: a lead phone with a smaller phone behind it */
.app-hero__stage { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 540px; }
.app-hero__stage .phone--back {
  position: absolute; left: 50%; bottom: 26px;
  width: 224px; transform: translateX(-86%) rotate(-7deg);
  opacity: .92; filter: saturate(.96);
}
.app-hero__stage .phone--front { position: relative; z-index: 2; transform: rotate(3deg); }
.app-hero__chip {
  position: absolute; right: 2px; top: 40px; z-index: 3;
  display: flex; align-items: center; gap: 11px;
  background: #fff; color: var(--ink);
  padding: 12px 16px; border-radius: 15px; box-shadow: var(--shadow);
}
.app-hero__chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 4px rgba(40, 200, 64, .18); }
.app-hero__chip b { font-family: var(--font-display); font-size: .98rem; display: block; }
.app-hero__chip small { display: block; color: var(--slate); font-size: .74rem; }

/* feature split: centre the phone in its media cell */
.split__media--phone { background: none; border: 0; box-shadow: none; overflow: visible; display: flex; justify-content: center; }

/* gallery strip */
.app-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.app-gallery .phone { width: 100%; }
.app-gallery figure { margin: 0; }
.app-gallery figcaption { margin-top: 14px; text-align: center; font-size: .86rem; color: var(--slate); font-weight: 500; }

/* platform badges (Android available / iOS soon) */
.app-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.app-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white);
  font-size: .9rem; color: var(--ink); box-shadow: var(--shadow-sm);
}
.app-badge svg { width: 19px; height: 19px; color: var(--azure); }
.app-badge small { color: var(--slate); }
.section--ink .app-badge { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.section--ink .app-badge small { color: rgba(225, 235, 252, .65); }

@media (max-width: 960px) {
  .app-hero__stage { min-height: 0; margin-top: 8px; }
  .app-hero__stage .phone--back { display: none; }
  .app-hero__stage .phone--front { transform: none; }
  .app-hero__chip { right: 50%; transform: translateX(150px); }
  .app-gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (max-width: 560px) {
  .app-gallery { grid-template-columns: repeat(2, 1fr); }
  .app-hero__chip { display: none; }
}
