:root {
  --primary: 108 207 47;
  --background: 240 249 232;
  --ink: 53 85 31;
  --muted: 106 130 89;
  --line: rgba(var(--primary), 0.24);
  --line-strong: rgba(var(--primary), 0.42);
  --shadow: 90 143 50;
  --container: 980px;
  --px: clamp(18px, 4vw, 28px);
  --radius: 26px;
  --fs-hero: clamp(2.55rem, 1.55rem + 4.3vw, 5.05rem);
  --fs-lead: clamp(1.15rem, 1.03rem + 0.45vw, 1.36rem);
  --fs-section: clamp(1.02rem, 0.95rem + 0.48vw, 1.28rem);
  --fs-card-title: clamp(1.03rem, 0.97rem + 0.4vw, 1.33rem);
  --fs-label: clamp(0.96rem, 0.92rem + 0.16vw, 1.02rem);
  --fs-body: clamp(1.02rem, 0.98rem + 0.24vw, 1.14rem);
  --fs-small: clamp(0.96rem, 0.92rem + 0.18vw, 1.03rem);
}

body.home {
  --primary: 48 56 68;
  --background: 244 245 247;
  --ink: 28 32 38;
  --muted: 96 104 114;
  --line: rgba(28, 32, 38, 0.1);
  --line-strong: rgba(28, 32, 38, 0.18);
  --shadow: 28 32 38;
}

body.tone-rabbit {
  --primary: 214 89 103;
  --background: 250 232 234;
  --ink: 87 35 41;
  --muted: 137 82 89;
  --shadow: 148 56 67;
}

body.tone-penguin {
  --primary: 102 113 214;
  --background: 232 234 250;
  --ink: 35 40 87;
  --muted: 82 87 137;
  --shadow: 56 65 148;
}

body.tone-nut {
  --primary: 215 75 136;
  --background: 250 232 240;
  --ink: 87 35 58;
  --muted: 137 82 106;
  --shadow: 148 56 96;
}

body.tone-crab {
  --primary: 216 87 61;
  --background: 250 235 232;
  --ink: 87 44 35;
  --muted: 137 91 82;
  --shadow: 148 72 56;
}

* { box-sizing: border-box; }

html { height: 100%; scroll-behavior: smooth; }

html:not([lang="en"]) .en { display: none; }
html[lang="en"] .nl { display: none; }

body {
  min-height: 100%;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 16px;
  line-height: 1.65;
  color: rgb(var(--ink));
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.88), transparent 31rem),
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.58), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0) 25rem),
    rgb(var(--background));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3 { overflow-wrap: break-word; }

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 var(--px);
}

.language-shell {
  padding: 22px var(--px) 2px;
}

.language-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: calc(var(--container) - 2 * var(--px));
  margin: 0 auto;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(var(--shadow), 0.06);
  color: rgb(var(--primary));
}

.language-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: calc(50% - 6px);
}

.language-select-wrap::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgb(var(--primary));
  border-bottom: 2px solid rgb(var(--primary));
  transform: translateY(-68%) rotate(45deg);
  pointer-events: none;
}

.language-select-wrap .select-sizer {
  visibility: hidden;
  white-space: nowrap;
  font-size: var(--fs-small);
  font-weight: 820;
  line-height: 1.2;
  padding: 2px 20px 2px 0;
}

.language-control select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  color: rgb(var(--primary));
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 820;
  line-height: 1.2;
  cursor: pointer;
  appearance: none;
  padding: 2px 20px 2px 0;
  text-align: left;
}

main { padding: 4px 0 8px; }
section { padding: 12px 0; }

.panel {
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.54);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: 0 20px 54px rgba(var(--shadow), 0.08);
  backdrop-filter: blur(12px);
}

.panel + .panel { margin-top: 14px; }

.card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 12px 30px rgba(var(--shadow), 0.06);
}

.hero-card { text-align: center; padding: clamp(26px, 4vw, 40px); }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3.4vw, 30px);
}

.icon-wrap {
  width: clamp(184px, 26vw, 246px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 30%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 54px rgba(var(--primary), 0.25), 0 0 0 1px rgba(var(--primary), 0.2);
}

.icon-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 30%; }

h1 {
  max-width: 780px;
  margin: 0 auto 14px;
  font-size: var(--fs-hero);
  line-height: 0.98;
  letter-spacing: -0.062em;
  font-weight: 880;
}

.lead {
  max-width: 68ch;
  margin: 0 auto;
  color: rgb(var(--muted));
  font-size: var(--fs-lead);
  line-height: 1.58;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(var(--primary), 0.96);
  background: rgb(var(--primary));
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(var(--primary), 0.28);
}

.btn:hover { transform: translateY(-1px); }

.btn.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: rgb(var(--primary));
  border-color: var(--line-strong);
  box-shadow: 0 10px 22px rgba(var(--shadow), 0.05);
}

.kicker {
  margin: 0 0 22px;
  color: rgb(var(--primary));
  font-size: var(--fs-section);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.stack { display: flex; flex-direction: column; gap: 16px; }
.title-row { margin: 0 0 14px; }

.title-row h3, .policy h2, .app-card h2 {
  margin: 0;
  color: rgb(var(--primary));
  font-size: var(--fs-card-title);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 870;
}

.card p, .fact, .policy li {
  margin: 0;
  color: rgb(var(--muted));
  font-size: var(--fs-body);
  line-height: 1.62;
}

.facts, .policy ul {
  display: grid;
  gap: 14px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.fact, .policy li { position: relative; padding-left: 28px; }

.fact::before, .policy li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgb(var(--primary));
  box-shadow: 0 0 0 5px rgba(var(--primary), 0.14);
}

footer.container { padding-top: 18px; padding-bottom: 34px; }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: rgb(var(--primary));
  font-size: var(--fs-small);
  font-weight: 850;
}

.links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.links a, .policy a, .mail, .footer a {
  color: rgb(var(--primary));
  font-weight: 820;
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--primary), 0.4);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  text-decoration: none;
  text-align: left;
}

.app-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 22%;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(var(--shadow), 0.14);
}

.app-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-card-go {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
}

.app-card p { text-align: left; margin: 0; }

.home-sub {
  margin: 0 auto;
  color: rgb(var(--muted));
  font-size: var(--fs-lead);
  line-height: 1.35;
  font-weight: 650;
}

.home-sub a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
  color: rgb(var(--primary));
  font-weight: 870;
  font-size: var(--fs-card-title);
}

.brand-row img {
  width: 64px;
  height: 64px;
  border-radius: 30%;
  object-fit: cover;
}

.page-card { text-align: left; }
.page-card header { text-align: center; margin-bottom: 22px; }
.page-card h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }

.contact-card {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 22px);
}
.contact-card header { margin: 0; text-align: left; }
.contact-card h1 {
  margin: 0;
  color: rgb(var(--primary));
  text-align: left;
}
.contact-card .lead { margin: 0; text-align: left; }
.contact-card .brand-row {
  justify-content: flex-start;
  align-self: stretch;
  width: auto;
  margin: 0;
  gap: 12px;
  font-size: clamp(1.02rem, 0.98rem + 0.18vw, 1.12rem);
  font-weight: 820;
  letter-spacing: -0.018em;
}
.contact-card .brand-row img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}
.contact-card h1 {
  font-size: clamp(2.05rem, 1.35rem + 3vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 860;
}
.contact-card .info h2 {
  margin: 0 0 12px;
  font-size: var(--fs-section);
  letter-spacing: -0.035em;
  font-weight: 850;
}
.contact-card .info {
  margin: 0;
  padding: clamp(16px, 2.5vw, 22px);
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}
.contact-card .info p + p { margin-top: 10px; }

.contact-form {
  display: grid;
  gap: 14px;
  margin: 0;
}
.contact-form label {
  display: block;
  margin: 0 0 7px;
  color: rgb(var(--ink));
  font-size: var(--fs-label);
  line-height: 1.25;
  font-weight: 820;
  letter-spacing: -0.015em;
}
.contact-form input:not([type="file"]),
.contact-form textarea,
.file-picker {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.76);
  color: rgb(var(--ink));
  font: inherit;
  font-size: var(--fs-body);
  line-height: 1.45;
  box-shadow: 0 8px 18px rgba(var(--shadow), 0.035);
  appearance: none;
}
.file-slot { position: relative; width: 100%; }
.contact-form .file-picker {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin: 0;
  color: rgb(var(--primary));
  font-weight: 820;
  cursor: pointer;
}
.file-slot input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.file-name {
  margin: 8px 0 0;
  color: rgb(var(--muted));
  font-size: var(--fs-small);
}
.file-preview {
  display: block;
  width: 100%;
  max-height: 280px;
  margin-top: 10px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}
.contact-form textarea {
  min-height: 164px;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(var(--muted), 0.72);
}
.contact-form .btn {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
  border-radius: 16px;
}
.contact-form .btn:disabled { opacity: 0.7; cursor: progress; }
.contact-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
}
.status {
  margin: 0;
  min-height: 1.4em;
  color: rgb(var(--muted));
  font-size: var(--fs-small);
  line-height: 1.45;
}

.info, .policy { text-align: left; }
.policy h2 { margin: 28px 0 10px; }
.policy h2:first-child { margin-top: 0; }
.policy p { margin: 0 0 12px; }
.policy .meta { margin-top: 22px; font-weight: 850; color: rgb(var(--primary)); }

.mail { font-weight: 850; }

:focus-visible {
  outline: 3px solid rgba(var(--primary), 0.76);
  outline-offset: 3px;
  border-radius: 10px;
}

@media (max-width: 720px) {
  .hero-card, .panel, .card { padding: 20px 16px; }
  .app-grid { grid-template-columns: 1fr; }
  .language-control { padding: 8px 14px; }
  .cta { flex-direction: column; align-items: stretch; }
  .btn, .contact-form .btn { width: 100%; }
  .footer { flex-direction: column; text-align: center; }
  .links { justify-content: center; }
}

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