:root {
  --bg: #08211f;
  --bg-2: #0c2e2b;
  --panel: #0f3733;
  --line: rgba(240, 196, 92, 0.28);
  --gold: #f0c45c;
  --gold-soft: #f7dc94;
  --text: #ecf2ef;
  --muted: #a9bfba;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(ellipse at top, #0f3a36 0%, var(--bg) 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--gold-soft); }
a:hover { color: #fff; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 33, 31, 0.85);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--gold);
  font-family: "Cinzel", Georgia, serif; font-weight: 700; letter-spacing: 0.04em;
  font-size: 18px;
}
.brand img { width: 40px; height: 40px; }
nav a {
  color: var(--muted); text-decoration: none; margin-left: 18px;
  font-size: 15px; font-weight: 600;
}
nav a:hover, nav a[aria-current="page"] { color: var(--gold); }

/* Hero */
.hero { padding: 40px 0 24px; text-align: center; }
.hero img.banner {
  width: 100%; height: auto; border-radius: 14px; display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.hero p.lead {
  max-width: 640px; margin: 28px auto 0; color: var(--muted); font-size: 19px;
}

/* Sections */
section { padding: 40px 0; }
h1, h2, h3 { font-family: "Cinzel", Georgia, serif; color: var(--gold); line-height: 1.25; }
h2 { font-size: 26px; margin: 0 0 20px; letter-spacing: 0.03em; }
h3 { font-size: 20px; margin: 0 0 8px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.card p { margin: 0 0 14px; color: var(--muted); }
.card p.byline { margin-top: -4px; color: var(--gold-soft); font-size: 15px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--bg); background: var(--gold);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 12px;
}
.button {
  display: inline-block; background: var(--gold); color: var(--bg);
  text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: 8px;
}
.button:hover { background: var(--gold-soft); color: var(--bg); }

/* Feature cards (image + text) */
.card.feature {
  display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start;
}
.card.feature h3 { font-size: 24px; }
img.cover {
  width: 100%; height: auto; display: block; border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
img.cover.phone { border-radius: 18px; }
.eras {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px;
}
.eras img {
  width: 100%; aspect-ratio: 600 / 183; object-fit: cover; object-position: top;
  border-radius: 8px; display: block; border: 1px solid var(--line);
}
@media (max-width: 700px) {
  .card.feature { grid-template-columns: 1fr; }
  img.cover { max-width: 260px; margin: 0 auto; }
}

/* Legal page */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 16px 60px; }
.legal h1 { font-size: 32px; margin: 0 0 6px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal .date { color: var(--muted); margin: 0 0 24px; }
.legal li { margin-bottom: 6px; }

/* Footer */
footer.site {
  border-top: 1px solid var(--line); padding: 28px 0 40px;
  color: var(--muted); font-size: 14px; text-align: center;
}
footer.site a { margin: 0 8px; }

@media (max-width: 560px) {
  .brand span { display: none; }
  nav a { margin-left: 14px; }
  .hero { padding-top: 20px; }
  h2 { font-size: 22px; }
}
