/* ============================================================
   Register-gift campaign · FuturePAGE™ precast gel
   Layered on top of styles.css — reuses all design tokens.
   ============================================================ */

/* ---------- Hero ---------- */
.gift-hero {
  position: relative;
  border-bottom: var(--rule);
  background:
    linear-gradient(to right, var(--hairline) 1px, transparent 1px) -1px 0 / 80px 100%,
    var(--bg);
  overflow: hidden;
}
.gift-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 88% 0%, var(--green-soft) 0%, transparent 60%);
  pointer-events: none;
}
.gift-hero .container { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 56px; }

.gift-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.gift-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.gift-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  padding: 6px 12px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gift-badge b { font-size: 13px; font-weight: 600; }
.gift-eyebrow .kicker { color: var(--green); }
.gift-eyebrow .sku-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 4px 9px;
  border: var(--rule);
  border-radius: 4px;
  background: var(--surface);
}

.gift-h1 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
  text-wrap: balance;
}
.gift-h1 .em { font-style: normal; color: var(--green); font-weight: 500; }

.gift-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  margin: 0 0 28px;
  max-width: 560px;
}

.gift-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.gift-cta .btn-accent,
.btn-accent {
  background: var(--green);
  border-color: var(--green);
}
.gift-cta .btn-accent:hover,
.btn-accent:hover {
  background: color-mix(in oklch, var(--green) 86%, black);
  border-color: color-mix(in oklch, var(--green) 86%, black);
}

.gift-trust {
  display: flex;
  gap: 20px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: var(--rule);
  flex-wrap: wrap;
}
.gift-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.gift-trust span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Product spec card (hero right) ---------- */
.gel-card {
  background: var(--surface);
  border: var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 24px 48px -28px rgba(20,40,30,0.22);
  overflow: hidden;
}
.gel-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: var(--rule);
  background: var(--bg-tinted);
}
.gel-card-head .mono { font-size: 10px; color: var(--ink); font-weight: 500; }
.gel-card-head .mono.dim { color: var(--muted); font-weight: 400; }

.gel-card-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 0;
}
.gel-visual {
  border-right: var(--rule);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(0deg, transparent 0 17px, color-mix(in oklch, var(--green) 5%, transparent) 17px 18px),
    var(--bg-tinted);
}
.gel-cassette {
  width: 92px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--surface);
  padding: 6px 6px 14px;
  position: relative;
}
.gel-wells {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  margin-bottom: 8px;
}
.gel-wells i {
  height: 7px;
  background: var(--ink);
  border-radius: 0 0 1px 1px;
}
.gel-lanes {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 0 2px;
}
.gel-band {
  height: 3px;
  border-radius: 2px;
  background: color-mix(in oklch, var(--green) 55%, var(--surface));
  position: relative;
}
.gel-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in oklch, var(--green) 80%, black) 50%, transparent);
  opacity: 0.5;
}
.gel-band.b2 { width: 86%; }
.gel-band.b3 { width: 72%; background: color-mix(in oklch, var(--green) 42%, var(--surface)); }
.gel-band.b4 { width: 92%; }
.gel-band.b5 { width: 64%; background: color-mix(in oklch, var(--green) 35%, var(--surface)); }

.gel-specs { padding: 6px 0; }
.gel-spec {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px dashed var(--hairline);
  align-items: baseline;
}
.gel-spec:last-child { border-bottom: 0; }
.gel-spec dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.gel-spec dd {
  margin: 0;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.gel-spec dd small { font-weight: 400; color: var(--muted); font-size: 11px; }

.gel-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-top: var(--rule);
  background: color-mix(in oklch, var(--green) 5%, var(--surface));
}
.gel-card-foot .price-was {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.gel-card-foot .price-was s { opacity: 0.7; }
.gel-card-foot .free {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.04em;
}

/* ---------- Value-prop strip ---------- */
.gift-values {
  border-bottom: var(--rule);
  background: var(--surface);
}
.gift-values .container { padding: 0; }
.gift-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.gv-cell {
  padding: 30px 32px;
  border-right: var(--rule);
}
.gv-cell:last-child { border-right: 0; }
.gv-ix {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 14px;
  display: block;
}
.gv-cell h3 {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.gv-cell p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ---------- Steps + rules section ---------- */
.gift-section { padding: 88px 0; border-bottom: var(--rule); }
.gift-section.tinted { background: var(--bg-tinted); }

.gift-shead { margin-bottom: 40px; max-width: 620px; }
.gift-shead .kicker { color: var(--green); margin-bottom: 14px; display: block; }
.gift-shead h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.1;
}
.gift-shead p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.steps-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.step-cell {
  padding: 28px 30px 32px;
  border-right: var(--rule);
  position: relative;
}
.step-cell:last-child { border-right: 0; }
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
  border: 1px solid var(--green);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.step-cell h4 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 8px;
}
.step-cell p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 14px;
}
.step-cell .step-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.step-cell .step-arrow {
  position: absolute;
  right: -10px;
  top: 44px;
  width: 20px; height: 20px;
  background: var(--surface);
  border: var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  z-index: 2;
}
.step-cell:last-child .step-arrow { display: none; }

/* ---------- Rules + facts ---------- */
.rules-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
}
.rules-panel {
  border: var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px 30px;
}
.rules-panel h3 {
  font-size: 15px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: var(--rule);
}
.rules-list { list-style: none; margin: 0; padding: 0; }
.rules-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--hairline);
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg);
}
.rules-list li:last-child { border-bottom: 0; }
.rules-list li .rn {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
}

.facts-card {
  border: var(--rule);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 0;
  overflow: hidden;
}
.facts-card .facts-head {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(72% 0.01 250);
}
.fact-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: baseline;
}
.fact-row:last-child { border-bottom: 0; }
.fact-row dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: oklch(64% 0.01 250);
}
.fact-row dd {
  margin: 0;
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.fact-row dd .hi { color: oklch(78% 0.13 145); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .gift-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .gift-values-grid { grid-template-columns: repeat(2, 1fr); }
  .gv-cell:nth-child(2) { border-right: 0; }
  .gv-cell:nth-child(1), .gv-cell:nth-child(2) { border-bottom: var(--rule); }
  .rules-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .gift-values-grid { grid-template-columns: 1fr; }
  .gv-cell { border-right: 0; border-bottom: var(--rule); }
  .gv-cell:last-child { border-bottom: 0; }
  .steps-flow { grid-template-columns: 1fr; }
  .step-cell { border-right: 0; border-bottom: var(--rule); }
  .step-cell:last-child { border-bottom: 0; }
  .step-cell .step-arrow { display: none; }
  .gel-card-body { grid-template-columns: 1fr; }
  .gel-visual { border-right: 0; border-bottom: var(--rule); }
}
