@import url('./type.css');

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

:root {
  --bg: #000;
  --primary: #EBA719;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.05);
  --surface-active: rgba(255, 255, 255, 0.92);
  --border: rgba(255, 255, 255, 0.06);
  --fg: rgba(255, 255, 255, 0.82);
  --fg-dim: rgba(255, 255, 255, 0.26);
  --fg-muted: rgba(255, 255, 255, 0.14);
  --fg-active: #e6e6e6;
  --font: var(--font-ui);
  --font-headline: var(--font-ui);
  --weight: 400;
  --weight-medium: 500;
  --radius: 4px;
  --radius-sm: 3px;
  --site-type-size: 11px;
  --site-type-line: 15px;
}

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--site-type-size);
  font-weight: var(--weight);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.005em;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  line-height: var(--site-type-line);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headline);
  font-weight: 440;
  letter-spacing: -0.005em;
}

h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.18;
}

h3,
h4,
h5,
h6 {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.22;
}

p, li {
  color: var(--fg-dim);
  font-weight: 340;
  font-size: var(--site-type-size);
  line-height: var(--site-type-line);
}

a {
  color: inherit;
  text-decoration: none;
}

.section {
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.page-wrapper {
  min-height: calc(100vh - 100px);
  padding-top: 5rem;
}

.hero {
  display: grid;
  row-gap: 0.85rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-items: center;
}

.hero h1 {
  max-width: 26ch;
}

.hero p {
  max-width: 52ch;
}

.home-page .page-wrapper {
  min-height: calc(100vh - 92px);
  padding-top: 0;
  display: grid;
  align-items: center;
}

.home-page .section {
  width: 100%;
  display: grid;
  place-items: center;
  padding-top: clamp(2rem, 7vh, 4.4rem);
  padding-bottom: clamp(2rem, 7vh, 4.4rem);
}

.home-page .hero {
  row-gap: 1.15rem;
  max-width: min(80ch, 100%);
}

.home-page .hero h1 {
  max-width: 22ch;
  font-size: clamp(2.2rem, 5.1vw, 3.35rem);
  text-wrap: balance;
}

.home-page .hero p {
  max-width: 58ch;
  font-size: clamp(1.02rem, 1.8vw, 1.34rem);
  line-height: 1.5;
  font-weight: 370;
  color: rgba(255, 255, 255, 0.57);
  text-wrap: pretty;
}

.home-page .hero .button-link {
  margin-top: 0.35rem;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg-dim);
  font-size: var(--site-type-size);
  font-weight: var(--weight-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 20px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.button-link:hover,
.button-link:focus-visible {
  color: var(--fg);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  outline: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0;
  padding-bottom: 0;
}

.brand {
  font-size: var(--site-type-size);
  font-weight: 540;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.3s ease;
}

.brand:hover,
.brand:focus-visible {
  color: var(--primary);
  outline: none;
}

.page-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.page-nav a {
  font-size: var(--site-type-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.3s ease;
}

.page-nav a:hover,
.page-nav a:focus-visible {
  color: var(--primary);
  outline: none;
}

.page-nav a.is-active {
  color: var(--fg-active);
  border-color: transparent;
}

.is--legal {
  display: block;
}

content-wrapper {
  display: block;
}

content-wrapper + content-wrapper {
  margin-top: 1.25rem;
}

content-wrapper p + p,
content-wrapper ul + p,
content-wrapper p + ul {
  margin-top: 0.75rem;
}

.general-list {
  padding-left: 1.2rem;
}

.page-footer {
  border-top: 1px solid var(--border);
  background: transparent;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.page-footer-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  padding: 12px 0;
}

.page-footer-row p {
  font-size: var(--site-type-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.page-footer-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.page-footer-links a {
  font-size: var(--site-type-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.3s ease;
}

.page-footer-links a:hover,
.page-footer-links a:focus-visible {
  color: var(--primary);
  outline: none;
}

.page-footer-links a.is-active {
  color: var(--fg-active);
  border-color: transparent;
}

@media (max-width: 640px) {
  .page-wrapper { padding-top: 3.8rem; }
  .page-footer-row { align-items: flex-start; }
}
