/* Premium Salon Demo Theme polish layer (1.7.0).
   Loaded after enhancements.css and before the theme file, so themes can
   still override; brand colour variables continue to win everywhere. */

/* Never let a theme or stale cache reveal hidden elements. */
[hidden] { display: none !important; }
.lightbox[hidden] { display: none !important; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* ---- Typography & rhythm ---- */
h1 { letter-spacing: -0.015em; }
h2 { letter-spacing: -0.01em; }
.section { padding: 84px 0; }
@media (max-width: 760px) { .section { padding: 56px 0; } }
.section-head { margin-bottom: 40px; }
.section-head.center-head { justify-content: center; text-align: center; }

/* ---- Hero ---- */
.hero-overlay { background: linear-gradient(180deg, rgba(10, 12, 24, 0.38), rgba(10, 12, 24, 0.68)); }
.hero-title { font-size: clamp(2.3rem, 5.5vw, 3.7rem); }
.hero-subtitle { font-size: clamp(1.05rem, 2.4vw, 1.32rem); max-width: 680px; line-height: 1.6; }
.badge-pill { backdrop-filter: blur(3px); font-weight: 500; }

/* ---- Cards ---- */
.card { border-radius: 16px; padding: 28px 26px; }
.card:hover { transform: translateY(-5px); }
.service-card h3 { font-size: 1.22rem; }
.card-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.staff-card .card-desc { -webkit-line-clamp: 4; }

/* ---- Staff ---- */
.staff-avatar {
  background: linear-gradient(140deg, var(--primary) 0%, var(--secondary) 85%);
  box-shadow: var(--shadow);
  letter-spacing: 0.03em;
  border: 3px solid rgba(255, 255, 255, 0.65);
}
.staff-photo { border: 3px solid rgba(255, 255, 255, 0.65); }

/* ---- Gallery ---- */
.gallery-grid { gap: 16px; }
.gallery-item { border-radius: 14px; }
.gallery-item::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 12, 24, 0.35));
  transition: opacity 0.25s ease; pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.lightbox-close { padding: 8px 14px; min-width: 44px; min-height: 44px; }
.lightbox-close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ---- Reviews ---- */
.review-card { border-top: 3px solid var(--accent); }
.review-card p { font-size: 0.98rem; }

/* ---- First visit steps ---- */
.first-visit-lead { max-width: 640px; margin: -18px auto 34px; }
.first-visit-step { text-align: center; align-items: center; gap: 10px; }
.first-visit-step p { margin: 0; font-weight: 600; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(140deg, var(--primary), var(--secondary));
  color: #fff; font-weight: 700; font-size: 1.1rem; font-family: var(--font-heading);
}
.first-visit-cta { margin-top: 34px; }

/* ---- Contact ---- */
.contact-book-cta {
  margin-top: 28px; padding: 22px 24px; border-radius: 14px;
  background: var(--light); border: 1px solid var(--border);
}
.contact-book-cta h3 { margin-bottom: 0.3em; }
.contact-book-cta p { color: var(--muted); font-size: 0.92rem; }

/* ---- Buttons / tap targets ---- */
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
}

/* ==================================================================
   LUXE PREMIUM (1.8.0) — full editorial upgrade layer.
   Everything below extends the shared components; brand-colour
   variables and theme files still win where they set them.
   ================================================================== */

/* ---- Shared editorial primitives ---- */
.eyebrow, .hero-eyebrow {
  display: inline-block; font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.9em;
}
.hero-eyebrow { color: rgba(255,255,255,0.86); margin-bottom: 0.6em; }
.section-sub { color: var(--muted); max-width: 620px; margin: 0.4em auto 0; }
.section-head.center-head { flex-direction: column; align-items: center; text-align: center; gap: 2px; position: relative; }
.section-head.center-head .eyebrow { margin-bottom: 0.4em; }
.section-head.center-head h2 { margin: 0; }
.section-head-link { position: static; margin-top: 12px; }
.section-cta { margin-top: 44px; margin-bottom: 0; }

/* ---- Hero (image-led) ---- */
.hero-premium { min-height: 84vh; text-align: left; }
/* Use the same centred page container as the header so the hero copy
   left-aligns exactly under the site logo; the copy itself is capped so
   it stays an editorial column on the left. */
.hero-premium .hero-inner { max-width: var(--container); margin: 0 auto; }
.hero-premium .hero-title,
.hero-premium .hero-subtitle { max-width: 720px; }
.hero-premium .hero-actions { justify-content: flex-start; }
.hero-premium .hero-badges { justify-content: flex-start; }
.hero-premium .hero-overlay {
  background: linear-gradient(105deg, rgba(12,10,18,0.78) 0%, rgba(12,10,18,0.5) 48%, rgba(12,10,18,0.22) 100%),
              linear-gradient(0deg, rgba(12,10,18,0.55), transparent 55%);
}
.hero-premium .hero-subtitle { margin-left: 0; margin-right: 0; }
@media (max-width: 760px) {
  .hero-premium { text-align: center; min-height: 88vh; }
  .hero-premium .hero-inner { margin: 0 auto; padding-left: 20px; padding-right: 20px; }
  .hero-premium .hero-actions, .hero-premium .hero-badges { justify-content: center; }
}

/* ---- Trust strip (with icons) ---- */
.trust-strip {
  padding: 22px 0; background: var(--light);
  border-bottom: 1px solid var(--border);
}
.trust-badges-inline {
  margin: 0; gap: 14px 40px; justify-content: center; align-items: center;
}
.trust-badges-inline li {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; padding: 0; font-size: 0.9rem; font-weight: 600;
  color: var(--text); opacity: 1; letter-spacing: 0.01em;
}
.trust-badges-inline .tb-icon { color: var(--accent); flex-shrink: 0; }

/* ---- Welcome split ---- */
.split-welcome { gap: 60px; }
.split-welcome .welcome-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 18px; }
.welcome-copy .welcome-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
@media (max-width: 1000px) { .split-reverse { direction: ltr; } }

/* ---- Service cards (home signature) ---- */
.service-card { position: relative; }
.card-tag {
  align-self: flex-start; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 4px;
}
.meta-badge {
  display: inline-flex; align-items: center; font-size: 0.8rem; font-weight: 600;
  color: var(--muted); background: var(--light);
  border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px;
}
.meta-badge.price-badge, .meta-badge.cat-badge { color: var(--primary); }
.service-meta { flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.card-book { margin-top: auto; }

/* ---- Services menu page ---- */
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .card-grid.cols-2 { grid-template-columns: 1fr; } }
.service-group-head { margin-bottom: 22px; }
.service-menu-card { gap: 10px; }
.service-menu-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; width: 100%; }
.service-menu-top h3 { margin: 0; font-size: 1.18rem; }
.service-menu-top .price { white-space: nowrap; font-size: 1.15rem; }
.service-menu-card .card-desc { -webkit-line-clamp: 3; margin-bottom: 4px; }
.service-menu-foot {
  display: flex; flex-direction: column; align-items: stretch; gap: 12px;
  width: 100%; margin-top: auto; padding-top: 8px;
}
.service-menu-badges {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  min-height: 32px;
}
.service-menu-cta {
  width: 100%;
  justify-content: flex-end;
  gap: 16px;
}
.service-menu-cta .btn { margin-top: 0; }
.service-menu-cta .service-details-link,
.service-menu-cta .service-crawl-link { white-space: nowrap; }
.service-options { margin: 2px 0 6px; padding: 0; list-style: none; width: 100%; }
.service-options li { display: flex; gap: 12px; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 0.9rem; }
.service-options .opt-name { flex: 1; font-weight: 600; }
.service-options .opt-duration { color: var(--muted); font-size: 0.82rem; }
.service-options .opt-price { font-weight: 700; color: var(--primary); }
@media (max-width: 520px) {
  .service-menu-cta {
    justify-content: flex-start;
    gap: 12px 16px;
  }
  .service-menu-cta .btn { margin-left: auto; }
}

/* ---- Service detail page ---- */
.service-detail-page { padding-top: 56px; }
.service-detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  margin-bottom: 42px;
}
.service-detail-intro.has-image {
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr);
}
.service-detail-copy h1 {
  margin: 0 0 16px;
  max-width: 18ch;
}
.service-detail-back { margin: 0 0 18px; }
.service-detail-copy .lead {
  color: var(--muted);
  max-width: 62ch;
}
.service-detail-facts,
.service-detail-staff { margin-bottom: 0; }
.service-detail-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 760px) {
  .service-detail-page { padding-top: 38px; }
  .service-detail-intro.has-image { grid-template-columns: 1fr; }
  .service-detail-image { order: -1; }
}

/* Service notes */
.service-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
.service-note {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--light); border: 1px solid var(--border);
  border-radius: 16px; padding: 26px 28px;
}
.service-note .note-icon { color: var(--accent); line-height: 1; flex-shrink: 0; display: flex; }
.service-note h3 { margin-bottom: 0.35em; font-size: 1.08rem; }
.service-note p { margin: 0; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 760px) { .service-notes { grid-template-columns: 1fr; } }

/* ---- Staff full cards ---- */
.staff-card-full { padding-top: 34px; }
.staff-media { margin-bottom: 6px; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; padding: 0; margin: 4px 0 16px; }
.chip {
  font-size: 0.75rem; font-weight: 600; color: var(--primary);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 999px; padding: 4px 12px;
}
.staff-book { margin-top: auto; }

/* ---- Gallery mosaic ---- */
.gallery-mosaic {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr; gap: 16px;
}
.gallery-mosaic .gallery-item { aspect-ratio: 1; }
.gallery-mosaic .gallery-feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-sparse { grid-template-columns: repeat(3, 1fr); }
.gallery-preview-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-item-static { cursor: default; }
.gallery-item-static::after { display: none; }
.gallery-item-static:hover img { transform: scale(1.04); }
.gallery-empty-note { max-width: 640px; margin: -8px auto 34px; }
.gallery-cta { margin-top: 52px; }
.gallery-cta .lead { margin-bottom: 16px; }
@media (max-width: 1000px) { .gallery-mosaic { grid-template-columns: repeat(2, 1fr); } .gallery-preview-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .gallery-mosaic, .gallery-sparse, .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-mosaic .gallery-feature { grid-column: span 2; grid-row: span 1; }
}

/* ---- Reviews ---- */
.review-card { justify-content: flex-start; }
.review-card p { flex: 1; font-style: italic; color: var(--text); }
.review-footer { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--primary), var(--secondary));
  color: #fff; font-weight: 700; font-size: 0.85rem; font-family: var(--font-heading);
}
.review-meta { display: flex; flex-direction: column; line-height: 1.3; }
.review-name { font-weight: 700; color: var(--dark); font-style: normal; }
.review-verified { font-size: 0.76rem; color: var(--muted); }

/* ---- Contact cards ---- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-card .cc-icon { display: block; margin-bottom: 12px; color: var(--accent); }
.contact-card .cc-icon .ui-icon { width: 26px; height: 26px; }
.contact-card-book .cc-icon { color: #fff; }
.service-note .note-icon .ui-icon { width: 22px; height: 22px; }
.map-placeholder-inner .cc-icon { color: #fff; }
.map-placeholder-inner .cc-icon .ui-icon { width: 34px; height: 34px; }
.contact-card h3 { margin-bottom: 0.4em; font-size: 1.05rem; }
.contact-card p, .contact-card address { margin: 0; color: var(--muted); font-style: normal; }
.contact-card a { color: var(--primary); font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card .hours-list { max-width: none; }
.contact-card .hours-list li { font-size: 0.86rem; padding: 4px 0; }
.contact-card .cc-rich p { margin: 0 0 0.5em; font-size: 0.9rem; }
.contact-card-book { background: linear-gradient(150deg, var(--primary), color-mix(in srgb, var(--primary) 70%, var(--secondary))); border: 0; color: #fff; }
.contact-card-book h3, .contact-card-book p { color: #fff; }
.contact-card-book .btn-primary { background: #fff; color: var(--primary); border-color: #fff; margin-top: 12px; }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }

.contact-form-section .contact-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.contact-form-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 18px; padding: 34px 32px; box-shadow: var(--shadow);
}
@media (max-width: 760px) { .contact-form-wrap { padding: 24px 20px; } }

/* Map placeholder */
.map-placeholder {
  height: 340px; border-radius: var(--radius); background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
  box-shadow: var(--shadow);
}
.map-placeholder-inner .map-address { max-width: 420px; margin: 8px auto 16px; color: rgba(255,255,255,0.92); }
/* Brand-colour placeholder when no map is configured — no stock photo. */
.map-placeholder-brand {
  /* Plain fallback first for engines without color-mix support. */
  background-color: var(--primary);
  background-image: linear-gradient(150deg, var(--primary), var(--secondary));
  background-image: linear-gradient(150deg, var(--primary), color-mix(in srgb, var(--primary) 65%, var(--secondary)));
}

/* ---- About alternating sections ---- */
.about-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); }
.about-copy h2 { margin-top: 0.1em; }
.about-copy .rich-text > :first-child { margin-top: 0; }
.about-story .about-copy, .about-different .about-copy, .about-approach .about-copy { align-self: center; }

/* ---- Premium CTA (image-backed) ---- */
.cta-section-premium { background-size: cover; background-position: center; }
.cta-section-premium .lead { color: rgba(255,255,255,0.86); max-width: 560px; margin: 0 auto 1.4em; }

/* ---- Header account button ---- */
.nav-account { display: inline-flex; align-items: center; gap: 7px; }
.nav-account svg { flex-shrink: 0; }
@media (min-width: 761px) {
  .nav-account {
    border: 1.5px solid var(--border); border-radius: 999px; padding: 8px 15px !important;
    font-weight: 600;
  }
  .nav-account:hover { border-color: var(--primary); background: transparent; color: var(--primary); }
}
.nav-cta { box-shadow: 0 4px 14px rgba(15,18,34,0.16); }

/* ---- Mobile book bar: don't cover on /book or when lightbox open ---- */
body.route-book .mobile-book-bar { display: none !important; }
body.lightbox-open .mobile-book-bar { display: none !important; }

/* ---- Section find blocks ---- */
.contact-preview .find-hours .hours-list { max-width: 380px; }
.contact-preview .find-address { color: var(--muted); }

/* ---- Reveal safety: never leave content invisible if JS fails ---- */
@media (max-width: 1px) { .reveal { opacity: 1; } }

/* ---- Consent-safe marketing footer (shared by every theme/layout) ---- */
.footer-marketing { display:grid; grid-template-columns:minmax(220px,.7fr) minmax(0,1.6fr); gap:24px 44px; align-items:start; padding-top:32px; padding-bottom:32px; border-top:1px solid rgba(255,255,255,.18); }
.footer-marketing h3,.footer-marketing h4,.footer-marketing p { margin:0; }
.footer-marketing h3,.footer-marketing h4 { color:inherit; }
.footer-marketing-intro p { margin-top:8px; max-width:34ch; opacity:.82; }
.footer-marketing-channels { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:14px; }
.footer-marketing-channel { min-width:0; padding:18px; border:1px solid rgba(255,255,255,.16); border-radius:12px; background:rgba(255,255,255,.06); }
.footer-marketing-channel h4 { margin-bottom:10px; color:inherit; }
.footer-marketing form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:stretch; }
.footer-marketing input[type=email],.footer-marketing input[type=tel] { width:100%; min-width:0; padding:12px 14px; border:1px solid rgba(23,32,51,.28); border-radius:8px; background:#fff; color:#172033; }
.footer-marketing .btn { min-width:126px; white-space:nowrap; }
.footer-marketing small { display:block; margin-top:9px; line-height:1.45; opacity:.78; }
.marketing-submit-status { grid-column:1/-1; min-height:1.25em; font-size:.85rem; }
.marketing-page { max-width:720px; }
.marketing-panel { padding:clamp(24px,5vw,48px); border:1px solid var(--border); border-radius:16px; background:var(--white); box-shadow:var(--shadow); }
.marketing-panel form { margin-top:24px; }
.marketing-options { border:0; padding:0; margin:0 0 22px; }
.marketing-option { display:flex; gap:12px; align-items:flex-start; margin:14px 0; }
.marketing-option input { margin-top:.3em; width:20px; height:20px; }
.marketing-alert { padding:14px 16px; border-radius:9px; background:var(--light); margin:0 0 20px; }
.marketing-hp { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; opacity:0!important; }
@media(max-width:900px) {
  .footer-marketing { grid-template-columns:1fr; }
  .footer-marketing-intro p { max-width:none; }
}
@media(max-width:560px) {
  .footer-marketing-channels { grid-template-columns:1fr; }
  .footer-marketing form { grid-template-columns:1fr; }
  .footer-marketing .btn { width:100%; }
}

/* ---- Customer marketing moments -----------------------------------------
   A quiet, editorial "front desk" treatment for token pages. It inherits
   the active tenant's type, ink and accent so it never feels like a system
   interstitial. */
.marketing-section {
  min-height: min(680px, 72vh);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 30%),
    linear-gradient(180deg, var(--light), var(--white));
}
.marketing-page { width: 100%; }
.marketing-panel {
  position: relative;
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 62px);
  border-radius: clamp(18px, 3vw, 28px);
  background: color-mix(in srgb, var(--white) 94%, var(--accent));
  box-shadow: 0 22px 70px color-mix(in srgb, var(--primary) 13%, transparent), 0 2px 8px color-mix(in srgb, var(--primary) 6%, transparent);
  text-align: center;
  animation: marketing-arrive .55s ease both;
}
.marketing-preview-banner { padding:12px 14px; border:1px solid color-mix(in srgb,var(--button,#2563eb) 35%,transparent); border-radius:10px; background:color-mix(in srgb,var(--button,#2563eb) 10%,transparent); }
.marketing-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent);
}
.marketing-panel-success::before { background: var(--primary); }
.marketing-panel-caution::before { background: var(--accent); }
.marketing-panel-header { display: flex; flex-direction: column; align-items: center; gap: 15px; margin-bottom: 25px; }
.marketing-kicker {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.marketing-kicker span { color: var(--accent); margin: 0 .3em; }
.marketing-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 50%;
  color: var(--primary);
  background: color-mix(in srgb, var(--accent) 12%, var(--white));
  animation: marketing-mark-in .7s .12s ease both;
}
.marketing-mark-success { color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, var(--white)); border-color: color-mix(in srgb, var(--primary) 24%, transparent); }
.marketing-mark-caution { color: var(--accent); }
.marketing-mark svg { width: 29px; height: 29px; }
.marketing-panel h1 { max-width: 16ch; margin: 0 auto 15px; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.04; }
.marketing-lead { max-width: 48ch; margin: 0 auto; color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
.marketing-panel form { max-width: 510px; margin: 34px auto 0; text-align: left; }
.marketing-options { margin: 0 0 25px; padding: 0; border: 0; }
.marketing-options legend { margin-bottom: 14px; color: var(--text); font-weight: 700; font-size: .92rem; }
.marketing-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 10px 0;
  padding: 17px 18px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: color-mix(in srgb, var(--light) 42%, var(--white));
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.marketing-option:hover { border-color: color-mix(in srgb, var(--primary) 48%, var(--border)); background: var(--white); transform: translateY(-1px); }
.marketing-option:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 38%, transparent); outline-offset: 2px; border-color: var(--primary); }
.marketing-option input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primary); }
.marketing-option span { display: flex; flex-direction: column; gap: 4px; color: var(--text); line-height: 1.35; }
.marketing-option strong { font-size: .98rem; }
.marketing-option small { color: var(--muted); font-size: .87rem; line-height: 1.5; }
.marketing-panel .btn { min-height: 48px; padding-inline: 23px; }
.marketing-panel form .btn { width: 100%; }
.marketing-alert { margin: 22px auto 0; padding: 13px 16px; border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent); border-radius: 10px; color: var(--text); background: color-mix(in srgb, var(--accent) 9%, var(--white)); text-align: left; line-height: 1.5; }
.marketing-resend-form { text-align: center !important; }
.marketing-resend-form .btn { width: auto !important; }
.marketing-panel > p:last-child:not(.marketing-reassurance) { margin-top: 30px; }
.marketing-panel > p:last-child a { color: var(--primary); font-weight: 700; text-underline-offset: 3px; }
.marketing-reassurance { margin: 30px auto 0; max-width: 43ch; color: var(--muted); font-size: .8rem; line-height: 1.55; }
@keyframes marketing-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marketing-mark-in { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 600px) {
  .marketing-section { min-height: auto; padding: 42px 0 54px; }
  .marketing-panel { padding: 34px 20px 30px; }
  .marketing-panel h1 { font-size: clamp(1.9rem, 10vw, 2.55rem); }
  .marketing-lead { font-size: .98rem; }
  .marketing-option { padding: 15px 14px; }
  .marketing-resend-form .btn { width: 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
  .marketing-panel, .marketing-mark { animation: none; }
  .marketing-option { transition: none; }
}

/* ---- Branded opaque-token pathways ---------------------------------------
   These pages intentionally use the tenant's existing typography and
   variables, while keeping the transactional card visually separate from
   public marketing content. */
.premium-token-page {
  min-height: min(760px, 78vh);
  padding: 56px 20px 72px;
  background:
    radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 32%),
    linear-gradient(180deg, var(--light), var(--white));
}
.premium-token-shell { width: 100%; max-width: 760px; margin: 0 auto; }
.premium-token-brand { display: flex; align-items: center; justify-content: center; min-height: 52px; margin-bottom: 22px; }
.premium-token-logo { max-height: 52px; width: auto; }
.premium-token-brand-name { color: var(--dark); font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; }
.premium-token-card {
  padding: clamp(25px, 5vw, 48px);
  border: 1px solid var(--border); border-radius: 18px; background: var(--white);
  box-shadow: var(--shadow-lg);
}
.premium-token-card h1 { margin-bottom: .35em; text-align: center; }
.premium-token-lead { max-width: 58ch; margin: 0 auto 26px; color: var(--muted); text-align: center; }
.premium-token-summary {
  max-width: 560px; margin: 0 auto 26px; padding: 14px 18px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--light);
}
.premium-token-summary div { display: flex; justify-content: space-between; gap: 18px; padding: 4px 0; }
.premium-token-summary dt { color: var(--muted); font-size: .86rem; }
.premium-token-summary dd { margin: 0; font-weight: 600; text-align: right; }
.premium-token-form { max-width: 620px; margin: 0 auto; }
.premium-token-form > .btn { margin-top: 6px; }
.premium-token-details { margin: 8px 0 22px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; }
.premium-token-details summary { cursor: pointer; font-weight: 600; }
.premium-token-details[open] summary { margin-bottom: 18px; }
.premium-token-consents { margin: 24px 0; padding: 15px 17px; border: 1px solid var(--border); border-radius: 10px; }
.premium-token-consents legend { padding: 0 6px; font-size: .92rem; font-weight: 700; }
.premium-token-check { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; font-size: .9rem; line-height: 1.45; }
.premium-token-check input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); }
.premium-token-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.premium-token-help { color: var(--muted); font-size: .88rem; text-align: center; }
.premium-token-state { text-align: center; }
.premium-token-state-ok { max-width: 560px; margin: 0 auto; }
.premium-token-state-warn { max-width: 580px; margin: 0 auto; }
.premium-token-icon {
  display: flex; align-items: center; justify-content: center; width: 62px; height: 62px;
  margin: 0 auto 18px; border-radius: 50%; color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, var(--white));
  font-size: 1.8rem; font-weight: 700;
}
.premium-token-state-warn .premium-token-icon {
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--white));
}
.premium-token-state p:last-child { margin-top: 26px; }
@media (max-width: 600px) {
  .premium-token-page { padding: 34px 14px 52px; }
  .premium-token-card { padding: 26px 18px; border-radius: 14px; }
  .premium-token-summary div { display: block; }
  .premium-token-summary dd { text-align: left; }
}
