@font-face {
  font-family: 'LuckiestGuy';
  src: url('LuckiestGuy-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NunitoSans';
  src: url('NunitoSans-Variable.ttf') format('truetype');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #060203;
  --surface: #15100d;
  --surface-2: #1c1511;
  --panel: #1a120e;
  --teca: #2b1d12;
  --border: rgba(255, 224, 138, 0.15);
  --border-strong: rgba(255, 177, 46, 0.34);
  --text: #f4e6d2;
  --text-muted: #f4d3a0;
  --text-soft: #bca58a;
  --gold: #ffd35a;
  --amber: #ffb12e;
  --orange: #f4771e;
  --orange-deep: #d94b16;
  --success: #5bcb7a;
  --max: 820px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--canvas);
  background-image:
    radial-gradient(circle at 50% 7%, rgba(255, 179, 70, 0.10), transparent 31rem),
    linear-gradient(180deg, rgba(3, 10, 10, 0.06), rgba(6, 2, 3, 0.58) 40%, rgba(6, 2, 3, 0.88)),
    url('jungle-night.webp');
  background-position: center top, center top, center top;
  background-size: auto, auto, cover;
  background-attachment: fixed, fixed, fixed;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: 'NunitoSans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 560;
  line-height: 1.62;
  -webkit-text-size-adjust: 100%;
}

::selection {
  color: #2a1500;
  background: var(--gold);
}

a {
  color: var(--gold);
  overflow-wrap: break-word;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: #ffe08a; }

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 6px;
}

img {
  max-width: 100%;
  height: auto;
}

main {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(24px, 6vw, 58px) clamp(18px, 5vw, 34px) 44px;
}

.hero {
  position: relative;
  text-align: center;
  margin: 0 auto clamp(28px, 6vw, 46px);
  padding: 8px 0 24px;
}

.hero::after {
  content: '';
  display: block;
  width: 92px;
  height: 3px;
  margin: 24px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  box-shadow: 0 0 18px rgba(255, 177, 46, 0.52);
}

.logo {
  display: block;
  width: clamp(188px, 42vw, 268px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.62));
  margin: 0 auto 14px;
}

.logo.small {
  width: clamp(118px, 27vw, 164px);
  margin-bottom: 16px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
.card h2 {
  font-family: 'LuckiestGuy', Arial, sans-serif;
  font-weight: 400;
}

h1 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: clamp(30px, 7vw, 46px);
  letter-spacing: 0.02em;
  line-height: 1.08;
  text-shadow:
    0 3px 0 #6b2609,
    0 8px 20px rgba(0, 0, 0, 0.62);
}

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

.lead {
  max-width: 54ch;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(15px, 2.2vw, 17px);
  font-weight: 650;
  text-wrap: balance;
}

.mode-strip {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.mode-strip span {
  padding: 7px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(42, 29, 18, 0.92), rgba(21, 16, 13, 0.92));
  color: var(--text-muted);
  box-shadow: inset 0 1px 0 rgba(255, 228, 176, 0.10), 0 5px 14px rgba(0, 0, 0, 0.30);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.card,
.legal section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 177, 46, 0.09), transparent 18rem),
    linear-gradient(180deg, rgba(28, 21, 17, 0.97), rgba(21, 16, 13, 0.98));
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 rgba(255, 228, 176, 0.06),
    0 14px 34px rgba(0, 0, 0, 0.34);
}

.card::before,
.legal section::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 90, 0.38), transparent);
  pointer-events: none;
}

.card {
  min-height: 172px;
  border-radius: 24px;
  padding: 24px clamp(20px, 4vw, 28px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 228, 176, 0.09),
    0 18px 42px rgba(0, 0, 0, 0.44),
    0 0 24px rgba(244, 119, 30, 0.08);
}

.card h2 {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 21px;
  line-height: 1.15;
  text-shadow: 0 2px 0 #5a210a;
}

.card h2 a {
  color: inherit;
  text-decoration: none;
}

.card h2 a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.card p {
  margin: 0;
  color: var(--text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.email-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 12px 22px;
  border: 1px solid #ffe08a;
  border-radius: 16px;
  background: linear-gradient(180deg, #f5b83a, #f08a24 56%, #d85b18);
  color: #2a1500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 6px 14px rgba(0, 0, 0, 0.38);
  font-weight: 900;
  text-decoration: none;
}

.email-btn:hover {
  color: #160b00;
  filter: brightness(1.06);
}

.legal {
  color: var(--text);
  font-size: 15.5px;
}

.legal .updated,
.updated {
  width: fit-content;
  margin: -14px auto 30px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 224, 138, 0.12);
  border-radius: 999px;
  background: rgba(11, 7, 6, 0.72);
  color: var(--text-soft);
  font-size: 12.5px;
}

.legal section {
  border-radius: 20px;
  padding: 22px clamp(18px, 4vw, 28px);
  margin-bottom: 15px;
}

.legal h2 {
  margin: 0 0 11px;
  color: var(--amber);
  font-size: 17px;
  line-height: 1.3;
}

.legal p { margin: 0 0 12px; }
.legal p:last-child { margin-bottom: 0; }

.legal ul,
.legal ol {
  margin: 0 0 12px;
  padding-left: 22px;
}

.legal li { margin-bottom: 7px; }
.legal li:last-child { margin-bottom: 0; }
.legal li::marker { color: var(--amber); font-weight: 900; }

footer {
  margin-top: 38px;
  padding: 28px 20px 4px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.socials a {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: inset 0 1px 0 rgba(255, 228, 176, 0.07), 0 6px 14px rgba(0, 0, 0, 0.28);
}

.socials svg {
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
}

.docs {
  display: flex;
  justify-content: center;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 750;
}

.docs a { color: var(--text-muted); }

.copyright {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  opacity: 0.72;
}

@media (max-width: 620px) {
  body { background-attachment: scroll, scroll, scroll; }
  main { padding-top: 22px; }
  .card-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .mode-strip { gap: 6px; }
  .mode-strip span { padding: 6px 10px; font-size: 11.5px; }
}

@media (max-width: 380px) {
  body { font-size: 15px; }
  main { padding-inline: 14px; }
  .logo { width: 184px; }
  .logo.small { width: 112px; }
  .card, .legal section { padding: 18px 16px; border-radius: 16px; }
  .card h2 { font-size: 19px; }
  .legal h2 { font-size: 16px; }
  .docs { gap: 10px 16px; font-size: 13px; }
}

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

.language-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: -10px 0 24px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 750;
}

.language-links a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

.legal h3 {
  margin: 20px 0 9px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.35;
}

.legal table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 12px 0;
}

.legal th,
.legal td {
  min-width: 110px;
  padding: 8px 10px;
  border: 1px solid var(--border-strong);
  text-align: left;
  vertical-align: top;
}

.legal th {
  color: var(--gold);
  background: var(--surface-2);
}
