/* Policy pages + cookie notice
   Safe to merge into your main stylesheet if preferred. */

:root {
  --policy-bg: #f7f4ef;
  --policy-text: #1f1f1f;
  --policy-muted: #66604f;
  --policy-border: #d8d0c2;
  --policy-accent: #17352d;
  --policy-white: #ffffff;
  --cookie-bg: rgba(23, 53, 45, 0.97);
  --cookie-text: #f4f1ea;
  --cookie-link: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--policy-text);
  background: var(--policy-bg);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.policy-header,
.policy-footer {
  background: var(--policy-white);
  border-bottom: 1px solid var(--policy-border);
}

.policy-footer {
  border-top: 1px solid var(--policy-border);
  border-bottom: 0;
}

.policy-header .container,
.policy-footer .container {
  padding: 1rem 0;
}

.brand {
  color: var(--policy-accent);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.policy-page {
  padding: 3rem 0 4rem;
}

.policy-container {
  background: var(--policy-white);
  border: 1px solid var(--policy-border);
  padding: clamp(1.25rem, 2vw, 2.5rem);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--policy-muted);
  font-size: 0.82rem;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--policy-accent);
}

h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--policy-accent);
}

p, ul {
  margin-top: 0;
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.25rem;
}

a {
  color: var(--policy-accent);
}

.last-updated {
  color: var(--policy-muted);
  margin-bottom: 2rem;
}

.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-nav a {
  text-decoration: none;
  color: var(--policy-accent);
}

.cookie-notice {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  max-width: 840px;
  margin-inline: auto;
  background: var(--cookie-bg);
  color: var(--cookie-text);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
  padding: 1rem 1rem 0.95rem;
}

.cookie-notice[hidden] {
  display: none !important;
}

.cookie-notice__inner {
  display: grid;
  gap: 0.9rem;
  align-items: start;
}

.cookie-notice__text {
  font-size: 0.95rem;
  margin: 0;
}

.cookie-notice__text a {
  color: var(--cookie-link);
  text-decoration: underline;
}

.cookie-notice__actions {
  display: flex;
  justify-content: flex-end;
}

.cookie-notice__button {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.25);
  background: #f4f1ea;
  color: #17352d;
  font: inherit;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.cookie-notice__button:hover,
.cookie-notice__button:focus-visible {
  transform: translateY(-1px);
}

@media (min-width: 700px) {
  .cookie-notice__inner {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .cookie-notice__actions {
    align-self: center;
  }
}
