:root {
  --ink: #172025;
  --muted: #617078;
  --line: rgba(23, 32, 37, 0.11);
  --surface: #ffffff;
  --surface-soft: #f6f2ea;
  --home: #2f6f7a;
  --home-soft: #e9f2ee;
  --sage: #718d67;
  --brass: #b97632;
  --brass-soft: #f2e5d2;
  --field: #263328;
  --danger: #b85d2b;
  --shadow: 0 22px 70px rgba(23, 32, 37, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f4ee;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(23, 32, 37, 0.14);
}

.brand-icons {
  position: relative;
  width: 66px;
  height: 46px;
  flex: 0 0 66px;
}

.brand-icons img {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand-icons img:first-child {
  top: 0;
  left: 0;
}

.brand-icons img:last-child {
  right: 0;
  bottom: 0;
}

.brand span:last-child {
  min-width: 0;
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-links {
  justify-content: flex-end;
  font-size: 0.93rem;
  font-weight: 740;
}

.nav-links a,
.footer-links a {
  color: rgba(23, 32, 37, 0.74);
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 780;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(23, 32, 37, 0.18);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button.disabled {
  cursor: default;
  opacity: 0.68;
}

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

.section-tight {
  padding-top: 28px;
}

.site-hero {
  position: relative;
  min-height: min(680px, calc(100svh - 72px));
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #172025;
}

.site-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 18, 22, 0.88) 0%, rgba(12, 18, 22, 0.66) 42%, rgba(12, 18, 22, 0.22) 100%),
    linear-gradient(0deg, rgba(12, 18, 22, 0.84) 0%, rgba(12, 18, 22, 0.18) 52%, rgba(12, 18, 22, 0.22) 100%);
}

.site-hero > picture,
.site-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.site-hero > picture img,
.site-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero > picture img {
  object-position: 64% 28%;
}

.gun-hero > picture img {
  object-position: center;
}

.company-hero > picture img {
  object-position: 68% 34%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 62px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.9rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.65rem);
}

h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
}

h4 {
  font-size: 1rem;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(23, 32, 37, 0.72);
  font-size: clamp(1.05rem, 1.8vw, 1.26rem);
}

.site-hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

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

.site-hero .button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: rgba(23, 32, 37, 0.72);
  font-size: 0.88rem;
  font-weight: 720;
}

.site-hero .pill {
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.22);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.58fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading .lead {
  margin-top: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: center;
}

.card,
.feature-card,
.price-card,
.legal-copy,
.app-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 44px rgba(23, 32, 37, 0.07);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 300px 1fr;
}

.product-card-media {
  overflow: hidden;
  background: #e9ece8;
}

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

.home-storia-media img {
  object-position: 50% 76%;
}

.gun-room-media img {
  object-position: center;
}

.product-card-body {
  padding: 28px;
}

.product-card-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(23, 32, 37, 0.15);
}

.product-card p,
.feature-card p,
.price-card p,
.legal-copy p,
.legal-copy li,
.support-list li,
.stat p,
.copy-block p {
  color: rgba(23, 32, 37, 0.72);
}

.fact-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  display: flex;
  gap: 10px;
  color: rgba(23, 32, 37, 0.76);
}

.fact-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 0.58em;
  border-radius: 50%;
  background: var(--home);
}

.gun-card-list .fact-list li::before,
.gun-theme .fact-list li::before {
  background: var(--brass);
}

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

.feature-card,
.price-card,
.app-preview,
.legal-copy {
  padding: 28px;
}

.icon-dot {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--home);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 860;
  letter-spacing: 0.08em;
}

.gun-theme .icon-dot,
body:not(.home-storia-page) .icon-dot {
  background: var(--brass);
}

.copy-block {
  max-width: 760px;
}

.media-panel {
  overflow: hidden;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.media-panel.contain {
  display: grid;
  place-items: center;
  padding: 30px;
  background: linear-gradient(135deg, var(--home-soft), #f5eadf);
}

.media-panel.contain img {
  min-height: 0;
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(23, 32, 37, 0.16));
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.stat {
  min-height: 128px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.76);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.price {
  margin: 18px 0 8px;
  font-size: 2.3rem;
  font-weight: 860;
  line-height: 1;
}

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

.badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--home-soft);
  color: var(--home);
  font-size: 0.72rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gun-theme .badge,
body:not(.home-storia-page) .badge {
  background: var(--brass-soft);
  color: #8b5526;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.cta p,
.cta .lead {
  color: rgba(255, 255, 255, 0.74);
}

.compact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.page-hero {
  padding-top: 72px;
  padding-bottom: 30px;
}

.page-hero h1 {
  color: var(--ink);
}

.legal-copy {
  max-width: 900px;
}

.legal-copy h2 {
  margin: 34px 0 10px;
  font-size: 1.7rem;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy ul {
  padding-left: 22px;
}

.support-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.support-list li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.app-preview {
  overflow: hidden;
}

.preview-header {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
  margin-bottom: 22px;
}

.preview-header img {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 12px;
}

.home-phone,
.fake-phone {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.home-phone > img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center 28%;
}

.moment-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.moment-list article,
.gun-card,
.metric {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf7;
}

.moment-list strong,
.moment-list span,
.metric strong,
.metric span {
  display: block;
}

.moment-list span,
.metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

.fake-phone {
  padding: 18px;
}

.fake-row,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.gun-card .thumb {
  position: relative;
  height: 120px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1d2820, #526243);
}

.gun-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
}

.bar {
  overflow: hidden;
  height: 7px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(23, 32, 37, 0.12);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sage);
}

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

.badge-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 20px 22px rgba(23, 32, 37, 0.16));
}

.muted {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.footer-links {
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.92rem;
  font-weight: 700;
}

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

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .site-hero {
    min-height: 620px;
  }

  .site-hero::before {
    background:
      linear-gradient(90deg, rgba(12, 18, 22, 0.9) 0%, rgba(12, 18, 22, 0.72) 100%),
      linear-gradient(0deg, rgba(12, 18, 22, 0.82), rgba(12, 18, 22, 0.16));
  }

  .hero-inner {
    padding-top: 82px;
  }

  .section-heading,
  .split,
  .product-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .grid-3,
  .pricing,
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-actions {
    justify-content: flex-start;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .nav,
  .section,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .brand small {
    font-size: 0.64rem;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.9rem;
  }

  .nav-links .button {
    width: 100%;
  }

  .site-hero {
    min-height: 560px;
  }

  .hero-inner {
    padding: 70px 0 42px;
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 3.8rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .section {
    padding: 54px 0;
  }

  .product-card {
    grid-template-rows: 230px 1fr;
  }

  .product-card-body,
  .feature-card,
  .price-card,
  .app-preview,
  .legal-copy,
  .cta {
    padding: 22px;
  }

  .feature-grid,
  .grid-3,
  .pricing,
  .stat-strip,
  .fake-row,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .media-panel,
  .media-panel img {
    min-height: 320px;
  }

  .hero-actions .button,
  .cta .button {
    width: 100%;
  }
}
