/* MVET pilot shell — standalone (no Tilda). */

:root {
  --p-ink: #0c1a24;
  --p-ink-soft: #3d5160;
  --p-teal: #0a9ca3;
  --p-teal-dark: #067a80;
  --p-orange: #ff4d1f;
  --p-orange-2: #ff6a1f;
  --p-surface: #ffffff;
  --p-page: #e8eef2;
  --p-line: rgba(12, 26, 36, 0.08);
  --p-radius: 20px;
  --p-max: 1120px;
  --p-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--p-font);
  color: var(--p-ink);
  background: var(--p-page);
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(255, 106, 31, 0.14), transparent 50%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(10, 156, 163, 0.1), transparent 45%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.pilot-skip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300000;
  margin: 10px;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--p-teal), var(--p-teal-dark));
  border-radius: 10px;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.pilot-skip:focus {
  outline: none;
}
.pilot-skip:focus-visible {
  transform: translateY(0);
}

#pilot-main {
  scroll-margin-top: 88px;
}

/* ----- header ----- */
.pilot-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--p-line);
}
.pilot-header__inner {
  max-width: var(--p-max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.pilot-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}
.pilot-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.pilot-brand strong {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pilot-brand span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--p-teal);
}

.pilot-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pilot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pilot-btn:focus-visible {
  outline: 3px solid rgba(10, 156, 163, 0.45);
  outline-offset: 2px;
}

.pilot-btn--ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--p-ink);
  border: 1px solid var(--p-line);
}
.pilot-btn--ghost:hover {
  background: #fff;
}

.pilot-btn--menu {
  background: var(--p-ink);
  color: #fff;
}
.pilot-btn--menu:hover {
  transform: translateY(-1px);
}

.pilot-btn--accent {
  color: #fff;
  background: linear-gradient(135deg, var(--p-orange-2), var(--p-orange));
  box-shadow: 0 2px 12px rgba(255, 77, 31, 0.35);
}
.pilot-btn--accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(255, 77, 31, 0.4);
}

.pilot-lang {
  font-size: 0.85rem;
  font-weight: 600;
}
.pilot-lang a {
  color: var(--p-teal);
  text-decoration: none;
}
.pilot-lang a:hover {
  text-decoration: underline;
}

/* ----- hero ----- */
.pilot-hero {
  max-width: var(--p-max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
}
.pilot-hero__card {
  background: var(--p-surface);
  border-radius: var(--p-radius);
  padding: 2rem 1.75rem 2.25rem;
  border: 1px solid var(--p-line);
  box-shadow: 0 16px 48px rgba(12, 26, 36, 0.07);
}
@media (min-width: 720px) {
  .pilot-hero__card {
    padding: 2.75rem 2.5rem 3rem;
  }
}

.pilot-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--p-orange-2), var(--p-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pilot-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.pilot-lead {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  font-size: 1.05rem;
  color: var(--p-ink-soft);
}

.pilot-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ----- sections ----- */
.pilot-section {
  max-width: var(--p-max);
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}
.pilot-section h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pilot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .pilot-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .pilot-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pilot-card {
  display: block;
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pilot-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(12, 26, 36, 0.08);
}
.pilot-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--p-teal);
}
.pilot-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--p-ink-soft);
}

.pilot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.pilot-list a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  color: var(--p-ink);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.pilot-list a:hover {
  background: #f4fafb;
  border-color: rgba(10, 156, 163, 0.25);
}

/* ----- footer ----- */
.pilot-footer {
  max-width: var(--p-max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  font-size: 0.85rem;
  color: var(--p-ink-soft);
  text-align: center;
}
.pilot-footer a {
  color: var(--p-teal);
  font-weight: 600;
  text-decoration: none;
}
.pilot-footer a:hover {
  text-decoration: underline;
}

/* ----- trust / stats ----- */
.pilot-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 560px) {
  .pilot-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pilot-stats li {
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  text-align: center;
}
.pilot-stats strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--p-teal);
  margin-bottom: 0.2rem;
}
.pilot-stats span {
  font-size: 0.82rem;
  color: var(--p-ink-soft);
  line-height: 1.35;
}

.pilot-strip {
  background: linear-gradient(135deg, rgba(10, 156, 163, 0.1), rgba(255, 106, 31, 0.08));
  border: 1px solid rgba(10, 156, 163, 0.18);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--p-ink-soft);
}
.pilot-strip a {
  color: var(--p-teal);
  font-weight: 600;
  text-decoration: none;
}
.pilot-strip a:hover {
  text-decoration: underline;
}

.pilot-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--p-teal);
  text-decoration: none;
}
.pilot-back:hover {
  text-decoration: underline;
}

.pilot-breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--p-ink-soft);
}
.pilot-breadcrumb a {
  color: var(--p-teal);
  font-weight: 600;
  text-decoration: none;
}
.pilot-breadcrumb a:hover {
  text-decoration: underline;
}

.pilot-article-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .pilot-article-layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  }
}

.pilot-prose {
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: 0 12px 36px rgba(12, 26, 36, 0.06);
}
@media (min-width: 720px) {
  .pilot-prose {
    padding: 2rem 2rem 2.25rem;
  }
}
.pilot-prose h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.pilot-prose p {
  margin: 0 0 1rem;
  color: var(--p-ink-soft);
  font-size: 0.95rem;
}
.pilot-prose p:last-child {
  margin-bottom: 0;
}
.pilot-prose a {
  color: var(--p-teal);
  font-weight: 600;
  text-decoration: none;
}
.pilot-prose a:hover {
  text-decoration: underline;
}

.pilot-aside {
  background: linear-gradient(160deg, rgba(10, 156, 163, 0.12), rgba(255, 106, 31, 0.08));
  border: 1px solid rgba(10, 156, 163, 0.22);
  border-radius: 18px;
  padding: 1.25rem 1.2rem;
}
.pilot-aside h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}
.pilot-aside p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--p-ink-soft);
}
.pilot-aside .pilot-btn {
  width: 100%;
}

.pilot-footlinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}
.pilot-footlinks a {
  color: var(--p-teal);
  font-weight: 600;
  text-decoration: none;
}
.pilot-footlinks a:hover {
  text-decoration: underline;
}

@media print {
  .pilot-skip,
  #mvet-contact-root,
  #mvet-nav-drawer {
    display: none !important;
  }
}
