.page {
  --forest: #0d2623;
  --forest-deep: #071b19;
  --forest-soft: #163a34;
  --sage: #bcd2c1;
  --mint: #dce9df;
  --signal: #d6ee62;
  --cream: #f4f1e8;
  --paper: #f8f6f0;
  --ink: #17231f;
  --muted: #65716b;
  --line: rgba(16, 51, 46, 0.18);
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.skipLink {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  background: var(--signal);
  color: var(--forest-deep);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skipLink:focus {
  transform: translateY(0);
}

.header {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 104px;
  grid-template-columns: 1fr auto auto;
  gap: clamp(1.3rem, 3vw, 3rem);
  align-items: center;
  padding: 0 clamp(1.4rem, 5vw, 4.8rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(
    90deg,
    rgba(5, 24, 21, 0.99),
    rgba(11, 42, 37, 0.96)
  );
  box-shadow: 0 12px 34px rgba(2, 14, 12, 0.18);
  color: #fff;
}

.brand {
  display: inline-flex;
  width: fit-content;
  flex-direction: column;
  gap: 0.25rem;
}

.brand strong {
  font-size: 2rem;
  font-weight: 440;
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand span {
  font-size: 0.61rem;
  font-weight: 720;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nav,
.conceptSwitch {
  display: flex;
  align-items: center;
}

.nav {
  gap: clamp(1rem, 2vw, 2.2rem);
  font-size: 0.84rem;
}

.nav a {
  padding: 0.62rem 0.35rem;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 570;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--signal);
}

.conceptSwitch {
  gap: 0.2rem;
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 100px;
  background: rgba(4, 23, 20, 0.5);
  font-size: 0.68rem;
}

.conceptSwitch a {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
}

.conceptSwitch .activeConcept {
  background: var(--signal);
  color: var(--forest-deep);
  font-weight: 800;
}

.legalHero {
  display: grid;
  min-height: 430px;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(3rem, 9vw, 9rem);
  align-items: end;
  padding: clamp(5.5rem, 9vw, 8rem) clamp(1.4rem, 6vw, 6.5rem)
    clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(
      circle at 82% 15%,
      rgba(214, 238, 98, 0.15),
      transparent 30%
    ),
    linear-gradient(135deg, var(--forest-deep), #10342e);
  color: #fff;
}

.kicker,
.sectionNumber {
  margin: 0 0 1.5rem;
  color: var(--signal);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.legalHero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  font-weight: 540;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.legalHero > p {
  max-width: 560px;
  margin: 0;
  color: var(--sage);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  line-height: 1.7;
}

.legalContent {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(5.5rem, 9vw, 9rem) clamp(1.4rem, 6vw, 6.5rem);
  background: var(--cream);
}

.legalIndex {
  position: sticky;
  top: 2rem;
  display: flex;
  height: fit-content;
  flex-direction: column;
  align-self: start;
  padding: 1.6rem;
  border-top: 4px solid var(--signal);
  background: var(--forest);
  color: #fff;
}

.legalIndex > span {
  color: var(--signal);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.legalIndex strong {
  margin-top: 4.5rem;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.legalIndex p {
  margin: 0.8rem 0 0;
  color: var(--sage);
  font-size: 0.76rem;
}

.copy {
  max-width: 950px;
}

.copy .intro {
  margin: 0 0 clamp(4rem, 7vw, 6rem);
  padding: 0 0 2.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.copy section {
  padding: 0 0 clamp(3.5rem, 6vw, 5rem);
}

.copy section + section {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.copy h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.copy section > p:not(.sectionNumber):not(.notice) {
  max-width: 850px;
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.notice {
  max-width: 850px;
  margin: 1.8rem 0 0;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--signal);
  background: var(--mint);
  color: #3e564c;
  font-size: 0.9rem;
  line-height: 1.7;
}

.returnSection {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 2.6rem clamp(1.4rem, 6vw, 6.5rem);
  background: var(--signal);
  color: var(--forest-deep);
}

.returnSection p {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 620;
}

.returnSection a {
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--forest-deep);
  font-size: 0.84rem;
  font-weight: 760;
}

.returnSection a span {
  margin-left: 0.6rem;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 3.2rem clamp(1.4rem, 6vw, 6.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  background: var(--forest-deep);
  color: #fff;
}

.footer > p {
  margin: 0;
  color: var(--sage);
  font-size: 0.8rem;
}

.footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 1.4rem;
  color: var(--sage);
  font-size: 0.78rem;
}

.footer a:hover {
  color: var(--signal);
}

@media (max-width: 1120px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 820px) {
  .legalHero,
  .legalContent {
    grid-template-columns: 1fr;
  }

  .legalHero {
    min-height: 390px;
    align-items: end;
  }

  .legalIndex {
    position: static;
  }

  .legalIndex strong {
    margin-top: 2.5rem;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer > div {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .header {
    min-height: 90px;
    padding-inline: 1.1rem;
  }

  .brand strong {
    font-size: 1.7rem;
  }

  .conceptSwitch a {
    width: 25px;
    height: 25px;
  }

  .legalHero,
  .legalContent {
    padding-inline: 1.2rem;
  }

  .legalHero {
    padding-block: 4.5rem 3.5rem;
  }

  .legalHero h1 {
    font-size: clamp(3.15rem, 17vw, 5rem);
  }

  .returnSection {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer > div {
    flex-wrap: wrap;
  }
}

/* Alfahosting production layer */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f8f6f0;
  color: #17231f;
  font-family:
    "Segoe UI Variable", "Segoe UI", Inter, Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

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

.copy a {
  border-bottom: 1px solid rgba(13, 38, 35, 0.42);
  color: #0d4940;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid #d6ee62;
  outline-offset: 4px;
}

.header {
  grid-template-columns: 1fr auto;
}

.mobileMenu {
  position: relative;
  display: none;
  color: #fff;
}

.mobileMenu summary {
  min-width: 72px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  list-style: none;
  text-align: center;
}

.mobileMenu summary::-webkit-details-marker {
  display: none;
}

.mobileMenu nav {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.75rem);
  right: 0;
  display: grid;
  width: min(310px, calc(100vw - 2.8rem));
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 24, 21, 0.99);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.mobileMenu nav a {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.82rem;
}

.mobileMenu nav a:last-child {
  border-bottom: 0;
}

.mobileMenu nav a:hover {
  background: rgba(214, 238, 98, 0.1);
  color: #d6ee62;
}

.errorHero {
  min-height: 100vh;
}

.errorHero h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
}

@media (max-width: 1120px) {
  .mobileMenu {
    display: block;
  }
}

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