:root {
  color-scheme: dark;
  --page: #062320;
  --page-deep: #031411;
  --panel: #0a3531;
  --panel-deep: #082925;
  --gold: #d8b56e;
  --gold-light: #e7ca8f;
  --ink: #0d201d;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page-deep);
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  background: var(--page-deep);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

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

.mobile-page {
  width: 100%;
  max-width: 480px;
  min-height: 100svh;
  margin: 0 auto;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  overflow: hidden;
  background: var(--page);
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.28);
}

.service-title {
  display: flex;
  min-height: calc(62px + env(safe-area-inset-top));
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 14px 12px;
  border-bottom: 1px solid rgba(216, 181, 110, 0.3);
  background: var(--page-deep);
}

.service-title h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(19px, 5.5vw, 25px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.campaign-hero {
  isolation: isolate;
  position: relative;
  min-height: clamp(438px, 118vw, 520px);
  width: 100%;
  overflow: hidden;
  border-top: 4px solid var(--gold);
  background: url("./assets/product-primary.jpg") center 44% / cover no-repeat;
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 28, 25, 0.9) 0%, rgba(3, 32, 29, 0.72) 56%, rgba(3, 27, 25, 0.34) 100%),
    linear-gradient(0deg, rgba(4, 31, 28, 0.55) 0%, transparent 45%);
}

.hero-copy {
  padding: clamp(14px, 4vw, 20px) clamp(30px, 8vw, 40px) 0;
}

.hero-logo {
  width: clamp(102px, 29vw, 132px);
  height: auto;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.14));
}

.hero-kicker {
  margin: clamp(24px, 7vw, 34px) 0 8px;
  color: var(--gold);
  font-size: clamp(12px, 3.35vw, 15px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 7.7vw, 36px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.32;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.hero-lead {
  margin: clamp(28px, 7vw, 36px) 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 3.8vw, 17px);
  letter-spacing: 0.01em;
  line-height: 1.62;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

.hero-conversion {
  position: absolute;
  right: clamp(28px, 8vw, 40px);
  bottom: 0;
  left: clamp(28px, 8vw, 40px);
}

.quote-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid rgba(240, 211, 157, 0.7);
  border-radius: 5px;
  background: var(--gold);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
  color: var(--ink);
  font-size: clamp(18px, 4.9vw, 21px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.quote-button:active {
  transform: translateY(1px);
}

.quote-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-row li {
  padding: 12px 2px 13px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(12px, 3.25vw, 14px);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.product-window {
  width: 100%;
  margin: 0 auto;
  padding: 20px clamp(28px, 8vw, 40px) 14px;
  background: var(--panel);
}

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

.product-card {
  margin: 0;
  overflow: hidden;
  background: var(--panel-deep);
}

.product-card img {
  width: 100%;
  height: clamp(136px, 39vw, 176px);
  object-fit: cover;
}

.product-card:first-child img {
  object-position: center 47%;
}

.product-card:last-child img {
  object-position: center 57%;
}

.product-card figcaption {
  padding: 8px 10px;
  color: #fff;
  font-size: clamp(11px, 3vw, 13px);
  font-weight: 700;
  line-height: 1.2;
}

.product-caption {
  margin: 8px 0 0;
  padding: 8px 10px;
  background: var(--panel-deep);
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(11px, 3vw, 13px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 359px) {
  .service-title {
    padding-right: 10px;
    padding-left: 10px;
  }

  .service-title h1 {
    font-size: 18px;
  }

  .quote-action {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-copy,
  .product-window {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero-conversion {
    right: 24px;
    left: 24px;
  }
}

@media (min-width: 481px) {
  body {
    padding: 24px 0;
  }

  .mobile-page {
    border: 1px solid rgba(216, 182, 117, 0.22);
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
