:root {
  --green: #0f5b4d;
  --green-dark: #0a463c;
  --blue: #063b83;
  --text: #17202a;
  --muted: #5d6773;
  --line: #dfe4e8;
  --surface: #ffffff;
  --shadow: 0 24px 80px rgba(8, 25, 46, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: #f5f6f7;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.page-shell {
  position: relative;
  min-height: calc(100vh - 110px);
  overflow: hidden;
  background: #fff;
}

.visual-background {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: start center;
  background: #fff;
}

.visual-background img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
}

.seo-summary {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 1;
  width: min(900px, calc(100% - 40px));
  color: #fff;
  text-align: center;
}

.summary-inner {
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  background: rgba(8, 40, 50, .82);
  backdrop-filter: blur(8px);
}

.summary-inner h1 {
  margin: 0 0 5px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.summary-inner p { margin: 0; }

.page-dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(4, 17, 28, .50);
  backdrop-filter: blur(2px);
}

.cookie-card {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  width: min(920px, calc(100% - 32px));
  padding: 24px;
  border: 1px solid rgba(18, 63, 77, .15);
  border-radius: 22px;
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.cookie-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #f5f2e8;
  font-size: 30px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--green);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cookie-card h2 {
  margin: 0 0 8px;
  color: #102b35;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  line-height: 1.2;
}

.cookie-card p { margin: 0 0 10px; }

.affiliate-note {
  color: var(--muted);
  font-size: .9rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.button:hover { transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid rgba(17, 102, 173, .35); outline-offset: 3px; }

.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 24px rgba(15, 91, 77, .24);
}

.button-primary:hover { background: var(--green-dark); }

.button-secondary {
  color: #20303c;
  border-color: var(--line);
  background: #fff;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  font-size: .88rem;
}

.legal-links a { color: var(--blue); }

.site-footer {
  padding: 24px 20px;
  color: #66717b;
  background: #fff;
  border-top: 1px solid #e6e9ec;
  text-align: center;
  font-size: .82rem;
}

.site-footer p { margin: 5px auto; max-width: 1000px; }

.cookie-card.is-hidden,
.page-dim.is-hidden { display: none; }

@media (max-width: 720px) {
  .page-shell { min-height: 100vh; }
  .visual-background img { object-position: 38% top; }
  .seo-summary { display: none; }
  .cookie-card {
    bottom: 12px;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 19px;
    border-radius: 18px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }
  .cookie-icon { width: 48px; height: 48px; font-size: 25px; }
  .cookie-actions { flex-direction: column; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
