:root {
  --bg: #f7f5f2;
  --ink: #1b1f2a;
  --muted: #5f6a77;
  --accent: #2b4c7e;
  --accent-2: #bf6b35;
  --panel: #ffffff;
  --sand: #efe7dc;
  --steel: #e4e9f0;
  --shadow: 0 12px 28px rgba(18, 22, 33, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  padding: 28px 22px;
  background: var(--panel);
  border-right: 1px solid #e1e5ea;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.4px;
}

.ad-label {
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--sand);
  padding: 10px 12px;
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
}

.nav a:hover,
.nav a:focus {
  background: var(--steel);
}

.sidebar-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.section {
  padding: 70px 8vw;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}

.section.alt {
  background: var(--panel);
}

.hero {
  color: #fff;
  min-height: 420px;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 27, 38, 0.55);
}

.hero-content {
  position: relative;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
}

.hero h1 {
  font-size: 2.6rem;
  margin: 0;
  line-height: 1.2;
}

.hero p {
  margin: 0;
  color: #f1f2f4;
}

.split {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .text {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split .media {
  flex: 1 1 320px;
  min-height: 260px;
  background: var(--sand);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stacked {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 240px;
  background: var(--panel);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
}

.card .media {
  height: 150px;
  background: var(--steel);
  border-radius: 12px;
  overflow: hidden;
}

.price-tag {
  font-weight: 700;
  color: var(--accent);
}

.steps {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.step {
  flex: 1 1 200px;
  background: var(--sand);
  padding: 16px;
  border-radius: 12px;
}

.panel {
  background: var(--panel);
  padding: 26px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 220px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #c9d2db;
  font-size: 1rem;
  font-family: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover,
.btn:focus {
  background: #233d66;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover,
.btn-outline:focus {
  background: rgba(43, 76, 126, 0.08);
}

.link-cta {
  color: var(--accent-2);
  font-weight: 600;
  border-bottom: 2px solid rgba(191, 107, 53, 0.4);
}

.footer {
  background: #101520;
  color: #c6ccd6;
  padding: 40px 8vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer a {
  color: #c6ccd6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.disclaimer {
  font-size: 0.85rem;
  color: #98a2b3;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: var(--panel);
  padding: 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 320px;
  z-index: 30;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bg-hero {
  background-image: url("https://images.unsplash.com/photo-1554224154-22dec7ec8818?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.bg-archive {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.bg-insight {
  background-image: url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

@media (max-width: 900px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-cta {
    width: 100%;
    flex-direction: row;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}
