:root {
  color-scheme: dark;
  --navy: #07111f;
  --ink: #f7f0df;
  --muted: #c3ced9;
  --gold: #e0c36d;
  --line: rgba(224, 195, 109, 0.28);
  --card: #0c1b2c;
}

* { box-sizing: border-box; }

html { background: #02070d; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 0, rgba(31, 72, 104, 0.48), transparent 34rem),
    linear-gradient(180deg, #07111f, #02070d 70%);
  color: var(--ink);
  font: 17px/1.65 Arial, Helvetica, sans-serif;
}

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: white;
  color: black;
}

.site-header,
main,
.site-footer {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
}

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

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem;
}

.site-header nav a {
  padding: 0.55rem 0.75rem;
  color: var(--muted);
  text-decoration: none;
}

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

main { padding: clamp(3.5rem, 8vw, 7rem) 0; }

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  max-width: 900px;
  margin: 0.6rem 0 1.25rem;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
}

.summary {
  max-width: 820px;
  color: #d8e0e8;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 3.2rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: #f5df9b;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(180deg, #e7c968, #aa7e23);
  color: #07111f;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.content-grid section {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(16, 37, 60, 0.96), rgba(7, 17, 31, 0.96));
}

.content-grid h2 { margin: 0 0 0.8rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.content-grid p { color: var(--muted); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }

@media (max-width: 720px) {
  .site-header { align-items: flex-start; }
  .site-header nav { max-width: 13rem; }
  .content-grid { grid-template-columns: 1fr; }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
}
