:root {
  --bg: #0b0f1a;
  --bg-soft: #121a2a;
  --card: #17243a;
  --line: #2b3b58;
  --text: #dee6f2;
  --text-soft: #aebbd1;
  --accent: #c8a96e;
  --accent-strong: #ddb877;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top right, #172338 0%, #0b0f1a 40%);
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--accent);
}

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #0d1525;
  border: 1px solid #3d4f73;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--accent);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
}

.brand-wordmark strong {
  display: block;
  letter-spacing: 0.2em;
}

.brand-wordmark small {
  color: var(--text-soft);
  font-size: 0.72rem;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--text-soft);
}

nav a:hover {
  color: var(--text);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px 72px;
}

section {
  margin-top: 56px;
}

.hero h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0 0 0.7rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.1;
}

.hero p {
  max-width: 760px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-size: 0.75rem;
}

.cta-row {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid #415476;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  background: #101a2c;
  cursor: pointer;
}

.btn:hover {
  border-color: #5a7098;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-strong), #ba985b);
  color: #1f1c14;
  border-color: #cbab70;
  font-weight: 700;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cards-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--card) 90%, transparent);
  padding: 18px;
}

.card h3 {
  margin-top: 0;
}

.section-intro {
  color: var(--text-soft);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-row span {
  border: 1px solid #3f5072;
  background: var(--bg-soft);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
}

.card ul {
  margin: 0;
  padding-left: 1rem;
}

.access {
  border: 1px solid #516381;
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(160deg, #1a2b44, #121f34);
}

label {
  display: block;
  margin-top: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--text-soft);
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #4a5d80;
  padding: 0.72rem;
  background: #0f1829;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

form .btn {
  margin-top: 1rem;
}

.access-note {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 24px;
  color: #96a3ba;
  border-top: 1px solid #2b3b58;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
}

@media (max-width: 860px) {
  .cards-grid,
  .cards-grid.two-col {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  nav a:first-child {
    margin-left: 0;
  }

  footer {
    flex-direction: column;
  }
}
