/* De Nisse Hoeve - farewell page.
   Palette taken from nissehoeve.nl (Tailwind "primary" scale). */

:root {
  --primary-50:  #e6f0fa;
  --primary-100: #cce1f5;
  --primary-200: #99c3eb;
  --primary-500: #2565b3;
  --primary-600: #1e518f;
  --primary-700: #163d6b;
  --primary-800: #0f2847;
  --primary-900: #0a1a4a;
  --brand-navy:  #070d59;

  --text:        #1f2937;
  --text-muted:  #4b5563;
  --text-faint:  #6b7280;
  --surface:     #ffffff;
  --border:      #e5e7eb;

  --radius:      20px;
  --shadow:      0 20px 45px -25px rgba(10, 26, 74, .35);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: clamp(1rem, 4vw, 3.5rem) 1rem;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--primary-50);
  background-image: linear-gradient(180deg, var(--primary-100) 0%, var(--primary-50) 35%, #ffffff 100%);
  background-attachment: fixed;
  display: flex;
  justify-content: center;
}

/* ---------- card ---------- */

.card {
  position: relative;
  width: 100%;
  max-width: 760px;
  padding: clamp(1.5rem, 5vw, 3.25rem);
  background: var(--surface);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Watermark of the horse head, top right. */
.card::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  right: -50px;
  width: 260px;
  height: 260px;
  background: url("/favicon.svg") no-repeat center / contain;
  opacity: .045;
  pointer-events: none;
}

/* ---------- language switcher ---------- */

.langbar {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.langbar__label {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.langbar__buttons {
  display: flex;
  gap: .375rem;
  padding: .25rem;
  background: var(--primary-50);
  border-radius: 999px;
}

.langbar__button {
  padding: .3rem .85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--primary-700);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.langbar__button:hover { background: var(--primary-100); }

.langbar__button[aria-pressed="true"] {
  background: var(--primary-600);
  color: #fff;
}

/* ---------- header ---------- */

.head { position: relative; }

.head__logo {
  display: block;
  width: auto;
  max-width: 260px;
  height: auto;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.head__logo[data-brand="hooistomer-shop"] { max-width: 320px; }

.head__eyebrow {
  margin: 0 0 .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary-500);
}

.head__title {
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--primary-900);
}

/* ---------- body copy ---------- */

.prose p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
}

.prose .lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--primary-800);
}

.prose p:last-child { margin-bottom: 0; }

/* ---------- panels ---------- */

.panel {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding: clamp(1.15rem, 3vw, 1.6rem);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary-500);
  border-radius: 12px;
  background: #f9fafb;
}

.panel--accent {
  border-color: var(--primary-100);
  border-left-color: var(--primary-900);
  background: var(--primary-50);
}

.panel__title {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-900);
}

.panel__body {
  margin: 0 0 1rem;
  font-size: .97rem;
  color: var(--text-muted);
}

.button {
  display: inline-block;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: var(--primary-600);
  color: #fff;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}

.button:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
}

/* ---------- domain list ---------- */

.domains { margin-top: 1.1rem; }

.domains summary {
  font-size: .875rem;
  font-weight: 500;
  color: var(--primary-600);
  cursor: pointer;
}

.domains summary::marker { color: var(--primary-200); }

.domains__list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
}

.domains__list li {
  padding: .25rem .7rem;
  border: 1px solid var(--primary-100);
  border-radius: 999px;
  background: #fff;
  font-size: .82rem;
  color: var(--primary-700);
}

.domains__list li[data-current="true"] {
  border-color: var(--primary-500);
  background: var(--primary-600);
  color: #fff;
  font-weight: 600;
}

/* ---------- footer ---------- */

.foot {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.foot__line {
  margin: 0 0 .25rem;
  font-size: .85rem;
  color: var(--text-faint);
}

.foot__line:last-child { margin-bottom: 0; }

a { color: var(--primary-600); }

:focus-visible {
  outline: 3px solid var(--primary-500);
  outline-offset: 2px;
  border-radius: 4px;
}

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