:root {
  --font-sans: "Rubik", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Zalando Sans", "Rubik", sans-serif;

  --black: #060E0E;
  --white: #ffffff;
  --beige: #E0D1BF;

  --teal-100: #f1f9f9;
  --teal-200: #d4e2e2;
  --teal-300: #B8E0E0;
  --teal-500: #7FC7C7;
  --teal-700: #2B6060;
  --teal-800: #255555;
  --teal-900: #1f4747;

  --color-brand-primary: var(--teal-900);
  --color-brand-dark: var(--black);
  --color-brand-accent-1: var(--teal-800);
  --color-brand-accent-2: var(--teal-700);
  --color-brand-light-blue: var(--teal-300);
  --color-brand-light: var(--teal-100);
  --color-brand-white: var(--white);
  --color-brand-muted: var(--teal-200);
  --color-brand-cyan: var(--teal-500);
  --color-brand-beige: var(--beige);
  --color-brand-border: var(--teal-200);
  --color-brand-border-dark: var(--teal-800);

  --color-dark-body: #0a1414;
  --color-dark-base: #111e1e;
  --color-dark-surface: #162424;
  --color-dark-deep: #0d1919;
  --color-dark-raised: #0f1e1e;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-brand-primary);
  font-optical-sizing: auto;
  background-color: var(--white);
  background-image: radial-gradient(ellipse at 50% 50%,transparent 40%, rgba(37, 85, 85, 0.15) 100%);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: -40px;
  background-image:
    linear-gradient(rgba(184, 224, 224, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 224, 224, 0.22) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: gridDrift 4s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes gridDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(30px, 30px); }
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  overflow: hidden;
}

.bg-mark {
  position: absolute;
  right: 50%;
  bottom: 50%;
  height: 150vh;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  transform: translateX(50%) translateY(50%);
  z-index: 0;
}

.bg-mark img {
  width: auto;
  height: 100%;
  display: block;
}

.content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  width: 100%;
  text-align: left;
  display: grid;
  justify-content: space-between;
  grid-template-columns: 4fr 1fr;
  gap: 1.5rem 2rem;
  grid-template-areas:
    "logo logo"
    "headline headline"
    "lead contact";
  animation: fadeUp 0.9s ease-out both 0.4s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  grid-area: logo;
  width: 100%;
  margin-bottom: 2rem;
}

.logo svg {
  width: 100%;
  max-width: clamp(18.75rem, 7.9167rem + 36.1111vw, 32rem);
  height: auto;
  display: block;
  margin: 0 auto;
}

.headline {
  grid-area: headline;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--black);
  text-wrap: pretty;
}

.lead {
  grid-area: lead;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lead p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.9583rem + 0.5556vw, 1.275rem);
  line-height: 1.5;
  color: var(--black);
  text-wrap: pretty;
}

.contact {
  grid-area: contact;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.card {
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.085);
    padding: 1rem;
    background-color: var(--white);
    border-radius: 0.25rem;
}

.btn-email {
  display: inline-flex;
  align-items: center;
  position:relative;
  overflow:hidden;
  gap: 0.6rem;
  background-color: var(--color-brand-primary);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.6rem 0.8rem;
  border-radius: 0.25rem;
  border: 1px solid var(--color-brand-primary);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
  letter-spacing: 0.05em;
}

.btn-email::before {
  content: '';
  pointer-events: none;
  opacity: .2;
  background:
    radial-gradient(circle at 20% 35%,  transparent 0,  transparent 2px, var(--white) 3px, var(--white) 4px, transparent 4px),
    radial-gradient(circle at 75% 44%, transparent 0,  transparent 2px, var(--white) 3px, var(--white) 4px, transparent 4px),
    radial-gradient(circle at 46% 52%, transparent 0, transparent 4px, var(--white) 5px, var(--white) 6px, transparent 6px);

  width: 100%;
  height: 300%;
  top: 0;
  left: 0;
  position: absolute;
  animation: bubbles 5s linear infinite both;
}

@keyframes bubbles {
  from {
    transform: translate();
  }
  to {
    transform: translate(0, -66.666%);
  }
}

.btn-email:hover {
  background-color: var(--teal-700);
  border-color: var(--teal-700);
}

.btn-email svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.address {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(0.875rem, 0.9583rem + 0.5556vw, 1rem);
  line-height: 1.6;
  color: var(--teal-800);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .content {
    max-width: 640px;
  }
}

@media (max-width: 640px) {
  .content {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    grid-template-areas:
      "logo"
      "headline"
      "lead"
      "contact";
  }

  .logo {
    margin-bottom: 1rem;
  }

  .logo svg {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .content {
    gap: 1.5rem;
  }
  
  .page {
      align-items: flex-start;
  }
}

/* ── Footer privacy link (index.html) ──────────────────────────── */

.site-footer {
  position: fixed;
  bottom: 1rem;
  right: 1.25rem;
  z-index: 10;
}

.site-footer a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--teal-700);
  opacity: 0.65;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity 0.2s ease;
}

.site-footer a:hover {
  opacity: 0.85;
}

/* ── Privacy policy page ────────────────────────────────────────── */

.privacy-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1.5rem 5rem;
  overflow: hidden;
}

.privacy-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  width: 100%;
  animation: fadeUp 0.9s ease-out both 0.3s;
}

.privacy-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--teal-700);
  text-decoration: none;
  margin-bottom: 2.5rem;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.privacy-back:hover {
  opacity: 1;
}

.privacy-back svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.privacy-logo {
  margin-bottom: 2.5rem;
}

.privacy-logo svg {
  width: clamp(10rem, 40vw, 16rem);
  height: auto;
  display: block;
}

.privacy-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 1.75rem);
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.privacy-content .privacy-subtitle {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--teal-700);
  opacity: 0.7;
  margin-bottom: 2.5rem;
}

.privacy-content h2 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-900);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.privacy-content p,
.privacy-content li {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--black);
  opacity: 0.85;
}

.privacy-content ul {
  padding-left: 1.25rem;
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.privacy-content p + p {
  margin-top: 0.75rem;
}

.privacy-divider {
  border: none;
  border-top: 1px solid var(--teal-200);
  margin: 2rem 0;
}

.privacy-content a {
  color: var(--teal-700);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.privacy-content a:hover {
  color: var(--teal-900);
}
