:root {
  --xn-navy: #17212b;
  --xn-navy-light: #223140;
  --xn-slate: #0f1720;
  --xn-gold: #c59b27;
  --xn-gold-light: #dfb743;
  --xn-blue: #2491ea;
  --xn-blue-dark: #1b7bc9;
  --xn-emerald: #15803d;
  --xn-cream: #faf8f5;
  --xn-cream-soft: #f4efe8;
  --xn-border: #e8e2d9;
  --xn-ink: #1e252d;
  --xn-muted: #64748b;
  --xn-radius: 12px;
  --xn-shadow: 0 10px 30px rgba(15, 23, 32, 0.07);
  --xn-shadow-hover: 0 20px 45px rgba(15, 23, 32, 0.14);
}

.xn-subpage-wrap {
  width: 100%;
  background: var(--xn-cream);
  color: var(--xn-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.xn-subpage-wrap *,
.xn-subpage-wrap *::before,
.xn-subpage-wrap *::after {
  box-sizing: border-box;
}

.xn-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.xn-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--xn-gold-light);
  margin-bottom: 16px;
}

.xn-pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--xn-gold-light);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(223, 183, 67, 0.7);
  animation: xnPulse 2s infinite;
}

@keyframes xnPulse {
  0% { box-shadow: 0 0 0 0 rgba(223, 183, 67, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(223, 183, 67, 0); }
  100% { box-shadow: 0 0 0 0 rgba(223, 183, 67, 0); }
}

.xn-h1 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  line-height: 1.14;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 16px;
}

.xn-h1 em, .xn-h1 span {
  color: var(--xn-gold-light);
  font-style: italic;
  font-weight: 400;
}

.xn-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto 34px;
  max-width: 740px;
  font-weight: 300;
}

.xn-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--xn-navy);
}

.xn-lead {
  color: var(--xn-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 34px;
  max-width: 640px;
}

.xn-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--xn-blue);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 6px 18px rgba(36, 145, 234, 0.3);
}

.xn-btn-primary:hover {
  background: var(--xn-blue-dark);
  transform: translateY(-1px);
}

.xn-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.3);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.xn-btn-secondary:hover {
  background: rgba(255,255,255,0.16);
  border-color: #ffffff;
}

.xn-text-link {
  color: var(--xn-blue);
  font-weight: 700;
  text-decoration: none;
}

.xn-text-link:hover {
  text-decoration: underline;
}

/* Modals */
.xn-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 32, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.xn-modal-overlay.open {
  display: flex;
}

.xn-modal {
  background: #ffffff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  border: 1px solid var(--xn-border);
  animation: xnModalIn 0.25s ease;
}

@keyframes xnModalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.xn-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1ede8;
  border: none;
  font-size: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--xn-muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.xn-modal-close:hover {
  background: #e2dad2;
  color: var(--xn-ink);
}

.xn-modal-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--xn-gold);
  margin: 0 0 6px;
}

.xn-modal-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--xn-navy);
  margin: 0 0 8px;
}

.xn-modal-sub {
  font-size: 0.9rem;
  color: var(--xn-muted);
  margin: 0 0 24px;
}

.xn-field {
  margin-bottom: 16px;
}

.xn-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--xn-navy);
  margin-bottom: 6px;
}

.xn-field input, .xn-field select, .xn-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9d2c9;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--xn-ink);
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.xn-field input:focus, .xn-field select:focus, .xn-field textarea:focus {
  outline: none;
  border-color: var(--xn-blue);
  box-shadow: 0 0 0 3px rgba(36, 145, 234, 0.15);
}

.xn-alert {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 16px;
  font-weight: 500;
}

.xn-alert.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.xn-alert.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Close/Offers footer banner on sub-pages */
.xn-close-banner {
  background: var(--xn-navy);
  padding: 56px 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}.xn-sale-hero {
  background: radial-gradient(circle at 50% 20%, #223140 0%, #17212b 60%, #0f1720 100%);
  color: #ffffff;
  padding: 68px 0 60px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.xn-slider-card {
  background: #ffffff;
  border: 1.5px solid var(--xn-gold);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: left;
  box-shadow: 0 20px 50px rgba(15, 23, 32, 0.12);
  max-width: 660px;
  margin: 0 auto;
}

.xn-slider-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.xn-slider-label {
  font-size: 0.85rem;
  color: var(--xn-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.xn-slider-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--xn-navy);
}

.xn-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--xn-cream-soft);
  outline: none;
  margin: 10px 0 12px;
  border: 1px solid var(--xn-border);
}

.xn-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--xn-gold);
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}

.xn-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.xn-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--xn-muted);
  margin-bottom: 24px;
  font-weight: 600;
}

.xn-slider-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--xn-cream-soft);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--xn-border);
}

.xn-slider-result__label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--xn-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.xn-slider-result__value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--xn-navy);
}

.xn-slider-result__figure--save .xn-slider-result__value {
  color: var(--xn-emerald);
}

.xn-slider-note {
  font-size: 0.8rem;
  color: var(--xn-muted);
  text-align: center;
  margin: 14px 0 0;
}

.xn-proof-section {
  padding: 48px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--xn-border);
}

.xn-proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.xn-proof-item {
  background: var(--xn-cream);
  border: 1px solid var(--xn-border);
  border-radius: var(--xn-radius);
  padding: 22px 18px;
}

.xn-proof-item strong {
  display: block;
  font-size: 2rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--xn-navy);
  line-height: 1.1;
  margin-bottom: 4px;
}

.xn-proof-item span {
  font-size: 0.84rem;
  color: var(--xn-muted);
  font-weight: 500;
}

.xn-range-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.xn-range-photo {
  margin: 0;
  border-radius: var(--xn-radius);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--xn-border);
  box-shadow: var(--xn-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.xn-range-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--xn-shadow-hover);
}

.xn-range-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.xn-range-photo figcaption {
  padding: 14px 16px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--xn-navy);
  text-align: center;
}

.xn-quote-block {
  background: var(--xn-cream-soft);
  border-left: 4px solid var(--xn-gold);
  border-radius: 8px;
  padding: 34px 38px;
  margin: 54px auto;
  max-width: 820px;
}

.xn-quote-block blockquote {
  margin: 0 0 16px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--xn-navy);
}

.xn-quote-block cite {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--xn-muted);
  margin-bottom: 12px;
}

@media (max-width: 860px) {
  .xn-proof-row, .xn-range-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .xn-proof-row, .xn-range-strip {
    grid-template-columns: 1fr;
  }
  .xn-slider-result {
    grid-template-columns: 1fr;
  }
}