:root {
  --navy: #0a1628;
  --navy-soft: #12243f;
  --red: #c41e1e;
  --red-dark: #9e1717;
  --white: #ffffff;
  --sand: #f4f4f2;
  --line: #d9ddd9;
  --text: #1f2733;
  --muted: #58606b;
  --max: 1160px;
  --shadow: 0 18px 48px rgba(10, 22, 40, 0.1);
  --radius: 14px;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.topbar-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.topbar-contact a:hover,
.topbar-note a:hover {
  color: #fff;
}

.topbar-note {
  color: rgba(255, 255, 255, 0.62);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 22, 40, 0.97);
  border-bottom: 3px solid var(--red);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 66px;
  width: auto;
  max-width: 360px;
  flex-shrink: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--red), #d34c30);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  flex-shrink: 0;
}

.brand-text strong,
.brand-text span {
  display: block;
}

.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.65rem;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
}

.brand-text span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(196, 30, 30, 0.34), transparent 34%),
    linear-gradient(135deg, #091426 0%, #102647 52%, #142f56 100%);
  color: var(--white);
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 86px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 44px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-title,
.card-title,
.step-title,
.cta-band h2,
.footer-title {
  font-family: var(--font-head);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(3.2rem, 8vw, 5.4rem);
  line-height: 0.92;
}

.hero p {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  margin: 0 0 28px;
}

.hero-actions,
.page-actions,
.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-visual {
  min-height: 460px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.04), rgba(10, 22, 40, 0.4));
}

.hero-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 1;
  background: rgba(10, 22, 40, 0.82);
  color: #fff;
  padding: 16px 18px;
  border-radius: 14px;
  max-width: 280px;
}

.hero-badge strong,
.overlay-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-badge span,
.overlay-card span {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.hero-panel h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1;
}

.hero-panel p {
  margin: 0 0 20px;
  font-size: 1rem;
}

.hero-list,
.simple-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-list li,
.simple-list li {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.section {
  padding: 74px 0;
}

.section.alt {
  background: var(--sand);
}

.section.dark {
  background: var(--navy);
  color: var(--white);
}

.section-intro {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-kicker {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section.dark .section-copy,
.section.dark p,
.section.dark li {
  color: rgba(255, 255, 255, 0.82);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.media-card {
  overflow: hidden;
  padding: 0;
}

.media-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.media-card-body {
  padding: 24px 24px 26px;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.feature-media,
.wide-photo {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.feature-media img,
.wide-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.feature-media {
  min-height: 420px;
}

.overlay-card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  background: rgba(10, 22, 40, 0.84);
  color: #fff;
  padding: 18px;
  border-radius: 14px;
  width: min(280px, calc(100% - 40px));
}

.wide-photo {
  min-height: 320px;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photo-tile {
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  box-shadow: var(--shadow);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dark-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.card-title {
  margin: 0 0 10px;
  font-size: 1.6rem;
  line-height: 1;
}

.card p,
.card li {
  color: var(--muted);
}

.dark-card p,
.dark-card li,
.dark-card .small-note {
  color: rgba(255, 255, 255, 0.8);
}

.feature-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(196, 30, 30, 0.12);
  color: var(--red);
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(196, 30, 30, 0.08);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-title {
  margin: 0 0 8px;
  font-size: 1.4rem;
  line-height: 1;
}

.manual-links a {
  color: var(--red);
  font-weight: 700;
}

.manual-links a:hover,
.text-link:hover {
  text-decoration: underline;
}

.cta-band {
  background:
    linear-gradient(115deg, rgba(196, 30, 30, 0.96), rgba(158, 23, 23, 0.96)),
    var(--red);
  color: var(--white);
}

.cta-band .container {
  padding: 54px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.page-hero {
  background:
    radial-gradient(circle at top right, rgba(196, 30, 30, 0.24), transparent 34%),
    linear-gradient(135deg, #091426 0%, #102647 52%, #142f56 100%);
  color: var(--white);
}

.page-hero .container {
  padding: 82px 0 70px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: center;
}

.page-hero-media {
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 0.95;
  max-width: 840px;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  margin: 0 0 26px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 28px;
}

.sidebar {
  align-self: start;
  position: sticky;
  top: 110px;
}

.muted-box {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-list,
.footer-links,
.footer-contact,
.issue-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li,
.footer-links li,
.footer-contact li,
.issue-list li {
  padding: 8px 0;
}

.site-footer {
  margin-top: auto;
  background: #07111d;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 1.4rem;
  color: #fff;
}

.footer-copy,
.footer-contact a,
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.small-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.mobile-only {
  display: none;
}

@media (max-width: 1040px) {
  .hero-inner,
  .content-grid,
  .footer-grid,
  .grid-4,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero-inner,
  .content-grid {
    align-items: start;
  }

  .feature-split,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .topbar-inner,
  .nav-wrap,
  .cta-band .container,
  .footer-grid,
  .footer-bottom {
    width: min(var(--max), calc(100% - 28px));
  }

  .topbar-inner,
  .nav-wrap,
  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .nav-links,
  .nav-cta {
    flex-wrap: wrap;
  }

  .hero-inner,
  .grid-2,
  .grid-3,
  .grid-4,
  .steps,
  .footer-grid,
  .content-grid,
  .photo-strip {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero .container {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero-inner {
    padding: 66px 0 60px;
  }

  .hero-visual,
  .feature-media,
  .page-hero-media {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .brand-text strong {
    font-size: 1.36rem;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-logo {
    height: 52px;
    max-width: 260px;
  }

  .hero h1,
  .page-hero h1 {
    word-break: break-word;
  }

  .btn,
  .hero-actions,
  .page-actions,
  .stack-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .page-actions .btn,
  .stack-actions .btn {
    width: 100%;
  }

  .topbar-note {
    display: none;
  }
}
