/* ==========================================================
   WST theme styles
   Brand colors and fonts are also set in Theme Settings > Style Guide.
   This file adds the WST details Kajabi's settings don't cover.
   ========================================================== */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --wst-paper: #F2F5F4;
  --wst-surface: #E5ECEA;
  --wst-ink: #13201E;
  --wst-muted: #56655F;
  --wst-line: #CBD6D2;
  --wst-accent: #2443D6;
  --wst-tangle: #9DAEA8;
  --wst-good: #1E7A4C;
  --wst-warn: #9A6A00;
  --wst-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

/* ---------- Type details (apply to every text block) ---------- */
h1, h2, h3, h4, h5 { letter-spacing: -0.02em; text-wrap: balance; }
h1 { line-height: 1.0; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--wst-accent); }
.background-dark h1 em, .background-dark h2 em { color: #8DA0FF; }

/* H6 is the WST eyebrow label */
h6, .h6 {
  font-family: var(--wst-mono) !important;
  font-weight: 500 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.block h6, .block .h6 { color: var(--wst-muted); }
.section.background-dark .block h6 { color: rgba(242, 245, 244, 0.7); }

/* Lists inside text blocks: short accent dash */
.block ul { list-style: none; padding-left: 0; }
.block ul li { position: relative; padding-left: 18px; margin-bottom: 10px; }
.block ul li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 8px; height: 1.5px; background: var(--wst-accent); }

/* "You leave with" result line */
.wst-result, .block p.wst-result {
  display: inline-block; margin-top: 18px; padding: 10px 14px; border-radius: 6px;
  background: var(--wst-surface); font-size: 15px;
}
.wst-result strong {
  font-family: var(--wst-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--wst-accent); margin-right: 8px;
}

/* Big proof numbers */
.wst-num { font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.wst-num em { font-style: normal; color: var(--wst-accent); }

/* Ruled rows: blocks given the "wst-rule" look via section settings below */
.btn { transition: transform .15s ease, background-color .2s; }
.btn:hover { transform: translateY(-1px); }

/* ---------- Hero drawing (Custom Code block) ---------- */
.wst-art { position: relative; aspect-ratio: 5 / 4; width: 100%; max-width: 100%; }
.wst-art canvas { width: 100%; height: 100%; display: block; }
.wst-art span {
  position: absolute; bottom: -4px; font-family: var(--wst-mono); font-size: 11.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--wst-muted);
}
.wst-art .l { left: 0; }
.wst-art .r { right: 0; color: var(--wst-accent); }

/* ---------- AI fit check (Custom Code block) ---------- */
.wst-fit { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; background: var(--wst-ink); color: var(--wst-paper); border-radius: 12px; padding: clamp(24px, 5vw, 52px); text-align: left; }
.wst-fit > * { min-width: 0; }
.wst-fit h2 { color: var(--wst-paper) !important; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; font-weight: 800; margin: 0; }
.wst-fit .wst-label { font-family: var(--wst-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(242,245,244,.7); display: block; margin-bottom: 12px; }
.wst-fit .intro p { margin-top: 14px; color: rgba(242,245,244,.82); max-width: 44ch; }
.wst-fit .note { font-size: 13.5px; color: rgba(242,245,244,.65) !important; }
.wst-fit form { display: grid; gap: 12px; }
.wst-fit textarea { width: 100%; min-height: 150px; resize: vertical; padding: 14px 16px; border-radius: 8px; font: inherit; font-size: 16px; line-height: 1.55; color: var(--wst-ink); background: var(--wst-paper); border: 0; }
.wst-fit textarea:focus-visible, .wst-fit button:focus-visible { outline: 2px solid #8DA0FF; outline-offset: 3px; }
.wst-fit .examples { display: flex; flex-wrap: wrap; gap: 8px; }
.wst-fit .chip { font: inherit; font-size: 13px; line-height: 1.3; padding: 7px 11px; border-radius: 999px; cursor: pointer; background: transparent; color: var(--wst-paper); border: 1px solid rgba(242,245,244,.35); }
.wst-fit .chip:hover { border-color: var(--wst-paper); }
.wst-fit .row-x { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.wst-fit .go { font: inherit; font-weight: 600; font-size: 15px; padding: 12px 18px; border-radius: 6px; cursor: pointer; background: var(--wst-paper); color: var(--wst-ink); border: 0; }
.wst-fit .go[disabled] { opacity: .6; cursor: wait; }
.wst-fit .count { font-family: var(--wst-mono); font-size: 12px; color: rgba(242,245,244,.65); font-variant-numeric: tabular-nums; }
.wst-fit .status { font-size: 14px; color: rgba(242,245,244,.8); min-height: 1.4em; }
.wst-answer { grid-column: 1 / -1; background: var(--wst-paper); color: var(--wst-ink); border-radius: 10px; padding: clamp(20px, 4vw, 36px); display: grid; gap: 18px; }
.wst-answer h3 { color: var(--wst-ink) !important; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.12; margin: 0; }
.wst-answer .summary { color: var(--wst-muted); max-width: 64ch; margin: 0; }
.wst-answer .verdict { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-family: var(--wst-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.wst-answer .verdict::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.wst-answer .verdict.strong { color: var(--wst-good); background: rgba(30,122,76,.12); }
.wst-answer .verdict.partial { color: var(--wst-warn); background: rgba(154,106,0,.12); }
.wst-answer .verdict.outside { color: var(--wst-muted); background: var(--wst-surface); }
.wst-answer .lbl { font-family: var(--wst-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--wst-muted); }
.wst-answer ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wst-answer ol li { border-top: 2px solid var(--wst-line); padding-top: 12px; min-width: 0; }
.wst-answer ol li:first-child { border-color: var(--wst-accent); }
.wst-answer ol b { display: block; font-size: 18px; margin-bottom: 4px; }
.wst-answer ol span { color: var(--wst-muted); font-size: 15.5px; }
.wst-answer .next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--wst-line); padding-top: 18px; }
.wst-answer .next p { margin: 0; max-width: 60ch; }
.wst-answer .next a { font-weight: 600; font-size: 15px; padding: 12px 18px; border-radius: 6px; text-decoration: none; background: var(--wst-accent); color: #fff !important; }
@media (max-width: 900px) { .wst-answer ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .wst-fit { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 520px) { .wst-answer ol { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
