:root {
  --bg: #0c1118;
  --bg-elevated: #141b24;
  --ink: #eef2f6;
  --muted: #9aa7b5;
  --line: rgba(238, 242, 246, 0.12);
  --accent: #d4a35c;
  --accent-soft: rgba(212, 163, 92, 0.16);
  --ok: #7eb8a0;
  --max: 68rem;
  --font-display: "Syne", sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-ui: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(212, 163, 92, 0.18), transparent 55%),
    radial-gradient(700px 480px at 92% 8%, rgba(126, 184, 160, 0.12), transparent 50%),
    linear-gradient(180deg, #101722 0%, var(--bg) 42%, #0a0e14 100%);
}

img {
  max-width: 100%;
  display: block;
}

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

a:hover {
  color: #e4bc7a;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(12, 17, 24, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  padding: 5.5rem 0 3.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 10vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
}

.hero-brand em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  max-width: 34rem;
  margin: 0 0 2rem;
  font-size: 1.2rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--font-ui);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #1a1208;
}

.btn-primary:hover {
  background: #e4bc7a;
  color: #1a1208;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(238, 242, 246, 0.28);
  color: var(--ink);
}

.section {
  padding: 2.5rem 0 4.5rem;
}

.section h2,
.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.page-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-top: 3.5rem;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.section p,
.prose p {
  color: var(--muted);
  max-width: 42rem;
}

.prose {
  padding-bottom: 4rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2.25rem 0 0.75rem;
  color: var(--ink);
}

.prose h3 {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--ink);
}

.prose ul {
  color: var(--muted);
  padding-left: 1.2rem;
  max-width: 42rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.meta {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 760px) {
  .split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.panel {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent 55%),
    var(--bg-elevated);
  border-radius: 1rem;
  padding: 1.35rem 1.4rem;
}

.panel h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.panel + .panel {
  margin-top: 1rem;
}

.contact-block {
  font-family: var(--font-ui);
  margin-top: 1.5rem;
}

.contact-block a {
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.kicker {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ok);
  margin: 0 0 0.75rem;
}

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

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

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

  .btn {
    transition: none;
  }
}
