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

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

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

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

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

:root {
  color-scheme: dark;
  --ta-black: #000000;
  --ta-charcoal: #111111;
  --ta-gold: #e5b800;
  --ta-white: #ffffff;
  --ta-soft-white: #efefef;
  --ta-secondary: #7a7a7a;
  --ta-border: rgba(255, 255, 255, 0.08);
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

html {
  min-width: 768px;
  min-height: 100%;
  background: var(--ta-black);
}

body {
  min-width: 768px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--ta-black);
  color: var(--ta-white);
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
}

body::before {
  background: var(--ta-black) url("/assets/carbon-fiber.webp") center / cover no-repeat;
  opacity: 0.34;
}

body::after {
  background:
    radial-gradient(ellipse at center, transparent 18%, rgba(0, 0, 0, 0.12) 52%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.05) 42%, rgba(0, 0, 0, 0.55) 100%);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 1px solid var(--ta-gold);
  outline-offset: 5px;
}

.site-page {
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
}

.home-main {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  text-align: center;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-mark {
  display: block;
  width: 96px;
  height: auto;
}

.brand-name,
.utility-title {
  margin: 0;
  font-family: "Rajdhani", "Barlow", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.brand-name {
  margin-top: 28px;
  padding-left: 0.35em;
  color: var(--ta-white);
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0.35em;
  white-space: nowrap;
}

.brand-divider {
  width: 80px;
  height: 1px;
  margin-top: 20px;
  background: linear-gradient(90deg, transparent, rgba(229, 184, 0, 0.5), transparent);
}

.brand-tagline {
  margin: 20px 0 0;
  padding-left: 0.15em;
  color: rgba(229, 184, 0, 0.85);
  font-family: "Rajdhani", "Barlow", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  padding: 12px 24px calc(16px + env(safe-area-inset-bottom));
}

.site-nav,
.utility-footer,
.back-link {
  font-family: "Barlow", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.site-nav a,
.utility-footer a,
.back-link {
  text-decoration: none;
  transition: color 150ms ease;
}

.site-nav a:hover,
.utility-footer a:hover,
.back-link:hover,
.accent-link:hover {
  color: var(--ta-gold);
}

.nav-dot {
  color: rgba(255, 255, 255, 0.15);
}

.utility-layout {
  display: flex;
  width: 100%;
  max-width: 672px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  flex-direction: column;
  padding: calc(24px + env(safe-area-inset-top)) 40px 64px;
}

.utility-header {
  display: flex;
  align-items: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.back-link svg {
  width: 14px;
  height: 14px;
}

.support-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
}

.support-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  color: var(--ta-gold);
}

.support-label svg {
  width: 18px;
  height: 18px;
}

.support-label span {
  font-family: "Rajdhani", "Barlow", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
}

.support-title {
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0.12em;
}

.support-copy {
  max-width: 448px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  line-height: 1.75;
}

.support-copy + .support-copy {
  margin-top: 16px;
}

.accent-link {
  width: fit-content;
  border-bottom: 1px solid rgba(229, 184, 0, 0.45);
  color: var(--ta-gold);
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease;
}

.support-email {
  display: inline-flex;
  margin-top: 32px;
  padding-bottom: 4px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.accent-link:hover {
  border-color: var(--ta-gold);
}

.utility-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--ta-border);
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.35);
}

.utility-footer nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-content {
  padding: 64px 0;
}

.legal-title {
  margin: 0 0 12px;
  font-family: "Rajdhani", "Barlow", sans-serif;
  color: var(--ta-white);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-updated {
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 13px;
}

.legal-sections {
  display: grid;
  gap: 32px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  line-height: 1.75;
}

.legal-section h2 {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p {
  margin-top: 14px;
}

.legal-section ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.legal-section li + li {
  margin-top: 4px;
}

.legal-section strong {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.legal-section .accent-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Preserve the canonical 768px desktop composition on narrow desktop windows.
   Mobile browsers use the fixed-width viewport metadata to apply the same
   proportional whole-page scaling automatically. */
@media (max-width: 767px) {
  html {
    min-width: 0;
    width: 100%;
    overflow-x: hidden;
  }

  body {
    min-width: 0;
    width: 768px;
    zoom: calc(100vw / 768px);
  }

  body::before,
  body::after {
    right: auto;
    bottom: auto;
    width: 768px;
    height: calc(100dvh * 768px / 100vw);
  }

  .site-page,
  .home-main,
  .utility-layout {
    min-height: calc(100dvh * 768px / 100vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
