/* ============================================================
   АэроАгент — landing visual system
   Direction: night runway / clear sky — navy, cyan, amber signal.
   Aviation as quiet color language (no illustrated planes).
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap");

:root {
  /* Night sky → runway glow */
  --bg-0: #071018;
  --bg-1: #0b1824;
  --bg-2: #122536;
  --bg-elevated: #163044;
  --bg-soft: #1c3a52;

  --cloud: #eef5fa;
  --cloud-dim: rgba(238, 245, 250, 0.72);
  --cloud-mute: rgba(238, 245, 250, 0.5);
  --cloud-faint: rgba(238, 245, 250, 0.12);

  /* Primary sky cyan */
  --accent: #3eb6d4;
  --accent-soft: rgba(62, 182, 212, 0.16);
  --accent-strong: #7ad4ea;
  --accent-deep: #1a7a96;

  /* Runway amber signal (sparse) */
  --signal: #e8a54b;
  --signal-soft: rgba(232, 165, 75, 0.14);
  --signal-strong: #f0bf6e;

  /* Success / alert */
  --ok: #3dbe7a;
  --ok-soft: rgba(61, 190, 122, 0.14);
  --danger: #e07070;

  --line: rgba(126, 200, 227, 0.12);
  --line-strong: rgba(126, 200, 227, 0.22);

  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(2, 10, 18, 0.4);
  --shadow-md: 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 48px rgba(2, 10, 18, 0.5);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;

  --max: 1120px;
  --header-h: 64px;

  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-display: "Syne", "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 2px var(--bg-0), 0 0 0 4px var(--accent);
}

/* ---------- reset / base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg-0);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--cloud);
  overflow-x: clip;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(62, 182, 212, 0.18), transparent 58%),
    radial-gradient(700px 420px at 92% 18%, rgba(232, 165, 75, 0.08), transparent 52%),
    radial-gradient(600px 380px at 50% 110%, rgba(26, 122, 150, 0.12), transparent 55%),
    linear-gradient(175deg, var(--bg-0) 0%, var(--bg-1) 42%, #091520 100%);
  background-attachment: scroll;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 768px) {
  body {
    font-size: 1.0625rem;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cloud);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 650;
  color: #fff;
}

.container {
  width: min(var(--max), calc(100% - 2 * var(--space-2)));
  margin-inline: auto;
  padding-inline: 0;
}

@media (min-width: 768px) {
  .container {
    width: min(var(--max), calc(100% - 2 * var(--space-4)));
  }
}

@media (max-width: 380px) {
  .container {
    width: min(var(--max), calc(100% - 2 * 12px));
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -100px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--cloud);
  color: var(--bg-0);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-2);
  outline: none;
  box-shadow: var(--focus);
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(7, 16, 24, 0.78);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 16, 24, 0.94);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  height: var(--header-h);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: #fff;
  transition: color 0.2s ease;
}

.logo:hover {
  color: var(--accent-strong);
  opacity: 1;
}

.nav__link--account {
  color: var(--accent-strong);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--cloud);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav__link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--cloud-dim);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.nav__link:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

/* Mobile nav panel */
@media (max-width: 767px) {
  .site-header {
    --header-h: 56px;
  }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: var(--space-2);
    border-bottom: 1px solid var(--line);
    background: rgba(7, 16, 24, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.25s var(--ease), visibility 0.2s;
    z-index: 99;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav__link {
    padding: 14px 16px;
    font-size: 1.05rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }

  .nav__link {
    padding: 8px 12px;
  }
}

/* ---------- sections ---------- */

.section {
  padding: var(--space-6) 0;
}

.section--hero {
  padding-top: clamp(48px, 8vw, 88px);
  padding-bottom: clamp(56px, 9vw, 104px);
}

.section--about {
  padding-top: 0;
}

.section--download {
  padding-bottom: var(--space-7);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-5);
}

.section-head__label {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head__label--center {
  text-align: center;
}

.section-head__title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.5vw, 2.375rem);
}

.section-head__sub {
  margin: 0;
  color: var(--cloud-dim);
  font-size: 1.05rem;
}

/* ---------- buttons ---------- */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

@media (max-width: 520px) {
  .cta-row {
    flex-direction: column;
  }

  .cta-row .btn {
    width: 100%;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s var(--ease),
    box-shadow 0.22s ease;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 55%, var(--accent-deep) 100%);
  color: #041018;
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(62, 182, 212, 0.25);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #9ae0f2 0%, var(--accent-strong) 50%, var(--accent) 100%);
  color: #041018;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 24px rgba(62, 182, 212, 0.22);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--cloud);
}

.btn--ghost:hover {
  border-color: rgba(122, 212, 234, 0.45);
  background: rgba(62, 182, 212, 0.08);
  color: #fff;
}

.btn--signal {
  background: var(--signal-soft);
  border-color: rgba(232, 165, 75, 0.35);
  color: var(--signal-strong);
}

.btn--signal:hover {
  background: rgba(232, 165, 75, 0.22);
  color: #fff;
}

.btn__note {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.62;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.coming-soon {
  cursor: default;
  opacity: 0.78;
}

.coming-soon:hover {
  transform: none;
  background: transparent;
  border-color: var(--line-strong);
  color: var(--cloud);
}

/* ---------- hero ---------- */

.section--hero {
  position: relative;
  isolation: isolate;
}

.section--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 50% -20%, rgba(62, 182, 212, 0.2), transparent 70%),
    linear-gradient(180deg, transparent 60%, var(--bg-0) 100%);
  pointer-events: none;
}

.hero {
  display: grid;
  gap: var(--space-4);
  align-items: end;
}

.hero__copy {
  max-width: 640px;
}

.hero__brand {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 4.5rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: #fff;
  background: linear-gradient(120deg, #fff 20%, var(--accent-strong) 70%, var(--signal-strong) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4.2vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--cloud);
}

.hero__lead {
  margin: 0 0 var(--space-4);
  max-width: 32em;
  color: var(--cloud-dim);
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  line-height: 1.55;
}

.hero__micro {
  margin: 0 0 var(--space-3);
  max-width: 36em;
  color: var(--cloud-mute);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.hero__fine {
  margin: var(--space-2) 0 0;
  max-width: 36em;
  color: var(--cloud-mute);
  font-size: 0.85rem;
  line-height: 1.5;
}

.download-status {
  margin: var(--space-2) 0 0;
  color: var(--accent-strong);
  font-size: 0.9rem;
}

.download-status[hidden] {
  display: none;
}

.hero__mock {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-2);
  width: 100%;
  max-width: 560px;
  justify-self: start;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__mock.is-visible .mock-quickbar {
    animation: hero-float 7s var(--ease) infinite alternate;
  }
}

@keyframes hero-float {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-6);
    min-height: calc(88vh - var(--header-h));
    min-height: calc(88dvh - var(--header-h));
    align-items: center;
  }

  .hero__mock {
    justify-self: end;
    align-self: end;
    margin-bottom: clamp(24px, 6vh, 72px);
  }
}

/* Floating OS quickbar — real desktop chrome */
.mock-quickbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 12px 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(40, 48, 68, 0.98), rgba(18, 24, 38, 0.99));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  font-size: 0.95rem;
  color: rgba(232, 238, 246, 0.88);
}

.mock-quickbar--lg {
  min-height: 64px;
  padding: 12px 14px 12px 16px;
  border-radius: 16px;
  font-size: 1.02rem;
  max-width: 640px;
  margin-inline: auto;
  width: 100%;
}

.mock-quickbar__bolt {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, #b6d4e8 0%, #7ea8c8 45%, #4a6f90 100%);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 0 12px rgba(142, 182, 212, 0.25);
  position: relative;
}

.mock-quickbar__bolt::after {
  content: "";
  position: absolute;
  inset: 7px 9px 7px 8px;
  background: #0c1220;
  clip-path: polygon(35% 0, 70% 0, 55% 42%, 78% 42%, 28% 100%, 42% 52%, 20% 52%);
  opacity: 0.9;
}

.mock-quickbar__input {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(232, 238, 246, 0.92);
  letter-spacing: -0.01em;
}

.mock-quickbar__input--live::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: var(--accent-strong);
  animation: caret-blink 1.1s steps(1) infinite;
}

@keyframes caret-blink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mock-quickbar__input--live::after {
    animation: none;
  }
}

.mock-quickbar__kbd {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  color: var(--cloud-mute);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mock-quickbar__mic {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  position: relative;
}

.mock-quickbar__mic::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 8px;
  height: 12px;
  margin-left: -4px;
  border-radius: 4px;
  background: var(--accent-strong);
  box-shadow: 0 0 8px rgba(142, 182, 212, 0.35);
}

.mock-quickbar__mic::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 10px;
  height: 4px;
  margin-left: -5px;
  border: 1.5px solid var(--accent);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  opacity: 0.85;
}

.mock-quickbar__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-quickbar__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  position: relative;
}

.mock-quickbar__icon--mic::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 8px;
  height: 12px;
  margin-left: -4px;
  border-radius: 4px;
  background: var(--accent-strong);
}

.mock-quickbar__icon--mic::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 10px;
  height: 4px;
  margin-left: -5px;
  border: 1.5px solid var(--accent);
  border-top: 0;
  border-radius: 0 0 6px 6px;
}

.mock-quickbar__icon--send {
  background:
    linear-gradient(145deg, rgba(142, 182, 212, 0.35), rgba(90, 130, 170, 0.25));
  border-color: rgba(142, 182, 212, 0.35);
}

.mock-quickbar__icon--send::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  margin: -5px 0 0 -3px;
  border-style: solid;
  border-width: 5px 0 5px 9px;
  border-color: transparent transparent transparent #e8eef6;
}

.mock-caption {
  margin: 0;
  color: var(--cloud-mute);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  text-align: left;
}

.mock-caption--center {
  text-align: center;
  margin-top: var(--space-2);
}

@media (max-width: 520px) {
  .mock-quickbar__kbd {
    display: none;
  }
}

/* ---------- about ---------- */

.about {
  max-width: 720px;
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
}

.about__title {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.about__heading {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  color: #fff;
}

.about__text {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--cloud-dim);
}

/* ---------- cards / grids ---------- */

.values-grid,
.integrations-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .values-grid,
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }

  .integrations-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
}

.card {
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}

.card:hover {
  border-color: rgba(62, 182, 212, 0.35);
  background: rgba(62, 182, 212, 0.06);
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
}

.card__title {
  margin: 0 0 10px;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.card__text {
  margin: 0;
  color: var(--cloud-dim);
  font-size: 0.98rem;
  line-height: 1.6;
}

.card--integration {
  min-height: 100%;
}

/* ---------- product tour ---------- */

.tour-block {
  display: grid;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
}

.tour-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.tour-block__title {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.tour-block__text {
  margin: 0;
  color: var(--cloud-dim);
  max-width: 36em;
}

@media (min-width: 900px) {
  .tour-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }

  .tour-block--reverse .tour-block__copy {
    order: 2;
  }

  .tour-block--reverse .mock {
    order: 1;
  }
}

/* Shared mock chrome */
.mock {
  min-height: 200px;
}

.mock-workflow,
.mock-files,
.mock-invisible,
.mock-hints {
  height: 100%;
  min-height: 220px;
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(165deg, rgba(32, 42, 62, 0.95), rgba(18, 24, 38, 0.98));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Workflow mock */
.mock-workflow {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-workflow__head {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.mock-workflow__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mock-workflow__list li {
  position: relative;
  padding: 10px 12px 10px 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--cloud-dim);
  font-size: 0.92rem;
}

.mock-workflow__list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  transform: translateY(-50%);
}

.mock-workflow__foot {
  font-size: 0.85rem;
  color: var(--cloud-mute);
  letter-spacing: 0.02em;
}

/* Files mock */
.mock-files {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.mock-files__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-files__name {
  font-size: 0.95rem;
  font-weight: 550;
  color: #fff;
  letter-spacing: -0.01em;
}

.mock-files__tag {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mock-files__preview {
  margin-top: 4px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--cloud-mute);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Invisible mode mock */
.mock-invisible {
  position: relative;
  display: grid;
  place-items: center;
  padding: var(--space-4);
}

.mock-invisible__screen {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 180px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 11px,
      rgba(255, 255, 255, 0.03) 11px,
      rgba(255, 255, 255, 0.03) 12px
    ),
    #151c2c;
  color: var(--cloud-mute);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: grid;
  place-items: center;
}

.mock-invisible__chip {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(12, 18, 32, 0.85);
  border: 1px solid var(--line-strong);
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.mock-invisible__ask {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: min(92%, 320px);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(22, 28, 42, 0.95);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  color: rgba(232, 238, 246, 0.9);
  font-size: 0.88rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hints mock (simple bubble — control confirm) */
.mock-hints {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}

.mock-hints__label {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.mock-hints__bubble {
  padding: 16px 18px;
  border-radius: 14px 14px 14px 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cloud-dim);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Real hints overlay panel — mirrors aeroagent/ui/hints_overlay.py */
.mock-hints-panel {
  width: 100%;
  max-width: 420px;
  padding: 8px;
  background: transparent;
}

.mock-hints-panel__inner {
  border-radius: 12px;
  border: 1px solid rgba(79, 140, 255, 0.35);
  background: rgba(28, 30, 38, 0.82);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-hints-panel__header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.mock-hints-panel__title {
  flex: 1 1 auto;
  margin: 0;
  color: #9aa0ae;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 1.3;
  text-transform: none;
}

.mock-hints-panel__close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #9aa0ae;
  font-size: 14px;
  line-height: 1;
  user-select: none;
}

.mock-hints-panel__status,
.mock-hints-panel__heard {
  margin: 0;
  color: #c5cad6;
  font-size: 12px;
  line-height: 1.45;
}

.mock-hints-panel__answer {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #e8eaef;
  font-size: 13px;
  line-height: 1.5;
  max-height: 220px;
}

.tour-block__visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-start;
}

/* Stub pages */
.stub-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: var(--space-6) 0;
}

.stub-card {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.stub-card__eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.stub-card__title {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #fff;
}

.stub-card__text {
  margin: 0 0 var(--space-4);
  color: var(--cloud-dim);
  font-size: 1.05rem;
}

.stub-card .btn {
  display: inline-flex;
}

code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-strong);
}

/* ---------- comparison ---------- */

.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.compare-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}

.compare-table thead th {
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.compare-table thead th:nth-child(2) {
  color: var(--accent-strong);
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--cloud);
  width: 18%;
}

.compare-table tbody td {
  color: var(--cloud-dim);
}

.compare-table tbody td:first-of-type {
  color: rgba(232, 238, 246, 0.92);
  font-weight: 500;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th {
  background: rgba(255, 255, 255, 0.02);
}

.compare-notes {
  display: grid;
  gap: 10px;
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
}

.compare-notes li {
  position: relative;
  padding-left: 18px;
  color: var(--cloud-dim);
  font-size: 0.98rem;
  line-height: 1.5;
}

.compare-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- download band ---------- */

.download-band {
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(600px 280px at 20% 0%, rgba(62, 182, 212, 0.18), transparent 60%),
    radial-gradient(400px 200px at 90% 100%, rgba(232, 165, 75, 0.1), transparent 55%),
    linear-gradient(160deg, rgba(18, 48, 64, 0.95), rgba(8, 18, 28, 0.98));
  text-align: center;
}

.download-band__title {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.download-band__price {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.download-band__text {
  margin: 0 auto var(--space-3);
  max-width: 34em;
  color: var(--cloud-dim);
}

/* ---------- hotkey band ---------- */

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.hotkey-band {
  max-width: 720px;
  margin-inline: auto;
}

.hotkey-demo {
  margin-top: var(--space-4);
}

/* ---------- scenario story ---------- */

.scenario {
  max-width: 720px;
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
}

.scenario__steps {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.scenario__step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.scenario__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(142, 182, 212, 0.28);
  color: var(--accent-strong);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.scenario__title {
  margin: 2px 0 6px;
  font-size: 1.1rem;
  color: #fff;
}

.scenario__text {
  margin: 0;
  color: var(--cloud-dim);
  font-size: 1rem;
  line-height: 1.55;
}

.scenario__punch {
  margin: var(--space-4) 0 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  color: rgba(232, 238, 246, 0.92);
  font-size: 1.05rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}

.pricing-list {
  display: grid;
  gap: 8px;
  margin: 0 auto var(--space-4);
  max-width: 28em;
  padding: 0;
  list-style: none;
  text-align: left;
}

.pricing-list li {
  position: relative;
  padding-left: 18px;
  color: var(--cloud-dim);
  font-size: 0.98rem;
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.download-band .cta-row {
  justify-content: center;
}

.download-band__fine {
  margin: var(--space-3) auto 0;
  max-width: 40em;
  color: var(--cloud-mute);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: var(--space-5) 0 var(--space-4);
  background: rgba(8, 12, 22, 0.55);
}

.footer__inner {
  display: grid;
  gap: var(--space-4);
}

.footer__cta {
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.footer__cta-title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.footer__cta-lead {
  margin: 0 auto var(--space-3);
  max-width: 34em;
  color: var(--cloud-dim);
}

.footer__cta .cta-row {
  justify-content: center;
}

.footer__tagline {
  margin: 10px 0 0;
  color: var(--cloud-mute);
  font-size: 0.95rem;
}

.footer__cols {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .footer__cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .footer__cols {
    grid-template-columns: repeat(6, 1fr);
  }
}

.footer__heading {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cloud-mute);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__list a {
  color: var(--cloud-dim);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer__list a:hover {
  color: #fff;
}

.footer__list a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

.footer__soon {
  color: var(--cloud-mute);
  font-size: 0.95rem;
}

.footer__fine {
  margin: 0;
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  color: var(--cloud-mute);
  font-size: 0.85rem;
}

/* ---------- reveal motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .nav,
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after,
  .site-header {
    transition: none !important;
  }

  .btn--primary:hover {
    transform: none;
  }

  .hero__mock.is-visible .mock-quickbar {
    animation: none;
  }
}

/* ---------- account page ---------- */

.section--account {
  padding-top: clamp(28px, 5vw, 48px);
  padding-bottom: var(--space-6);
}

.account {
  max-width: 480px;
  margin-inline: auto;
}

.account__head {
  margin-bottom: var(--space-4);
  text-align: left;
}

.account__brand {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.account__lead {
  margin: 0;
  color: var(--cloud-dim);
  font-size: 1.02rem;
}

.account-panel {
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(62, 182, 212, 0.1), transparent 60%),
    rgba(255, 255, 255, 0.03);
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: var(--space-3);
  padding: 4px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
}

.account-tabs__btn {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--cloud-mute);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.account-tabs__btn.is-active {
  background: rgba(62, 182, 212, 0.18);
  color: #fff;
}

.account-tabs__btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.account-form {
  display: grid;
  gap: 14px;
}

.account-form[hidden],
.account-session[hidden] {
  display: none !important;
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cloud-dim);
}

.field__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--cloud);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field__input::placeholder {
  color: var(--cloud-mute);
}

.field__input:focus {
  outline: none;
  border-color: rgba(62, 182, 212, 0.55);
  background: rgba(0, 0, 0, 0.38);
  box-shadow: 0 0 0 3px rgba(62, 182, 212, 0.15);
}

.field__hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--cloud-mute);
  line-height: 1.4;
}

.account-actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.account-actions--row {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 420px) {
  .account-actions--row {
    grid-template-columns: 1fr;
  }
}

.account-msg {
  margin: 12px 0 0;
  min-height: 1.3em;
  font-size: 0.92rem;
  line-height: 1.45;
}

.account-msg.is-ok {
  color: var(--ok);
}

.account-msg.is-error {
  color: var(--danger);
}

.account-session__status {
  margin: 0 0 var(--space-3);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}

.account-session__login {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: var(--cloud-mute);
  word-break: break-all;
}

.account-session__badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-session__badge.is-active {
  background: var(--ok-soft);
  color: var(--ok);
}

.account-session__badge.is-inactive {
  background: rgba(224, 112, 112, 0.14);
  color: var(--danger);
}

.account-session__until {
  margin: 0;
  color: var(--cloud-dim);
  font-size: 0.98rem;
}

.account-session__note {
  margin: var(--space-3) 0 0;
  color: var(--cloud-mute);
  font-size: 0.88rem;
  line-height: 1.5;
}

.account-password {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid color-mix(in srgb, var(--cloud-line) 70%, transparent);
}

.account-password__title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
