/* AEGIS distribution site — product dark scheme. No third-party requests. */

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

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

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

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

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato/Lato-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --void: #050816;
  --surface: #0a1024;
  --cards: #111a33;
  --gold: #d2b77b;
  --cyber: #4da6ff;
  --ink: #e8ecf5;
  --muted: #8a94ad;
  --hair: rgba(210, 183, 123, 0.28);
  --font-display: "Bentham", Georgia, serif;
  --font-eyebrow: "Raleway", system-ui, sans-serif;
  --font-body: "Lato", system-ui, sans-serif;
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 60% at 70% -10%, rgba(77, 166, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 100%, rgba(210, 183, 123, 0.06), transparent 50%),
    linear-gradient(180deg, var(--void) 0%, var(--surface) 48%, var(--void) 100%);
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

.wrap {
  width: min(960px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 0.5rem;
}

.brand-lock {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand-lock img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  min-height: calc(100vh - 5.5rem);
  display: grid;
  align-content: center;
  gap: 1.25rem;
  padding: 3rem 0 4rem;
}

.hero-mark {
  width: min(160px, 42vw);
  height: auto;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 12px 40px rgba(210, 183, 123, 0.15));
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  line-height: 1.05;
}

.hero-line {
  max-width: 28rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--void);
}

.btn:hover {
  background: transparent;
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
}

.btn-ghost:hover {
  background: rgba(210, 183, 123, 0.08);
  color: var(--ink);
}

.meta {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.meta strong {
  color: var(--ink);
  font-weight: 400;
}

.section {
  padding: 3.5rem 0 4.5rem;
  border-top: 1px solid var(--hair);
}

.eyebrow {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: 0.06em;
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--ink);
}

.prose {
  max-width: 38rem;
  color: var(--muted);
}

.prose p {
  margin: 0 0 1rem;
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--hair);
  padding: 2rem 0 2.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0 0 0.4rem;
}

.gold-rule {
  width: 5rem;
  height: 1px;
  background: var(--gold);
  margin: 0.25rem 0 0.5rem;
  position: relative;
}

.gold-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold);
}

/* Releases */
.release {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(138, 148, 173, 0.18);
}

.release:last-child {
  border-bottom: none;
}

.release-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  margin-bottom: 0.65rem;
}

.release-ver {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.release-date {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.release .meta {
  margin-bottom: 0.75rem;
}

.release ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.release li {
  margin-bottom: 0.35rem;
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }
}
