:root {
  color-scheme: dark;
  --bg: #050b18;
  --bg-soft: #0b1e3d;
  --fg: #f7f4ea;
  --muted: #aab6c9;
  --gold: #e8bf5a;
  --gold-bright: #f6d585;
  --border: rgba(232, 191, 90, 0.2);
  --border-soft: rgba(255, 255, 255, 0.08);
  --panel: rgba(255, 255, 255, 0.03);
  --header-h: 64px;
  --max: 760px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 60rem 40rem at 50% -10%, rgba(70, 110, 175, 0.28), transparent 60%),
    radial-gradient(ellipse 50rem 30rem at 85% 15%, rgba(232, 191, 90, 0.08), transparent 60%),
    var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 24px;
  backdrop-filter: blur(14px);
  background: rgba(5, 11, 24, 0.72);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .inner {
  width: min(100%, 960px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--fg);
  text-decoration: none;
}

.wordmark svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.site-header nav {
  display: flex;
  gap: 22px;
}

.site-header nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--gold-bright);
}

/* Layout */

main {
  flex: 1;
  position: relative;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.home {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-content: center;
  padding: 56px 0 80px;
}

.page {
  padding: 56px 0 72px;
}

.compact {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-content: center;
  padding: 56px 0;
}

/* Hero */

.hero {
  text-align: center;
}

.hero .mark {
  width: 68px;
  height: 68px;
  margin: 0 auto 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: radial-gradient(circle, rgba(232, 191, 90, 0.14), transparent 70%);
}

.hero .mark svg {
  width: 34px;
  height: 34px;
}

h1 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.page h1 {
  font-size: clamp(2.1rem, 7vw, 3.2rem);
  margin-bottom: 8px;
}

h2 {
  margin: 40px 0 10px;
  color: var(--fg);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.28rem;
  line-height: 1.25;
}

p {
  max-width: 62ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero p {
  margin-inline: auto;
}

.lead {
  color: var(--fg);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  line-height: 1.35;
  margin-bottom: 24px;
}

.date {
  display: inline-block;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.summary {
  margin: 0 0 36px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
}

.summary p {
  margin: 0;
  max-width: none;
  color: var(--fg);
  font-weight: 500;
}

a {
  color: var(--gold-bright);
  font-weight: 600;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--gold);
}

/* Call to action */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1305;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(232, 191, 90, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover,
.cta:focus-visible {
  color: #1a1305;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(232, 191, 90, 0.3);
}

.principles {
  display: grid;
  gap: 14px;
  margin: 8px 0 8px;
  text-align: left;
}

.principles li {
  color: var(--muted);
  font-size: 0.98rem;
}

nav.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-top: 36px;
}

nav.links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

nav.links a:hover,
nav.links a:focus-visible {
  color: var(--gold-bright);
}

/* Footer */

.site-footer {
  padding: 28px 24px 40px;
  text-align: center;
  border-top: 1px solid var(--border-soft);
}

.site-footer p {
  margin: 0;
  max-width: none;
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.75;
}

@media (max-width: 560px) {
  main {
    width: min(100% - 32px, var(--max));
  }

  .home {
    padding: 40px 0 64px;
  }

  .page,
  .compact {
    padding: 40px 0;
  }
}
