/* MS Toolkit tool cards (V5B): each tool's logo mark and accent, a working miniature of what it makes, the Free member's
   locked look and the upgrade slide-over. Everything is namespaced "k-"; the tokens live on .k so the rest of the app is untouched.
   Drawn by assets/toolkit.js. */
.k {
  --navy: #0b1b3a;
  --blue: #1a8cff;
  --blue-hi: #0a66c9;
  --fd: "Outfit", "Segoe UI", system-ui, sans-serif;
  --fb: "Manrope", "Segoe UI", system-ui, sans-serif;
  --fm: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* page chrome (overridden per variation) */
  --page: #f4f7fc;
  --side: #ffffff;
  --side-line: #e3e9f3;
  --surface: #ffffff;
  --surface-2: #f1f4f9;
  --ink: #0b1b3a;
  --muted: #5a6888;
  --line: #e1e7f0;
  --acc: #0a66c9;
  --acc-solid: #1a7cf0;
  --acc-soft: #e6f0ff;
  --ok: #157a3c;
  --ok-bg: #e3f5ea;
  --card-r: 18px;
  --card-bd: 1px solid #e1e7f0;
  --card-sh: 0 1px 2px rgba(11,27,58,.05), 0 6px 20px -12px rgba(11,27,58,.16);
  --card-sh-h: 0 1px 2px rgba(11,27,58,.06), 0 18px 36px -18px rgba(11,27,58,.28);

  /* miniature preview "well" + windows */
  --well: linear-gradient(180deg, #f3f6fb 0%, #e9eef6 100%);
  --well-hi: radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%);
  --w-bg: #ffffff;
  --w-bd: rgba(11,27,58,.07);
  --w-ink: #0b1b3a;
  --w-mut: #66748f;
  --w-line: #edf1f6;
  --w-soft: #eef2f8;
  --w-sh: 0 1px 1px rgba(11,27,58,.05), 0 10px 22px -10px rgba(11,27,58,.28);
  --w-acc: #1a7cf0;
  --w-acc-soft: #e5efff;
  --w-ok: #157a3c;
  --w-ok-bg: #e2f4e8;
  --w-bad: #b4232a;
  --w-bad-bg: #fdecec;
  --w-amber: #d97a14;
  --bc-bg: linear-gradient(150deg, #13284f 0%, #0b1b3a 100%);
  --bc-ink: #ffffff;
  --bc-mut: #9fb2d6;
  --floor: rgba(11,27,58,.16);
  --well: linear-gradient(180deg, #f2f6fc 0%, #e7eef8 100%);
  --card-bd: 1px solid #e2e8f1;
  color-scheme: light;
}
/* Dark surfaces (the flagship card): the same tokens, lit from above */
.k-dk {
  --page: #070f22; --surface: #0e1b38; --surface-2: #12224a; --ink: #edf2ff; --muted: #93a4c6; --line: rgba(255,255,255,.08);
  --acc: #6fb1ff; --acc-solid: #2f86f0; --acc-soft: rgba(80,150,255,.14);
  --ok: #5fd08c; --ok-bg: rgba(60,190,110,.14);
  --card-bd: 1px solid rgba(255,255,255,.07);
  --well: radial-gradient(120% 95% at 50% -10%, #1c3466 0%, #11234a 45%, #0b1733 100%);
  --well-hi: radial-gradient(60% 45% at 50% 0%, rgba(160,195,255,.10), rgba(160,195,255,0) 70%);
  --w-bg: #15274f; --w-bd: rgba(255,255,255,.08); --w-ink: #eef3ff; --w-mut: #93a5c9;
  --w-line: rgba(255,255,255,.07); --w-soft: rgba(255,255,255,.07);
  --w-sh: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 26px -12px rgba(0,0,0,.6);
  --w-acc: #3d93ff; --w-acc-soft: rgba(61,147,255,.18);
  --w-ok: #6ad596; --w-ok-bg: rgba(70,200,120,.15); --w-bad: #ff8a8a; --w-bad-bg: rgba(255,110,110,.12);
  --bc-bg: linear-gradient(150deg, #ffffff 0%, #e9eef6 100%); --bc-ink: #0b1b3a; --bc-mut: #5d6c89;
  --floor: rgba(0,0,0,.45);
  color: var(--ink);
}
svg.k-i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* Compact welcome header */
.k-welcome { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.k-welcome .k-hi { margin-right: auto; min-width: 0; }
.k-welcome h1 { font-size: 26px; font-weight: 700; line-height: 1.15; }
.k-welcome p { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.k-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; min-width: 260px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; color: var(--muted); font: 500 13.5px var(--fb); }
.k-search kbd { margin-left: auto; font: 600 11px var(--fm); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; }
.k-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--acc-solid); color: #fff; font: 700 13.5px var(--fb); white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 4px 12px -6px rgba(26,124,240,.55); }
.k-btn.k-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.k-btn svg { width: 16px; height: 16px; }

.k-sec { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; }
.k-sec h2 { font-size: 18px; font-weight: 700; }
.k-sec span { color: var(--muted); font-size: 13px; }
.k-sec a { margin-left: auto; font: 700 13px var(--fb); color: var(--acc); text-decoration: none; white-space: nowrap; }

/* ===================== Tool card system ===================== */
.k-grid { display: grid; gap: 16px; grid-auto-flow: dense; }
.k-grid.k-home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.k-grid.k-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.k-tc { background: var(--surface); border: var(--card-bd); border-radius: var(--card-r); box-shadow: var(--card-sh); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: box-shadow .25s ease, transform .25s ease; }
.k-tc:hover { box-shadow: var(--card-sh-h); transform: translateY(-2px); }
.k-tc.k-flag { grid-column: span 2; }
.k-pv { position: relative; aspect-ratio: 4 / 3; background: var(--well); overflow: hidden; flex: none; }
.k-tc.k-flag > .k-pv, .k-tc.k-wide > .k-pv { aspect-ratio: auto; height: var(--ph, 210px); }
.k-pv::before { content: ""; position: absolute; inset: 0; background: var(--well-hi); pointer-events: none; }
.k-pv::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.k-stage { position: absolute; left: 0; top: 0; height: 210px; width: calc(100% / var(--s, 1)); transform: scale(var(--s, 1)); transform-origin: 0 0; container-type: inline-size; display: flex; align-items: center; justify-content: center; padding: 16px; font: 500 10px/1.35 var(--fb); color: var(--w-ink); }
.k-tb { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.k-grid.k-tools .k-tb { padding: 16px 18px 18px; }
.k-th { display: flex; align-items: center; gap: 8px; min-width: 0; }
.k-th .k-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); flex: none; }
.k-th .k-ic svg { width: 14px; height: 14px; }
.k-th h3 { font-size: 15.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-bdg { margin-left: auto; font: 700 10.5px var(--fb); letter-spacing: .02em; padding: 2px 8px; border-radius: 99px; background: var(--ok-bg); color: var(--ok); flex: none; }
.k-bdg.k-flagb { background: var(--acc-soft); color: var(--acc); }
.k-tb p { color: var(--muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.k-cta { margin-top: auto; padding-top: 4px; font: 700 13px var(--fb); color: var(--acc); display: inline-flex; align-items: center; gap: 4px; }
.k-cta svg { width: 14px; height: 14px; }
.k-tc.k-flag .k-th h3 { font-size: 17px; }
/* ===================== Tools page ===================== */
.k-thead { padding: 26px 28px; border-radius: 22px; background: var(--surface); border: var(--card-bd); box-shadow: var(--card-sh); margin-bottom: 22px; }
.k-thead .k-eb { font: 600 10.5px var(--fm); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.k-thead h1 { font-size: 30px; font-weight: 700; margin: 4px 0 4px; }
.k-thead p { color: var(--muted); font-size: 14px; }
.k-thead .k-ctl { display: flex; gap: 12px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.k-thead .k-search { flex: 1; min-width: 240px; max-width: 420px; background: var(--surface-2); border-color: transparent; }
.k-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.k-chip { font: 600 13px var(--fb); padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); white-space: nowrap; }
.k-chip[aria-pressed="true"] { background: var(--ink); color: var(--page); border-color: var(--ink); }
.k-dk .k-chip[aria-pressed="true"] { background: #fff; color: #0b1b3a; border-color: #fff; }
.k-later { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-top: 28px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); font-size: 13px; }
.k-later .k-eb { font: 600 10.5px var(--fm); letter-spacing: .12em; text-transform: uppercase; }
.k-later b { color: var(--ink); font-weight: 700; }
.k-later .k-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
/* V3 specifics: dark featured surfaces */
.k-tc.k-flag.k-dk, .k-thead.k-dk { background: radial-gradient(110% 130% at 20% 0%, #1a3266 0%, #0d1a38 60%, #0a1530 100%); border-color: rgba(255,255,255,.06); box-shadow: 0 1px 2px rgba(11,27,58,.1), 0 22px 44px -22px rgba(11,27,58,.55); }
.k-tc.k-flag.k-dk > .k-pv { background: radial-gradient(120% 95% at 50% -10%, #1f3a70 0%, #13264f 50%, #0e1c3f 100%); }
.k-tc.k-flag.k-dk > .k-pv::after { background: rgba(255,255,255,.07); }
.k-thead.k-dk .k-search { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.06); }
.k-thead.k-dk .k-chip:not([aria-pressed="true"]) { background: rgba(255,255,255,.05); }
/* ===================== Miniature UI kit ===================== */
.k-win { background: var(--w-bg); border: 1px solid var(--w-bd); border-radius: 11px; box-shadow: var(--w-sh); color: var(--w-ink); overflow: hidden; position: relative; }
.k-wh { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-bottom: 1px solid var(--w-line); font: 700 10px var(--fb); }
.k-wh .k-r { margin-left: auto; font-weight: 600; color: var(--w-mut); }
.k-mut { color: var(--w-mut); }
.k-pill { display: inline-flex; align-items: center; gap: 3px; font: 700 8.5px var(--fb); padding: 2.5px 7px; border-radius: 99px; background: var(--w-soft); color: var(--w-mut); white-space: nowrap; }
.k-pill.k-on { background: var(--w-acc-soft); color: var(--w-acc); }
.k-pill.k-ok { background: var(--w-ok-bg); color: var(--w-ok); }
.k-pill svg { width: 8px; height: 8px; stroke-width: 3; }
.k-mbtn { font: 700 9px var(--fb); padding: 4px 10px; border-radius: 99px; background: var(--w-acc); color: #fff; white-space: nowrap; }
.k-mbtn.k-gh { background: var(--w-soft); color: var(--w-ink); }
.k-bar { height: 5px; border-radius: 9px; background: var(--w-soft); overflow: hidden; }
.k-bar i { display: block; height: 100%; border-radius: 9px; background: var(--w-acc); }
.k-sk { height: 5px; border-radius: 4px; background: var(--w-soft); }
.k-floor { position: absolute; border-radius: 50%; background: var(--floor); filter: blur(8px); }
.k-ck { width: 12px; height: 12px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--w-ok); color: #fff; }
.k-ck svg { width: 7px; height: 7px; stroke-width: 3.5; }
.k-ck.k-no { background: transparent; border: 1.5px solid var(--w-line); box-shadow: inset 0 0 0 0.5px var(--w-mut); }
.k-ck.k-cur { background: transparent; border: 1.5px solid var(--w-acc); }
.k-ck.k-cur::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--w-acc); }

/* ===================== V4 — Product family (V3 Hybrid + device lineup + tool identities) ===================== */
.k-lm { width: 100%; height: 100%; display: block; }
.k-acc { --ad: color-mix(in srgb, var(--a) 76%, #0b1b3a); --w-acc: var(--a); --w-acc-soft: color-mix(in srgb, var(--a) 13%, #ffffff); }
.k-tc { --well: linear-gradient(180deg, color-mix(in srgb, var(--a) 5%, #f6f8fc) 0%, color-mix(in srgb, var(--a) 12%, #ecf1f8) 100%); }
.k-tc > .k-pv { box-shadow: inset 0 3px 0 var(--a); }
.k-tc .k-th .k-ic { width: 30px; height: 30px; border-radius: 9px; padding: 5px; background: color-mix(in srgb, var(--a) 12%, #fff); color: var(--a); }
.k-tc .k-th .k-ic svg { width: 20px; height: 20px; }
.k-tc .k-bdg { background: color-mix(in srgb, var(--a) 12%, #fff); color: var(--ad); }
.k-tc .k-cta { color: var(--ad); }
.k-tc:hover { border-color: color-mix(in srgb, var(--a) 45%, #e2e8f1); }
.k-tc.k-dk { --ad: var(--a2); --w-acc-soft: color-mix(in srgb, var(--a) 26%, #15274f); }
.k-tc.k-dk .k-th .k-ic { background: rgba(255,255,255,.08); color: var(--a2); }
.k-tc.k-dk .k-bdg { background: color-mix(in srgb, var(--a) 28%, #0d1a38); color: #cfe0ff; }

/* ===== V4 free-member view: locked products ===== */
.k-tc.k-locked { cursor: pointer; --well: linear-gradient(180deg, #f4f6f9 0%, #e9edf2 100%); }
.k-tc.k-locked > .k-pv { box-shadow: inset 0 3px 0 #cfd6e0; }
.k-lockov { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: flex-end; padding: 12px;
  background: linear-gradient(180deg, rgba(246,248,251,.10), rgba(246,248,251,.42)); -webkit-backdrop-filter: blur(1.2px); backdrop-filter: blur(1.2px); }
.k-tc.k-dk .k-lockov { background: linear-gradient(180deg, rgba(10,21,48,.15), rgba(10,21,48,.45)); }
.k-lockov span { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.94); color: #33405a; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(11,27,58,.12), 0 6px 14px -6px rgba(11,27,58,.35); }
.k-lockov svg { width: 14px; height: 14px; stroke-width: 2; }
.k-tc.k-locked .k-th .k-ic { filter: grayscale(1); opacity: .75; }
.k-tc .k-bdg.k-lockp { display: inline-flex; align-items: center; gap: 4px; background: #eef1f5; color: #4a5670; }
.k-tc.k-dk .k-bdg.k-lockp { background: rgba(255,255,255,.1); color: #d6deee; }
.k-bdg.k-lockp svg { width: 11px; height: 11px; stroke-width: 2.2; }
.k-unlock { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font: 700 12.5px var(--fb); color: var(--ink); box-shadow: 0 1px 2px rgba(11,27,58,.05); }
.k-unlock svg { width: 13px; height: 13px; stroke-width: 2.2; }
.k-tc.k-locked:hover .k-unlock { border-color: #b9c4d6; }
.k-tc.k-dk .k-unlock { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; }
.k-planfree { margin-top: 10px; display: inline-flex; height: 32px; font-size: 12.5px; padding: 0 12px; }

/* ===== V4 upgrade slide-over (desktop) / bottom sheet (phone) ===== */
.k-ovl { position: fixed; inset: 0; z-index: 80; background: rgba(11,27,58,.32); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: k-fade .2s ease; }
.k-so { position: fixed; top: 0; right: 0; bottom: 0; width: 460px; max-width: 100%; z-index: 81; background: #fff; color: #0b1b3a; display: flex; flex-direction: column;
  box-shadow: -24px 0 60px -20px rgba(11,27,58,.35); animation: k-slidein .28s cubic-bezier(.2,.8,.2,1); font-family: var(--fb); }
@keyframes k-slidein { from { transform: translateX(40px); opacity: 0; } }
@keyframes k-fade { from { opacity: 0; } }
.k-so .k-sc2 { overflow-y: auto; padding: 18px 24px 20px; flex: 1; }
.k-so .k-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #5a6888; background: #f1f4f8; }
.k-so .k-x svg { width: 15px; height: 15px; }
.k-so .k-grab { display: none; }
.k-unl { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 5px; border-radius: 99px; background: color-mix(in srgb, var(--a) 11%, #fff); color: color-mix(in srgb, var(--a) 76%, #0b1b3a); font: 700 12px var(--fb); }
.k-unl i { width: 20px; height: 20px; color: var(--a); display: block; }
.k-so h2 { font: 700 23px/1.15 var(--fd); margin: 12px 0 2px; letter-spacing: -0.02em; }
.k-price { display: flex; align-items: baseline; gap: 6px; }
.k-price b { font: 800 30px/1 var(--fd); letter-spacing: -0.03em; }
.k-price span { color: #5a6888; font-size: 14px; }
.k-promo { margin-top: 8px; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; border: 1px dashed #9ad3ae; background: #f1faf4; color: #146c37; font: 600 12.5px/1.35 var(--fb); }
.k-promo em { font-style: normal; font: 800 10px var(--fb); letter-spacing: .06em; text-transform: uppercase; background: #157a3c; color: #fff; border-radius: 5px; padding: 2px 6px; flex: none; }
.k-pvar { font: 600 11.5px var(--fb); color: #0a66c9; margin-top: 6px; display: inline-block; cursor: pointer; }
.k-grp { margin-top: 14px; }
.k-grp h4 { font: 700 10.5px var(--fm); letter-spacing: .1em; text-transform: uppercase; color: #66748f; margin-bottom: 6px; display: flex; justify-content: space-between; }
.k-grp h4 small { font: 600 11px var(--fb); letter-spacing: 0; text-transform: none; color: #8a96ad; }
.k-items { display: grid; gap: 2px; }
.k-items.k-two { grid-template-columns: 1fr 1fr; column-gap: 8px; }
.k-it { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 8px; font: 600 13px/1.25 var(--fb); min-width: 0; }
.k-it i { width: 20px; height: 20px; flex: none; color: var(--a); display: block; }
.k-it span { min-width: 0; }
.k-it small { display: block; font: 500 11.5px/1.3 var(--fb); color: #66748f; }
.k-it.k-hit { background: color-mix(in srgb, var(--a) 10%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--a) 55%, #fff); }
.k-it.k-hit::after { content: "Unlocking"; margin-left: auto; font: 800 9.5px var(--fb); letter-spacing: .04em; text-transform: uppercase; color: color-mix(in srgb, var(--a) 76%, #0b1b3a); padding-left: 4px; }
.k-it.k-free i { filter: none; }
.k-pay { border-top: 1px solid #edf1f6; padding: 14px 24px 16px; background: #fbfcfe; }
.k-ppb { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border-radius: 6px; font: 700 15px var(--fb); width: 100%; cursor: pointer; }
.k-ppb.k-pp { background: #ffc439; color: #003087; }
.k-ppb.k-pp b { font: italic 800 19px/1 "Helvetica Neue", Arial, sans-serif; letter-spacing: -0.02em; color: #003087; }
.k-ppb.k-pp b span { color: #009cde; }
.k-ppb.k-cc { background: #2c2e2f; color: #fff; margin-top: 8px; font-weight: 600; }
.k-ppb.k-cc svg { width: 18px; height: 18px; }
.k-auth { font: 500 11.5px/1.45 var(--fb); color: #5a6888; margin-top: 9px; text-align: center; }
.k-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin-top: 7px; font: 600 11px var(--fb); color: #7a869e; }
.k-trust span { display: inline-flex; align-items: center; gap: 4px; }
.k-trust svg { width: 11px; height: 11px; stroke-width: 2.2; }
.k-done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; gap: 10px; }
.k-done .k-big3 { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--a) 12%, #fff); color: var(--a); }
.k-done .k-big3 svg { width: 30px; height: 30px; stroke-width: 2.4; }
.k-done h2 { margin: 6px 0 0; }
.k-done p { color: #5a6888; font-size: 14px; max-width: 300px; }
.k-done .k-btn { margin-top: 8px; background: var(--a); box-shadow: none; }
.k-done .k-lnk2 { font: 700 13px var(--fb); color: #5a6888; cursor: pointer; }
@media (max-width: 759px) {
  .k-so { top: auto; left: 0; width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; box-shadow: 0 -20px 50px -20px rgba(11,27,58,.4); animation-name: k-sheetin; }
  @keyframes k-sheetin { from { transform: translateY(40px); opacity: 0; } }
  .k-so .k-grab { display: block; width: 38px; height: 5px; border-radius: 9px; background: #d5dbe5; margin: 8px auto 0; flex: none; }
  .k-so .k-sc2 { padding: 10px 16px 14px; }
  .k-so .k-x { top: 12px; right: 12px; }
  .k-so h2 { font-size: 21px; }
  .k-pay { padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
  .k-items.k-two { grid-template-columns: 1fr 1fr; }
  .k-it { font-size: 12.5px; }

}

/* ===================== The app family: seven floating app windows on a pale sky-blue haze (Home hero; small in the Tools header) ===================== */

.k { --hero-bg: radial-gradient(50% 60% at 50% 55%, rgba(255,255,255,.85), rgba(255,255,255,0) 75%), linear-gradient(180deg, #e3f0ff 0%, #eff6ff 45%, #f9fbff 100%); --hero-bd: #dbe8f8;
  --mod-sh: 0 1px 2px rgba(16,48,110,.08), 0 12px 24px -12px rgba(16,48,110,.24), 0 34px 60px -32px rgba(16,48,110,.42); }
.k-hero5 { background: var(--hero-bg); border: 1px solid var(--hero-bd); border-radius: 24px; padding: 20px 0 6px; margin: 0 0 28px; overflow: hidden; }
.k-hero5 .k-strip { text-align: center; padding: 0 20px; margin-bottom: 20px; }
.k-hero5 .k-strip h2 { font: 700 27px/1.15 var(--fd); letter-spacing: -0.025em; text-wrap: balance; }
.k-hero5 .k-strip p { text-wrap: balance; }
.k-hero5 .k-strip p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.k-fam { position: relative; height: calc(444px * var(--fs, 1)); }
.k-fam-in { position: absolute; left: 50%; top: 0; width: 1300px; height: 450px; margin-left: -650px; transform: scale(var(--fs, 1)); transform-origin: top center; perspective: 1200px; perspective-origin: 50% 40%; }
.k-slot { position: absolute; left: 50%; top: var(--t); width: var(--mw); margin-left: calc(var(--mw) / -2); z-index: var(--zi);
  transform: translateX(var(--x)) rotateY(var(--ry)) translateZ(var(--tz)); }
.k-s-c { --mw: 300px; --x: 0px;    --t: 26px;  --ry: 0deg;   --tz: 0px;    --zi: 7; --ds: 0 2px 4px rgba(var(--shc),.10), 0 30px 50px -20px rgba(var(--shc),.46), 0 60px 90px -46px rgba(var(--shc),.34); }
.k-s-l1 { --mw: 250px; --x: -206px; --t: 150px; --ry: 14deg;  --tz: -60px;  --zi: 6; --ds: 0 2px 3px rgba(var(--shc),.07), 0 22px 38px -18px rgba(var(--shc),.34); }
.k-s-r1 { --mw: 250px; --x: 206px;  --t: 150px; --ry: -14deg; --tz: -60px;  --zi: 6; --ds: 0 2px 3px rgba(var(--shc),.07), 0 22px 38px -18px rgba(var(--shc),.34); }
.k-s-l2 { --mw: 250px; --x: -372px; --t: 128px; --ry: 26deg;  --tz: -150px; --zi: 5; --ds: 0 1px 2px rgba(var(--shc),.06), 0 18px 30px -16px rgba(var(--shc),.28); }
.k-s-r2 { --mw: 250px; --x: 372px;  --t: 128px; --ry: -26deg; --tz: -150px; --zi: 5; --ds: 0 1px 2px rgba(var(--shc),.06), 0 18px 30px -16px rgba(var(--shc),.28); }
.k-s-l3 { --mw: 250px; --x: -505px; --t: 102px; --ry: 36deg;  --tz: -260px; --zi: 4; --ds: 0 1px 2px rgba(var(--shc),.05), 0 14px 24px -14px rgba(var(--shc),.24); }
.k-s-r3 { --mw: 250px; --x: 505px;  --t: 102px; --ry: -36deg; --tz: -260px; --zi: 4; --ds: 0 1px 2px rgba(var(--shc),.05), 0 14px 24px -14px rgba(var(--shc),.24); }
/* floating label tab above each module */
.k-tab { position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 99px; background: #fff; white-space: nowrap;
  font: 700 12px var(--fb); color: #0b1b3a; box-shadow: 0 0 0 1px rgba(11,27,58,.06), 0 4px 10px -4px rgba(var(--shc),.25); }
.k-tab i { width: 18px; height: 18px; border-radius: 6px; padding: 3px; background: color-mix(in srgb, var(--a) 12%, #fff); color: var(--a); display: block; }
.k-tab .k-fl { font: 700 9.5px var(--fb); padding: 2px 6px; border-radius: 99px; background: color-mix(in srgb, var(--a) 12%, #fff); color: var(--ad); }
.k-tab .k-ml2 { width: 16px; height: 16px; border-radius: 50%; background: #eef1f5; color: #4a5670; display: grid; place-items: center; }
.k-tab .k-ml2 svg { width: 9px; height: 9px; stroke-width: 2.6; }
.k-s-r1 .k-tab, .k-s-r2 .k-tab, .k-s-r3 .k-tab { left: 60%; }
.k-s-l1 .k-tab, .k-s-l2 .k-tab, .k-s-l3 .k-tab { left: 40%; }
.k-s-c .k-tab { font-size: 13px; padding: 5px 12px 5px 7px; }
.k-mod.k-locked .k-tab i { filter: grayscale(1); opacity: .6; }
.k-mb.k-pv.k-tall { aspect-ratio: 3 / 4; }
 .k { --shc: 16, 48, 110; }
.k-mod { position: relative; border-radius: 16px; padding: 3.5px;
  background: linear-gradient(155deg, #ffffff 0%, #f1f3f6 50%, #dde2e9 100%);
  box-shadow: inset 1.5px 1.5px 0 rgba(255,255,255,1), inset -1px -2px 0 rgba(11,27,58,.10), 0 0 0 .5px rgba(11,27,58,.12), 0 3px 0 -.5px #cdd3dc, var(--ds);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
  animation: k-rise .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0) * 90ms); }
.k-mod { background: linear-gradient(155deg, #ffffff 0%, #f0f4fa 50%, #d9e2ef 100%); }
.k-mwin { position: relative; border-radius: 12.5px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(11,27,58,.07); }
.k-mwin::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.06) 22%, rgba(255,255,255,0) 40%); }
.k-mod:hover { transform: translateY(-5px); }
@keyframes k-rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .k-mod { animation: none; transition: none; } .k-mod:hover { transform: none; } }
.k-mb.k-pv { aspect-ratio: 4 / 3; background: #fff; box-shadow: none !important; }
.k-mb.k-pv::before, .k-mb.k-pv::after { display: none; }
.k-mod.k-locked { cursor: pointer; }
.k-mod.k-locked .k-mb .k-stage { filter: grayscale(.9) contrast(.95); opacity: .5; }
/* Tools header with the small composition */
.k-famhead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px; align-items: center; background: var(--hero-bg); border: 1px solid var(--hero-bd); box-shadow: none; padding: 24px 0 18px 28px; overflow: hidden; }
.k-famhead .k-fam { margin-right: -10px; }
.k-famhead .k-fam .k-s-l3, .k-famhead .k-fam .k-s-r3, .k-famhead .k-fam .k-s-l2, .k-famhead .k-fam .k-s-r2 { display: none; }
.k-famhead .k-ctl { margin-top: 16px; }
@media (max-width: 999px) {
  .k-famhead { grid-template-columns: minmax(0, 1fr); padding: 18px 18px 18px; }
  .k-famhead .k-fam { order: -1; margin: 0 -18px; }
}
@media (max-width: 759px) {
  .k-hero5 { margin: 0 -16px 24px; border-radius: 0; border-width: 1px 0; padding-top: 16px; }
  .k-hero5 .k-strip h2 { font-size: 21px; }
  .k-hero5 .k-strip p { font-size: 13px; }
  .k-fam .k-s-l2, .k-fam .k-s-r2, .k-fam .k-s-l3, .k-fam .k-s-r3 { display: none; }
}

/* ===================== In the app ===================== */
.k { font-family: var(--fb); color: var(--ink); }
:where(.k) :where(h1, h2, h3, h4, h5) { font-family: var(--fd); margin: 0; letter-spacing: -0.015em; }
:where(.k) :where(h4, h5) { font-weight: 700; }
a.k-tc { color: inherit; text-decoration: none; }
.k-tc:focus-visible { outline: 3px solid var(--a, #1a7cf0); outline-offset: 3px; }
.k-tc .k-th h3 { color: var(--ink); }
.k-tc.k-dk .k-th h3 { color: #fff; }
.k-tc.k-dk .k-tb p { color: #b7c4de; }
.k-tc.k-dk .k-cta { color: #8ec1ff; }
.k-cards { container-type: inline-size; }
.k-mark { display: inline-block; width: 22px; height: 22px; border-radius: 7px; padding: 4px; background: color-mix(in srgb, var(--a) 12%, #fff); color: var(--a); flex: none; }
.k-noscroll { overflow: hidden; }
/* Tool card grid: 4 across on Home, 3 in Tools; fewer as the content narrows; Home is a sideways row on phones. */
@container (max-width: 1000px) { .k-grid.k-home { grid-template-columns: repeat(3, minmax(0, 1fr)); } .k-grid.k-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 720px) { .k-grid.k-home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) {
  .k-grid.k-home { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 4px 16px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .k-grid.k-home::-webkit-scrollbar { display: none; }
  .k-grid.k-home .k-tc { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; scroll-margin-left: 16px; }
  .k-grid.k-home .k-tc.k-flag { flex-basis: 86%; max-width: 330px; }
  .k-tc.k-flag { grid-column: auto; }
  .k-tc:hover { transform: none; }
  .k-grid.k-tools { grid-template-columns: 1fr; gap: 14px; }
  .k-grid.k-tools .k-tc > .k-pv { aspect-ratio: 16 / 10; }
  .k-thead { padding: 20px 18px; border-radius: 18px; }
  .k-thead h1 { font-size: 26px; }
  .k-thead .k-search { min-width: 0; width: 100%; max-width: none; flex: none; }
  .k-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 0 18px; scrollbar-width: none; }
  .k-sec h2 { font-size: 17px; }
  .k-sec span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .k-tc, .k-so, .k-ovl { transition: none; animation: none; } .k-tc:hover { transform: none; } }
/* Panel pieces the mock drew as pictures: the real consent box, PayPal's own buttons and the states around them. */
.k-so { font-size: 14px; line-height: 1.45; }
.k-so .k-x { padding: 0; border: 0; cursor: pointer; z-index: 2; }
.k-so .k-x:hover { background: #e6ebf2; color: #0b1b3a; }
.k-so h2 { padding-right: 36px; }
.k-so .k-done h2 { padding: 0; }
.k-fine { margin-top: 14px; font-size: 12px; color: #66748f; }
.k-pay .k-consent { font: 500 12px/1.45 var(--fb); color: #3d4a66; gap: 9px; margin-bottom: 10px; }
.k-pay .k-consent input { width: 18px; height: 18px; margin-top: 1px; }
.k-pay .k-consent .btn-text { padding: 0; font-size: 12px; }
.k-pay .err { font-size: 12.5px; margin: 0 0 8px; }
.k-pay #upOr { display: none; }
.k-pay #upCard { margin-top: 2px; }
.k-pay #upPP:empty, .k-pay #upCard:empty { display: none; }
.k-ppb { border: 0; padding: 0 16px; text-decoration: none; }
.k-ppb.k-fake { background: #ffc439; color: #003087; border-radius: 999px; font-size: 14px; }
.k-ppb.k-ghost { background: #fff; color: #0b1b3a; border: 1px solid #d5dce8; border-radius: 999px; font-size: 14px; }
.k-ppb:focus-visible, .k-done a:focus-visible, .k-so .k-x:focus-visible { outline: 2px solid #0a66c9; outline-offset: 2px; }
.k-soon { font-size: 13px; color: #3d4a66; margin-bottom: 10px; }
.k-soon b { color: #0b1b3a; }
.k-done .k-btn { text-decoration: none; }
.k-done .k-lnk2 { text-decoration: none; }
@media (max-width: 759px) { .k-so .k-sc2 { overscroll-behavior: contain; } }
/* Tools page header controls */
.k-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.k-thead .k-search { position: relative; cursor: text; }
.k-thead .k-search input { border: 0; background: transparent; padding: 0; height: 100%; font: 500 13.5px var(--fb); color: var(--ink); outline: none; min-width: 0; flex: 1; }
.k-thead .k-search:focus-within { border-color: var(--acc-solid); box-shadow: 0 0 0 3px var(--acc-soft); background: var(--surface); }
.k-chip { cursor: pointer; }
.k-chip:focus-visible, .k-search:focus-visible, .k-btn:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
.k-none { color: var(--muted); font-size: 14px; padding: 8px 2px; }
.k-tc[hidden] { display: none !important; }
/* Home header */
.k-home { margin-bottom: 4px; }
.k-welcome .k-search { cursor: pointer; }
.k-welcome h1 { color: var(--ink); }
.k-btn { text-decoration: none; }
.k-btn svg.k-i { width: 16px; height: 16px; stroke-width: 2.2; }
.k-search svg.k-i { width: 16px; height: 16px; }
.k-sec a { text-decoration: none; }
/* A tool's miniature as a small thumbnail ("pick up where you left off") */
.k-th-mini { padding: 0 !important; background: none !important; }
.k-th-mini .k-pv { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 12px; }
/* 13 tools fill whole rows: besides the flagship, Courses (and on a 4-across Home, the Bottleneck Finder) take two columns. */
#home .inner, #tools .inner { max-width: 1180px; }
@container (min-width: 721px) { .k-grid.k-home .k-tc.k-wide { grid-column: span 2; } }
@container (max-width: 1000px) { .k-grid.k-home .k-tc.k-w4 { grid-column: auto; } }
@container (min-width: 1001px) { .k-grid.k-tools .k-tc.k-w3 { grid-column: span 2; } }
.k-search > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 759px) {
  .k-welcome { flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
  .k-welcome .k-hi { width: 100%; }
  .k-welcome h1 { font-size: 22px; }
  .k-welcome .k-search { flex: 1; min-width: 0; }
  .k-welcome .k-btn span { display: none; }
  .k-welcome .k-btn { width: 40px; padding: 0; justify-content: center; flex: none; }
  .k-welcome .k-plan-t { display: none; }
}
.k-thead, .k-home, #toolsBody, .k-fh-txt, .k-ctl > * { min-width: 0; }
@media (max-width: 759px) { .k-thead .k-chips { flex: 1 1 100%; width: calc(100% + 36px); } }
/* The app family in the app: modules are links; locked ones open the upgrade panel. */
.k-stage.k-full { height: 200px; padding: 0; display: block; }
a.k-mod { display: block; color: inherit; text-decoration: none; }
a.k-mod:focus-visible { outline: 3px solid var(--a); outline-offset: 4px; }
.k-mod.k-locked .k-tab { color: #4a5670; }
.k-hero5 .k-strip h2 { color: var(--ink); }
.k-famchips { display: none; }
@media (max-width: 759px) {
  .k-hero5.k-compact { padding-bottom: 16px; }
  .k-hero5.k-compact .k-fam { display: none; }
  .k-hero5.k-compact .k-strip { margin-bottom: 12px; }
  .k-hero5.k-compact .k-famchips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .k-famchips::-webkit-scrollbar { display: none; }
  .k-famchips a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 7px; border-radius: 99px; background: #fff; color: #0b1b3a; text-decoration: none; font: 700 12.5px var(--fb); white-space: nowrap; scroll-snap-align: start;
    box-shadow: 0 0 0 1px rgba(11,27,58,.06), 0 4px 10px -4px rgba(var(--shc), .25); }
  .k-famchips a i { width: 22px; height: 22px; border-radius: 7px; padding: 3.5px; background: color-mix(in srgb, var(--a) 12%, #fff); color: var(--a); display: block; }
  .k-famchips a[data-up] i { filter: grayscale(1); opacity: .6; }
  .k-famchips .k-ml2 svg { width: 10px; height: 10px; stroke-width: 2.6; }
}
@media (max-width: 759px) { .k-hero5 { margin-inline: calc(50% - 50vw); } .k-grid.k-home { margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); } .k-grid.k-home .k-tc { scroll-margin-left: calc(50vw - 50%); } }
/* The sign-up / log-in panel's three apps: light windows on the navy, fanned and clearly apart. */
.k-trio { position: absolute; inset: 0; --shc: 0, 4, 18; }
.k-trio .k-fam-in { position: absolute; left: 50%; top: 50%; width: 860px; height: 470px; margin: -235px 0 0 -430px; transform: scale(var(--fs, .6)); transform-origin: center; perspective: 1200px; perspective-origin: 50% 40%; }
.k-trio .k-s-c { --t: 40px; }
.k-trio .k-s-l1 { --x: -288px; --t: 150px; --ry: 16deg; }
.k-trio .k-s-r1 { --x: 288px; --t: 150px; --ry: -16deg; }
.k-trio .k-tab { box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 6px 14px -6px rgba(0,0,0,.6); }
.k-trio .k-mod { cursor: default; }
.k-trio .k-mod:hover { transform: none; }
/* ===================== V5.1: one product wrapper for all 13 tools ===================== */
/* The window: the same bezel, dimensional edge, title bar, top-left light and soft shadow in the cards, the Home hero and the log-in panel. */
.k-uw { position: relative; width: 200px; border-radius: 15px; padding: 3px; flex: none; --ds: 0 2px 3px rgba(var(--shc),.08), 0 16px 26px -12px rgba(var(--shc),.34), 0 30px 46px -30px rgba(var(--shc),.30);
  background: linear-gradient(155deg, #ffffff 0%, #f0f4fa 50%, #d9e2ef 100%);
  box-shadow: inset 1.5px 1.5px 0 #fff, inset -1px -2px 0 rgba(11,27,58,.10), 0 0 0 .5px rgba(11,27,58,.12), 0 3px 0 -.5px #cdd3dc, var(--ds);
  transform: perspective(900px) rotateX(5deg) rotateY(-9deg); transform-origin: 50% 60%; }
.k-uwin { position: relative; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(11,27,58,.07); }
.k-uwin::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.06) 22%, rgba(255,255,255,0) 40%); }
.k-ubar { height: 15px; display: flex; align-items: center; gap: 3.5px; padding: 0 8px; background: #fbfcfe; border-bottom: 1px solid #edf1f6; position: relative; z-index: 1; }
.k-ubar i { width: 5px; height: 5px; border-radius: 50%; background: #dbe2ec; }
.k-ubody { position: relative; height: 132px; display: flex; align-items: center; justify-content: center; font-size: 11px; line-height: 1; color: #0b1b3a; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--a) 6%, #f7f9fc) 100%); }
.k-ub-studio { background: radial-gradient(120% 90% at 50% 0%, #1c3466 0%, #0f2048 55%, #0b1733 100%); }
/* the card's well: a soft, low-saturation tint of the tool's accent; the window sits centred at one scale */
.k-tc { --well: radial-gradient(70% 70% at 50% 45%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%), linear-gradient(180deg, color-mix(in srgb, var(--a) 5%, #f5f7fa) 0%, color-mix(in srgb, var(--a) 10%, #eaeef4) 100%); }
.k-tc > .k-pv { box-shadow: none; }
.k-tc.k-locked { --well: linear-gradient(180deg, #f4f6f9 0%, #e9edf2 100%); }
.k-tc.k-locked > .k-pv { box-shadow: none; }
.k-stage { padding: 0; }
/* the hero modules: the module is the window, with the same title bar and art */
.k-stage.k-ubody { display: flex; height: auto; }
.k-mb.k-pv { aspect-ratio: 243 / 150; background: #fff; }
.k-mb.k-pv.k-tall { aspect-ratio: 263 / 270; }
.k-mb .k-ubody { font-size: 11.5px; }
.k-s-c .k-ubody { font-size: 21px; }
.k-slot[class*=" k-s-l"] .k-ubody { padding-right: 52px; }
.k-slot[class*=" k-s-r"] .k-ubody { padding-left: 52px; }
.k-s-l1 .k-ubody { padding-right: 60px !important; } .k-s-r1 .k-ubody { padding-left: 60px !important; }
.k-s-r1 .k-a-calc { gap: 1em; } .k-s-r1 .k-u-big { font-size: 2.8em; }
.k-mod.k-locked .k-mb .k-stage { filter: grayscale(.9); opacity: .5; }

/* --- the parts every tool's art is made of --- */
.k-u-ln { display: block; height: .55em; border-radius: 1em; background: #e1e6ee; flex: none; }
.k-u-ln + .k-u-ln { margin-top: .75em; }
.k-u-ln.k-hl { background: var(--a); box-shadow: 0 0 0 .32em color-mix(in srgb, var(--a) 16%, transparent); }
.k-u-ln.k-acc { background: color-mix(in srgb, var(--a) 70%, #fff); }
.k-u-sheet { position: relative; background: #fff; border: 1px solid #e3e8f0; border-radius: .8em; padding: 1.2em 1.2em; box-shadow: 0 .1em .2em rgba(11,27,58,.05), 0 .7em 1.4em -.7em rgba(11,27,58,.32); }
.k-u-play { position: relative; width: 2.6em; height: 2.6em; border-radius: 50%; background: rgba(255,255,255,.88); box-shadow: 0 .4em 1em -.2em rgba(0,0,0,.35); display: block; }
.k-u-play::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -.45em 0 0 -.25em; border-left: .75em solid var(--a); border-top: .45em solid transparent; border-bottom: .45em solid transparent; }
.k-u-prog { display: block; height: .55em; border-radius: 1em; background: color-mix(in srgb, var(--a) 14%, #e8ecf2); overflow: hidden; }
.k-u-prog i { display: block; height: 100%; border-radius: 1em; background: var(--a); }
.k-u-tick { width: 1.4em; height: 1.4em; border-radius: 50%; display: grid; place-items: center; background: var(--a); color: #fff; flex: none; }
.k-u-tick svg { width: .85em; height: .85em; stroke-width: 3.4; }
/* Video Studio: a vertical video frame, a quiet play button and a thin scrub bar */
.k-a-studio { display: flex; align-items: center; justify-content: center; }
.k-u-frame { position: relative; z-index: 1; height: 10.6em; aspect-ratio: 9 / 16; border-radius: .8em; background-size: cover; background-position: center; display: grid; place-items: center;
  box-shadow: 0 .9em 1.8em -.7em rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.16); }
.k-u-frame .k-u-play { background: rgba(255,255,255,.3); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.k-u-frame .k-u-play::after { border-left-color: #fff; }
.k-u-scrub { position: absolute; left: .7em; right: .7em; bottom: .75em; height: .22em; border-radius: 1em; background: rgba(255,255,255,.35); }
.k-u-scrub i { position: relative; display: block; width: 42%; height: 100%; border-radius: 1em; background: #fff; }
.k-u-scrub i::after { content: ""; position: absolute; right: -.3em; top: 50%; width: .6em; height: .6em; margin-top: -.3em; border-radius: 50%; background: #fff; }
.k-u-ghost { height: 7.6em; aspect-ratio: 9 / 16; border-radius: .6em; background-size: cover; background-position: center; opacity: .2; filter: saturate(.4) blur(1px); margin: 0 -1.6em; }
/* Courses: a lesson thumbnail and how far you are */
.k-a-course { width: 15em; }
.k-u-thumb { height: 8.4em; border-radius: .8em; background-size: cover; background-position: center 35%; display: grid; place-items: center; box-shadow: 0 .7em 1.4em -.7em rgba(11,27,58,.55); }
.k-a-course .k-u-prog { margin-top: 1em; }
/* Script Maker and Wording Checker: a document with three lines */
.k-a-doc { position: relative; width: 12.5em; }
.k-u-chip { position: absolute; right: -.8em; top: -.9em; font: 800 1.05em/1 var(--fd); color: #fff; background: var(--a); border-radius: .55em; padding: .4em .6em; box-shadow: 0 .5em 1em -.4em color-mix(in srgb, var(--a) 70%, #000); }
.k-u-ln.k-strike { position: relative; background: #f5d6d7; }
.k-u-ln.k-strike::after { content: ""; position: absolute; left: -.25em; right: -.25em; top: 50%; height: .18em; margin-top: -.09em; border-radius: 1em; background: #dc3a40; }
.k-u-ln.k-good { background: #46c278; box-shadow: 0 0 0 .32em rgba(70,194,120,.18); }
.k-u-badge { position: absolute; right: -.9em; bottom: -.9em; width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; background: var(--a); color: #fff; border: .2em solid #fff; box-shadow: 0 .5em 1em -.4em rgba(11,27,58,.5); }
.k-u-badge svg { width: 1.3em; height: 1.3em; stroke-width: 3; }
/* Sales Trainer: two chat bubbles and the voice */
.k-a-chat { width: 15em; display: grid; gap: .7em; }
.k-u-bub { width: 9.6em; padding: .85em .9em; border-radius: 1em 1em 1em .3em; background: #fff; border: 1px solid #e3e8f0; box-shadow: 0 .6em 1.2em -.7em rgba(11,27,58,.32); }
.k-u-bub .k-u-ln { height: .45em; } .k-u-bub .k-u-ln + .k-u-ln { margin-top: .55em; }
.k-u-bub.k-you { justify-self: end; background: var(--a); border-color: transparent; border-radius: 1em 1em .3em 1em; }
.k-u-bub.k-you .k-u-ln { background: rgba(255,255,255,.6); }
.k-u-wave { display: flex; align-items: center; justify-content: center; gap: .28em; height: 2.2em; }
.k-u-wave i { width: .3em; border-radius: 1em; background: var(--a); opacity: .85; }
/* Bottleneck Finder: a score ring and the one weak spot */
.k-a-gauge { display: flex; align-items: center; gap: 1.8em; }
.k-u-ring { position: relative; width: 7.4em; height: 7.4em; display: grid; place-items: center; }
.k-u-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.k-u-ring b { font: 800 2.6em/1 var(--fd); letter-spacing: -0.03em; }
.k-trk { fill: none; stroke: color-mix(in srgb, var(--a) 14%, #e8ecf2); stroke-width: 5; }
.k-val { fill: none; stroke: var(--a); stroke-width: 5; stroke-linecap: round; }
.k-val2 { fill: none; stroke: color-mix(in srgb, var(--a) 45%, #fff); stroke-width: 5; }
.k-u-bars { display: flex; align-items: flex-end; gap: .5em; height: 6.2em; }
.k-u-bars i { width: 1.1em; border-radius: .3em .3em .15em .15em; background: color-mix(in srgb, var(--a) 35%, #e3e8ef); }
.k-u-bars i.k-bad { background: #e5484d; }
/* Calculators: the answer, big */
.k-a-calc { display: flex; align-items: center; gap: 1.4em; }
.k-u-big { display: block; font: 800 3.2em/1 var(--fd); letter-spacing: -0.035em; margin-bottom: .45em; }
.k-a-calc .k-u-prog { width: 8.6em; }
.k-u-donut { width: 5.4em; height: 5.4em; transform: rotate(-90deg); flex: none; }
/* QR Code Maker: a QR and the card it goes on */
.k-a-qr { position: relative; width: 15em; height: 10.4em; }
.k-u-bcard { position: absolute; left: .4em; bottom: .6em; width: 9.6em; height: 5.8em; padding: 1.3em 1.1em; border-radius: .7em; transform: rotate(-6deg);
  background: linear-gradient(150deg, color-mix(in srgb, var(--a) 70%, #1b2b4d) 0%, #0b1b3a 100%); box-shadow: 0 .8em 1.4em -.7em rgba(11,27,58,.6); }
.k-u-bcard .k-u-ln { background: rgba(255,255,255,.55); height: .5em; } .k-u-bcard .k-u-ln + .k-u-ln { background: rgba(255,255,255,.3); }
.k-u-qr { position: absolute; right: .4em; top: .2em; width: 7.6em; padding: .55em; border-radius: .8em; background: #fff; border: 1px solid #e3e8f0; box-shadow: 0 .9em 1.6em -.8em rgba(11,27,58,.5); }
.k-u-qr svg { display: block; width: 100%; height: auto; }
/* Digital Business Card: a phone with your card */
.k-u-ph { width: 7em; height: 10.8em; border-radius: 1.2em; background: #0b1b3a; padding: .28em; box-shadow: 0 .9em 1.6em -.8em rgba(11,27,58,.6); }
.k-u-scr { height: 100%; border-radius: .95em; background: #fff; overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.k-u-hd { align-self: stretch; height: 3.1em; flex: none; background: linear-gradient(140deg, var(--a), color-mix(in srgb, var(--a) 45%, #0b1b3a)); }
.k-u-av { width: 2.8em; height: 2.8em; border-radius: 50%; margin: -1.4em 0 .8em; flex: none; border: .2em solid #fff; background: linear-gradient(145deg, #dbe3ef, #9fb0c9); }
.k-u-scr .k-u-ln { height: .45em; } .k-u-scr .k-u-ln + .k-u-ln { margin-top: .5em; }
.k-u-dots { display: flex; gap: .55em; margin-top: auto; margin-bottom: 1em; }
.k-u-dots i { width: 1.35em; height: 1.35em; border-radius: 50%; background: color-mix(in srgb, var(--a) 16%, #fff); box-shadow: inset 0 0 0 .38em color-mix(in srgb, var(--a) 16%, #fff); }
.k-u-dots i { background: var(--a); }
/* Scripts & Templates: three stacked documents */
.k-a-stack { position: relative; width: 14em; height: 10.4em; }
.k-a-stack .k-u-sheet { position: absolute; width: 10.2em; padding: 1em 1.1em; }
.k-a-stack .k-u-ln + .k-u-ln { margin-top: .6em; }
.k-a-stack .k-d1 { left: 3.8em; top: 0; opacity: .5; }
.k-a-stack .k-d2 { left: 1.9em; top: 1.6em; opacity: .78; }
.k-a-stack .k-d3 { left: 0; top: 3.2em; }
/* Ad Angles: an ad with its picture and button */
.k-a-ad { width: 11.6em; }
.k-a-ad .k-u-sheet { padding: .8em; }
.k-u-who { display: flex; align-items: center; gap: .5em; margin-bottom: .7em; }
.k-u-who span { width: 1.5em; height: 1.5em; border-radius: 50%; background: color-mix(in srgb, var(--a) 30%, #fff); flex: none; }
.k-u-who .k-u-ln { height: .45em; }
.k-u-img { position: relative; height: 4.8em; border-radius: .5em; overflow: hidden; background: linear-gradient(170deg, color-mix(in srgb, var(--a) 25%, #fff) 0%, color-mix(in srgb, var(--a) 55%, #fff) 100%); }
.k-u-img::before { content: ""; position: absolute; right: 1.2em; top: .8em; width: 1.2em; height: 1.2em; border-radius: 50%; background: #fff; opacity: .85; }
.k-u-img::after { content: ""; position: absolute; left: -1em; right: -1em; bottom: -2.6em; height: 4.6em; border-radius: 50%; background: color-mix(in srgb, var(--a) 75%, #0b1b3a); }
.k-u-cta { display: flex; align-items: center; gap: .6em; margin-top: .75em; }
.k-u-cta .k-u-ln { height: .45em; }
.k-u-cta span { margin-left: auto; width: 4.2em; height: 1.5em; border-radius: 1em; background: var(--a); flex: none; }
/* Canva Designs: three design tiles */
.k-a-tiles { display: flex; align-items: center; gap: .8em; }
.k-a-tiles > span { position: relative; display: block; border-radius: .6em; overflow: hidden; background: #fff; border: 1px solid #e3e8f0; box-shadow: 0 .7em 1.4em -.7em rgba(11,27,58,.38); }
.k-t1, .k-t3 { width: 4.6em; height: 5.8em; }
.k-t1 { background: linear-gradient(160deg, var(--a), color-mix(in srgb, var(--a) 50%, #0b1b3a)) !important; border: 0 !important; }
.k-t1 i { position: absolute; left: .8em; bottom: .8em; width: 2.4em; height: .5em; border-radius: 1em; background: rgba(255,255,255,.75); }
.k-t2 { width: 6em; height: 8.2em; padding: 4.5em .7em 0; z-index: 1; }
.k-t2 i { position: absolute; left: 0; right: 0; top: 0; height: 3.8em; background: color-mix(in srgb, var(--a) 22%, #fff); }
.k-t2 i::after { content: ""; position: absolute; left: .7em; bottom: -1em; width: 2em; height: 2em; border-radius: 50%; border: .18em solid #fff; background: linear-gradient(145deg, #dbe3ef, #9fb0c9); }
.k-t2 .k-u-ln { height: .45em; } .k-t2 .k-u-ln + .k-u-ln { margin-top: .5em; }
.k-t3 { background: color-mix(in srgb, var(--a) 10%, #fff) !important; }
.k-t3 i { position: absolute; left: 50%; top: 50%; width: 2.6em; height: 2.6em; margin: -1.3em 0 0 -1.3em; border-radius: 50%; background: color-mix(in srgb, var(--a) 45%, #fff); }
/* Playbooks: a checklist, three steps done */
.k-a-list { width: 12.6em; }
.k-a-list .k-u-sheet { padding: 1em 1.1em 1.1em; }
.k-a-list .k-u-sheet > div { display: flex; align-items: center; gap: .7em; }
.k-a-list .k-u-sheet > div + div { margin-top: .6em; }
.k-a-list .k-u-ln + .k-u-ln { margin-top: 0; }
.k-a-list .k-open .k-u-tick { background: #fff; box-shadow: inset 0 0 0 .16em color-mix(in srgb, var(--a) 40%, #dfe5ee); }
.k-a-list .k-u-prog { margin-top: 1em; }

/* --- the Home hero, ~20% shorter: Video Studio in front, smaller (270 x ~292), the arc tighter --- */
.k-hero5 { padding: 18px 0 16px; }
.k-hero5 .k-strip { margin-bottom: 14px; }
.k-fam { height: calc(338px * var(--fs, 1)); }
.k-fam-in { height: 340px; }
.k-s-c  { --mw: 270px; --t: 34px; }
.k-s-l1 { --x: -196px; --t: 106px; } .k-s-r1 { --x: 196px; --t: 106px; }
.k-s-l2 { --x: -360px; --t: 90px; }  .k-s-r2 { --x: 360px; --t: 90px; }
.k-s-l3 { --x: -494px; --t: 72px; }  .k-s-r3 { --x: 494px; --t: 72px; }
/* log-in panel trio on the same geometry */
.k-trio .k-fam-in { height: 400px; margin-top: -200px; }
.k-trio .k-s-c { --t: 40px; }
.k-trio .k-s-l1 { --x: -268px; --t: 112px; } .k-trio .k-s-r1 { --x: 268px; --t: 112px; }

/* --- cards: one-line outcomes, and the flagship's videos-left meter (in place of the old banner) --- */
.k-tb p { min-height: 0; }
.k-ctar { margin-top: auto; padding-top: 4px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.k-ctar .k-cta { margin-top: 0; padding-top: 0; }
.k-left { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--fb); color: #b7c4de; white-space: nowrap; }
.k-left b { color: #fff; font-weight: 800; }
.k-left .k-bar { width: 72px; height: 5px; background: rgba(255,255,255,.14); }
.k-left .k-bar i { background: var(--a2); }
/* Home's recent videos: the video's own first frame over the branded poster (shell.js withFrame) */
.vid .th.poster .k-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.vid .th.poster.k-framed .k-frame { opacity: 1; }
.vid .th.poster.k-framed .p-brand, .vid .th.poster.k-framed .p-hook { visibility: hidden; }
.vid .th.poster .p-state { position: relative; z-index: 1; }
.vid .th.poster.k-framed::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, rgba(5,10,25,0), rgba(5,10,25,.55)); pointer-events: none; }
.vid .th.poster.k-framed .p-state { margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .vid .th.poster .k-frame { transition: none; } }

/* ===================== V6: rendered artwork, laid out like the approved mockup ===================== */
/* Pictures: assets/img/art (made by services/ms-toolkit/art). Labels, chips, locks and badges stay code. */
#home .inner { max-width: 1300px; }
/* --- Home hero: spaced caps, "Create. Market. Grow.", the arc of seven rendered apps on the sky --- */
.k-hero5.k-arthero { padding: 26px 0 4px; border-color: #d8e6f8; border-radius: 24px;
  background: radial-gradient(55% 45% at 50% 78%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%), linear-gradient(180deg, #eef5fe 0%, #dbeafc 34%, #d0e4fb 62%, #e4eefc 100%); }
.k-arthero .k-strip { margin-bottom: 0; position: relative; z-index: 2; }
.k-arthero .k-kick { font: 600 11.5px var(--fm); letter-spacing: .34em; text-transform: uppercase; color: #33415f; margin: 0 0 10px; }
.k-arthero .k-strip h2 { font: 800 52px/1.02 var(--fd); letter-spacing: -0.035em; color: #0b1b3a; }
.k-arthero .k-strip h2 em { font-style: normal; background: linear-gradient(95deg, #1a6ff0 10%, #3aa0ff 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.k-arthero .k-strip p:not(.k-kick) { font-size: 16.5px; color: #33415f; margin-top: 10px; }
.k-fam.k-arc { height: auto; max-width: 1180px; margin: 2px auto 0; container-type: inline-size; overflow: visible; }
.k-arc-in { position: relative; aspect-ratio: 1600 / 448; }
.k-arcimg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-composite: intersect; }
.k-arc .k-slot { position: absolute; margin: 0; transform: none; z-index: 1; }
.k-arc .k-s-c { z-index: 2; }
.k-arc .k-mod { position: absolute; inset: 0; display: block; padding: 0; border-radius: 16px; background: none; box-shadow: none; }
.k-arc .k-mod:hover { transform: none; }
.k-arc .k-veil { position: absolute; inset: 2%; border-radius: 14px; transition: box-shadow .25s ease, background-color .25s ease; }
.k-arc .k-mod:hover .k-veil, .k-arc .k-mod:focus-visible .k-veil { box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 0 28px 6px color-mix(in srgb, var(--a) 40%, transparent); }
.k-arc .k-mod.k-locked .k-veil { background: rgba(232,239,249,.42); -webkit-backdrop-filter: grayscale(.9) brightness(1.05); backdrop-filter: grayscale(.9) brightness(1.05); }
.k-arc .k-tab { bottom: calc(100% - 10px); left: 50% !important; font-size: clamp(9px, 1cqw, 12px); padding: .35em .85em .35em .45em; gap: .45em; z-index: 3;
  box-shadow: 0 0 0 1px rgba(11,27,58,.05), 0 6px 14px -6px rgba(var(--shc), .35); }
.k-arc .k-tab i { width: 1.6em; height: 1.6em; padding: .26em; border-radius: .5em; background: linear-gradient(145deg, var(--a2), var(--a)); color: #fff; }
.k-arc .k-s-c .k-tab { font-size: clamp(10px, 1.1cqw, 13px); bottom: calc(100% - 4px); }
.k-arc .k-mod.k-locked .k-tab i { filter: grayscale(1); opacity: .65; }
.k-arc .k-tab .k-ml2 { width: 1.4em; height: 1.4em; }
/* --- cards: a rendered illustration, the tool's chip on it, the name and a round arrow --- */
.k-tc.k-art { border-radius: 16px; }
.k-art > .k-pv { margin: 8px 8px 0; border-radius: 12px; aspect-ratio: 16 / 11; box-shadow: none !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--a) 6%, #fbfcfe) 0%, color-mix(in srgb, var(--a) 11%, #f1f4f9) 100%); }
.k-art > .k-pv::before, .k-art > .k-pv::after { display: none; }
.k-artimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.k-tc.k-art:hover .k-artimg { transform: scale(1.035); }
.k-art > .k-pv > .k-ic { position: absolute; left: 8px; top: 8px; z-index: 2; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--a2), var(--a)); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 10px -4px var(--a); }
.k-art > .k-pv > .k-ic svg { width: 16px; height: 16px; }
.k-tc.k-locked > .k-pv > .k-ic { filter: grayscale(1); opacity: .8; }
.k-art > .k-pv > .k-bdg { position: absolute; right: 8px; top: 8px; z-index: 2; box-shadow: 0 2px 8px -3px rgba(11,27,58,.3); }
.k-art > .k-pv > .k-bdg.k-flagb { background: linear-gradient(145deg, #3a95ff, #1a6ff0); color: #fff; }
.k-art > .k-pv > .k-bdg:not(.k-flagb):not(.k-lockp) { background: #e3f6ea; }
.k-art .k-lockov { padding: 0; background: linear-gradient(180deg, rgba(246,248,251,0), rgba(246,248,251,.25)); -webkit-backdrop-filter: none; backdrop-filter: none; }
.k-art .k-lockov span { display: none; }
.k-tc.k-locked .k-artimg { filter: grayscale(.85) saturate(.6); opacity: .62; }
.k-tc.k-dk.k-locked .k-artimg { opacity: .5; }
.k-art .k-tb { padding: 10px 12px 12px; gap: 6px; }
.k-art .k-th { gap: 8px; }
.k-art .k-th h3 { font: 700 13.5px/1.25 var(--fd); letter-spacing: -0.01em; white-space: normal; overflow: visible; text-overflow: clip; min-width: 0; }
.k-go { margin-left: auto; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--a) 22%, #dfe6f1); color: var(--a); display: grid; place-items: center; background: #fff; transition: background .2s, color .2s; }
.k-go svg { width: 12px; height: 12px; stroke-width: 2.4; }
.k-tc:hover .k-go { background: var(--a); color: #fff; border-color: var(--a); }
.k-tc.k-locked .k-go { color: #6a7690; border-color: #e1e6ee; }
.k-tc.k-dk .k-go { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.k-art .k-unlock { padding: 0; border: 0; background: none; box-shadow: none; font: 600 11.5px var(--fb); color: #59657d; margin-top: 0; }
.k-tc.k-dk.k-art .k-unlock { background: none; color: #b7c4de; }
.k-art .k-unlock svg { width: 11px; height: 11px; }
.k-tc.k-flag.k-dk.k-art > .k-pv { background: #0c1838; }
/* Home grid: 7 across (two rows with the Coming soon tile), 4 / 3 / 2 as it narrows, a sideways row on phones */
.k-grid.k-home { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.k-grid.k-home .k-tc.k-flag { grid-column: auto; }
.k-grid.k-home .k-tc.k-flag > .k-pv { height: auto; aspect-ratio: 16 / 11; }
.k-grid.k-home .k-tb { justify-content: flex-start; }
@container (max-width: 1060px) { .k-grid.k-home { grid-template-columns: repeat(4, minmax(0, 1fr)); } .k-grid.k-home .k-tc.k-flag, .k-grid.k-home .k-soon { grid-column: span 2; } .k-grid.k-home .k-tc.k-flag > .k-pv { aspect-ratio: 32 / 11.4; } }
@container (max-width: 760px) { .k-grid.k-home { grid-template-columns: repeat(3, minmax(0, 1fr)); } .k-grid.k-home .k-soon { grid-column: auto; } }
@container (max-width: 520px) { .k-grid.k-home { grid-template-columns: repeat(2, minmax(0, 1fr)); } .k-grid.k-home .k-soon { grid-column: span 2; } }
.k-soon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 100%; padding: 16px 12px; border: 1.5px dashed #c9d6e8; border-radius: 16px; background: rgba(255,255,255,.45); color: #0b1b3a; font: inherit; cursor: pointer; transition: border-color .2s, background .2s; }
.k-soon:hover { border-color: #8db8ee; background: #fff; }
.k-soon:focus-visible { outline: 3px solid #1a7cf0; outline-offset: 3px; }
.k-soonp { font: 700 10.5px var(--fb); padding: 4px 10px; border-radius: 99px; background: linear-gradient(145deg, #3a95ff, #1a6ff0); color: #fff; }
.k-soonic { display: flex; gap: 10px; }
.k-soonic i { width: 30px; height: 30px; border-radius: 50%; background: #eef2f8; color: #7a879f; display: grid; place-items: center; box-shadow: inset 0 0 0 1px #e1e7f0; }
.k-soonic svg { width: 15px; height: 15px; }
.k-soon b { font: 700 15px var(--fd); }
/* Tools page: the same card, with the one-line outcome and the action */
.k-grid.k-tools .k-art > .k-pv { aspect-ratio: 16 / 10; }
.k-grid.k-tools .k-art .k-tb { padding: 14px 16px 16px; }
.k-grid.k-tools .k-art .k-th h3 { font-size: 15.5px; }
.k-grid.k-tools .k-tc.k-flag.k-art > .k-pv, .k-grid.k-tools .k-tc.k-wide.k-art > .k-pv { aspect-ratio: auto; height: var(--ph, 210px); }
.k-tc.k-wide .k-artimg, .k-grid.k-tools .k-flag .k-artimg { object-fit: contain; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.k-art > .k-pv.k-drawn { margin: 0; border-radius: 0; }
/* --- the Tools header: the same arc, the middle three apps --- */
.k-famhead .k-fam.k-arc { width: 100%; max-width: 520px; margin: 0 0 0 auto; overflow: hidden; border-radius: 18px; }
.k-famhead .k-arc .k-arc-in { width: 212%; margin-left: -56%; }
.k-famhead .k-arc .k-a-courses, .k-famhead .k-arc .k-a-maker, .k-famhead .k-arc .k-a-trainer, .k-famhead .k-arc .k-a-card { display: none; }
.k-famhead .k-arc .k-tab { font-size: 11.5px; }
/* --- the row under the cards: Video Studio, this week, continue learning --- */
.home-duo.k-row3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 1300px) { .home-duo.k-row3:has(> :nth-child(3)) { grid-template-columns: 1.3fr 1fr 1fr; } }
.studio-mini.k-sm { grid-template-columns: 112px 1fr; gap: 18px; padding: 16px 18px; border-radius: 18px; }
.k-sm .sm-th { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #0c1838; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.k-sm .sm-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.k-sm .sm-th .play-dot { inset: auto 8px 8px auto; margin: 0; width: 28px; height: 28px; font-size: 10px; }
.k-sm h3 { font-size: 18px; line-height: 1.25; }
.k-sm .muted { font-size: 13.5px; }
.k-sm .row { gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.home-duo.k-row3 > .card { height: 100%; }
@media (max-width: 759px) {
  .k-hero5.k-arthero { padding-top: 20px; }
  .k-arthero .k-kick { font-size: 9.5px; letter-spacing: .2em; margin-bottom: 8px; }
  .k-arthero .k-strip h2 { font-size: 34px; }
  .k-arthero .k-strip p:not(.k-kick) { font-size: 13.5px; margin-top: 8px; }
  .k-fam.k-arc { overflow: hidden; }
  .k-arc .k-arc-in { width: 212%; margin-left: -56%; }
  .k-arc .k-a-courses, .k-arc .k-a-maker, .k-arc .k-a-trainer, .k-arc .k-a-card { display: none; }
  .k-arc .k-tab, .k-arc .k-s-c .k-tab { font-size: 10.5px; }
  .k-arcimg { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
  .k-grid.k-home { display: flex; }
  .k-grid.k-home .k-tc, .k-grid.k-home .k-tc.k-flag { flex: 0 0 44%; max-width: 190px; }
  .k-grid.k-home .k-tc.k-flag > .k-pv { aspect-ratio: 16 / 11; }
  .k-grid.k-home .k-soon { flex: 0 0 44%; max-width: 190px; }
  .k-grid.k-tools .k-art > .k-pv, .k-grid.k-tools .k-tc.k-wide.k-art > .k-pv, .k-grid.k-tools .k-tc.k-flag.k-art > .k-pv { height: auto; aspect-ratio: 16 / 10; }
  .k-tc.k-wide .k-artimg, .k-grid.k-tools .k-flag .k-artimg { object-fit: cover; -webkit-mask-image: none; mask-image: none; }
  .studio-mini.k-sm { grid-template-columns: 84px 1fr; gap: 14px; padding: 14px; }
}
/* the log-in panel trio: the same rendered art inside the floating windows */
.k-artwin { aspect-ratio: auto; }
.k-artwin .k-artimg { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; }
.k-trio .k-s-c .k-artwin .k-artimg { aspect-ratio: 263 / 270; }
@media (prefers-reduced-motion: reduce) { .k-artimg, .k-arc .k-veil { transition: none; } .k-tc.k-art:hover .k-artimg { transform: none; } }
/* V6 tuning */
.k-art.k-flag .k-th h3 { font-size: 13.5px; }
.k-grid.k-tools .k-art.k-flag .k-th h3 { font-size: 17px; }
.k-hero5.k-arthero { padding-top: 22px; }
.k-arthero .k-kick { margin-bottom: 8px; }
.k-arthero .k-strip h2 { font-size: 48px; }
.k-arthero .k-strip p:not(.k-kick) { margin-top: 8px; font-size: 16px; }
.k-fam.k-arc { margin-top: -14px; }
.k-arc .k-a-calc .k-tab { left: 42% !important; }
.k-arc .k-a-trainer .k-tab { left: 60% !important; }
.k-arc .k-a-maker .k-tab { left: 46% !important; }
.k-tc.k-wide .k-artimg, .k-grid.k-tools .k-flag .k-artimg { left: 0; right: 0; width: auto; max-width: none; margin: 0 auto; object-fit: cover; }
@media (max-width: 759px) { .k-tc.k-wide .k-artimg, .k-grid.k-tools .k-flag .k-artimg { width: 100%; } }
.k-arc-in { aspect-ratio: 1600 / 424; }
.k-fam.k-arc { max-width: 1120px; margin-top: 2px; }
.k-arthero .k-strip h2 { font-size: 46px; }
.k-hero5.k-arthero { padding: 20px 0 2px; }
#home .k-welcome { margin-bottom: 18px; }
#home .k-welcome h1 { font-size: 23px; }
.k-art .k-th h3 { font-size: 12.5px; letter-spacing: -0.015em; }
.k-art .k-go { width: 22px; height: 22px; }
.k-art .k-tb { padding: 9px 10px 11px 12px; }
@media (max-width: 759px) { .k-arthero .k-strip h2 { font-size: 34px; } }
.k-tc.k-flag.k-dk.k-art > .k-pv { background: #0b122b; }
/* One free video (a free member's Video Studio card and hero tab): green, never greyed. */
.k-art > .k-pv > .k-bdg.k-freeb:not(.k-lockp), .k-bdg.k-freeb { background: linear-gradient(145deg, #22c55e, #15803d); color: #fff; }
.k-tab .k-fl.k-flfree { background: #dcfce7; color: #15803d; }
