/* ── Fonts ─────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Oxanium";
  src:
    local("Oxanium"),
    url("../assets/oxanium.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ─────────────────────────────────────────────────────────────── */

:root {
  --bg: #6a7b76;
  --brand-light: #c8d0d0;
  --brand-dark: #1d201f;

  --text-primary: #1d201f;
  --text-secondary: #2f3332;
  --text-tertiary: #c8d0d0;

  --accent: #3a4e48;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */

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

html {
  height: 100%;
  overflow-x: hidden;
  overscroll-behavior: none;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  outline: none;
}

/* ── Base ───────────────────────────────────────────────────────────────── */

body {
  font-family: "Oxanium", "Courier New", monospace;
  font-synthesis: none;
  background: var(--bg);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
}

/* ── Layout ─────────────────────────────────────────────────────────────── */

.page {
  width: min(100%, 460px);
  min-height: 100dvh;
  padding: 34px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 12px;
}

/* ── Header ─────────────────────────────────────────────────────────────── */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.header-brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 22px;
  line-height: 1;
}

.brand-name {
  color: var(--brand-light);
}

.brand-tld {
  color: var(--brand-dark);
}

/* ── Components ─────────────────────────────────────────────────────────── */

.cta {
  display: inline-flex;
  width: fit-content;
  padding: 9px 15px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  color: var(--text-tertiary);
  background: var(--accent);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.cta:hover {
  filter: brightness(1.06);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (min-width: 700px) {
  .page {
    width: min(92vw, 760px);
  }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

footer {
  margin-top: auto;
  color: var(--text-tertiary);
  font-size: 12px;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
}
