*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f6f4f1;
  --ink: #1b1f22;
  --muted: #5a646d;
  --accent: #2f6f7f;
  --accent-dark: #204a55;
  --soft: #ffffff;
  --sand: #efe7dd;
  --rose: #ead7d2;
  --sage: #d9e4dc;
  --shadow: 0 20px 50px rgba(20, 24, 28, 0.12);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 18px;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  background: var(--soft);
  padding: 32px 26px;
  width: 270px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.3px;
}

.brand span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
}

.nav a {
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-bottom: 1px solid var(--accent);
}

.sidebar-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: var(--shadow);
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: none;
}

.content {
  flex: 1;
  padding: 44px 56px 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border-radius: 24px;
  background: var(--soft);
  box-shadow: 0 10px 30px rgba(29, 39, 43, 0.08);
}

.section.alt {
  background: var(--sand);
}

.section.rose {
  background: var(--rose);
}

.section.sage {
  background: var(--sage);
}

.hero {
  display: flex;
  gap: 32px;
  align-items: center;
}

.hero-text {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0;
}

.hero p {
  color: var(--muted);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  flex: 0.9;
  position: relative;
}

.hero-visual .accent-box {
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 120px;
  height: 120px;
  background: var(--accent);
  border-radius: 24px;
  opacity: 0.2;
}

.split {
  display: flex;
  gap: 28px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split .panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split h2,
.section h2,
.section h3 {
  margin: 0;
}

.inline-link {
  color: var(--accent);
  font-weight: 600;
}

.cards {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.card {
  flex: 1;
  min-width: 220px;
  background: var(--soft);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  border-radius: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.metrics {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.metric {
  flex: 1;
  min-width: 160px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.metric strong {
  font-size: 24px;
  display: block;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: #fff;
  border-radius: 12px;
}

.price-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.price-card {
  flex: 1;
  min-width: 240px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card .price {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent-dark);
}

.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-size: 14px;
  color: var(--muted);
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 15px;
  font-family: inherit;
}

button {
  border: none;
  cursor: pointer;
}

.footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}

.footer a {
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  bottom: 18px;
  right: 22px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 20;
}

.sticky-cta a {
  color: var(--accent-dark);
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  max-width: 320px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.cookie-actions .accept {
  background: var(--accent);
  color: #fff;
}

.cookie-actions .reject {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.simple-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.simple-grid div {
  flex: 1;
  min-width: 180px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
}

.callout {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px dashed var(--accent);
}

@media (max-width: 960px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .content {
    padding: 32px 20px 120px;
  }

  .hero,
  .split,
  .split.reverse {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .sidebar {
    padding: 24px 18px;
  }

  .hero h1 {
    font-size: 32px;
  }
}
