:root {
  --ink: #221116;
  --muted: #6d5b60;
  --line: #eadde0;
  --red: #d9102b;
  --red-dark: #a70b20;
  --rose: #fff4f5;
  --paper: #fcf9f9;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-inner, .legal-wrap, .footer-inner {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 0 20px;
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 24px;
  color: #59454c;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover, .legal-content a:hover, footer a:hover {
  color: var(--red);
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.legal-wrap {
  padding-top: 48px;
  padding-bottom: 56px;
}

.eyebrow {
  color: #a11127;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.06;
  letter-spacing: -.04em;
  margin: 0 0 16px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

.legal-content {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 36px;
  padding-top: 42px;
  padding-bottom: 58px;
}

.legal-aside {
  align-self: start;
  position: sticky;
  top: 92px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.legal-aside a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: #59454c;
  font-size: 14px;
  font-weight: 700;
}

.legal-aside a:hover {
  background: var(--rose);
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px, 4vw, 36px);
}

.legal-card h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 32px 0 10px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 18px;
  margin: 24px 0 8px;
}

.legal-card p, .legal-card li {
  color: #4e3d43;
}

.legal-card a {
  color: var(--red-dark);
  font-weight: 800;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.blog-card img {
  width: calc(100% + 40px);
  max-width: none;
  margin: -20px -20px 2px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.blog-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.blog-card p {
  margin: 0;
  color: #59454c;
}

.blog-meta {
  color: #8a6972;
  font-size: 13px;
  font-weight: 800;
}

.blog-article {
  max-width: 780px;
}

.featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 0 0 24px;
  background: var(--rose);
}

.inline-image {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 20px 0;
}

.blog-article .article-meta {
  color: #8a6972;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 22px;
}

.blog-article blockquote {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--red);
  background: var(--rose);
  color: #4e3d43;
}

.note {
  background: var(--rose);
  border: 1px solid #f3c3ca;
  border-radius: 12px;
  padding: 14px 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #fffafa;
}

.contact-box b {
  display: block;
  margin-bottom: 4px;
}

footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #77676b;
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(61, 0, 16, .18);
  padding: 16px;
  display: none;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  color: #4e3d43;
  font-size: 13px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-actions button, .cookie-actions a {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.cookie-actions .accept {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

@media (max-width: 760px) {
  .topbar-inner {
    min-height: 64px;
  }
  .nav {
    display: none;
  }
  .brand {
    min-width: 0;
  }
  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .legal-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .legal-content {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 28px;
  }
  .legal-aside {
    position: static;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 16px;
    padding-right: 16px;
  }
  .cookie-banner {
    display: none;
    align-items: stretch;
    flex-direction: column;
  }
  .cookie-banner.show {
    display: flex;
  }
  .cookie-actions {
    flex-wrap: wrap;
  }
}
