*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #1d1a1f;
  --muted: #5b5564;
  --accent: #d6623c;
  --accent-dark: #9b3f25;
  --surface: #f6f1ed;
  --surface-alt: #f1e8df;
  --stroke: #e2d5c8;
  --shadow: 0 20px 40px rgba(29, 26, 31, 0.12);
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fbf7f3;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 0 0 80px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--stroke);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 24px 0;
}

.hero-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 24px;
  width: 72px;
  height: 72px;
  background: var(--surface-alt);
  border-radius: 20px;
  z-index: -1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent-dark);
}

.hero h1 {
  font-size: 36px;
  line-height: 1.1;
  margin: 0;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}

.inline-link {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
}

.section {
  padding: 0 24px;
}

.layered {
  background: var(--surface);
  border-radius: 32px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.offset-panel {
  background: #ffffff;
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin-top: -28px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tag {
  font-size: 12px;
  color: var(--accent-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.quote {
  font-style: italic;
  color: var(--muted);
}

.price-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.price-card {
  background: #0f0d12;
  color: #ffffff;
  border-radius: 26px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card strong {
  font-size: 26px;
}

.form-wrap {
  background: #ffffff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

input,
select,
textarea {
  border-radius: 12px;
  border: 1px solid var(--stroke);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: var(--accent);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
  z-index: 10;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  right: 16px;
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 12;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

footer {
  padding: 32px 24px 80px;
  border-top: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

.simple-hero {
  padding: 48px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 900px) {
  main {
    padding-bottom: 120px;
  }

  .side-nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero-card,
  .hero-visual {
    flex: 1;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .split.reverse {
    flex-direction: row-reverse;
  }

  .cards,
  .price-grid {
    flex-direction: row;
  }

  .cards .card,
  .price-grid .price-card {
    flex: 1;
  }

  .cookie-banner {
    left: auto;
    right: 24px;
    max-width: 360px;
  }
}
