:root {
  --bg: #F0F0F0;
  --char: #3E4146;
  --muted: #8A8A8A;
  --text-gold: #8A6414;
  --graphic-gold: #E8B84A;
  --navy: #0B1220;
  --card: #FFFFFF;
}

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

html {
  background: var(--bg);
  color: var(--char);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--char);
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, rgba(62, 65, 70, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(62, 65, 70, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  background-attachment: fixed;
}

.top-rule {
  height: 6px;
  background: var(--graphic-gold);
  width: 100%;
}

.wrap {
  min-height: calc(100vh - 6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.5rem 3rem;
}

main {
  width: 100%;
  max-width: 36rem;
  text-align: center;
}

.logo {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  margin: 0 auto 2.25rem;
}

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

.tagline {
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--char);
  margin: 0 auto 0.75rem;
  max-width: 28rem;
}

.tagline .line2 {
  display: block;
  margin-top: 0.15rem;
}

.accent {
  display: block;
  width: 3.25rem;
  height: 3px;
  background: var(--graphic-gold);
  margin: 1.5rem auto 2.25rem;
}

nav.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.35rem;
  margin: 0 0 2.75rem;
}

nav.links a {
  color: var(--char);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.08rem;
}

nav.links a:hover,
nav.links a:focus-visible {
  color: var(--text-gold);
  border-bottom-color: var(--graphic-gold);
  outline: none;
}

.disclaimer {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--char);
  max-width: 30rem;
  margin: 0 auto;
}

footer {
  margin-top: 2.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text-gold);
}

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

footer a:hover,
footer a:focus-visible {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 480px) {
  .wrap { padding: 3.25rem 1.25rem 2.5rem; }
  .logo { width: min(100%, 18.5rem); margin-bottom: 1.85rem; }
  nav.links { gap: 0.55rem 1.1rem; }
}

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