*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #1f2933;
  background: #f9fafb;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 18px;
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: #111827;
  color: #f9fafb;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
}

.nav a {
  color: #d1d5db;
}

.nav a:hover {
  color: #f9fafb;
}

.sidebar-note {
  font-size: 13px;
  line-height: 1.5;
  color: #9ca3af;
}

.main {
  flex: 1;
  padding: 40px 48px 120px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #ffffff;
  padding: 32px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.section.alt {
  background: #0f172a;
  color: #f8fafc;
}

.section.split {
  flex-direction: row;
  gap: 32px;
  align-items: center;
}

.section.split.reverse {
  flex-direction: row-reverse;
}

.section.narrow {
  max-width: 780px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: #64748b;
}

.alt .eyebrow {
  color: #cbd5f5;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
  line-height: 1.7;
  color: inherit;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  background: #2563eb;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.button.secondary {
  background: #f1f5f9;
  color: #1e293b;
}

.button.ghost {
  background: transparent;
  border: 1px solid #cbd5f5;
  color: inherit;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.card {
  flex: 1 1 240px;
  background: #f8fafc;
  padding: 20px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.dark {
  background: #111827;
  color: #f9fafb;
}

.pricing {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.alt .pricing {
  color: #fbbf24;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.badge {
  background: #e2e8f0;
  color: #0f172a;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.alt .badge {
  background: #1e293b;
  color: #f8fafc;
}

.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #cbd5f5;
  font-size: 15px;
}

.inline-cta {
  color: #2563eb;
  font-weight: 600;
}

.image-stack {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.image-stack img {
  flex: 1 1 220px;
  height: 180px;
  object-fit: cover;
}

.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.3);
  z-index: 10;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
  display: none;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  z-index: 12;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer {
  font-size: 13px;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 40px;
}

.footer a {
  color: #4b5563;
}

.meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.meta-item {
  flex: 1 1 220px;
  background: #f1f5f9;
  padding: 18px;
  border-radius: 14px;
}

.hero-image {
  border-radius: 24px;
  height: 320px;
  object-fit: cover;
}

.background-panel {
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.15), rgba(14, 165, 233, 0.05));
}

.form-note {
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 1024px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .main {
    padding: 32px 24px 120px;
  }

  .section.split,
  .section.split.reverse {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .sidebar {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: 32px;
  }

  .floating-cta {
    right: 16px;
    bottom: 16px;
  }
}
