:root {
  --dls-green: #0c6c1c;
  --dls-green-dark: #0a5f18;
  --dls-green-soft: #edf7ef;
  --dls-coral: #f03c70;
  --dls-coral-dark: #c92f5c;
  --dls-coral-soft: #fff0f4;
  --cream: #fffaf1;
  --ink: #18301f;
  --muted: #5d6b61;
  --line: #eadfcd;
  --shadow: 0 18px 45px rgba(24, 48, 31, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at top left, rgba(240, 60, 112, 0.1), transparent 34rem),
    radial-gradient(circle at 80% 12%, rgba(12, 108, 28, 0.11), transparent 28rem),
    linear-gradient(180deg, #fffdf8 0%, var(--cream) 48%, #fff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(12, 108, 28, 0.055) 1.2px, transparent 1.2px),
    radial-gradient(circle, rgba(240, 60, 112, 0.04) 1px, transparent 1px);
  background-position: 0 0, 18px 22px;
  background-size: 46px 46px, 72px 72px;
  opacity: 0.45;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--dls-green);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 1rem; }

main {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(1.35rem, 3.4vw, 2.5rem) 0 0.4rem;
}

.privacy-card {
  padding: clamp(1.55rem, 3.5vw, 2.55rem);
  border: 1px solid rgba(12, 108, 28, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.privacy-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 1.15rem;
}

.section-kicker {
  margin: 0 0 0.35rem;
  color: var(--dls-coral);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2 {
  color: var(--dls-green);
  font-family: var(--serif);
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.08;
}

p, li {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.updated {
  flex: 0 0 auto;
  margin: 0 0 0.12rem;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.notice-card {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(12, 108, 28, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--dls-green-soft), var(--dls-coral-soft));
}

.notice-card p { margin: 0; }
.notice-card p + p { margin-top: 0.3rem; }
.notice-card .lead {
  color: var(--dls-green-dark);
  font-weight: 700;
}

.privacy-sections {
  display: grid;
  gap: 1.35rem;
  margin-top: 1.55rem;
}

.privacy-sections section {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(12, 108, 28, 0.1);
}

.privacy-sections section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.privacy-sections p { margin: 0; }
ul { margin: 0; padding-left: 1.25rem; }
li + li { margin-top: 0.25rem; }

.privacy-card a:not(.button):not(.home-text-link) {
  color: var(--dls-green);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  margin-top: 1.7rem;
}

.button {
  min-height: 46px;
  padding: 0.78rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  border: 2px solid var(--dls-green);
  background: var(--dls-green);
  color: #fff;
  box-shadow: 0 9px 20px rgba(12, 108, 28, 0.13);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--dls-green-dark);
  background: var(--dls-green-dark);
}

.home-text-link {
  color: var(--dls-green);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.home-text-link:hover,
.home-text-link:focus-visible {
  color: var(--dls-coral);
}

.button:focus-visible,
.home-text-link:focus-visible,
.privacy-card a:focus-visible {
  outline: 3px solid rgba(240, 60, 112, 0.25);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 700px) {
  main {
    width: min(100% - 22px, 960px);
    padding-top: 1.1rem;
  }

  .privacy-card {
    padding: 1.35rem 1.15rem;
    border-radius: 22px;
  }

  .privacy-heading {
    display: block;
    margin-bottom: 1rem;
  }

  .updated {
    margin-top: 0.55rem;
    white-space: normal;
  }

  .privacy-sections { gap: 1.1rem; margin-top: 1.3rem; }
  .page-actions { align-items: stretch; }
  .page-actions .button { width: 100%; }
  .home-text-link { width: 100%; text-align: center; }
}

/* The privacy page already explains data practices, so its footer is intentionally compact. */
.privacy-page-footer {
  gap: 0.35rem;
}

.privacy-page-footer .footer-message,
.privacy-page-footer .footer-brand {
  margin: 0.25rem 0;
}

.privacy-page-footer .footer-brand [aria-current="page"] {
  color: var(--dls-green);
  font-weight: 700;
}


/* v19: keep the privacy-page legal footer centered and deliberately compact. */
.privacy-page-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 94px;
  padding-top: 1.2rem;
  padding-bottom: 1.45rem;
  text-align: center;
}

.privacy-page-footer .footer-brand {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.privacy-page-footer .footer-brand [aria-current="page"] {
  color: var(--dls-green);
  font-weight: 700;
}


/* v38: Privacy follows the same mobile legal-line structure as every other page. */
@media (max-width: 760px) {
  .privacy-page-footer {
    min-height: 0 !important;
    padding-top: 1rem !important;
    padding-bottom: 1.25rem !important;
  }

  .privacy-page-footer .footer-brand {
    width: 100% !important;
    line-height: 1.55 !important;
  }

  .privacy-page-footer .footer-copyright,
  .privacy-page-footer .footer-tagline-line {
    display: block !important;
  }
}
