/* =========================================================================
   CALIBER CAREERS - Candidate resources + tools (hub + tool pages)
   Self-contained, same brand tokens as the careers page so it themes per
   customer. Free, client-side tools. No backend, nothing stored.
   ========================================================================= */
:root {
  --brand-primary: #5B1446;
  --brand-primary-strong: #3D0B30;
  --brand-primary-2: #8A2670;
  --brand-primary-tint: rgba(91, 20, 70, 0.07);
  --brand-primary-line: rgba(91, 20, 70, 0.12);
  --brand-accent: #F05B2F;
  --brand-accent-strong: #C93D02;
  --brand-font-display: 'Mulish', system-ui, -apple-system, sans-serif;
  --brand-font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
  --ink: #1B1018;
  --ink-soft: #4A3B43;
  --muted: #786B72;
  --line: var(--brand-primary-line);
  --cream: #FAF7F4;
  --cream-warm: #F5EFE8;
  --white: #FFFFFF;
  --live: #2BB673;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow-card: 0 24px 60px -34px rgba(91, 20, 70, 0.26);
  --container: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--brand-font-body); font-weight: 300; font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-primary); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--brand-accent); }
button, textarea, input, select { font-family: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--brand-font-display); font-weight: 800; color: var(--brand-primary); letter-spacing: -0.026em; line-height: 1.1; margin: 0; }
p { margin: 0; }
::selection { background: var(--brand-accent); color: var(--white); }
:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--brand-font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-accent-strong); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 24px; font-family: var(--brand-font-display); font-weight: 700; font-size: 15px; border-radius: 100px; transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--brand-primary); color: var(--white); }
.btn--primary:hover { background: var(--brand-primary-strong); color: var(--white); transform: translateY(-1px); }
.btn--accent { background: var(--brand-accent); color: var(--white); }
.btn--accent:hover { background: var(--brand-accent-strong); color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: var(--white); color: var(--brand-primary); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand-primary); }

/* ---- Floating nav (matches careers page) ---- */
.rnav { position: sticky; top: 0; z-index: 100; padding: 14px 20px; pointer-events: none; }
.rnav__bar { pointer-events: auto; max-width: 1140px; margin: 0 auto; height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 12px 0 26px; background: rgba(255,255,255,0.78); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border: 1px solid rgba(91,20,70,0.1); border-radius: 100px; box-shadow: 0 8px 30px -12px rgba(91,20,70,0.18); }
.rnav__logo img { height: 32px; width: auto; display: block; }
.rnav__links { display: flex; align-items: center; gap: 26px; }
.rnav__links a { font-family: var(--brand-font-display); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.rnav__links a:hover { color: var(--brand-primary); }
.rnav__back { display: inline-flex; align-items: center; gap: 7px; }
.rnav__back svg { width: 15px; height: 15px; }
@media (max-width: 720px) { .rnav__links { display: none; } }

/* ---- Hero ---- */
.rhero { padding: clamp(44px, 5vw, 72px) 0 clamp(30px, 3vw, 44px); text-align: center; }
.rhero .eyebrow { margin-bottom: 18px; }
.rhero h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.036em; margin-bottom: 18px; }
.rhero p { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-soft); max-width: 600px; margin: 0 auto; }

/* ---- Hub card grid ---- */
.hubgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding: clamp(30px, 4vw, 56px) 0 clamp(60px, 8vw, 110px); }
.hubcard { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.hubcard--live:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(91,20,70,0.22); }
.hubcard--soon { opacity: 0.72; }
.hubcard__icon { width: 50px; height: 50px; border-radius: 13px; background: var(--brand-primary-tint); color: var(--brand-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.hubcard__icon svg { width: 25px; height: 25px; }
.hubcard__title { font-size: 22px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.hubcard__body { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin-bottom: 22px; flex: 1; }
.hubcard__cta { font-family: var(--brand-font-display); font-weight: 700; font-size: 14.5px; color: var(--brand-accent-strong); display: inline-flex; align-items: center; gap: 7px; margin-top: auto; }
.hubcard__cta svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.hubcard--live:hover .hubcard__cta svg { transform: translateX(4px); }
.soon-badge { font-family: var(--brand-font-body); font-weight: 600; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--cream-warm); border: 1px solid var(--line); border-radius: 100px; padding: 4px 10px; }
.hubcard__soon-label { margin-top: auto; font-size: 13.5px; color: var(--muted); font-weight: 500; font-family: var(--brand-font-display); }

/* ---- Tool page shell ---- */
.tool { padding: clamp(30px, 4vw, 50px) 0 clamp(60px, 8vw, 100px); }
.tool__back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--brand-font-display); font-weight: 700; font-size: 14px; color: var(--brand-primary); margin-bottom: 26px; }
.tool__back svg { width: 16px; height: 16px; }
.tool__head { max-width: 720px; margin-bottom: 38px; }
.tool__head .eyebrow { margin-bottom: 18px; }
.tool__head h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.034em; margin-bottom: 16px; }
.tool__head p { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--ink-soft); }
.tool__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 44px); box-shadow: var(--shadow-card); }

/* ---- STAR builder ---- */
.star__qpick { margin-bottom: 28px; }
.star__qpick label { display: block; font-family: var(--brand-font-display); font-weight: 700; font-size: 13px; color: var(--ink); margin-bottom: 9px; }
.star__qpick select { width: 100%; max-width: 560px; padding: 14px 16px; font-size: 15px; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%235B1446' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.star__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }
.star__field { display: flex; flex-direction: column; }
.star__field-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.star__letter { width: 26px; height: 26px; flex-shrink: 0; border-radius: 7px; background: var(--brand-primary); color: var(--white); font-family: var(--brand-font-display); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.star__field h3 { font-size: 16px; }
.star__field-hint { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; line-height: 1.45; }
/* Hints wrap to different line counts, so push the boxes to the bottom of
   each cell. Keeps the two columns level whatever the hint length. */
.star__field textarea { margin-top: auto; }
.star__field textarea { width: 100%; min-height: 110px; resize: vertical; padding: 13px 15px; font-size: 14.5px; line-height: 1.55; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color 0.16s ease, background 0.16s ease; }
.star__field textarea:focus { outline: none; border-color: var(--brand-primary); background: var(--white); }
.star__field textarea::placeholder { color: var(--muted); opacity: 0.7; }

.star__output { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 28px; }
.star__output-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.star__output-head h3 { font-size: 18px; }
.star__preview { background: var(--cream-warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; font-size: 16px; line-height: 1.7; color: var(--ink); min-height: 90px; white-space: pre-wrap; }
.star__preview.is-empty { color: var(--muted); font-style: italic; }
.star__meter { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.star__meter-bar { flex: 1; height: 6px; border-radius: 100px; background: var(--line); overflow: hidden; max-width: 220px; }
.star__meter-fill { height: 100%; width: 0; background: var(--brand-accent); border-radius: 100px; transition: width 0.3s var(--ease); }
.star__actions { display: flex; gap: 10px; }
.copied { color: var(--live) !important; }

/* ---- Interview bank ---- */
.ib__filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.ib__chip { padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); font-family: var(--brand-font-display); font-weight: 600; font-size: 13.5px; color: var(--ink-soft); transition: all 0.16s ease; }
.ib__chip:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.ib__chip.is-active { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--white); }
.ib__list { display: flex; flex-direction: column; gap: 12px; }
.ib__item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.ib__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-family: var(--brand-font-display); font-weight: 700; font-size: 16.5px; color: var(--brand-primary); }
.ib__cat { font-family: var(--brand-font-body); font-weight: 600; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-accent-strong); display: block; margin-bottom: 6px; }
.ib__plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform 0.25s var(--ease); }
.ib__plus::before, .ib__plus::after { content: ""; position: absolute; background: var(--brand-accent); border-radius: 2px; }
.ib__plus::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.ib__plus::after { left: 10px; top: 2px; bottom: 2px; width: 2px; transition: transform 0.25s var(--ease); }
.ib__item.is-open .ib__plus { transform: rotate(180deg); }
.ib__item.is-open .ib__plus::after { transform: scaleY(0); }
.ib__a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.ib__a-inner { padding: 0 22px 22px; }
.ib__a-inner p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; margin-bottom: 12px; }
.ib__a-inner p b { color: var(--ink); }
.ib__deeplink { display: inline-flex; align-items: center; gap: 7px; font-family: var(--brand-font-display); font-weight: 700; font-size: 13.5px; color: var(--brand-accent-strong); }
.ib__deeplink svg { width: 15px; height: 15px; }

/* ---- CV checklist ---- */
.cvc__score { display: flex; align-items: center; gap: 22px; padding: 22px 26px; background: var(--brand-primary); border-radius: var(--radius); margin-bottom: 26px; color: #fff; }
.cvc__score-num { font-family: var(--brand-font-display); font-weight: 800; font-size: 42px; line-height: 1; white-space: nowrap; }
.cvc__score-num small { font-size: 18px; opacity: 0.65; font-weight: 700; }
.cvc__score-body { flex: 1; }
.cvc__score-label { font-family: var(--brand-font-display); font-weight: 800; font-size: 17px; margin-bottom: 9px; }
.cvc__score-bar { height: 8px; border-radius: 100px; background: rgba(255,255,255,0.2); overflow: hidden; }
.cvc__score-fill { height: 100%; width: 0; background: var(--brand-accent); border-radius: 100px; transition: width 0.45s var(--ease); }
.cvc__list { display: flex; flex-direction: column; gap: 10px; }
.cvc__item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; text-align: left; width: 100%; transition: border-color 0.16s ease, background 0.16s ease; }
.cvc__item:hover { border-color: rgba(91,20,70,0.25); }
.cvc__item.is-checked { background: var(--cream-warm); border-color: rgba(43,182,115,0.45); }
.cvc__box { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; margin-top: 1px; transition: background 0.16s ease, border-color 0.16s ease; }
.cvc__item.is-checked .cvc__box { background: var(--live); border-color: var(--live); }
.cvc__box svg { width: 14px; height: 14px; color: #fff; opacity: 0; }
.cvc__item.is-checked .cvc__box svg { opacity: 1; }
.cvc__label { display: block; font-family: var(--brand-font-display); font-weight: 700; font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.cvc__tip { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.cvc__reset { margin-top: 22px; }

/* ---- First 90 days ---- */
.f90 { display: flex; flex-direction: column; gap: 18px; }
.f90__phase { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.f90__phase-head { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--cream-warm); border-bottom: 1px solid var(--line); }
.f90__phase-num { flex-shrink: 0; font-family: var(--brand-font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.04em; color: #fff; background: var(--brand-primary); padding: 8px 14px; border-radius: 100px; }
.f90__phase-title { font-family: var(--brand-font-display); font-weight: 800; font-size: 18px; color: var(--brand-primary); }
.f90__phase-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.f90__fields { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.f90__field label { display: block; font-family: var(--brand-font-display); font-weight: 700; font-size: 13.5px; color: var(--ink); margin-bottom: 8px; }
.f90__field textarea { width: 100%; min-height: 70px; resize: vertical; padding: 12px 15px; font-size: 14.5px; line-height: 1.55; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.f90__field textarea:focus { outline: none; border-color: var(--brand-primary); background: var(--white); }
.f90__actions { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Cover letter builder ---- */
.cl__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.cl__field label { display: block; font-family: var(--brand-font-display); font-weight: 700; font-size: 13px; color: var(--ink); margin-bottom: 8px; }
.cl__field input { width: 100%; padding: 13px 15px; font-size: 14.5px; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.cl__field input:focus { outline: none; border-color: var(--brand-primary); background: var(--white); }
.cl__templates { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 22px; }
.cl__chip { padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); font-family: var(--brand-font-display); font-weight: 600; font-size: 13.5px; color: var(--ink-soft); transition: all 0.16s ease; }
.cl__chip:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.cl__chip.is-active { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.cl__output-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 26px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.cl__output-head h3 { font-size: 18px; }
.cl__preview { background: var(--cream-warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; font-size: 15px; line-height: 1.7; color: var(--ink); white-space: pre-wrap; }

/* ---- Salary guide ---- */
.sg__filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 24px; }
.sg__chip { padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); font-family: var(--brand-font-display); font-weight: 600; font-size: 13.5px; color: var(--ink-soft); transition: all 0.16s ease; }
.sg__chip:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.sg__chip.is-active { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.sg__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sg__card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.sg__cat { font-family: var(--brand-font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-accent-strong); margin-bottom: 10px; }
.sg__role { font-family: var(--brand-font-display); font-weight: 800; font-size: 18px; color: var(--brand-primary); margin-bottom: 12px; }
.sg__band { font-family: var(--brand-font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); color: var(--ink); letter-spacing: -0.02em; }
.sg__band span { font-size: 14px; color: var(--muted); font-weight: 600; }
.sg__note { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin-top: 10px; }
.sg__src { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.sg__disclaimer { margin-top: 26px; background: var(--cream-warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.sg__disclaimer b { color: var(--ink); }
.sg__cta { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 24px 26px; background: var(--brand-primary); border-radius: var(--radius); color: #fff; }
.sg__cta h3 { color: #fff; font-size: 19px; margin-bottom: 4px; }
.sg__cta p { color: rgba(255,255,255,0.78); font-size: 14px; }
@media (max-width: 720px) { .sg__grid { grid-template-columns: 1fr; } }

/* Print: show only the filled content */
@media print {
  .rnav, .rfooter, .tool__back, .f90__actions, .cl__inputs, .cl__templates, .cl__output-head .star__actions { display: none !important; }
  body { background: #fff; }
  .tool__card { border: 0; box-shadow: none; padding: 0; }
}

/* ---- Footer ---- */
.rfooter { background: var(--brand-primary-strong); color: rgba(255,255,255,0.66); padding: 44px 0; }
.rfooter__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.rfooter__brand { display: flex; align-items: center; gap: 14px; }
.rfooter__brand img { height: 30px; filter: brightness(0) invert(1); }
.rfooter__tag { font-family: var(--brand-font-display); font-weight: 700; color: var(--white); font-size: 15px; }
.rfooter a { color: rgba(255,255,255,0.8); }
.rfooter a:hover { color: var(--brand-accent); }
.rpb { display: inline-flex; align-items: center; gap: 6px; font-family: 'Outfit', var(--brand-font-body); font-size: 12.5px; color: rgba(255,255,255,0.6); }
.rpb img { width: 16px; height: 16px; }
.rpb b { font-family: 'Outfit', var(--brand-font-display); font-weight: 800; color: #fff; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .rnav { padding: 12px 14px; }
  .hubgrid { grid-template-columns: 1fr; }
  .star__grid { grid-template-columns: 1fr; }
  .rfooter__inner { flex-direction: column; text-align: center; }
}

/* =========================================================================
   Interview Preparation: staged checklist
   ========================================================================= */
.ipp__score { display: flex; align-items: center; gap: 22px; padding: 22px 26px; background: var(--brand-primary); border-radius: var(--radius); margin-bottom: 30px; color: #fff; }
.ipp__score-num { font-family: var(--brand-font-display); font-weight: 800; font-size: 42px; line-height: 1; white-space: nowrap; }
.ipp__score-num small { font-size: 18px; opacity: 0.65; font-weight: 700; }
.ipp__score-body { flex: 1; }
.ipp__score-label { font-family: var(--brand-font-display); font-weight: 800; font-size: 17px; margin-bottom: 9px; }
.ipp__score-bar { height: 8px; border-radius: 100px; background: rgba(255,255,255,0.2); overflow: hidden; }
.ipp__score-fill { height: 100%; width: 0; background: var(--brand-accent); border-radius: 100px; transition: width 0.45s var(--ease); }

.ipp__stage { margin-bottom: 34px; }
.ipp__stage:last-of-type { margin-bottom: 0; }
.ipp__stage-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.ipp__num { font-family: var(--brand-font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; color: var(--brand-accent-strong); background: var(--cream-warm); padding: 5px 9px; border-radius: 7px; flex-shrink: 0; }
.ipp__stage-head h3 { font-size: 18.5px; letter-spacing: -0.015em; }
.ipp__items { display: flex; flex-direction: column; gap: 8px; }
.ipp__item { display: flex; gap: 13px; align-items: flex-start; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; text-align: left; width: 100%; transition: border-color 0.16s ease, background 0.16s ease; }
.ipp__item:hover { border-color: rgba(91,20,70,0.25); }
.ipp__item.is-checked { background: var(--cream-warm); border-color: rgba(43,182,115,0.45); }
.ipp__box { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; margin-top: 1px; transition: background 0.16s ease, border-color 0.16s ease; }
.ipp__item.is-checked .ipp__box { background: var(--live); border-color: var(--live); }
.ipp__box svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.ipp__item.is-checked .ipp__box svg { opacity: 1; }
.ipp__text { display: block; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.ipp__tip { margin-top: 12px; padding: 12px 15px; background: var(--cream-warm); border-left: 3px solid var(--brand-accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }

/* =========================================================================
   STAR worked example
   ========================================================================= */
.star__example { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; }
.star__example summary { cursor: pointer; padding: 17px 22px; font-family: var(--brand-font-display); font-weight: 700; font-size: 15px; color: var(--brand-primary); list-style: none; display: flex; align-items: center; gap: 10px; }
.star__example summary::-webkit-details-marker { display: none; }
.star__example summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--brand-accent); border-bottom: 2px solid var(--brand-accent); transform: rotate(-45deg); transition: transform 0.2s var(--ease); flex-shrink: 0; margin-left: 3px; }
.star__example[open] summary::before { transform: rotate(45deg); }
.star__example-body { padding: 0 22px 22px; }
.star__example-q { font-family: var(--brand-font-display); font-weight: 600; font-size: 15px; color: var(--ink); background: var(--cream-warm); padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; line-height: 1.5; }
.star__example-row { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 15px; }
.star__example-row b { display: block; font-family: var(--brand-font-display); font-size: 13.5px; color: var(--brand-primary); margin-bottom: 3px; }
.star__example-row p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.star__example-note { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); border-left: 3px solid var(--brand-accent); padding-left: 13px; }

/* Stop headings dropping a single orphan word onto a line of its own. */
h1, h2, h3 { text-wrap: balance; }

/* Body copy: stop a single word dropping to a line of its own.
   Headings above use `balance` instead, which evens the lines out. */
p, li, .cvc__tip, .cvc__label, .ipp__text, .star__field-hint, .hubcard__body { text-wrap: pretty; }
