:root {
  --brand-navy: #153b61;
  --brand-blue: #1f5b8f;
  --brand-light: #eaf3fb;
  --brand-gold: #f0c75e;
  --text-main: #1b2530;
  --text-soft: #4f5f70;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text-main);
  background: linear-gradient(180deg, var(--brand-light) 0%, #f9fbfe 100%);
  line-height: 1.6;
}

.site-header {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  color: #fff;
  padding: 1.25rem 1rem;
  border-bottom: 4px solid var(--brand-gold);
}

.header-inner,
.container {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
}

.brand {
  margin: 0;
  font-size: 1.7rem;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.legacy-logo {
  max-width: 260px;
  height: auto;
  border-radius: 4px;
}

.tagline {
  margin: 0.2rem 0 0;
  color: #d7e9fb;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: #fff;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.nav-list a.active,
.nav-list a:hover {
  background: rgba(255, 255, 255, 0.17);
}

main.container {
  background: var(--surface);
  margin-top: 1rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(18, 49, 79, 0.08);
  padding: 1.5rem;
}

h1,
h2 {
  color: var(--brand-navy);
}

.lead {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  border: 1px solid #d7e4f0;
  border-left: 4px solid var(--brand-blue);
  border-radius: 10px;
  padding: 1rem;
  background: #fcfeff;
}

.site-shot {
  width: min(100%, 420px);
  height: auto;
  border: 1px solid #cfdceb;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(10, 36, 62, 0.12);
  margin: 0.5rem 0 1rem;
}

.site-footer {
  background: #0d2b47;
  color: #d0dceb;
  padding: 1rem;
}

.site-footer p {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
}
