* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1c1c1c;
  --muted: #5d6470;
  --sand: #f6f2ed;
  --fog: #eef1f4;
  --accent: #2f6fed;
  --accent-dark: #1d4bb5;
  --warm: #f8e6d0;
  --line: #e0e5ea;
  --shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  background: var(--fog);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.95rem;
}

.nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.sidebar-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.top-strip {
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.top-strip span {
  font-size: 0.9rem;
  color: var(--muted);
}

.sticky-cta {
  position: sticky;
  top: 16px;
  align-self: flex-end;
  margin: 16px 32px 0;
  background: var(--accent);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
}

.main {
  padding: 0 32px 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  padding: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section--layered {
  background: var(--sand);
  padding: 36px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.section--split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section--split .split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section--cards .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card img {
  border-radius: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 28px;
  background: rgba(255, 255, 255, 0.85);
  margin: 24px;
  border-radius: 18px;
  max-width: 480px;
}

.hero-content h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-secondary {
  background: #1c1c1c;
}

.link-cta {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.stat {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 18px;
  flex: 1 1 180px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: var(--warm);
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-size: 0.9rem;
  color: var(--muted);
}

input,
select,
textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 1rem;
  font-family: inherit;
}

.footer {
  padding: 36px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
  z-index: 10;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.split-image {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.muted {
  color: var(--muted);
}

@media (min-width: 900px) {
  .layout {
    flex-direction: row;
  }

  .sidebar {
    width: 250px;
    min-height: 100vh;
  }

  .section--split {
    flex-direction: row;
    align-items: center;
  }

  .section--split .split {
    flex: 1;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 899px) {
  .layout {
    flex-direction: column;
  }

  .top-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-cta {
    align-self: flex-start;
  }
}
