:root {
  --bg: #eef2f4;
  --ink: #12181c;
  --mute: #4f5c66;
  --line: rgba(18, 24, 28, 0.1);
  --accent: #0d9aa8;
  --coral: #e85d4c;
  --gold: #e2a93b;
  --mint: #2bb673;
  --sans: "Manrope", system-ui, sans-serif;
  --serif: "Literata", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.45;
  animation: drift 16s var(--ease) infinite alternate;
}

.blob--1 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  background: var(--coral);
  top: -8%;
  right: -6%;
}

.blob--2 {
  width: min(45vw, 340px);
  height: min(45vw, 340px);
  background: var(--accent);
  bottom: 8%;
  left: -8%;
  animation-delay: -4s;
}

.blob--3 {
  width: min(35vw, 260px);
  height: min(35vw, 260px);
  background: var(--gold);
  top: 42%;
  right: 18%;
  opacity: 0.28;
  animation-delay: -8s;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem clamp(1.25rem, 4vw, 2.5rem);
}

.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.top__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--mute);
  cursor: pointer;
  padding: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.btn--lg {
  min-height: 3.1rem;
  padding: 0.85rem 1.45rem;
  font-size: 1rem;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem clamp(1.25rem, 5vw, 3rem) 3rem;
  max-width: 40rem;
  animation: fade-up 0.9s var(--ease) both;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-weight: 800;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  letter-spacing: -0.02em;
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero__text {
  margin: 0 0 1.75rem;
  color: var(--mute);
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  font-weight: 500;
  max-width: 28rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem;
  border-top: 1px solid var(--line);
  background: rgba(238, 242, 244, 0.72);
  backdrop-filter: blur(8px);
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.foot a {
  color: var(--mute);
  font-weight: 600;
  font-size: 0.9rem;
}

.foot a:hover {
  color: var(--ink);
}

/* Inner pages */
.page {
  flex: 1;
  padding: 1rem clamp(1.25rem, 5vw, 3rem) 3rem;
  max-width: 38rem;
  animation: fade-up 0.7s var(--ease) both;
}

.page .eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.page h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.05rem;
}

.page p,
.page li {
  color: var(--mute);
}

.page a:not(.btn):not(.logo) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page--legal {
  max-width: 42rem;
  padding-bottom: 4rem;
}

.page .meta {
  margin: -0.35rem 0 1.25rem;
  font-size: 0.9rem;
}

.page h3 {
  margin: 1.15rem 0 0.4rem;
  font-size: 0.98rem;
}

.page ul {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.2rem;
}

.page li + li {
  margin-top: 0.35rem;
}

.page code {
  font-size: 0.88em;
  word-break: break-word;
}

.table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1rem;
}

.page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.page th,
.page td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
}

.page th {
  background: rgba(18, 24, 28, 0.04);
  color: var(--ink);
  font-weight: 700;
}

.page td {
  color: var(--mute);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(3%, 4%) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
