* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #1a1a1a;
  --muted: #5a5f66;
  --bg: #f7f5f2;
  --accent: #1f6feb;
  --accent-dark: #1145a3;
  --sand: #efe9e2;
  --ink-soft: #2b2f35;
  --panel: #ffffff;
  --olive: #d8e0d0;
  --rose: #f4e1da;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: var(--accent);
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

header {
  background: var(--panel);
  border-bottom: 1px solid #e5e5e5;
}

.top-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.ad-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  border: 1px solid #d2d2d2;
  padding: 4px 8px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.hero-content {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-image {
  flex: 1 1 360px;
  background: var(--sand);
  padding: 16px;
  border-radius: 22px;
}

.hero-image img {
  border-radius: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.button.secondary {
  background: var(--ink);
}

.button.ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.offset-panel {
  background: var(--panel);
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.offset-left {
  margin-left: -30px;
}

.offset-right {
  margin-right: -30px;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}

.split .text {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split .visual {
  flex: 1 1 360px;
  background: var(--olive);
  padding: 16px;
  border-radius: 18px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 260px;
  background: var(--panel);
  padding: 18px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-media {
  background: var(--rose);
  border-radius: 14px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 170px;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

.layered {
  background: var(--panel);
  padding: 36px;
  border-radius: 28px;
  position: relative;
}

.layered::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed #dadada;
  border-radius: 24px;
  pointer-events: none;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: var(--panel);
  border-radius: 16px;
}

.form-wrap {
  background: var(--panel);
  padding: 28px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

input,
select,
textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d6d6d6;
  font-size: 16px;
}

.inline-cta {
  font-weight: 600;
  color: var(--accent-dark);
}

.sticky-cta {
  position: sticky;
  bottom: 12px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 28px 20px;
}

.sticky-cta .bar {
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.footer {
  background: #111;
  color: #eee;
  padding: 36px 28px 48px;
}

.footer a {
  color: #fff;
}

.footer-columns {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-col {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.muted {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 18px;
  display: none;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  z-index: 10;
}

.cookie-banner.active {
  display: flex;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.bg-insight {
  background-image: url("https://images.unsplash.com/photo-1487058792275-0ad4aaf24ca7?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 60px 28px;
}

.bg-insight .offset-panel {
  background: rgba(20, 24, 30, 0.85);
  color: #fff;
}

.bg-canvas {
  background-image: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1400&q=80");
  background-size: cover;
  background-position: center;
  padding: 52px 28px;
}

.bg-canvas .layered {
  background: rgba(255, 255, 255, 0.94);
}

.page-hero {
  padding-top: 40px;
  padding-bottom: 24px;
}

.page-hero h1 {
  font-size: 36px;
}

.legal {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.image-frame {
  background: var(--sand);
  border-radius: 18px;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 280px;
}

@media (max-width: 880px) {
  .offset-left,
  .offset-right {
    margin: 0;
  }

  .hero {
    flex-direction: column;
  }

  .sticky-cta {
    position: static;
  }
}
