@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=Unbounded:wght@500;700&display=swap");

:root {
  color-scheme: light;
  --text: #133126;
  --muted: #65786f;
  --line: rgba(19, 49, 38, 0.1);
  --card: rgba(255, 255, 255, 0.9);
  --green: #2d654f;
  --green-deep: #0b1d16;
  --shadow: 0 28px 72px rgba(17, 35, 28, 0.12);
  --width: 840px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --legal-hero-title-max-width: 660px;
  --legal-hero-copy-max-width: 640px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0%, rgba(238, 218, 162, 0.42), transparent 22%),
    radial-gradient(circle at 0% 28%, rgba(111, 227, 176, 0.18), transparent 18%),
    linear-gradient(180deg, #fbfaf5 0%, #f3f1e9 44%, #efede5 100%);
  padding: max(18px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
}

.shell {
  width: min(100%, var(--width));
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.hero,
.card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(145deg, var(--green) 0%, #17372b 58%, var(--green-deep) 100%);
}

.back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 10px 24px rgba(11, 24, 18, 0.12);
  backdrop-filter: blur(18px) saturate(130%);
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  font-family: "Unbounded", "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  margin-top: 16px;
  font-size: clamp(34px, 7vw, 48px);
  line-height: 0.98;
  max-width: var(--legal-hero-title-max-width);
}

.hero-copy {
  margin-top: 12px;
  max-width: var(--legal-hero-copy-max-width);
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.55;
}

.card {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
}

h2 {
  margin-top: 28px;
  font-size: 24px;
  line-height: 1.04;
}

h2:first-of-type { margin-top: 0; }
p, li { margin: 0 0 12px; font-size: 17px; line-height: 1.68; }
ul { margin: 0 0 12px; padding-left: 22px; }
a { color: var(--green); }

.muted {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(246,248,244,0.88)),
    rgba(255,255,255,0.84);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.82),
    0 24px 48px rgba(17, 35, 28, 0.16);
  backdrop-filter: blur(24px);
}

.cookie-banner.is-hidden { display: none; }
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.cookie-banner__button,
.cookie-banner__link {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.cookie-banner__button {
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #2d654f 0%, #17372b 58%, #0b1d16 100%);
}

.cookie-banner__link {
  color: var(--text);
  border: 1px solid rgba(19,49,38,0.1);
  background: rgba(255,255,255,0.78);
}

.consent-card {
  display: grid;
  gap: 14px;
}

.consent-card p {
  margin: 0;
}

.document-consent-button {
  min-height: 52px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  align-self: flex-start;
  color: #fff;
  background: linear-gradient(135deg, #2d654f 0%, #17372b 58%, #0b1d16 100%);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.document-consent-button.is-done,
.document-consent-button:disabled {
  opacity: 0.72;
  cursor: default;
}

@media (max-width: 640px) {
  .hero,
  .card {
    border-radius: var(--radius-lg);
  }
}
