:root {
  --bg: #110f10;
  --surface: #1b1718;
  --surface-2: #241f20;
  --text: #fbf7f1;
  --muted: #c9bdb6;
  --primary: #c7333d;
  --primary-2: #f06d4f;
  --accent: #d9b46a;
  --border: rgba(251, 247, 241, 0.14);
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(17, 15, 16, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  font-size: 13px;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  color: var(--muted);
  font-size: 14px;
}

nav a,
.header-cta,
.btn,
.card a,
.split a,
.pill-list a,
aside a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

nav a,
.header-cta {
  text-decoration: none;
}

.header-cta,
.btn {
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 800;
}

.header-cta,
.btn.primary {
  background: var(--primary);
  color: white;
}

.btn.secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.hero {
  min-height: calc(100dvh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(54px, 9vw, 116px) clamp(18px, 4vw, 28px) 42px;
  background-image: linear-gradient(90deg, rgba(17, 15, 16, 0.94), rgba(17, 15, 16, 0.72), rgba(17, 15, 16, 0.32)), var(--hero-image, none);
  background-position: center;
  background-size: cover;
  border-radius: 8px;
}

.hero h1,
.page-hero h1,
.article h1 {
  margin: 0;
  max-width: 860px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p,
.page-hero p,
.article .lead {
  max-width: 710px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(199, 51, 61, 0.22), rgba(217, 180, 106, 0.08));
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel span {
  padding: 18px;
  background: rgba(251, 247, 241, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 800;
}

.problem-band {
  border-top: 1px solid var(--border);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto 34px;
  padding: 0 clamp(18px, 4vw, 28px);
}

.trust-strip span {
  padding: 18px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.split,
.band,
.city-band,
.content,
.blog-layout,
.article {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 92px) clamp(18px, 4vw, 28px);
}

.split,
.city-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.split h2,
.section-head h2,
.city-band h2,
.content h2,
.article h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.split p,
.city-band p,
.content p,
.article p,
.card p,
.post-card p,
details p {
  color: var(--muted);
}

.visual-card {
  min-height: 310px;
  display: grid;
  place-items: end start;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

.visual-card.dark {
  background: linear-gradient(135deg, #2b1519, #151315);
}

.visual-card.light {
  background: linear-gradient(135deg, #6a1f28, #d9b46a);
  color: #130d0d;
}

.visual-illustration {
  margin: 0;
  min-height: 310px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.visual-illustration img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card,
.post-card,
.note,
.takeaways,
.author-box,
details,
aside {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.card h3,
.post-card h2,
.note h2,
.author-box strong {
  margin-top: 0;
}

.card a,
.split a,
.post-card a {
  color: var(--accent);
  font-weight: 800;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.step-grid span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 26px;
  border-radius: 8px;
  background: var(--accent);
  color: #130d0d;
  font-weight: 900;
}

.step-grid h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.step-grid p {
  color: var(--muted);
}

.city-band {
  background: var(--surface-2);
  max-width: none;
  padding-left: max(clamp(18px, 4vw, 28px), calc((100vw - var(--max)) / 2 + 28px));
  padding-right: max(clamp(18px, 4vw, 28px), calc((100vw - var(--max)) / 2 + 28px));
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-list a {
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  background: rgba(251, 247, 241, 0.05);
}

.faq {
  display: grid;
  gap: 12px;
}

details summary {
  cursor: pointer;
  font-weight: 800;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 28px) 34px;
  border-bottom: 1px solid var(--border);
  background-image: linear-gradient(90deg, rgba(17, 15, 16, 0.95), rgba(17, 15, 16, 0.78), rgba(17, 15, 16, 0.42)), var(--page-hero-image, none);
  background-position: center;
  background-size: cover;
  border-radius: 8px;
}

.content {
  max-width: 850px;
}

.content ul,
.article ul {
  padding-left: 22px;
  color: var(--muted);
}

.content table,
.article table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  color: var(--muted);
  font-size: 15px;
}

.content th,
.content td,
.article th,
.article td {
  padding: 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.content th,
.article th {
  color: var(--text);
  background: var(--surface-2);
}

.note {
  margin: 30px 0;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}

.post-list {
  display: grid;
  gap: 16px;
}

aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
}

aside a {
  color: var(--muted);
}

.article {
  max-width: 850px;
}

.article h1 {
  font-size: clamp(38px, 6vw, 70px);
}

.takeaways,
.author-box {
  margin: 28px 0;
}

.legal {
  background: var(--surface);
}

.final-cta {
  max-width: var(--max);
  margin: 0 auto clamp(42px, 7vw, 86px);
  padding: clamp(38px, 6vw, 70px) clamp(22px, 5vw, 70px);
  background: linear-gradient(135deg, rgba(199, 51, 61, 0.28), rgba(217, 180, 106, 0.12));
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  max-width: 760px;
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
}

.final-cta p {
  max-width: 680px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
  gap: 28px;
  padding: 42px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--border);
  background: #080707;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split,
  .city-band,
  .blog-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .card-grid,
  .step-grid {
    grid-template-columns: 1fr 1fr;
  }

  aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 14px;
  }

  .header-cta {
    padding-inline: 14px;
  }

  .hero {
    min-height: auto;
  }

  .trust-strip,
  .card-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1,
  .article h1 {
    font-size: 40px;
  }

  .actions {
    flex-direction: column;
  }

  .actions .btn {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
