/* Built from _system/tokens.css + _system/base.css (Shift With Talsi design kit). Rebuild this file from the kit; don't edit it by hand. */
/* ==========================================================================
   Shift With Talsi: design tokens
   Every token is scoped to .swt (the page wrapper), so nothing leaks into
   the WordPress theme and no theme variable can clash with ours.
   Values were pulled from the live/approved pages (home, programs, YCLL,
   upsells, SHIFTED v1). See _system/design_system.md for the reasoning.
   ========================================================================== */

.swt {
  /* ---- Core palette ---------------------------------------------------- */
  --swt-ivory:        #FBF6EF;  /* page background (home, programs, YCLL cream) */
  --swt-paper:        #FFFDF9;  /* cards, light sections, text on dark */
  --swt-blush:        #F9EFE7;  /* softest warm tint (YCLL mist) */
  --swt-mist:         #F1E4DA;  /* warm tinted section (home warm-mist) */
  --swt-rose:         #C98272;  /* brand accent: lines, glows, highlights */
  --swt-rose-dark:    #A85F54;  /* hover states, large text only (4.4:1 on ivory) */
  --swt-rose-ink:     #9A544A;  /* rose for small text and buttons (5.2:1 on ivory) */
  --swt-rose-soft:    #E9B6AB;  /* rose on dark backgrounds */
  --swt-plum:         #2C1C2E;  /* headings, dark sections, strong text */
  --swt-plum-2:       #3B263D;  /* dark gradient end */
  --swt-ink:          #5F5158;  /* body text (7:1 on ivory) */
  --swt-muted:        #7F6D73;  /* captions/notes only (4.5:1 on ivory) */
  --swt-lavender:     #D8CBE3;  /* atmosphere, badges */
  --swt-lavender-soft:#F1EAF6;
  --swt-sage:         #DDE7D8;  /* atmosphere, calm sections */
  --swt-sage-soft:    #F2F7EF;
  --swt-sage-mid:     #AAB7A3;
  --swt-gold:         #B98A4A;  /* "available" badges, I AM Reset */
  --swt-line:         #E6D8CE;  /* hairlines on ivory */
  --swt-border:       rgba(44, 28, 46, .12);
  --swt-on-dark:      rgba(255, 253, 249, .84); /* body text on plum */

  /* ---- Effects ---------------------------------------------------------- */
  --swt-shadow:       0 24px 70px rgba(44, 28, 46, .12);
  --swt-shadow-soft:  0 16px 42px rgba(44, 28, 46, .07);
  --swt-highlight:    linear-gradient(180deg, transparent 52%, rgba(201, 130, 114, .24) 52%);

  /* ---- Typography ------------------------------------------------------- */
  --swt-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --swt-font-body:    Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --swt-font-hand:    Caveat, "Segoe Script", "Bradley Hand", cursive;

  --swt-fs-h1:        clamp(52px, 8.4vw, 112px);
  --swt-fs-h2:        clamp(40px, 5.4vw, 74px);
  --swt-fs-h3:        clamp(28px, 3vw, 44px);
  --swt-fs-lead:      clamp(19px, 1.6vw, 22px);
  --swt-fs-body:      18px;
  --swt-fs-small:     14px;
  --swt-fs-eyebrow:   12px;
  --swt-lh-display:   .96;
  --swt-lh-body:      1.6;

  /* ---- Layout ----------------------------------------------------------- */
  --swt-max:          1180px;
  --swt-narrow:       760px;
  --swt-gutter:       20px;
  --swt-section:      clamp(64px, 9vw, 104px);
  --swt-radius:       32px;
  --swt-radius-sm:    20px;
  --swt-pill:         999px;

  /* ---- Offer accent: the ONE knob per page ------------------------------
     Pick an offer class on the wrapper (e.g. <div class="swt swt--sp-switch">)
     or override these three lines for a new offer.
     --offer-accent     decorative colour (borders, glows, rules, icons)
     --offer-ink        same hue, dark enough for buttons + small text (>= 4.5:1)
     --offer-glow       translucent version for background radials        */
  --offer-accent:     var(--swt-rose);
  --offer-ink:        var(--swt-rose-ink);
  --offer-glow:       rgba(201, 130, 114, .18);
}

/* ---- Offer presets (accents from shift_with_talsi_home.html .swt-offer) -- */
.swt.swt--sp-switch      { --offer-accent:#C98272; --offer-ink:#9A544A; --offer-glow:rgba(201,130,114,.18); }
.swt.swt--spiral-stopper { --offer-accent:#AFC3A7; --offer-ink:#5E7257; --offer-glow:rgba(175,195,167,.26); }
.swt.swt--reconnect      { --offer-accent:#B9A5CB; --offer-ink:#725F89; --offer-glow:rgba(185,165,203,.24); }
.swt.swt--iam-reset      { --offer-accent:#B98A4A; --offer-ink:#8E6530; --offer-glow:rgba(185,138,74,.16); }
.swt.swt--return         { --offer-accent:#79A392; --offer-ink:#3F5F55; --offer-glow:rgba(121,163,146,.20); }
/* SHIFTED: warm, energetic palette of the live page (/shifted-sp), confirmed intentional by Pedro 2026-10-15 */
.swt.swt--shifted        { --offer-accent:#F04F78; --offer-ink:#C42F5B; --offer-glow:rgba(243,169,59,.22); }
/* PROPOSED (not yet approved): a deeper love-rose so YCLL reads differently from the Switch */
.swt.swt--cant-lose-love { --offer-accent:#B4566B; --offer-ink:#9C4A5E; --offer-glow:rgba(180,86,107,.16); }
/* ==========================================================================
   Shift With Talsi: base layer
   Rules:
   1. Every selector starts with .swt (or is the single html:has() guard).
   2. The .swt wrapper breaks out of any theme content column (full-bleed),
      so Custom HTML blocks, Elementor HTML widgets and CartFlows steps all
      render edge to edge. Add .swt--contained to keep it inside the column.
   3. No JavaScript is needed anywhere in the kit.
   ========================================================================== */

/* Stop the 100vw wrapper from creating a horizontal scrollbar. */
html:has(.swt) { overflow-x: clip; }

.swt {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--swt-ivory);
  color: var(--swt-ink);
  font-family: var(--swt-font-body);
  font-size: var(--swt-fs-body);
  line-height: var(--swt-lh-body);
  text-align: left;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.swt.swt--contained { width: auto; max-width: none; margin-left: 0; margin-right: 0; }

.swt *, .swt *::before, .swt *::after { box-sizing: border-box; }

/* ---- Typography (scoped resets; .swt.swt doubles specificity to beat typical theme rules like .entry-content p) */
.swt.swt h1, .swt.swt h2, .swt.swt h3, .swt.swt h4 {
  font-family: var(--swt-font-display);
  font-weight: 600;
  color: var(--swt-plum);
  line-height: var(--swt-lh-display);
  letter-spacing: -.03em;
  text-transform: none;
  margin: 0 0 .45em;
  padding: 0;
  border: 0;
}
.swt.swt h1 { font-size: var(--swt-fs-h1); letter-spacing: -.04em; }
.swt.swt h2 { font-size: var(--swt-fs-h2); }
.swt.swt h3 { font-size: var(--swt-fs-h3); line-height: 1.02; }
.swt.swt h4 { font-family: var(--swt-font-body); font-size: 15px; font-weight: 800; letter-spacing: .02em; line-height: 1.3; }
.swt.swt p  { margin: 0 0 1em; font-size: inherit; line-height: inherit; color: inherit; }
.swt.swt ul, .swt.swt ol { margin: 0 0 1em; padding: 0 0 0 1.2em; }
.swt.swt li { margin: 0 0 .4em; }
.swt.swt a  { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.swt.swt img { display: block; max-width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; }
.swt.swt strong, .swt.swt b { font-weight: 800; color: var(--swt-plum); }
.swt.swt em { font-style: italic; }
.swt.swt mark { background: var(--swt-highlight); color: inherit; padding: 0 .05em; }
.swt.swt blockquote { margin: 0; padding: 0; border: 0; quotes: none; }
.swt.swt figure { margin: 0; }
.swt.swt details, .swt.swt summary { margin: 0; padding: 0; }
.swt.swt :focus-visible { outline: 3px solid var(--offer-ink); outline-offset: 3px; border-radius: 6px; }

/* ---- Layout ------------------------------------------------------------ */
.swt.swt .swt-container { width: min(var(--swt-max), calc(100% - 2 * var(--swt-gutter))); margin-inline: auto; }
.swt.swt .swt-narrow    { width: min(var(--swt-narrow), calc(100% - 2 * var(--swt-gutter))); margin-inline: auto; }
.swt.swt .swt-section   { position: relative; padding-block: var(--swt-section); }
.swt.swt .swt-center    { text-align: center; }
.swt.swt .swt-center .swt-lines, .swt.swt .swt-center .swt-actions { justify-content: center; }

/* Section surfaces */
.swt.swt .swt-section--paper    { background: var(--swt-paper); }
.swt.swt .swt-section--blush    { background: var(--swt-blush); }
.swt.swt .swt-section--mist     { background: var(--swt-mist); }
.swt.swt .swt-section--lavender { background: var(--swt-lavender-soft); }
.swt.swt .swt-section--sage     { background: var(--swt-sage-soft); }
.swt.swt .swt-section--glow {
  background:
    radial-gradient(circle at 50% 0%, var(--offer-glow), transparent 38%),
    radial-gradient(circle at 12% 30%, rgba(216, 203, 227, .32), transparent 26%),
    var(--swt-ivory);
}
.swt.swt .swt-section--plum {
  background:
    radial-gradient(circle at 85% 0%, rgba(216, 203, 227, .22), transparent 32%),
    linear-gradient(180deg, var(--swt-plum) 0%, var(--swt-plum-2) 100%);
  color: var(--swt-on-dark);
}
.swt.swt .swt-section--plum h1, .swt.swt .swt-section--plum h2,
.swt.swt .swt-section--plum h3, .swt.swt .swt-section--plum strong { color: var(--swt-paper); }

/* ---- Text helpers ------------------------------------------------------ */
.swt.swt .swt-eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  font-family: var(--swt-font-body);
  font-size: var(--swt-fs-eyebrow);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--offer-ink);
}
.swt.swt .swt-section--plum .swt-eyebrow { color: var(--swt-rose-soft); }
.swt.swt .swt-lead  { font-size: var(--swt-fs-lead); line-height: 1.5; color: var(--swt-ink); }
.swt.swt .swt-hand  { font-family: var(--swt-font-hand); font-size: 1.6em; line-height: 1; color: var(--offer-ink); }
.swt.swt .swt-note  { font-size: var(--swt-fs-small); line-height: 1.5; color: var(--swt-muted); }
.swt.swt .swt-section--plum .swt-note { color: rgba(255, 253, 249, .62); }

/* Staccato line stacks: Talsi's short-line rhythm ("Not calm. Not detached.") */
.swt.swt .swt-lines { display: flex; flex-direction: column; gap: .15em; margin: 0 0 1.1em; }
.swt.swt .swt-lines p { margin: 0; }
.swt.swt .swt-lines--display p { font-family: var(--swt-font-display); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; color: var(--swt-plum); letter-spacing: -.02em; }

/* Accent rule */
.swt.swt .swt-rule { width: 64px; height: 2px; border: 0; margin: 28px 0; background: var(--offer-accent); border-radius: 2px; }
.swt.swt .swt-center .swt-rule { margin-inline: auto; }

/* ---- Buttons ----------------------------------------------------------- */
.swt.swt .swt-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.swt.swt .swt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 32px;
  border: 0;
  border-radius: var(--swt-pill);
  background: var(--offer-ink);
  color: var(--swt-paper);
  font-family: var(--swt-font-body);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 16px 30px var(--offer-glow);
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.swt.swt .swt-button:hover { transform: translateY(-1px); filter: brightness(1.08); color: var(--swt-paper); }
.swt.swt .swt-button--dark  { background: var(--swt-plum); box-shadow: 0 16px 30px rgba(44, 28, 46, .18); }
.swt.swt .swt-button--light { background: var(--swt-paper); color: var(--swt-plum); border: 1px solid var(--swt-border); box-shadow: none; }
.swt.swt .swt-button--light:hover { color: var(--swt-plum); }
.swt.swt .swt-button--block { display: flex; width: 100%; }
.swt.swt .swt-section--plum .swt-button { background: var(--swt-paper); color: var(--swt-plum); }
.swt.swt .swt-textlink { font-size: 14px; font-weight: 700; color: var(--swt-muted); text-decoration: underline; }

/* ---- Badges ------------------------------------------------------------ */
.swt.swt .swt-badge {
  display: inline-flex; width: fit-content;
  padding: 8px 13px; margin: 0 0 18px;
  border-radius: var(--swt-pill);
  border: 1px solid color-mix(in srgb, var(--offer-accent) 40%, transparent);
  background: color-mix(in srgb, var(--offer-accent) 14%, transparent);
  color: var(--offer-ink);
  font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
}

/* ---- Card -------------------------------------------------------------- */
.swt.swt .swt-card {
  background: rgba(255, 253, 249, .88);
  border: 1px solid var(--swt-border);
  border-radius: var(--swt-radius);
  box-shadow: var(--swt-shadow-soft);
  padding: clamp(24px, 3.4vw, 40px);
}

/* ---- Image placeholder look (shows a calm box if a URL isn't swapped yet) */
.swt img[src*="/uploads/swt/"] { background: var(--swt-mist); min-height: 80px; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 720px) {
  .swt { --swt-fs-body: 17px; --swt-gutter: 16px; --swt-radius: 26px; }
  .swt.swt .swt-actions { flex-direction: column; align-items: stretch; }
  .swt.swt .swt-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .swt *, .swt *::before, .swt *::after { transition: none !important; animation: none !important; }
}
