* {
  box-sizing: border-box;
}

:root {
  --bg: #0f1115;
  --panel: #151922;
  --panel-alt: #1b2230;
  --text: #f2f4f8;
  --muted: #b6bcc8;
  --accent: #f5b400;
  --accent-dark: #d59500;
  --line: #2a3242;
  --fallback: #2c3343;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--text);
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--panel);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand-name {
  font-size: 22px;
  margin: 0;
  letter-spacing: 0.5px;
}

.ad-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-alt);
}

.sidebar .meta {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section {
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section--compact {
  padding: 40px 64px;
}

.hero {
  min-height: 420px;
  background-color: var(--fallback);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(10, 12, 18, 0.85), rgba(10, 12, 18, 0.25));
}

.hero__panel {
  position: relative;
  max-width: 560px;
  background: rgba(15, 17, 21, 0.82);
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__panel h1,
.hero__panel h2 {
  margin: 0 0 12px;
  font-size: 32px;
}

.hero__panel p {
  margin: 0 0 20px;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn--primary {
  background: var(--accent);
  color: #1b1b1b;
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.inline-link {
  color: var(--accent);
  font-weight: 600;
}

.split {
  display: flex;
  gap: 32px;
  align-items: center;
}

.split--reverse {
  flex-direction: row-reverse;
}

.split .text {
  flex: 1;
}

.split .media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.img-frame {
  background: var(--fallback);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 520px;
}

.img-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 240px;
  min-width: 220px;
  background: var(--panel-alt);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h4 {
  margin: 0;
  font-size: 18px;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.panel-highlight {
  background: var(--panel);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid var(--line);
}

.banner {
  background-color: var(--fallback);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  padding: 38px;
  position: relative;
  overflow: hidden;
}

.hero--main {
  background-image: url("https://images.unsplash.com/photo-1619505372149-07875c35b313?w=1400&q=80");
}

.banner--workflow {
  background-image: url("https://images.unsplash.com/photo-1599256871787-737fd3315df2?w=1400&q=80");
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 12, 16, 0.7);
}

.banner-content {
  position: relative;
  max-width: 520px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.form-panel {
  background: var(--panel-alt);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-panel label {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0f131c;
  color: var(--text);
  font-family: inherit;
}

.form-panel textarea {
  min-height: 110px;
}

.footer {
  padding: 40px 64px;
  background: #0b0d12;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.sticky-cta {
  position: fixed;
  right: 28px;
  bottom: 28px;
  padding: 14px 20px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  max-width: 360px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 11;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.note {
  font-size: 13px;
  color: var(--muted);
}

.page-title {
  font-size: 30px;
  margin: 0;
}

.legal-image {
  max-width: 420px;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .content {
    width: 100%;
  }

  .section,
  .section--compact,
  .footer {
    padding: 36px 24px;
  }

  .split,
  .split--reverse {
    flex-direction: column;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}
