:root {
  color-scheme: dark;
  --background: #050505;
  --surface: rgba(30, 29, 28, 0.66);
  --surface-strong: rgba(20, 19, 18, 0.84);
  --line: rgba(255, 255, 255, 0.15);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f7f5f2;
  --muted: #b8b3ad;
  --accent: #d8a05a;
  --accent-soft: #f1c58f;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(4, 4, 4, 0.3), rgba(4, 4, 4, 0.88)),
    url("/assets/interior.jpg") center / cover no-repeat;
  transform: scale(1.03);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: radial-gradient(circle at 72% 28%, rgba(203, 137, 69, 0.13), transparent 38%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
}

.site-header__inner,
.site-footer__inner,
.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.page-shell {
  padding-block: 72px 88px;
}

.hero {
  min-height: calc(100vh - 77px);
  display: grid;
  align-content: center;
  padding-block: 72px;
}

.hero__panel,
.document,
.support-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025) 36%),
    var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 24px 80px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(34px) saturate(120%);
  -webkit-backdrop-filter: blur(34px) saturate(120%);
}

.hero__panel {
  max-width: 760px;
  padding: clamp(34px, 7vw, 78px);
  border-radius: 42px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 8vw, 86px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.document h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.04;
}

h2 {
  margin: 48px 0 16px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 560;
  letter-spacing: -0.025em;
}

h3 {
  margin: 30px 0 12px;
  font-size: 20px;
  font-weight: 600;
}

.hero__copy {
  max-width: 610px;
  margin-bottom: 34px;
  color: #d6d1ca;
  font-size: clamp(18px, 2.3vw, 23px);
}

.hero__actions,
.document-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.glass-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.085);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.glass-link:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.glass-link--accent {
  color: #17110b;
  border-color: rgba(255, 220, 180, 0.52);
  background: linear-gradient(135deg, #f0c48d, #c98943);
}

.document,
.support-card {
  padding: clamp(28px, 6vw, 68px);
  border-radius: 34px;
}

.document {
  max-width: 920px;
}

.document__meta {
  margin-bottom: 34px;
  color: var(--muted);
}

.document p,
.document li,
.support-card p {
  color: #d8d4cf;
  font-size: 17px;
}

.document ul,
.document ol {
  padding-left: 22px;
}

.document li + li {
  margin-top: 9px;
}

.document a,
.support-card a {
  color: var(--accent-soft);
  text-decoration: underline;
  text-decoration-color: rgba(241, 197, 143, 0.45);
  text-underline-offset: 3px;
}

.language-divider {
  margin-block: 64px 42px;
  border: 0;
  border-top: 1px solid var(--line);
}

.notice {
  margin: 30px 0;
  padding: 20px 22px;
  border: 1px solid rgba(216, 160, 90, 0.3);
  border-radius: 18px;
  background: rgba(216, 160, 90, 0.08);
}

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

.support-card h2 {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(5, 5, 5, 0.86);
}

.site-footer__inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 720px) {
  .site-header__inner {
    min-height: 68px;
  }

  .site-nav a:not(:last-child) {
    display: none;
  }

  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
    padding-block: 32px 56px;
  }

  .hero {
    min-height: calc(100vh - 69px);
  }

  .hero__panel,
  .document,
  .support-card {
    border-radius: 27px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
