/* ================= BASE RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ================= GLOBAL BODY ================= */
body {
  background-color: #0f0f10;
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  position: relative;
}


/* ================= UTILITIES ================= */
.container {
  max-width: 1280px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.section-desc {
  color: #9ca3af;
  font-size: 1rem;
  max-width: 640px;
  margin: 0.5rem auto 0 auto;
  line-height: 1.4;
}

.center-link {
  text-align: center;
  margin-top: 2rem;
}

.btn-link {
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
.btn-link:hover {
  border-bottom-color: #fff;
}

/* ================= BUTTONS ================= */
.btn-primary {
  display: inline-block;
  background-color: #c1121f;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-primary.small-btn {
  font-size: 0.8rem;
  padding: 0.6rem 0.75rem;
  font-weight: 500;
}
.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-secondary {
  display: inline-block;
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-secondary:hover {
  background-color: rgba(255,255,255,0.15);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  border: 1px solid #c1121f;
  color: #c1121f;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  line-height: 1.2;
}
.btn-outline:hover {
  background-color: rgba(193,18,31,0.1);
  color: #fff;
  border-color: #fff;
}

/* ================= LOGO SYSTEM ================= */

/* shared base for logo in footer/mobile */
.logo-text,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

/* header version: larger wordmark so it visually matches Buy Now button band */
.site-header .logo-text {
  height: 64px;
  font-size: 1.15rem; /* increase to 1.25rem if still too small */
}

/* SOLID and DECK fill that 64px header band */
.site-header .logo-solid,
.site-header .logo-deck {
  display: inline-block;
  height: 64px;
  line-height: 64px;
}

/* SOLID = filled */
.logo-solid {
  font-weight: 600;
  color: #fff;
}

/* DECK = outlined stroke */
.logo-deck {
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  text-stroke: 1px #fff;
}

/* ™ in header: raised toward top-right of DECK */
.site-header .logo-tm {
  display: inline-block;
  font-size: 0.6em;
  line-height: 1;
  margin-left: -0.2rem;
  transform: translateY(-0.4rem);
}

/* ™ in footer: normal inline, not raised */
.site-footer .logo-tm {
  display: inline-block;
  font-size: 0.6em;
  line-height: 1;
  margin-left: -0.2rem;
  transform: translateY(-0.15rem); /* lifts slightly */
  height: auto;
}

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(15,15,16,0.05);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav {
  display: none;
  gap: 1.5rem;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-link:hover {
  color: #c1121f;
}

/* show nav on desktop */
@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

/* ================= HERO ================= */
.hero {
  position: relative;
  background-color: #1a1a1d;
  padding-top: 96px; /* header offset */
  padding-bottom: 3rem;
}

.hero-bg {
  background-image: url("hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 90vh; /* adjust as needed */
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(255,255,255,0.08) 0%,
    rgba(0,0,0,0) 60%
  );
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.hero-headline {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .hero-headline {
    font-size: 2.5rem;
  }
}

.hero-subtext {
  font-size: 1rem;
  color: #d1d5db;
  line-height: 1.5;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image .image-placeholder {
  width: 100%;
  min-height: 250px;
  background-color: #2a2a2f;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  color: #6b7280;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* scoped hero image */
.hero .image-placeholder {
  background-image: url("hero-lifestyle.jpg");
}

.image-placeholder {
  background-image: url("hero-lifestyle.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 500px; /* adjust to fit design */
  color: transparent; /* hides placeholder text */
}
@media (min-width: 768px) {
  .hero-image .image-placeholder {
    min-height: 320px;
  }
}

/* ================= FEATURES ================= */
.features {
  background-color: #0f0f10;
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(4,1fr);
  }
}

.feature-card {
  background-color: #1c1c1f;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.75rem;
  padding: 1.5rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-icon {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #c1121f;
  line-height: 1;
}

.feature-title {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.4;
}

/* ================= HOW IT WORKS ================= */
.how-it-works {
  background-color: #141416;
  padding: 4rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3,1fr);
  }
}

.step-card {
  background-color: #1c1c1f;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: left;
  min-height: 180px;
  position: relative;
}

.step-num {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background-color: #c1121f;
  display: inline-block;
  border-radius: 999px;
  line-height: 1;
  padding: 0.4rem 0.6rem;
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.4;
}

/* ================= KITS ================= */
.kits {
  background-color: #0f0f10;
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.kit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .kit-grid {
    grid-template-columns: repeat(3,1fr);
  }
}

.kit-card {
  background-color: #1c1c1f;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.kit-image .image-placeholder {
  width: 100%;
  height: 180px;
  background-color: #2a2a2f;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: #6b7280;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kit-image .image-placeholder.small {
  height: 160px;
}
/* per-kit images */
.kit-12x12 { background-image: url("12x12.jpg"); }
.kit-12x18 { background-image: url("12x18.jpg"); }
.kit-12x24 { background-image: url("12x24.jpg"); }


.kit-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.kit-title {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.kit-price {
  font-size: 0.95rem;
  color: #c1121f;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.kit-desc {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.4;
  flex-grow: 1;
  margin-bottom: 1rem;
}

/* ================= DEALER / CONTRACTOR ================= */
.network {
  background-color: #141416;
  padding: 4rem 0;
}

.network-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .network-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

.network-card {
  background-color: #1c1c1f;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.75rem;
  padding: 2rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.network-title {
  font-size: 1.25rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.network-text {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

/* ================= FOOTER ================= */
.site-footer {
  background-color: #0f0f10;
  color: #fff;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4,1fr);
  }
}

.footer-col {
  min-width: 0;
}

.footer-head {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-list {
  list-style: none;
}

.footer-list li + li {
  margin-top: 0.5rem;
}

.footer-list a {
  color: #9ca3af;
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-list a:hover {
  color: #fff;
}

/* social list bullets (emoji icons) */
.social-list li + li {
  margin-top: 0.75rem;
}
.social-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.social-ico {
  font-size: 0.9rem;
  line-height: 1;
  color: #9ca3af;
}
.social-list a:hover .social-ico {
  color: #fff;
}

.footer-form {
  margin-top: 1rem;
}

.footer-label {
  font-size: 0.8rem;
  color: #9ca3af;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-input-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer-input-row input {
  flex: 1;
  min-width: 140px;
  background-color: #1c1c1f;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.5rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  color: #fff;
}
.footer-input-row input::placeholder {
  color: #6b7280;
}

.footer-bottom {
  background-color: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1rem 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
  }
}

.footer-copy {
  line-height: 1.4;
}
/* ================= MADE IN USA ================= */
.made-in-usa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background-color: #1c1c1f;
  color: #fff;
  padding: 3rem 1rem;
  text-align: left;
}

.usa-badge {
  width: 120px;
  height: auto;
}

.usa-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.usa-text p {
  font-size: 1rem;
  color: #9ca3af;
  max-width: 500px;
}

/* === Pricing page styles === */

/* spacing below Step 1 heading area */
.tile-choices h2 {
  margin-bottom: 0.75rem;
}

.tile-choices p.tile-hint {
  margin-bottom: 1.5rem;
}
body.pricing-page .pricing-container {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

body.pricing-page .tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 1.25rem;
}

body.pricing-page .tile-option {
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  background: #fff;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: border .15s, box-shadow .15s;
}
body.pricing-page .tile-option img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-bottom: 1px solid #e5e7eb;
}
body.pricing-page .tile-option span {
  display: block;
  padding: .5rem .25rem .7rem;
  font-size: .75rem;
}
body.pricing-page .tile-option.selected {
  position: relative;
  border: 3px solid #c1121f;
  box-shadow: 0 0 0 4px rgba(193,18,31,0.25);
}

body.pricing-page .tile-option.selected::before {
  content: "Current Selection";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #c1121f;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 0.25rem 0;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

body.pricing-page .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* Force exactly 3 cards per row */
body.pricing-page .pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Mobile collapse */
@media (max-width: 768px) {
  body.pricing-page .pricing-grid {
    grid-template-columns: 1fr;
  }
}

body.pricing-page .kit-card {
  background: #f9fafb;
  border: 1px solid #dee1e5;
  border-radius: 1rem;
  padding: 1.5rem;
}
body.pricing-page .kit-card h2 { font-size: 1.2rem; margin-bottom: .25rem; }
body.pricing-page .kit-price {
  color: #b91c1c;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: .75rem;
}
body.pricing-page .price-note {
  display: block;
  font-size: .7rem;
  color: #6b7280;
}

body.pricing-page .mesh-flexibility,
body.pricing-page .base-tile-included {
  margin-top: 2rem;
  background: #f9fafb;
  border-left: 3px solid #111827;
  padding: 1rem 1.25rem;
  border-radius: .5rem;
}
/* === pricing-page refinements (12x12, 18x12, 24x12) === */
body.pricing-page .tile-option {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #0f172a;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  overflow: hidden;
}
body.pricing-page .tile-option img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid #e5e7eb;
}
body.pricing-page .tile-option .tile-name {
  display: block;
  padding: 0.5rem 0.6rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  text-align: center;
}
body.pricing-page .tile-option.selected {
  border: 2px solid #c1121f;
  box-shadow: 0 0 0 3px rgba(193,18,31,0.12);
}

body.pricing-page .kit-card {
  display: flex;
  flex-direction: column;
  background: #f9fafb;
  border-radius: 1rem;
  padding: 0; /* we'll pad inner */
  overflow: hidden;
}
body.pricing-page .kit-card .kit-thumb img {
  width: 100%;
  display: block;
  background: #d2a67b;
}
body.pricing-page .kit-card h2,
body.pricing-page .kit-card .kit-size,
body.pricing-page .kit-card .kit-price,
body.pricing-page .kit-card .kit-list,
body.pricing-page .kit-card .kit-actions {
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}
body.pricing-page .kit-card h2 {
  margin-top: 1.1rem;
}
body.pricing-page .kit-card .kit-list {
  padding-bottom: 1rem;
}
body.pricing-page .kit-card .kit-actions {
  margin-top: auto;
  padding-bottom: 1.25rem;
  display: flex;
}
body.pricing-page .kit-card .btn-primary,
body.pricing-page .kit-card .btn-outline {
  width: 100%;
  text-align: center;
  justify-content: center;
}

body.pricing-page .kit-featured {
  border: none;
  position: relative;
}
body.pricing-page .kit-featured .badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #c1121f;
  color: #fff;
  font-size: 0.6rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.pricing-page .kit-desc {
  margin: 0.25rem 1.4rem 0.75rem;
  font-size: 0.8rem;
  color: rgba(15,23,42,.75);
}

/* cedar-ish custom quote bar */
body.pricing-page .custom-callout {
  background: #d2a67b;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-radius: 0.75rem;
  margin-top: 2rem;
  color: #0f172a;
}
body.pricing-page .custom-callout h2 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}
body.pricing-page .custom-callout p {
  font-size: 0.8rem;
}
body.pricing-page .custom-callout-action {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 220px;
}
body.pricing-page #customActionBtn {
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  cursor: pointer;
}
body.pricing-page .custom-contact {
  display: flex;
  gap: 0.75rem;
}
body.pricing-page .custom-contact a {
  background: rgba(255,255,255,0.35);
  color: #0f172a;
  padding: 0.2rem 0.55rem;
  border-radius: 0.5rem;
  font-size: 0.72rem;
  text-decoration: none;
}
body.pricing-page .custom-contact.hidden {
  display: none;
}

@media (max-width: 780px) {
  body.pricing-page .custom-callout {
    flex-direction: column;
    align-items: flex-start;
  }
  body.pricing-page .custom-callout-action {
    width: 100%;
  }
}
/* spacing between pricing sections */
body.pricing-page section {
  margin-bottom: 4.5rem;
}

/* a bit more below big blocks */
body.pricing-page .pricing-grid,
body.pricing-page .custom-callout,
body.pricing-page .kit-combinations,
body.pricing-page .accessories-grid {
  margin-bottom: 2.25rem;
}

/* pricing kit list text fix */
body.pricing-page .kit-card .kit-list {
  list-style: disc;
  padding-left: 1.6rem;
  margin-bottom: 1rem;
}

body.pricing-page .kit-card .kit-list li {
  color: #0f172a;
  font-size: 0.78rem;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

/* pricing kit size visibility fix */
body.pricing-page .kit-card .kit-size {
  color: #0f172a;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

/* pricing kit heading visibility fix */
body.pricing-page .kit-card h2 {
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.site-footer {
  background: #111;
  color: #fff;
  margin-top: 3rem;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  gap: 2.5rem;
  padding: 2rem 1rem 1.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-brand {
  min-width: 180px;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}
.footer-logo .logo-deck {
  margin-left: 0.25rem;
}
.footer-logo .logo-tm {
  font-size: 0.65em;
  vertical-align: super;
  margin-left: 0.2rem;
}

.footer-made {
  margin: 0.25rem 0 0;
  color: #ddd;
  font-size: 0.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  flex: 1;
}

.footer-column h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-column li {
  margin-bottom: 0.35rem;
}
.footer-column a {
  color: #ccc;
  text-decoration: none;
}
.footer-column a:hover {
  color: #fff;
}

.footer-social {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}
.footer-social li {
  margin-bottom: 0.25rem;
}

.footer-form {
  display: flex;
  gap: 0.5rem;
}
.footer-form input {
  flex: 1;
  min-width: 140px;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  border: none;
}
.footer-form button {
  background: #fff;
  color: #111;
  border: none;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding: 0.75rem 1rem;
  background: #111;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-left {
  margin: 0;
}
.footer-right {
  margin: 0;
  color: #888;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
  }
  .footer-form {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Made in USA band */
.usa-band {
  background: #1f1f21;
  padding: 2.5rem 1rem;
}
.usa-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.usa-badge {
  width: 150px;
  height: auto;
}
.usa-copy h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  color: #fff;
}
.usa-copy p {
  margin: 0;
  color: #ccc;
  max-width: 52rem;
}

/* Footer same as landing */
.site-footer {
  background: #101010;
  color: #fff;
}
.footer-upper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1rem 2rem;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-brand {
  min-width: 180px;
}
.footer-logo {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}
.footer-logo .logo-deck {
  margin-left: 0.25rem;
}
.footer-logo .logo-tm {
  font-size: 0.6em;
  vertical-align: super;
  margin-left: 0.15rem;
}
.footer-made {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #ddd;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  flex: 1;
}
.footer-col h4 {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: #fff;
}

.footer-form {
  margin-top: 0.8rem;
}
.footer-form label {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
  color: #ccc;
}
.footer-input-row {
  display: flex;
  gap: 0.5rem;
}
.footer-input-row input {
  flex: 1;
  padding: 0.45rem 0.6rem;
  border-radius: 4px;
  border: 1px solid #333;
  background: #181818;
  color: #fff;
}
.footer-input-row button {
  padding: 0.45rem 0.9rem;
  background: #d3141f;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}
.footer-input-row button:hover {
  background: #b1121a;
}

.footer-bottom {
  border-top: 1px solid #1e1e1e;
  padding: 0.8rem 1rem;
}
.footer-bottom-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.footer-left {
  margin: 0;
}
.footer-right {
  margin: 0;
  color: #888;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .usa-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-upper {
    flex-direction: column;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-input-row {
    flex-direction: column;
    width: 100%;
  }
  .footer-input-row button {
    width: auto;
  }
}


.page-top { padding-top: 6rem; }
/* ===== PRICING PAGE TILE GRID OVERRIDE ===== */
body.pricing-page .tile-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* exactly 5 per row on desktop */
  gap: 1.25rem;
}

/* tablet breakpoint */
@media (max-width: 1200px) {
  body.pricing-page .tile-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* small laptop/tablet */
@media (max-width: 900px) {
  body.pricing-page .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* mobile */
@media (max-width: 520px) {
  body.pricing-page .tile-grid {
    grid-template-columns: 1fr;
  }
}


/* Guard: ensure page scrolls when modal is hidden */
html, body { overscroll-behavior: auto; }
.tile-modal[aria-hidden="true"] ~ * { pointer-events: auto; }


/* Selected badge above tile image */
.tile-img-wrap { position: relative; }
.tile-img-wrap img {
  position: relative;
  z-index: 1;
  display: block;
}
.selected-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3 !important;
  pointer-events: none;
}


/* === Modal overlay for installed preview === */
.tile-modal[aria-hidden="true"] { display: none; }
.tile-modal[aria-hidden="false"] {
  display: flex; position: fixed; inset: 0; z-index: 2147483000;
  align-items: center; justify-content: center;
}
.tile-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.tile-modal__dialog {
  position: relative; z-index: 1; max-width: min(96vw, 1200px); max-height: 92vh;
  background: #000; border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.tile-modal__close {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: #fff; color: #111; border: 0; border-radius: 8px;
  padding: .4rem .65rem; cursor: pointer; font-weight: 600;
}
#tileModalImg { display: block; max-width: 100%; max-height: 92vh; position: relative; z-index: 1; }
.tile-modal__caption { color: #fff; padding: .5rem .75rem .75rem; font-size: .9rem; }

/* Scroll lock utility */
body.no-scroll { overflow: hidden; }

/* Selected badge above image */
.tile-img-wrap { position: relative; }
.tile-img-wrap img { position: relative; z-index: 1; display: block; }
.selected-badge {
  position: absolute; top: 8px; left: 8px; z-index: 3; pointer-events: none;
  background: #c00; color: #fff; font-weight: 700; font-size: 12px; line-height: 1; padding: 3px 6px; border-radius: 4px;
}


/* Close button: always on top and clickable */
.tile-modal__dialog { position: relative !important; }
.tile-modal__close {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 2147483646 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  min-width: 36px; min-height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
}
/* === Step 3: Checkout layout === */
.checkout-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0 48px}
.checkout-card{background:#fff;border:1px solid #e6e6e6;border-radius:12px;padding:16px;color:#0f172a}
.checkout-card h3{margin:0 0 10px;font-size:18px;color:#0f172a}
.order-line,.order-total{display:flex;justify-content:space-between;align-items:baseline;padding:6px 0;font-size:14px}
.order-total{font-weight:700;font-size:15px}
.order-line .label,.order-total .label{color:#333}
.order-line .value,.order-total .value{color:#111}
.divider{border:0;border-top:1px solid #eee;margin:10px 0}
.micro-note{font-size:12px;color:#666;margin-top:8px}
.form-row{margin:10px 0}
.form-row.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.form-row.three-col{display:grid;grid-template-columns:1.2fr .6fr .8fr;gap:10px}
.form-row.compact{margin-top:8px}
label{display:block;font-size:13px;margin-bottom:6px;color:#222}
.req{color:#c00;margin-left:2px}
input[type=text],input[type=email],input[type=tel],textarea{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:10px;font-size:14px;color:#111;background:#fff}
.radio-group,.checkbox-group{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#111}
.btn-primary{display:inline-block;margin-top:10px}
@media (max-width:960px){
  .checkout-grid{grid-template-columns:1fr}
  .form-row.two-col,.form-row.three-col{grid-template-columns:1fr}
}
.btn-quiet {
  background: none;
  border: 0;
  margin-left: 8px;
  font-size: 18px;
  cursor: pointer;
  color: #444;
  line-height: 1;
}
.btn-quiet:hover { color: #000; }
.btn-quiet:disabled { opacity: .4; cursor: default; }

.btn-quiet {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  color: #b91c1c;
  margin-left: 0; /* gap is now handled by .kit-actions */
  vertical-align: middle;
  line-height: 1;
  transition: all .15s ease-in-out;
  box-shadow: inset 0 0 0 0 rgba(185,28,28,0.15);
}

.btn-quiet:hover {
  border-color: #b91c1c;
  color: #7a1313;
  box-shadow: inset 0 0 4px 2px rgba(185,28,28,0.12);
  background: #fff;
}

.btn-quiet:active {
  background: #f8eaea;
  box-shadow: inset 0 0 6px 3px rgba(185,28,28,0.18);
  transform: scale(0.96);
}
.kit-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0.5rem;
}
