:root {
  --bg: #142a45;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.12);
  --brand: #f6b731;
  --brand-2: #ffda7a;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
}

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

html,
body {
  height: 100%;
}

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

body {
  margin: 0;
  position: relative;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  overflow-x: hidden;
}

/* Top-only gradient (rest of page stays solid) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(220px, 34vw, 420px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  background: radial-gradient(900px 520px at 18% 0%, rgba(0, 214, 255, 0.22), transparent 62%),
    radial-gradient(900px 560px at 92% 4%, rgba(0, 128, 255, 0.20), transparent 66%),
    radial-gradient(900px 560px at 55% -8%, rgba(246, 183, 49, 0.14), transparent 64%);
}

body > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 520px) {
  body::before {
    /* Helps prevent "scrolling" of fixed layers on some mobile browsers */
    transform: translate3d(0, 0, 0);
    height: 220px;
    background: radial-gradient(520px 300px at 18% 0%, rgba(0, 214, 255, 0.18), transparent 68%),
      radial-gradient(560px 340px at 92% 2%, rgba(0, 128, 255, 0.16), transparent 70%),
      radial-gradient(520px 320px at 52% -10%, rgba(246, 183, 49, 0.12), transparent 72%);
  }
}

@media (max-width: 360px) {
  body::before {
    height: 190px;
  }
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(14px, 2.2vw, 22px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  padding: 10px 12px;
  background: #000;
  color: #fff;
  border-radius: 10px;
  transform: translateY(-180%);
  transition: transform 0.15s ease;
  z-index: 20;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.site-header {
  position: static;
  backdrop-filter: none;
  background: transparent;
  border-bottom: 1px solid var(--border);
}

.header-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: clamp(12px, 2vw, 18px);
  align-items: center;
  padding: clamp(10px, 1.6vw, 14px) 0;
}

.header-grid > * {
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.brand__name {
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 18px;
}

.brand__tagline {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.header-contacts {
  display: grid;
  gap: 4px;
  justify-content: end;
  text-align: right;
}

.header-contacts__item {
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.1px;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
  user-select: none;
  white-space: nowrap;
}
.btn:focus-visible,
.icon-btn:focus-visible,
.dot:focus-visible {
  outline: 2px solid rgba(246, 183, 49, 0.9);
  outline-offset: 2px;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}
.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(246, 183, 49, 0.55);
}
.btn--primary:hover {
  border-color: rgba(246, 183, 49, 0.95);
}

.btn--ghost {
  background: transparent;
}

.site-main {
  padding-bottom: 48px;
}

.hero {
  padding: clamp(18px, 3.2vw, 34px) 0 clamp(12px, 2.2vw, 20px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(14px, 2.6vw, 22px);
  align-items: start;
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(16px, 2.6vw, 22px);
  box-shadow: var(--shadow);
}

.kicker {
  margin: 0 0 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  letter-spacing: 0.18px;
}

.hero-title {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.3px;
}

.hero-subtitle {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 15.5px);
  max-width: 64ch;
}

.cards {
  display: grid;
  gap: 10px;
}

.cards--pricing {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin: 14px 0 18px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  background: transparent;
}

.card__title {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.card__value {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-media {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  box-shadow: var(--shadow);
  padding: clamp(12px, 2vw, 14px);
}

.slider__viewport {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

.slider__slide img {
  width: 100%;
  height: clamp(240px, 38vw, 380px);
  object-fit: cover;
}

.slider__controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding-top: 12px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  font-size: 22px;
  line-height: 1;
}
.icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}
.icon-btn:active {
  transform: translateY(0);
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.dot[aria-current="true"] {
  background: transparent;
  border-color: rgba(246, 183, 49, 0.95);
  transform: scale(1.08);
}

.section {
  padding: clamp(16px, 2.4vw, 22px) 0;
}

.section--muted {
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.section-title {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.2px;
}

.prose {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14.5px;
}
.prose p {
  margin: 0 0 12px;
}
.prose ul {
  margin: 0;
  padding-left: 18px;
}
.prose li {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.84);
}

.accordion {
  display: grid;
  gap: 10px;
}

.details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  overflow: hidden;
}

.details__summary {
  padding: 14px 14px;
  cursor: pointer;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  list-style: none;
}
.details__summary::-webkit-details-marker {
  display: none;
}

.details__content {
  padding: 0 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: transparent;
  padding: 22px 0 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.footer-title {
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.1px;
}

.footer-text {
  color: var(--muted);
  font-size: 13.5px;
  margin: 2px 0;
}

.footer-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 13.5px;
  margin: 2px 0;
}
.footer-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
}

@media (max-width: 980px) {
  .header-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .header-contacts {
    justify-content: start;
    text-align: left;
  }
  .header-actions {
    flex-wrap: wrap;
    justify-self: start;
    justify-content: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
  .header-actions .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .header-grid {
    gap: 10px;
  }
  .header-actions {
    width: 100%;
  }
  .header-actions .btn {
    width: 100%;
  }
  .hero-copy {
    padding: 14px;
  }
  .hero-media {
    padding: 12px;
  }
  .brand__name {
    font-size: 16px;
  }
  .brand__tagline {
    font-size: 12px;
  }
  .slider__controls {
    grid-template-columns: auto 1fr auto;
  }
}

@media (max-width: 420px) {
  .header-contacts__item {
    font-size: 12.5px;
  }

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

  .icon-btn {
    width: 42px;
    height: 42px;
  }
}

@media (min-width: 1400px) {
  :root {
    --container: 1220px;
  }
}

/* Animations (with reduced-motion support) */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes glow {
  0% {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  }
  50% {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32), 0 0 0 4px rgba(246, 183, 49, 0.10);
  }
  100% {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  }
}

.brand__logo {
  animation: glow 6.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}