* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1a1b1f;
  --muted: #5a5f6a;
  --paper: #f6f2ee;
  --accent: #1d6f62;
  --accent-soft: #e1f2ef;
  --sun: #f6c445;
  --berry: #8b3b6a;
  --line: #ded6ce;
  --shadow: 0 24px 60px rgba(26, 27, 31, 0.12);
  font-size: 16px;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fbfaf8;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 18px;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  padding: 32px 24px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand .logo {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand span {
  font-size: 0.95rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nav a {
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus {
  color: var(--ink);
}

.sidebar .cta {
  margin-top: auto;
  background: var(--accent);
  color: #fff;
  padding: 12px 16px;
  text-align: center;
  border-radius: 999px;
  font-weight: 600;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 32px 48px 80px;
}

.hero {
  background: #fff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-top {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.1;
}

.hero p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.panel.alt {
  background: var(--accent-soft);
}

.panel .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--berry);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.split {
  display: flex;
  flex-direction: row;
  gap: 28px;
}

.split > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list li {
  list-style: none;
  padding-left: 22px;
  position: relative;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sun);
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-row {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
}

.card {
  flex: 1;
  min-width: 220px;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
}

.card h3 {
  font-size: 1.1rem;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.sticky-cta {
  position: sticky;
  top: 24px;
  align-self: flex-start;
  background: var(--berry);
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 600;
}

.form-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}

.inline-link {
  color: var(--accent);
  font-weight: 600;
}

.footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  max-width: 360px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 50;
}

.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}

.pill {
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.compact {
  max-width: 860px;
}

.spaced {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 960px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  main {
    padding: 24px;
  }

  .hero-top,
  .split,
  .card-row {
    flex-direction: column;
  }

  .sticky-cta {
    position: static;
    align-self: stretch;
  }
}
