@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0B0F1A;
  --surface: #141927;
  --ink: #F3F5FB;
  --muted: #8A92A8;
  --accent: #5B8CFF;
  --border: #242A3E;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.mast {
  padding: 18px clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: baseline;
  border-bottom: 2px double var(--ink);
}
.mast__brand { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.01em; }
.mast__brand:hover { color: var(--ink); text-decoration: none; }
.mast__title { font-family: var(--sans); font-size: 0.76rem; text-align: center; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.mast nav { justify-self: end; font-family: var(--sans); font-size: 0.86rem; color: var(--muted); }
.mast nav a { color: var(--muted); }
.mast nav a:hover { color: var(--ink); text-decoration: none; }

.doc {
  flex: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 40px);
  width: 100%;
}

.doc__head { text-align: center; margin-bottom: 48px; animation: rise .8s ease .1s backwards; }
.doc__kicker { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); font-weight: 600; display: inline-block; margin-bottom: 18px; }
.doc__head h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-style: italic;
  color: var(--ink);
}
.doc__lead { max-width: 56ch; margin: 0 auto; color: var(--muted); font-size: 1.08rem; font-family: var(--sans); }

.cols {
  columns: 2;
  column-gap: 48px;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.cols section { break-inside: avoid; margin-bottom: 28px; }
.cols h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  font-style: italic;
}
.cols p { margin: 0; color: var(--ink); }
.cols p strong { color: var(--ink); font-weight: 600; }
.cols em { font-style: italic; color: var(--muted); }

.bot {
  padding: 18px clamp(20px, 4vw, 40px);
  display: flex; justify-content: space-between;
  font-family: var(--sans); font-size: 0.78rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.16em;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .cols { columns: 1; }
  .mast { grid-template-columns: 1fr; text-align: center; }
  .mast nav { justify-self: center; }
}

::selection { background: color-mix(in srgb, var(--accent) 40%, transparent); color: var(--ink); }
