* {
  box-sizing: border-box;
}

:root {
  --ink: #20242a;
  --muted: #5d6673;
  --line: #d8dee8;
  --soft: #f5f7fa;
  --paper: #ffffff;
  --brand: #9a315a;
  --brand-dark: #702141;
  --accent: #0f766e;
  --gold: #b7791f;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #ffffff;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-size: 20px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.button,
.nav-links .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  text-decoration: none;
  line-height: 1.2;
}

.button:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

.button.secondary {
  color: var(--brand);
  background: #fff;
}

.hero {
  background:
    linear-gradient(rgba(32, 36, 42, 0.52), rgba(32, 36, 42, 0.45)),
    url("bg-banner.jpg") center / cover no-repeat;
  color: #fff;
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: #ffd68a;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  font-size: 46px;
  max-width: 780px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 21px;
}

p {
  margin: 0 0 18px;
}

.hero p {
  max-width: 700px;
  color: #f6f6f6;
  font-size: 18px;
}

.hero-actions,
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.article {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.article h2 {
  margin-top: 38px;
}

.article h3 {
  margin-top: 28px;
}

.article-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.takeaways {
  border-left: 4px solid var(--accent);
  background: var(--soft);
  padding: 20px 22px;
  margin: 24px 0;
}

.takeaways h2,
.takeaways h3 {
  margin-top: 0;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.tag {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.section.compact {
  padding: 36px 0;
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--muted);
  font-weight: 700;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper);
}

.soft {
  background: var(--soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.feature-list,
.check-list,
.faq-list {
  padding-left: 20px;
  margin: 0 0 18px;
}

.feature-list li,
.check-list li,
.faq-list li {
  margin-bottom: 10px;
}

.profile-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.profile-strip img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 2px 12px rgba(32, 36, 42, 0.18);
}

.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 620px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
}

tr:last-child td {
  border-bottom: 0;
}

.cta-band {
  background: var(--ink);
  color: #fff;
}

.cta-band .section {
  padding: 44px 0;
}

.cta-band p {
  color: #eef1f5;
  max-width: 760px;
}

.sources {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  background: #111418;
  color: #d9dee7;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 24px;
}

.site-footer a {
  color: #f0c7d7;
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
}

.site-footer p {
  color: #c5cad3;
  margin-bottom: 10px;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    gap: 12px;
  }

  .hero-inner {
    padding: 56px 0;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 25px;
  }

  .intro-grid,
  .card-grid,
  .city-grid,
  .related-links,
  .blog-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .profile-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}
