:root {
  color-scheme: dark;
  --page: #111;
  --panel: #202335;
  --panel-raised: #262839;
  --ink: #fff;
  --muted: #c7c8d0;
  --gold: #e2cb82;
  --gold-border: #c8ad60;
  --gold-deep: #63552c;
  --line: rgb(255 255 255 / 10%);
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  background: var(--page);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; }
body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, #252741 0%, #171824 33%, #111 70%);
}
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--gold-border); outline-offset: 4px; }

.site-header {
  width: min(100%, 1440px);
  min-height: 80px;
  margin-inline: auto;
  padding-inline: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 100px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.language-link { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .06em; transition: color .16s ease; }
.language-link:hover, .footer-support:hover { color: var(--gold); }
.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--gold-border);
  border-radius: .45rem;
  background: var(--gold-deep);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 700;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.button:hover { border-color: var(--gold); background: #766335; }
.button:active { transform: translateY(1px); }
.button-small { min-height: 38px; padding-inline: 14px; gap: 12px; font-size: .76rem; background: var(--panel); border-color: rgb(255 255 255 / 18%); }
.button-small:hover { background: var(--panel-raised); border-color: rgb(255 255 255 / 34%); }
.button span { font-size: 1rem; font-weight: 400; }

main { flex: 1; display: flex; }
.hero {
  width: min(100% - 48px, 900px);
  min-height: calc(100svh - 160px);
  margin: auto;
  padding-block: 76px;
  display: grid;
  place-items: center;
  text-align: center;
}
.hero-copy { width: 100%; }
.eyebrow { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.eyebrow span { padding-inline: 5px; color: var(--gold); }
h1, p { margin-top: 0; }
h1 {
  margin: 24px 0 20px;
  font-family: Montserrat, 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.05;
}
.period { color: var(--gold); }
.hero-lede { max-width: 520px; margin: 0 auto; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.hero-actions { margin-top: 30px; display: flex; justify-content: center; }

.site-footer {
  width: min(100%, 1440px);
  min-height: 80px;
  margin-inline: auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .74rem;
}
.site-footer .brand img { width: 84px; }
.site-footer small { font-size: .7rem; }
.footer-support { transition: color .16s ease; }

@media (max-width: 680px) {
  .site-header { min-height: 68px; padding-inline: 20px; }
  .brand img { width: 88px; }
  .header-actions { gap: 14px; }
  .button-small { min-height: 36px; padding-inline: 12px; gap: 10px; }
  .hero { width: calc(100% - 40px); min-height: calc(100svh - 142px); padding-block: 56px; }
  .eyebrow { font-size: .64rem; }
  h1 { margin-block: 20px 16px; font-size: clamp(3rem, 12vw, 5rem); }
  .hero-lede { max-width: 440px; font-size: .92rem; }
  .hero-actions { margin-top: 24px; }
  .site-footer { min-height: 74px; padding: 15px 20px; gap: 12px; }
  .site-footer .brand img { width: 76px; }
  .site-footer small { font-size: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
