:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-alt: #f0f2f5;
  --text: #1d2430;
  --muted: #5f6773;
  --line: #d9dde3;
  --brand: #cf3f43;
  --brand-dark: #a72e31;
  --accent: #96979b;
  --shadow: 0 20px 45px rgba(21, 28, 38, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #eef1f5 0%, #f8f9fb 100%);
  color: var(--text);
}

body.modal-open {
  overflow: hidden;
}

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.domain-bar,
.brand-card,
.selector-bar,
.hero,
.trust-strip,
.content-card,
.site-footer {
  background: var(--surface);
  border: 1px solid rgba(217, 221, 227, 0.9);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.domain-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px 18px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

#campaign-domain {
  font-weight: 700;
  color: var(--text);
  text-transform: lowercase;
}

.brand-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.logo-lockup {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.logo-mark {
  background: var(--brand);
  color: #fff;
  padding: 18px 22px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  border-radius: 12px 0 0 12px;
}

.logo-type {
  background: #a8a8ac;
  color: #fff;
  padding: 16px 22px;
  border-radius: 0 12px 12px 0;
  min-width: 0;
}

.logo-name {
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  line-height: 1;
  margin-bottom: 10px;
  white-space: nowrap;
}

.logo-tag {
  font-size: clamp(0.75rem, 1.8vw, 1.45rem);
  color: #ececef;
  white-space: nowrap;
}

.contact-block {
  text-align: right;
  color: var(--muted);
  line-height: 1.6;
}

.selector-bar {
  margin-top: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.selector-label {
  font-weight: 800;
  color: var(--text);
  font-size: 1.5rem;
}

.selector-control {
  min-width: min(100%, 420px);
}

.selector-control select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 15px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.hero {
  margin-top: 18px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr);
  gap: 28px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
}

h1, h2 { margin: 0 0 16px; line-height: 1.06; }
h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  max-width: 14ch;
  text-wrap: balance;
  text-align: center;
}

#headline-main,
#headline-sub {
  display: block;
  text-align: center;
}
h2 { font-size: clamp(1.4rem, 2vw, 1.9rem); }

.intro,
#description-blocks p,
#product-summary,
.form-note,
.contact-block,
.site-footer,
.hero-points,
.content-card p,
.product-facts {
  color: var(--muted);
}

.intro {
  font-size: 1.12rem;
  max-width: 60ch;
  margin-bottom: 18px;
}

.hero-points {
  padding-left: 18px;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: var(--surface-alt); color: var(--text); }

.product-card {
  background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.product-visual {
  min-height: 220px;
  border-radius: 18px;
  background: radial-gradient(circle at top, rgba(255,255,255,0.85), rgba(240,242,245,1));
  border: 1px solid #e3e6eb;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.swatch {
  width: min(240px, 72%);
  aspect-ratio: 1;
  border-radius: 28px;
  background: linear-gradient(145deg, #111 0%, #333 100%);
  box-shadow: inset 0 8px 18px rgba(255,255,255,0.18), inset 0 -12px 24px rgba(0,0,0,0.24), 0 20px 34px rgba(12,16,24,0.16);
  position: relative;
}

.swatch::after {
  content: "";
  position: absolute;
  inset: 18% 28%;
  border-radius: 999px;
  border: 10px solid rgba(255,255,255,0.18);
}

.product-image {
  max-width: min(320px, 100%);
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-kicker {
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  margin-bottom: 10px;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.product-facts div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.product-facts dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 6px;
}

.product-facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.trust-strip {
  margin-top: 18px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  text-align: center;
  font-weight: 700;
}

.content-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.content-card {
  padding: 28px;
}

#description-blocks {
  display: grid;
  gap: 14px;
}

.content-actions {
  margin-top: 22px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0 14px;
}

label span {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 15px;
  font: inherit;
  background: #fff;
}

input:focus {
  outline: 2px solid rgba(207, 63, 67, 0.18);
  border-color: var(--brand);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
}

.consent input { margin-top: 3px; }
.form-note { margin-top: 12px; font-size: 0.95rem; }
.form-status { min-height: 1.5em; margin-top: 12px; font-weight: 700; }
.form-status.success { color: #0d7a38; }
.form-status.error { color: #b42318; }

.site-footer {
  margin-top: 18px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 38, 0.56);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.modal-card {
  margin: 0;
  max-height: min(88vh, 760px);
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(240, 242, 245, 0.96);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(21, 28, 38, 0.12);
}

@media (max-width: 960px) {
  .brand-card,
  .hero,
  .content-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .brand-card,
  .hero,
  .site-footer {
    display: grid;
  }

  .selector-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .selector-control {
    min-width: 0;
  }

  .contact-block { text-align: left; }
  .logo-name, .logo-tag { white-space: normal; }
}

@media (max-width: 640px) {
  .page-shell { width: min(100% - 20px, 1180px); }
  .hero, .content-card, .brand-card, .selector-bar { padding: 20px; }
  .domain-bar { align-items: flex-start; flex-direction: column; }
  .logo-lockup { width: 100%; }
  .logo-mark { padding: 14px 16px; }
  .logo-type { padding: 14px 16px; }
  .field-grid, .product-facts { grid-template-columns: 1fr; }
}
