* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1c1b1f;
  --muted: #5e5b63;
  --primary: #2457d6;
  --secondary: #ffb347;
  --surface: #f6f4f0;
  --soft: #ffffff;
  --line: #ded7ce;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 250px;
  padding: 32px 24px;
  background: var(--soft);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f1f0ee;
  font-weight: 500;
}

.nav a:hover {
  background: #e6e2dc;
}

.sidebar .mini-cta {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 32px 48px 80px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--soft);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(18, 17, 15, 0.08);
}

.section.split {
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.section.light {
  background: #fff9f2;
}

.section.dark {
  background: #1f2430;
  color: #f7f4ef;
}

.section.dark a {
  color: #f7f4ef;
}

.section .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--muted);
}

.section h1,
.section h2,
.section h3 {
  line-height: 1.2;
}

.section h1 {
  font-size: 40px;
}

.section h2 {
  font-size: 28px;
}

.section h3 {
  font-size: 20px;
}

.section p {
  color: var(--muted);
}

.section.dark p {
  color: #d6d0c8;
}

.hero-grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.hero-copy {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-visual {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn.alt {
  background: var(--secondary);
  color: #1a1407;
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: inherit;
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 240px;
  padding: 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card .price {
  font-weight: 700;
  font-size: 20px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list li {
  list-style: none;
  padding-left: 18px;
  position: relative;
}

.list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-card label {
  font-weight: 600;
  font-size: 14px;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 15px;
  background: #fff;
}

.form-card button {
  border: none;
  cursor: pointer;
}

.highlight {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 4px solid var(--primary);
  padding-left: 16px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  background: #f1f0ee;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.sticky-cta {
  position: sticky;
  bottom: 16px;
  align-self: flex-end;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 360px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 10;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.cookie-actions button {
  border: none;
  cursor: pointer;
}

.cookie-actions .ghost {
  border: 1px solid var(--line);
  background: transparent;
}

.section.background {
  background: linear-gradient(135deg, rgba(36, 87, 214, 0.08), rgba(255, 179, 71, 0.1)),
    url("../img/background.svg");
  background-size: cover;
}

.inline-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.meta div {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f1f0ee;
}

.contact-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-card {
  flex: 1 1 240px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.policy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .content {
    padding: 24px;
  }

  .section.split {
    flex-direction: column;
  }

  .hero-grid {
    flex-direction: column;
  }
}
