@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-900.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/ibm-plex-mono-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/ibm-plex-mono-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest-950: #07170f;
  --forest-900: #0d2418;
  --forest-800: #173a26;
  --forest-700: #245336;
  --forest-500: #4f7657;
  --paper: #f4f0e5;
  --paper-deep: #e7dfce;
  --paper-light: #fbf8ef;
  --ink: #101a14;
  --muted: #5b655e;
  --brass: #e7b83d;
  --brass-dark: #b67c12;
  --danger: #9d312a;
  --success: #287447;
  --line: rgba(16, 42, 27, 0.22);
  --shadow-soft: 0 18px 48px rgba(7, 23, 15, 0.18);
  --radius: 14px;
  --page: min(1180px, calc(100% - 40px));
  color-scheme: light;
  font-family: "Poppins", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.11em;
  text-underline-offset: 0.2em;
}

::selection {
  color: var(--forest-950);
  background: var(--brass);
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 18px;
  color: white;
  background: var(--forest-950);
  border-radius: 8px;
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: var(--page);
  margin-inline: auto;
}

.mono {
  font-family: "IBM Plex Mono", monospace;
  font-variant-numeric: tabular-nums;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-weight: 900;
  line-height: 0.95;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, background-color 180ms ease-out;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--forest-950);
  background: var(--brass);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.button-primary:hover {
  background: #f1c854;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.button-forest {
  color: white;
  background: var(--forest-800);
  box-shadow: 0 10px 24px rgba(7, 23, 15, 0.2);
}

.button-outline {
  color: var(--forest-900);
  background: transparent;
  border-color: rgba(13, 36, 24, 0.5);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(40, 116, 71, 0.13);
}

@media (max-width: 720px) {
  :root {
    --page: min(100% - 24px, 1180px);
  }

  .button {
    width: 100%;
  }
}

@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;
  }
}
