* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1e1f24;
  --muted: #5c606b;
  --surface: #f5f3ef;
  --accent: #2f5d62;
  --accent-soft: #dfe9ea;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  --line: #d9d4cc;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: #faf9f7;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:focus,
button:focus,
select:focus,
input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 270px;
  background: #f0ede8;
  border-right: 1px solid var(--line);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ad-label {
  font-size: 0.85rem;
  color: var(--muted);
  background: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav a {
  padding: 6px 4px;
}

.sidebar-cta {
  margin-top: auto;
  background: #ffffff;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.button {
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.button.secondary {
  background: #ffffff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section {
  padding: 40px 50px;
  display: flex;
  gap: 32px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.section.alt {
  background: var(--surface);
}

.section.background-photo {
  background-image: url("https://images.unsplash.com/photo-1499951360447-b19be8fe80f5?w=1400&q=80");
  background-size: cover;
  background-position: center;
  background-color: #dfe3e7;
}

.section.background-photo .info-panel {
  background: rgba(255, 255, 255, 0.9);
}

.section.compact {
  padding: 30px 50px;
}

.section.stack {
  flex-direction: column;
  align-items: flex-start;
}

.hero {
  background: #ffffff;
}

.hero-text {
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card {
  background: var(--surface);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 320px;
}

.image-frame {
  border-radius: 18px;
  overflow: hidden;
  background: #d9dde2;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.grid-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card .image-frame {
  height: 150px;
  border-radius: 12px;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  background: #dfe2e7;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.inline-link {
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
}

.form-block {
  background: #ffffff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-block label {
  font-weight: 600;
}

.form-block input,
.form-block select {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
}

.form-status {
  font-size: 0.9rem;
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 8px 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  z-index: 10;
}

.sticky-cta span {
  font-size: 0.9rem;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.legal-footer {
  padding: 28px 50px;
  background: #efede9;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.reference-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content h1,
.content h2,
.content h3 {
  line-height: 1.3;
}

.content h2 {
  font-size: 1.6rem;
}

.content h3 {
  font-size: 1.2rem;
}

.two-column {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.two-column > div {
  flex: 1;
  min-width: 240px;
}

.info-panel {
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (max-width: 960px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .sidebar-cta {
    margin-top: 0;
    width: 100%;
  }

  .section {
    padding: 28px;
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-cta {
    right: 12px;
    left: 12px;
    justify-content: space-between;
  }
}
