:root {
  /* Brand */
  --ocean-depth: #1A545C;
  --tropical-mint: #4FCCC4;
  --icy-mist: #B0E0E8;
  --lavender-glow: #8C80FA;
  --spiced-ember: #FF6642;
  --white: #FFFFFF;
  --off-white: #F8F6F1;
  --text-dark: #1A545C;
  --muted-text: #66777A;

  /* Derived surfaces — keeps brand colours, adds usable tints */
  --hairline: rgba(26, 84, 92, 0.12);
  --hairline-strong: rgba(26, 84, 92, 0.22);
  --surface-sunken: rgba(26, 84, 92, 0.05);
  --on-dark-dim: rgba(176, 224, 232, 0.62);
  --on-dark-surface: rgba(176, 224, 232, 0.14);

  /* Type */
  --font-primary: "degular", system-ui, sans-serif;
  --font-badge: "dynapuff", system-ui, cursive;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-lifted: 0 18px 45px rgba(26, 84, 92, 0.14);
  --shadow-overlay: 0 -8px 60px rgba(5, 30, 34, 0.22);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--off-white);
  color: var(--text-dark);
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--spiced-ember);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── ICONS ──────────────────────────────────────── */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── LANGUAGE TOGGLE ────────────────────────────── */
.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--on-dark-surface);
}

.lang-button {
  min-width: 38px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark-dim);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: color 160ms ease, background-color 160ms ease;
}

.lang-button.is-active {
  background: var(--icy-mist);
  color: var(--ocean-depth);
}

@media (hover: hover) and (pointer: fine) {
  .lang-button:not(.is-active):hover {
    color: var(--icy-mist);
  }
}

/* ── LANDING ────────────────────────────────────── */
.landing-page {
  min-height: 100vh;
  background: var(--ocean-depth);
}

.landing-header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  padding: var(--sp-4) var(--sp-5);
}

.landing-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--sp-6);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
}

.landing-logo {
  width: min(68vw, 280px);
  height: auto;
}

.landing-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--spiced-ember);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  transition: transform 180ms var(--ease-out), background-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .landing-cta:hover {
    transform: translateY(-2px);
    background: #f45c3a;
  }
}

/* ── COOKIE BANNER ──────────────────────────────── */
.cookie-banner {
  position: fixed;
  z-index: 70;
  right: var(--sp-3);
  bottom: calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  left: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--radius-md);
  background: var(--ocean-depth);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-banner button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 10px 24px;
  background: var(--spiced-ember);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
}

@media (min-width: 680px) {
  .cookie-banner {
    left: auto;
    max-width: 620px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-radius: 999px;
    padding: 12px 12px 12px 24px;
  }

  .cookie-banner button {
    min-width: 76px;
  }
}
