/* ───────────────────────────────────────────────────────────────
   Tender Lite Guide — deck styling
   Built on Lobang Go Where "Midnight Ice" (dark) palette.
   Type sizes scale with --ts (1 = Presentation, ~0.9 = Handout).
   ─────────────────────────────────────────────────────────────── */

:root {
  --ts: 1;                       /* global type-scale multiplier (Tweaks) */
  --pad: 104px;                  /* slide inner padding */
  /* accent is inherited from colors_and_type.css amber vars;
     the Tweaks panel overrides --lgw-amber-400/500/600 + gradient */
  --accent: var(--lgw-amber-400);
  --accent-2: var(--lgw-amber-600);
  --grad: var(--lgw-gradient-accent);
}

* { box-sizing: border-box; }

/* inline-SVG icon base (replaces icon-font) */
.ico {
  display: inline-block; flex: none;
  width: 1em; height: 1em;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: middle;
}

html, body { margin: 0; padding: 0; background: #07090d; }

deck-stage:not(:defined) { visibility: hidden; }
deck-stage { background: #07090d; }

/* Every slide is a dark canvas */
section.slide {
  width: 1920px;
  height: 1080px;
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(212,149,106,0.10), transparent 60%),
    var(--lgw-bg);
  color: var(--lgw-text-body);
  font-family: var(--lgw-font-sans);
  overflow: hidden;
  position: relative;
}
section.slide.plain { background: var(--lgw-bg); }

/* ── shared type helpers (all scale with --ts) ── */
.eyebrow {
  font-family: var(--lgw-font-sans);
  font-size: calc(22px * var(--ts));
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0;
}
.eyebrow.muted { color: var(--lgw-muted); }

.clause-chip {
  font-family: var(--lgw-font-mono);
  font-size: calc(19px * var(--ts));
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  border: 1px solid var(--lgw-border-hover);
  background: var(--lgw-amber-tint);
  padding: calc(9px * var(--ts)) calc(18px * var(--ts));
  border-radius: 999px;
  white-space: nowrap;
}

.title {
  font-family: var(--lgw-font-display);
  font-variation-settings: "opsz" 40, "wdth" 100;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--lgw-text-primary);
  margin: 0;
  font-size: calc(62px * var(--ts));
  text-wrap: balance;
}
.title .accent { color: var(--accent); }

.lead {
  font-size: calc(31px * var(--ts));
  line-height: 1.45;
  color: var(--lgw-text-secondary);
  margin: 0;
  text-wrap: pretty;
}

.body {
  font-size: calc(25px * var(--ts));
  line-height: 1.55;
  color: var(--lgw-text-body);
  margin: 0;
  text-wrap: pretty;
}
.body strong { color: var(--lgw-text-secondary); font-weight: 600; }

.caption {
  font-size: calc(19px * var(--ts));
  line-height: 1.5;
  color: var(--lgw-text-caption);
  margin: 0;
}

/* number / footer rail */
.slide-foot {
  position: absolute;
  left: var(--pad); right: var(--pad); bottom: calc(46px);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--lgw-font-mono);
  font-size: 17px; letter-spacing: 0.04em;
  color: var(--lgw-muted-light);
  text-transform: uppercase;
}
.slide-foot .wm { display: flex; align-items: center; gap: 10px; opacity: 0.9; }
.slide-foot .num { color: var(--lgw-text-tertiary); }

.wordmark { font-family: var(--lgw-font-sans); letter-spacing: -0.01em; white-space: nowrap; font-size: 17px; }
.wordmark .s { font-weight: 700; color: var(--lgw-text-tertiary); }
.wordmark .l { font-weight: 400; color: var(--lgw-muted); }

/* divider line */
.rule { height: 1px; width: 100%; background: var(--lgw-gradient-divider); border: 0; }

/* ─────────────────────────────────────────────────────────────
   COVER
   ───────────────────────────────────────────────────────────── */
.cover {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  padding: var(--pad);
}
.cover .left { display: flex; flex-direction: column; gap: 26px; max-width: 920px; }
.cover .brand { display: flex; align-items: center; gap: 14px; }
.cover .brand .balloon { width: 30px; height: auto; }
.cover .brand .wordmark { font-size: 24px; }
.cover h1 {
  font-family: var(--lgw-font-display);
  font-variation-settings: "opsz" 64, "wdth" 100;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: var(--lgw-text-primary);
  margin: 0;
  font-size: calc(94px * var(--ts));
}
.cover h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cover .sub { font-size: calc(28px * var(--ts)); line-height: 1.42; color: var(--lgw-text-tertiary); max-width: 760px; margin: 0; }
.cover .meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.legalese-btn {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  margin-top: 14px; margin-bottom: 6px;
  font-family: var(--lgw-font-sans);
  font-size: calc(22px * var(--ts)); font-weight: 600;
  color: var(--lgw-text-primary); text-decoration: none;
  background: var(--lgw-surface);
  border: 1px solid var(--lgw-border-hover);
  padding: 15px 26px; border-radius: 999px;
  transition: border-color var(--lgw-dur-base) var(--lgw-ease-out-expo),
              background var(--lgw-dur-base) var(--lgw-ease-out-expo);
}
.legalese-btn .ico { font-size: 22px; color: var(--accent); }
.legalese-btn:hover { border-color: var(--accent); background: var(--lgw-amber-tint); }
.pill {
  font-family: var(--lgw-font-mono);
  font-size: 20px; letter-spacing: 0.02em;
  color: var(--lgw-text-tertiary);
  border: 1px solid var(--lgw-border);
  background: var(--lgw-surface);
  padding: 11px 20px; border-radius: 999px;
}
.cover .balloon-stage {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.cover .balloon-stage::before {
  content: ""; position: absolute; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(212,149,106,0.22), transparent 62%);
  filter: blur(20px);
}
.cover .balloon-stage img { position: relative; width: 560px; max-width: 92%; height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,0.45)); }

/* ─────────────────────────────────────────────────────────────
   SECTION DIVIDER
   ───────────────────────────────────────────────────────────── */
.divider { display: flex; flex-direction: column; justify-content: center; padding: var(--pad); }
.divider .kicker { display: flex; align-items: baseline; gap: 28px; }
.divider .secnum {
  font-family: var(--lgw-font-display);
  font-variation-settings: "opsz" 96, "wdth" 100;
  font-weight: 800;
  font-size: 260px; line-height: 0.8;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.divider h2 {
  font-family: var(--lgw-font-display);
  font-variation-settings: "opsz" 48, "wdth" 100;
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.0;
  color: var(--lgw-text-primary); margin: 26px 0 0;
  font-size: calc(78px * var(--ts)); max-width: 1280px; text-wrap: balance;
}
.divider .blurb { margin-top: 30px; max-width: 1080px; font-size: calc(28px * var(--ts)); line-height: 1.5; color: var(--lgw-text-tertiary); }
.divider .covers { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.divider .covers .pill { background: transparent; }

/* ─────────────────────────────────────────────────────────────
   CONTENT SLIDE scaffold
   ───────────────────────────────────────────────────────────── */
.content { padding: calc(76px) var(--pad) 96px; display: flex; flex-direction: column; }
.content .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.content .head .htext { display: flex; flex-direction: column; gap: 16px; }
.content .head .title { font-size: calc(58px * var(--ts)); }
.content .body-grid {
  margin-top: 52px; flex: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch;
}

/* "What the contract says" column */
.says { display: flex; flex-direction: column; gap: 26px; }
.says .lbl { display: flex; align-items: center; gap: 12px; }
.says .lbl .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lgw-muted); }
.says ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.says li {
  position: relative; padding-left: 38px;
  font-size: calc(24px * var(--ts)); line-height: 1.5; color: var(--lgw-text-secondary);
  text-wrap: pretty;
}
.says li::before {
  content: ""; position: absolute; left: 4px; top: calc(0.62em * var(--ts));
  width: 12px; height: 12px; border-radius: 3px;
  border: 2px solid var(--lgw-border-hover);
}
.says li strong { color: var(--lgw-text-primary); font-weight: 600; }
.says li .num { font-family: var(--lgw-font-mono); color: var(--accent); font-weight: 600; }

/* "In plain English" callout */
.means {
  background: linear-gradient(160deg, var(--lgw-surface), #14110d 220%);
  border: 1px solid var(--lgw-border);
  border-radius: var(--lgw-radius-xl);
  padding: 44px 46px;
  display: flex; flex-direction: column; gap: 22px;
  position: relative; overflow: hidden;
  box-shadow: var(--lgw-shadow-card);
}
.means::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad);
}
.means .means-hd { display: flex; align-items: center; gap: 14px; }
.means .doru {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: #fff; position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.means .doru::before, .means .doru::after {
  content: ""; position: absolute; top: 15px; width: 8px; height: 13px;
  border-radius: 50%; background: #0c0e12;
}
.means .doru::before { left: 12px; }
.means .doru::after { right: 12px; }
.means .means-hd .eyebrow { font-size: calc(20px * var(--ts)); }
.doru-mark { width: 44px; height: 48px; flex: none; }
.means p { font-size: calc(27px * var(--ts)); line-height: 1.5; color: var(--lgw-text-secondary); margin: 0; text-wrap: pretty; }
.means p strong { color: #fff; font-weight: 600; }
.means .accent-text { color: var(--accent); font-weight: 600; }

/* watch-out strip */
.watch {
  margin-top: 36px;
  display: flex; align-items: center; gap: 18px;
  background: var(--lgw-amber-tint);
  border: 1px solid var(--lgw-border-hover);
  border-radius: var(--lgw-radius-md);
  padding: 22px 30px;
}
.watch .ico { color: var(--accent); font-size: 30px; }
.watch p { margin: 0; font-size: calc(22px * var(--ts)); line-height: 1.45; color: var(--lgw-text-secondary); }
.watch p strong { color: var(--lgw-text-primary); font-weight: 700; }

/* ─────────────────────────────────────────────────────────────
   KEY TERMS grid
   ───────────────────────────────────────────────────────────── */
.terms-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; flex: 1; }
.term {
  background: var(--lgw-surface); border: 1px solid var(--lgw-border);
  border-radius: var(--lgw-radius-lg); padding: 32px 34px;
  display: flex; flex-direction: column; gap: 12px;
}
.term .t-term { font-family: var(--lgw-font-display); font-variation-settings:"opsz" 24; font-weight: 700; font-size: calc(29px * var(--ts)); color: var(--lgw-text-primary); letter-spacing: -0.02em; }
.term .t-you { font-family: var(--lgw-font-mono); font-size: calc(16px * var(--ts)); letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.term .t-def { font-size: calc(21px * var(--ts)); line-height: 1.45; color: var(--lgw-text-body); margin: 0; text-wrap: pretty; }

/* ─────────────────────────────────────────────────────────────
   DOCUMENT STACK (how a tender becomes a contract)
   ───────────────────────────────────────────────────────────── */
.flow { margin-top: 56px; display: flex; align-items: center; justify-content: center; gap: 30px; flex: 1; }
.flow .step { flex: 1; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; max-width: 360px; }
.flow .step .ic { width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center; background: var(--lgw-surface); border: 1px solid var(--lgw-border); }
.flow .step .ic .ico { font-size: 46px; color: var(--accent); }
.flow .step.active .ic { background: var(--lgw-amber-tint); border-color: var(--accent); }
.flow .step h4 { margin: 0; font-family: var(--lgw-font-display); font-variation-settings:"opsz" 24; font-weight: 700; font-size: calc(27px * var(--ts)); color: var(--lgw-text-primary); }
.flow .step p { margin: 0; font-size: calc(20px * var(--ts)); line-height: 1.4; color: var(--lgw-text-body); }
.flow .arrow { color: var(--lgw-muted-light); font-size: 40px; flex: none; display: inline-flex; }

/* ─────────────────────────────────────────────────────────────
   90-DAY CHEAT SHEET (timeline)
   ───────────────────────────────────────────────────────────── */
.timeline { margin-top: 22px; flex: 1; display: flex; flex-direction: column; gap: 0; }
.tl-row { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding: 18px 0; border-top: 1px solid var(--lgw-border-subtle); align-items: center; }
.tl-row:last-child { border-bottom: 1px solid var(--lgw-border-subtle); }
.tl-when { display: flex; flex-direction: column; gap: 4px; }
.tl-when .big { font-family: var(--lgw-font-display); font-variation-settings:"opsz" 32; font-weight: 800; font-size: calc(46px * var(--ts)); line-height: 0.95; color: var(--accent); letter-spacing: -0.03em; }
.tl-when .unit { font-family: var(--lgw-font-mono); font-size: calc(16px * var(--ts)); text-transform: uppercase; letter-spacing: 0.08em; color: var(--lgw-muted); }
.tl-what { display: flex; flex-direction: column; gap: 6px; }
.tl-what h4 { margin: 0; font-size: calc(26px * var(--ts)); font-weight: 600; color: var(--lgw-text-primary); }
.tl-what p { margin: 0; font-size: calc(21px * var(--ts)); line-height: 1.4; color: var(--lgw-text-body); }
.tl-what .ref { font-family: var(--lgw-font-mono); color: var(--accent); font-size: 0.9em; }

/* ─────────────────────────────────────────────────────────────
   DO / DON'T close
   ───────────────────────────────────────────────────────────── */
.dd-grid { margin-top: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; flex: 1; }
.dd-col { background: var(--lgw-surface); border: 1px solid var(--lgw-border); border-radius: var(--lgw-radius-xl); padding: 42px 44px; display: flex; flex-direction: column; gap: 24px; }
.dd-col .dd-hd { display: flex; align-items: center; gap: 14px; }
.dd-col .dd-hd .ico { font-size: 34px; }
.dd-col .dd-hd h3 { margin: 0; font-family: var(--lgw-font-display); font-variation-settings:"opsz" 24; font-weight: 700; font-size: calc(32px * var(--ts)); color: var(--lgw-text-primary); letter-spacing: -0.02em; }
.dd-col.do .dd-hd .ico { color: #5BB98C; }
.dd-col.dont .dd-hd .ico { color: var(--accent); }
.dd-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.dd-col li { position: relative; padding-left: 38px; font-size: calc(23px * var(--ts)); line-height: 1.4; color: var(--lgw-text-secondary); text-wrap: pretty; }
.dd-col li .ico { position: absolute; left: 0; top: calc(0.16em * var(--ts)); font-size: 24px; }
.dd-col.do li .ico { color: #5BB98C; }
.dd-col.dont li .ico { color: var(--accent); }

/* closing help box */
.help { margin-top: 40px; display: flex; align-items: center; gap: 28px; background: var(--lgw-amber-tint); border: 1px solid var(--lgw-border-hover); border-radius: var(--lgw-radius-xl); padding: 34px 40px; }
.help .doru-img { width: 92px; height: auto; flex: none; }
.help .htxt h3 { margin: 0 0 6px; font-family: var(--lgw-font-display); font-variation-settings:"opsz" 24; font-weight: 700; font-size: calc(28px * var(--ts)); color: var(--lgw-text-primary); }
.help .htxt p { margin: 0; font-size: calc(22px * var(--ts)); line-height: 1.45; color: var(--lgw-text-secondary); }

/* generic two-up rows for payment-style slides */
.stat-row { display: flex; gap: 22px; margin-top: 4px; }
.stat {
  background: var(--lgw-surface); border: 1px solid var(--lgw-border);
  border-radius: var(--lgw-radius-lg); padding: 26px 30px; flex: 1;
}
.stat .v { font-family: var(--lgw-font-display); font-variation-settings:"opsz" 32; font-weight: 800; font-size: calc(48px * var(--ts)); color: var(--accent); letter-spacing: -0.03em; line-height: 1; }
.stat .k { font-size: calc(19px * var(--ts)); color: var(--lgw-text-body); margin-top: 10px; line-height: 1.35; }

/* agenda list */
.agenda { margin-top: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 64px; flex: 1; align-content: start; }
.ag-item { display: flex; align-items: flex-start; gap: 22px; padding: 22px 0; border-top: 1px solid var(--lgw-border-subtle); }
.ag-item .n { font-family: var(--lgw-font-mono); font-size: calc(22px * var(--ts)); font-weight: 600; color: var(--accent); min-width: 44px; }
.ag-item .x h4 { margin: 0 0 4px; font-size: calc(26px * var(--ts)); font-weight: 600; color: var(--lgw-text-primary); }
.ag-item .x p { margin: 0; font-size: calc(19px * var(--ts)); line-height: 1.4; color: var(--lgw-text-body); }

/* full-width single column variant */
.body-grid.single { grid-template-columns: 1fr; }
.body-grid.wide-means { grid-template-columns: 0.92fr 1.08fr; }

/* ─── Template / variable list (echoes the PDF's bracketed fields) ─── */
.var-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.var-list li { display: flex; align-items: center; gap: 18px; font-size: calc(23px * var(--ts)); color: var(--lgw-text-secondary); line-height: 1.35; }
.var-chip {
  font-family: var(--lgw-font-mono); font-weight: 600;
  color: var(--accent); background: var(--lgw-amber-tint);
  border: 1px dashed var(--lgw-border-hover); border-radius: 8px;
  padding: 8px 14px; font-size: calc(19px * var(--ts));
  white-space: nowrap; min-width: 132px; text-align: center; flex: none;
}
.head-note { margin-top: 10px; font-size: calc(21px * var(--ts)); color: var(--lgw-text-caption); }
