* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #1d2328;
  background: #f5f3ef;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  background: #14171a;
  color: #f6f2ec;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
}

.sidebar-note {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #c7bfb3;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.top-rail {
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ded7cd;
  background: #fdfbf8;
}

.top-rail span {
  font-size: 0.9rem;
  color: #616a6f;
}

.top-rail .cta-link {
  font-weight: 600;
  border-bottom: 2px solid #1d2328;
  padding-bottom: 4px;
}

.section {
  padding: 54px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.section.alt {
  background: #fffaf2;
}

.section.dark {
  background: #1d2328;
  color: #f6f2ec;
}

.hero {
  display: flex;
  gap: 32px;
  align-items: stretch;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-title {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.1;
  font-weight: 700;
}

.hero-media {
  flex: 1 1 260px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 260px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pill {
  background: #e9dfd2;
  color: #2d3135;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-button {
  background: #1d2328;
  color: #f6f2ec;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.cta-button.light {
  background: #f6f2ec;
  color: #1d2328;
  border: 1px solid #1d2328;
}

.split {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.split > div {
  flex: 1 1 260px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background: #fdfbf8;
  border-radius: 18px;
  padding: 22px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card img {
  border-radius: 14px;
  height: 140px;
  object-fit: cover;
}

.metric-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.metric {
  flex: 1 1 180px;
  background: #1d2328;
  color: #f6f2ec;
  border-radius: 16px;
  padding: 18px;
}

.pricing-card {
  border: 1px solid #e0d7ca;
  background: #fffdf9;
}

.pricing-card strong {
  font-size: 1.2rem;
}

.sticky-cta {
  position: sticky;
  top: 18px;
  align-self: flex-start;
  background: #f6f2ec;
  border: 1px solid #d8cdbc;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-wrap {
  background: #fffdf9;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #e4dbcf;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cfc5b7;
  font-size: 1rem;
  background: #fff;
}

.inline-link {
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}

.footer {
  padding: 26px 40px 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: #14171a;
  color: #f6f2ec;
}

.footer a {
  color: #f6f2ec;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 340px;
  background: #1d2328;
  color: #f6f2ec;
  padding: 18px;
  border-radius: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
  padding: 8px 12px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.cookie-actions .accept {
  background: #f6f2ec;
  color: #1d2328;
}

.cookie-actions .reject {
  background: transparent;
  color: #f6f2ec;
  border: 1px solid #f6f2ec;
}

.legal-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .top-rail {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
