/* Kernel Labs: the Trading Kernel house look, premium edition.
   Deep wine black to Trading Kernel red (#CC1B1B), Space Grotesk headings, Inter text, IBM Plex Mono labels,
   glass cards with tinted edges, glowing tile wall with the TK mark. Dark is the default; light is one click away.
   Text is never smaller than 15px. */
:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --red: #cc1b1b; --red-hi: #ff3b3b; --red-lo: #6e0b11; --red-d: #a51414;
  --red-soft: rgba(224, 40, 40, .12); --red-line: rgba(255, 70, 70, .26); --red-ink: #ff8585;
  --grad: linear-gradient(135deg, #ff5a5a 0%, #e02424 45%, #8e0f16 100%);
  --grad-text: linear-gradient(100deg, #ffb3b3 0%, #ff4d4d 40%, #e01f1f 75%);
  --ink: #f8f1f2; --ink-2: #dccdd0; --ink-3: #b9a7ab; --ink-4: #7f6e72;
  --bg: #08040a; --paper: #130a0e; --paper-2: #0d0609; --paper-3: #1d1015; --hover: #241319;
  --glass: rgba(28, 14, 19, .72); --glass-line: rgba(255, 120, 120, .16);
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16);
  --on-red: #ffffff;
  --s1: #5a9ce8; --s2: #e36b3c; --s3: #24b382; --s4: #d9960a;
  --good: #5fd383; --good-wash: rgba(40, 160, 90, .12); --good-line: rgba(95, 211, 131, .3);
  --warn: #f5c565; --warn-wash: rgba(220, 160, 40, .10); --warn-line: rgba(245, 197, 101, .3);
  --bad: #ff8a8a; --bad-wash: rgba(220, 40, 40, .13); --bad-line: rgba(255, 110, 110, .32);
  --unk: #b9a7ab; --unk-wash: rgba(255, 255, 255, .05); --unk-line: rgba(255, 255, 255, .14);
  --seq-0: #1d1418; --seq-1: #184f95; --seq-2: #256abf; --seq-3: #3987e5; --seq-4: #86b6ef; --seq-5: #cde2fb;
  --seq-fg0: #dccdd0; --seq-fg1: #ffffff; --seq-fg2: #ffffff; --seq-fg3: #0b0b0b; --seq-fg4: #0b0b0b; --seq-fg5: #0b0b0b;
  --grid: rgba(255, 255, 255, .07); --axis: #7f6e72;
  --sh-1: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px rgba(0, 0, 0, .35);
  --sh-2: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 20px 50px rgba(0, 0, 0, .45);
  --sh-3: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 80, 80, .12);
  --disp: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --maxw: 1400px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --red-soft: rgba(204, 27, 27, .06); --red-line: rgba(204, 27, 27, .22); --red-ink: #b01515;
  --grad-text: linear-gradient(100deg, #e02424 0%, #b3121a 60%, #6e0b11 100%);
  --ink: #16181d; --ink-2: #44484f; --ink-3: #5c6069; --ink-4: #9a9ea6;
  --bg: #faf7f7; --paper: #ffffff; --paper-2: #f7f3f3; --paper-3: #f1ecec; --hover: #f6eeee;
  --glass: rgba(255, 255, 255, .86); --glass-line: rgba(204, 27, 27, .18);
  --line: #ebe4e5; --line-2: #d9cfd1;
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100;
  --good: #15803d; --good-wash: #f0faf4; --good-line: #cde9d6;
  --warn: #8a5300; --warn-wash: #fef8ec; --warn-line: #f0d9ac;
  --bad: #b42121; --bad-wash: #fdf3f3; --bad-line: #f2cccc;
  --unk: #5c6069; --unk-wash: #f4f4f3; --unk-line: #dcdde0;
  --seq-0: #f1f5fa; --seq-1: #cde2fb; --seq-2: #9ec5f4; --seq-3: #5598e7; --seq-4: #256abf; --seq-5: #104281;
  --seq-fg0: #44484f; --seq-fg1: #0b0b0b; --seq-fg2: #0b0b0b; --seq-fg3: #0b0b0b; --seq-fg4: #ffffff; --seq-fg5: #ffffff;
  --grid: #ece6e7; --axis: #9a9ea6;
  --sh-1: 0 1px 2px rgba(40, 10, 14, .05), 0 4px 14px rgba(40, 10, 14, .05);
  --sh-2: 0 4px 10px rgba(40, 10, 14, .06), 0 16px 36px rgba(40, 10, 14, .08);
  --sh-3: 0 10px 30px rgba(40, 10, 14, .12), 0 30px 70px rgba(40, 10, 14, .14);
}
/* the hero bands stay dark red in both themes */
.dark-band {
  color-scheme: dark;
  --ink: #f8f1f2; --ink-2: #dccdd0; --ink-3: #b9a7ab; --ink-4: #7f6e72; --red-ink: #ff8585;
  --grad-text: linear-gradient(100deg, #ffb3b3 0%, #ff4d4d 40%, #e01f1f 75%);
  --glass: rgba(28, 14, 19, .74); --glass-line: rgba(255, 120, 120, .18);
  --paper: #130a0e; --paper-2: #0d0609; --paper-3: #1d1015; --hover: #241319;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16);
  --red-soft: rgba(224, 40, 40, .12); --red-line: rgba(255, 70, 70, .26);
  --warn: #f5c565; --warn-wash: rgba(220, 160, 40, .10); --warn-line: rgba(245, 197, 101, .3);
  --bad: #ff8a8a; --bad-wash: rgba(220, 40, 40, .13); --bad-line: rgba(255, 110, 110, .32);
  --sh-1: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px rgba(0, 0, 0, .35);
  --sh-3: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 80, 80, .12);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
#kl-root { min-height: 100vh; display: flex; flex-direction: column; }
#kl-root > main { flex: 1; }
h1, h2, h3, h4 { font-family: var(--disp); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; margin: 0; color: var(--ink); }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--red-ink); }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 2px; border-radius: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tk-logo { display: block; flex: none; height: auto; }
/* exactly as on tradingkernel.com: the red mark on its white card */
.tk-logo.badge { border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 6px 18px rgba(0, 0, 0, .35); }
:root[data-theme="light"] .top .tk-logo.badge, :root[data-theme="light"] .foot .tk-logo.badge { box-shadow: 0 0 0 1px #ebe4e5, 0 4px 12px rgba(40, 10, 14, .08); }
/* the same mark in white, for the red tiles: white card turns black, then disappears on the red */
.tk-logo.white { filter: grayscale(1) invert(1) brightness(1.6) contrast(2.2); mix-blend-mode: screen; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bracket { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 18px; }

/* header */
.top { background: #08040a; border-bottom: 1px solid rgba(255, 255, 255, .07); color-scheme: dark; --ink: #f8f1f2; --ink-2: #dccdd0; --line-2: rgba(255, 255, 255, .16); color: var(--ink); }
:root[data-theme="light"] .top { background: #ffffff; border-bottom-color: #ebe4e5; color-scheme: light; --ink: #16181d; --ink-2: #44484f; --line-2: #d9cfd1; }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 80px; }
.brand-logo { display: block; border-radius: 10px; transition: transform .2s; }
.brand-logo:hover { transform: translateY(-1px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); padding-left: 18px; border-left: 1px solid var(--line-2); }
.brand-t { font-family: var(--disp); font-weight: 700; font-size: 24px; letter-spacing: -.03em; }
.brand-t b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top .sp { flex: 1; }
.who { color: var(--ink-2); font-size: 17px; font-weight: 500; }
.who b { color: var(--ink); font-weight: 700; }
.tbtn { width: 46px; height: 46px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.tbtn:hover { border-color: var(--red-hi); box-shadow: 0 0 0 4px var(--red-soft); transform: rotate(-12deg); }

/* feature tabs: a glass bar of pills */
.ftabs { position: sticky; top: 0; z-index: 30; padding: 10px 0; background: rgba(8, 4, 10, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
:root[data-theme="light"] .ftabs { background: rgba(250, 247, 247, .88); }
.ftabs-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); }
.ftabs-in::-webkit-scrollbar { display: none; }
.ftab { flex: 1 0 auto; justify-content: center; display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 11px 12px; font-size: 15.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; border-radius: 10px; transition: background .15s, color .15s; }
.ftab:hover { color: var(--ink); background: var(--hover); }
.ftab[aria-current="page"] { color: #fff; background: var(--grad); box-shadow: 0 6px 18px rgba(204, 27, 27, .35); }

/* buttons: deep red with a lit top edge, glass for the rest */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--body); font-weight: 600; font-size: 16px; letter-spacing: .01em; border-radius: 12px; padding: 0 26px; min-height: 52px; cursor: pointer; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015)); color: var(--ink); line-height: 1; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 4px 14px rgba(0, 0, 0, .25); transition: border-color .2s, box-shadow .2s, transform .2s, filter .2s; }
:root[data-theme="light"] .btn:not(.primary):not(.btn-red) { background: linear-gradient(180deg, #ffffff, #f6f1f1); box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(40, 10, 14, .06); }
.btn:hover { border-color: rgba(255, 90, 90, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 4px var(--red-soft), 0 8px 22px rgba(0, 0, 0, .3); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.primary, .btn-red { color: #fff; border: 1px solid rgba(255, 120, 120, .45); background: linear-gradient(180deg, #ef3a3a 0%, #cc1b1b 48%, #9e1218 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 10px 28px rgba(204, 27, 27, .42); text-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.btn.primary::after, .btn-red::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60%; left: -80%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn.primary:hover::after, .btn-red:hover::after { left: 130%; }
.btn.primary:hover, .btn-red:hover { filter: brightness(1.06); border-color: rgba(255, 150, 150, .7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 0 4px rgba(224, 36, 36, .18), 0 14px 34px rgba(224, 36, 36, .5); }
.btn-ghost { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .24); color: #fff; }
.btn.lg { min-height: 58px; padding: 0 32px; font-size: 17px; border-radius: 14px; }
.btn.sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn.link { border: 0; background: transparent; color: var(--red-ink); text-decoration: underline; padding: 6px 4px; min-height: 0; box-shadow: none; }
.btn.link::after { display: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items: center; }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--paper-2); border: 1px solid var(--line); border-radius: 13px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; padding: 10px 16px; font-size: 16px; font-weight: 600; cursor: pointer; border-radius: 10px; color: var(--ink-2); min-height: 44px; }
.seg button[aria-pressed="true"] { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(204, 27, 27, .3); }

/* the dark red bands: hero and page heads */
.dark-band { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 78% -10%, rgba(204, 27, 27, .34), transparent 60%), radial-gradient(900px 500px at 10% 120%, rgba(110, 11, 17, .55), transparent 65%), linear-gradient(180deg, #0b0508 0%, #12070b 100%); border-bottom: 1px solid rgba(255, 90, 90, .14); }
.dark-band::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); pointer-events: none; }
.hero { padding: 96px 0 150px; }
.hero:not(:has(+ .lift)) { padding-bottom: 96px; }
.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 640px) 1fr; gap: 40px; align-items: center; }
.lift { position: relative; z-index: 5; margin-top: -92px; }
.lift .scard.big { max-width: 920px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 76px); line-height: .98; letter-spacing: -.045em; }
.hero-sub { font-size: 19px; color: var(--ink-2); line-height: 1.6; max-width: 54ch; margin-top: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats > div { padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); min-width: 120px; }
.hero-stats b { display: block; font-family: var(--disp); font-size: 28px; line-height: 1.05; letter-spacing: -.03em; color: #fff; }
.hero-stats span { font-size: 15px; color: var(--ink-3); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #2fd06a; box-shadow: 0 0 0 0 rgba(47, 208, 106, .55); animation: klPulse 2.4s infinite; flex: none; }
.pulse.idle { background: var(--red-hi); animation-name: klPulseR; }
@keyframes klPulse { 0% { box-shadow: 0 0 0 0 rgba(47, 208, 106, .5); } 70% { box-shadow: 0 0 0 10px rgba(47, 208, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 208, 106, 0); } }
@keyframes klPulseR { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, .5); } 70% { box-shadow: 0 0 0 10px rgba(255, 59, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); } }

/* the glowing tile wall with the TK mark */
.wall-wrap { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.wall { position: absolute; right: -120px; top: 46%; width: 760px; display: grid; grid-template-columns: repeat(5, 132px); gap: 18px; transform: translateY(-50%) perspective(1100px) rotateX(48deg) rotateZ(-28deg); transform-origin: center; opacity: .95; }
.tile3 { height: 132px; border-radius: 22px; background: linear-gradient(160deg, rgba(60, 16, 22, .9), rgba(16, 6, 9, .95)); border: 1px solid rgba(255, 90, 90, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 40px rgba(0, 0, 0, .5); display: grid; place-items: end start; padding: 14px; }
.tile3 span { font-family: var(--mono); font-size: 15px; letter-spacing: .2em; color: rgba(255, 150, 150, .35); }
.tile3.hero-tile { place-items: center; background: linear-gradient(160deg, #e3262b, #7c0c13); border-color: rgba(255, 160, 160, .6); box-shadow: 0 0 0 1px rgba(255, 120, 120, .5), 0 0 60px rgba(255, 40, 40, .65), 0 0 140px rgba(204, 27, 27, .45); animation: klGlow 4s ease-in-out infinite; }
.tile3:nth-child(3n) { opacity: .6; } .tile3:nth-child(4n+1) { opacity: .4; }
@keyframes klGlow { 50% { box-shadow: 0 0 0 1px rgba(255, 140, 140, .6), 0 0 80px rgba(255, 50, 50, .8), 0 0 170px rgba(204, 27, 27, .55); } }
.embers { position: absolute; inset: 0; }
.embers i { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: #ff6a6a; box-shadow: 0 0 8px #ff3b3b; opacity: 0; animation: klEmber linear infinite; }
@keyframes klEmber { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-520px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulse, .tile3.hero-tile, .embers i { animation: none; } .embers { display: none; } html { scroll-behavior: auto; } }
.hero-copy { position: relative; }
.hero-copy::before { content: ""; position: absolute; inset: -40px -60px -40px -80px; background: radial-gradient(closest-side, rgba(8, 4, 10, .75), transparent); z-index: -1; }

/* page heads */
.phead { padding: 56px 0 48px; }
.phead-in { position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.phead h1 { font-size: clamp(38px, 5.4vw, 60px); letter-spacing: -.04em; line-height: 1; }
.phead .hero-sub { margin-top: 16px; }
.phead-ic { width: 92px; height: 92px; flex: none; border-radius: 24px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 0 0 1px rgba(255, 140, 140, .4), 0 18px 50px rgba(204, 27, 27, .45); }
.phead.pf { padding: 72px 0 64px; }
.phead.pf .wall { opacity: .55; right: -180px; }
.phead.pf .phead-ic { display: none; }

/* sections */
.sec { padding: 84px 0; position: relative; }
.sec.tight { padding: 36px 0 84px; }
.sec-deep { background: linear-gradient(180deg, transparent, rgba(110, 11, 17, .14) 30%, transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
:root[data-theme="light"] .sec-deep { background: linear-gradient(180deg, transparent, rgba(204, 27, 27, .04) 30%, transparent); }
.intro { max-width: 720px; margin-bottom: 40px; }
.intro .bracket { margin-bottom: 14px; }
.intro h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; }
.intro p { font-size: 18px; color: var(--ink-2); margin-top: 14px; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; box-shadow: var(--sh-1); overflow: hidden; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); opacity: .8; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font-family: var(--disp); font-weight: 700; font-size: 20px; color: #fff; background: var(--grad); box-shadow: 0 8px 22px rgba(204, 27, 27, .35); margin-bottom: 18px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { font-size: 16px; color: var(--ink-2); }

/* tool cards */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard { position: relative; display: flex; flex-direction: column; gap: 18px; background: linear-gradient(180deg, var(--paper), var(--paper-2)); border: 1px solid var(--line); border-radius: 24px; padding: 26px; text-decoration: none; color: var(--ink); box-shadow: var(--sh-1); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.fcard:hover { transform: translateY(-5px); box-shadow: var(--sh-2), 0 20px 60px rgba(204, 27, 27, .18); border-color: var(--red-line); }
.fcard-top { display: flex; justify-content: space-between; align-items: center; }
.fcard-ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: var(--red-ink); background: var(--red-soft); border: 1px solid var(--red-line); }
.num { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--ink-4); letter-spacing: .08em; }
.fcard-b { display: flex; flex-direction: column; flex: 1; }
.ptype { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 8px; }
.fcard h3 { font-size: 24px; margin-bottom: 10px; }
.fcard p { font-size: 16px; color: var(--ink-2); line-height: 1.6; margin-bottom: 18px; }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pchips span { font-size: 15px; color: var(--ink-2); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); border-radius: 100px; padding: 5px 12px; }
:root[data-theme="light"] .pchips span { background: var(--paper-2); }
.pcta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 16px; color: var(--ink); border-top: 1px solid var(--line); padding-top: 16px; }
.pcta .arr { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .2s, border-color .2s, transform .2s; }
.fcard:hover .pcta .arr { background: var(--grad); border-color: transparent; color: #fff; transform: translateX(3px); }
.fcard.flagship { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 300px; align-items: center; gap: 30px; padding: 40px; background: radial-gradient(700px 400px at 85% 10%, rgba(224, 36, 36, .45), transparent 65%), linear-gradient(135deg, #1a080c 0%, #2a0c12 55%, #12060a 100%); border-color: rgba(255, 90, 90, .35); box-shadow: 0 30px 90px rgba(204, 27, 27, .25), 0 20px 50px rgba(0, 0, 0, .4); color-scheme: dark; --ink: #f8f1f2; --ink-2: #e3d3d6; --ink-4: #a88f95; --red-ink: #ff9a9a; --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .2); }
.fcard.flagship .fcard-top { flex-direction: column; align-self: flex-start; gap: 14px; }
.fcard.flagship .fcard-ic { width: 76px; height: 76px; border-radius: 20px; background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 14px 40px rgba(204, 27, 27, .5); }
.fcard.flagship h3 { font-size: clamp(34px, 3.6vw, 46px); letter-spacing: -.04em; }
.fcard.flagship p { font-size: 18px; max-width: 62ch; }
.fcard.flagship .pchips span { background: rgba(255, 255, 255, .06); }
.fcard.flagship .pcta { align-self: flex-start; border-top: 0; gap: 14px; background: var(--grad); color: #fff; padding: 12px 14px 12px 24px; border-radius: 14px; box-shadow: 0 10px 30px rgba(204, 27, 27, .45); }
.fcard.flagship .pcta .arr { border-color: rgba(255, 255, 255, .4); }
.flag-vis { position: relative; width: 300px; height: 300px; display: grid; place-items: center; }
.fv-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 120, 120, .28); }
.fv-ring.a { inset: 0; border-style: dashed; animation: klSpin 40s linear infinite; }
.fv-ring.b { inset: 34px; border-color: rgba(255, 120, 120, .25); border-top-color: #ff4d4d; border-width: 3px; animation: klSpin 9s linear infinite; }
.fv-ring.c { inset: 72px; border-color: rgba(255, 140, 140, .15); border-right-color: #ff8a8a; border-width: 3px; animation: klSpin 6s linear infinite reverse; }
@keyframes klSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fv-ring { animation: none !important; } }
.fv-c { display: grid; place-items: center; gap: 10px; text-align: center; }
.fv-c span { font-family: var(--mono); font-size: 15px; color: #ffc2c2; letter-spacing: .06em; }
.sgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.scard-soon { position: relative; background: var(--paper); border: 1px dashed var(--line-2); border-radius: 22px; padding: 24px; }
.scard-soon h3 { font-size: 20px; margin: 14px 0 8px; }
.scard-soon p { font-size: 16px; color: var(--ink-2); }
.pb { display: inline-block; font-family: var(--mono); font-weight: 600; font-size: 15px; border-radius: 8px; padding: 4px 10px; background: var(--red-soft); color: var(--red-ink); border: 1px solid var(--red-line); }

/* glass cards: the strategy card */
.glass { background: var(--glass); border: 1px solid var(--glass-line); }
.lift .glass { backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.scard { border-radius: 22px; padding: 22px; box-shadow: var(--sh-1); margin-bottom: 26px; position: relative; }
.scard.big { padding: 28px; margin-bottom: 0; box-shadow: var(--sh-3); z-index: 3; }
.scard.big::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, #ff4d4d, transparent); }
.scard-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; padding: 7px 14px; border-radius: 100px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); }
.lock { font-size: 15px; color: var(--ink-3); }
.drop { display: flex; gap: 16px; align-items: center; border: 1.5px dashed var(--line-2); border-radius: 16px; padding: 22px; background: rgba(255, 255, 255, .025); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.on { border-color: var(--red-hi); background: var(--red-soft); }
.drop.slim { padding: 12px 16px; margin-top: 12px; }
.drop-ic { width: 48px; height: 48px; flex: none; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 28px; line-height: 1; box-shadow: 0 8px 22px rgba(204, 27, 27, .4); }
.drop.slim .drop-ic { width: 36px; height: 36px; font-size: 22px; border-radius: 10px; }
.drop b { font-family: var(--disp); font-size: 19px; display: block; }
.drop p { color: var(--ink-2); font-size: 16px; margin-top: 4px; }
.srcs { display: flex; flex-wrap: wrap; gap: 10px; }
.src { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); padding: 10px 8px 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); }
.src[data-on="true"] { border-color: var(--red-line); background: var(--red-soft); box-shadow: inset 0 0 0 1px var(--red-line); }
.src button { background: transparent; border: 0; cursor: pointer; text-align: left; padding: 0; color: var(--ink); }
.src-n { display: block; font-weight: 700; font-size: 16px; }
.src small { color: var(--ink-3); font-size: 15px; display: block; }
.src .x { color: var(--ink-3); font-size: 22px; line-height: 1; padding: 4px 8px; border-radius: 8px; }
.src .x:hover { background: var(--hover); color: var(--ink); }
.err { background: var(--bad-wash); color: var(--bad); border: 1px solid var(--bad-line); border-radius: 14px; padding: 13px 16px; margin-top: 12px; font-weight: 500; }
.warnbox { background: var(--warn-wash); color: var(--ink); border: 1px solid var(--warn-line); border-radius: 14px; padding: 13px 16px; margin-top: 12px; font-size: 16px; }
.warnbox b { color: var(--warn); }

/* panels inside a tool */
.panel { position: relative; background: linear-gradient(180deg, var(--paper), var(--paper-2)); border: 1px solid var(--line); border-radius: 22px; padding: 28px; margin-bottom: 22px; box-shadow: var(--sh-1); }
.panel > h2 { font-size: 26px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.panel > h2::before { content: ""; width: 4px; height: 24px; border-radius: 4px; background: var(--grad); flex: none; }
.panel.empty { border-style: dashed; box-shadow: none; background: transparent; }
.panel.empty > h2::before { display: none; }
h3 { font-size: 20px; }
.lede { color: var(--ink-2); max-width: 74ch; margin: 8px 0 20px; }
.note { color: var(--ink-3); font-size: 16px; margin-top: 12px; max-width: 80ch; }
.est { color: var(--ink-2); font-size: 16px; margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid var(--red); background: var(--paper-2); border-radius: 0 14px 14px 0; }

/* form */
.grid { display: grid; gap: 18px 20px; align-items: start; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
label.fld { display: flex; flex-direction: column; min-width: 0; font-size: 15px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
label.fld .lbl { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 8px; }
label.fld small { display: block; font-weight: 400; color: var(--ink-3); font-size: 15px; margin-top: 7px; line-height: 1.4; }
input[type="number"], input[type="date"], input[type="text"], input[type="email"], select {
  width: 100%; height: 54px; padding: 0 16px; font-size: 17px; font-weight: 500; color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)), var(--paper-2);
  border: 1px solid var(--line-2); border-radius: 13px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35);
  transition: border-color .18s, box-shadow .18s, background .18s; font-variant-numeric: tabular-nums;
}
:root[data-theme="light"] input[type="number"], :root[data-theme="light"] input[type="date"], :root[data-theme="light"] input[type="text"], :root[data-theme="light"] input[type="email"], :root[data-theme="light"] select { background: linear-gradient(180deg, #ffffff, #fbf8f8); box-shadow: inset 0 1px 2px rgba(40, 10, 14, .05); }
input:hover, select:hover { border-color: rgba(255, 110, 110, .45); }
input:focus, select:focus { border-color: var(--red-hi); outline: none; box-shadow: 0 0 0 4px var(--red-soft), inset 0 1px 2px rgba(0, 0, 0, .2); }
input::placeholder { color: var(--ink-4); font-weight: 400; }
select { -webkit-appearance: none; appearance: none; padding-right: 52px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"), linear-gradient(180deg, #ef3a3a, #a5141a), linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  background-repeat: no-repeat; background-position: right 18px center, right 9px center, 0 0; background-size: 14px 14px, 32px 32px, 100% 100%; background-color: var(--paper-2); }
:root[data-theme="light"] select { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"), linear-gradient(180deg, #ef3a3a, #a5141a), linear-gradient(180deg, #ffffff, #fbf8f8); }
select option, select optgroup { background: var(--paper); color: var(--ink); font-weight: 500; }
select optgroup { font-weight: 700; color: var(--red-ink); }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }
input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .85; filter: invert(.5) sepia(1) saturate(6) hue-rotate(-30deg); }
input[type="checkbox"] { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; flex: none; border-radius: 7px; border: 1.5px solid var(--line-2); background: var(--paper-2); display: inline-grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
input[type="checkbox"]:checked { background: linear-gradient(180deg, #ef3a3a, #a5141a); border-color: transparent; box-shadow: 0 0 0 3px var(--red-soft); }
input[type="checkbox"]:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }

/* verdict band */
.verdict { display: flex; gap: 16px; align-items: flex-start; border-radius: 18px; padding: 20px 22px; margin-bottom: 20px; border: 1px solid; }
.verdict .ic { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #fff; }
.verdict h3 { font-size: 22px; margin-bottom: 4px; }
.verdict p { color: var(--ink); font-size: 17px; }
.v-good { background: var(--good-wash); border-color: var(--good-line); } .v-good .ic { background: #16a34a; box-shadow: 0 0 20px rgba(22, 163, 74, .45); } .v-good h3 { color: var(--good); }
.v-warn { background: var(--warn-wash); border-color: var(--warn-line); } .v-warn .ic { background: #c27c0e; box-shadow: 0 0 20px rgba(194, 124, 14, .4); } .v-warn h3 { color: var(--warn); }
.v-bad { background: var(--bad-wash); border-color: var(--bad-line); } .v-bad .ic { background: #e02424; box-shadow: 0 0 20px rgba(224, 36, 36, .5); } .v-bad h3 { color: var(--bad); }
.v-unk { background: var(--unk-wash); border-color: var(--unk-line); } .v-unk .ic { background: #6b6f77; } .v-unk h3 { color: var(--ink); }

/* number tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.tile { position: relative; padding: 18px 18px 16px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tile::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: var(--grad); opacity: .55; }
.tile span { display: block; font-size: 15px; color: var(--ink-2); font-weight: 600; }
.tile b { display: block; font-family: var(--disp); font-size: 34px; letter-spacing: -.03em; line-height: 1.12; margin-top: 6px; }
.tile i { display: block; font-style: normal; font-size: 15px; color: var(--ink-3); margin-top: 4px; }

/* probability rings (Prop Forge) */
.rings { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 16px; }
.ring { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 18px; background: radial-gradient(400px 200px at 0% 0%, rgba(224, 36, 36, .16), transparent 70%), var(--paper-2); border: 1px solid var(--red-line); }
.ring-g { position: relative; width: 112px; height: 112px; flex: none; }
.ring-g svg { width: 112px; height: 112px; display: block; }
.ring-g b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--disp); font-size: 28px; letter-spacing: -.03em; }
.ring-track { stroke: var(--line-2); }
.ring-arc.red { stroke: #ff4040; filter: drop-shadow(0 0 6px rgba(255, 50, 50, .55)); }
.ring-arc.blue { stroke: var(--s1); }
.ring-t span { display: block; font-weight: 700; font-size: 18px; font-family: var(--disp); }
.ring-t i { display: block; font-style: normal; color: var(--ink-3); font-size: 15px; margin-top: 4px; }

/* tables */
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); }
table.t { border-collapse: collapse; width: 100%; font-size: 16px; }
table.t th { text-align: right; font-weight: 600; color: var(--ink-3); padding: 13px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); white-space: nowrap; font-size: 15px; }
table.t td { text-align: right; padding: 13px 14px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.t tr:last-child td { border-bottom: 0; }
table.t th:first-child, table.t td:first-child { text-align: left; }
table.t td.wrap { white-space: normal; min-width: 180px; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: var(--red-soft); }
table.t tr.sel td { background: var(--red-soft); font-weight: 700; }
table.t tr.sel td:first-child { box-shadow: inset 3px 0 0 var(--red-hi); }
.pos { color: var(--good); font-weight: 600; } .neg { color: var(--bad); font-weight: 600; }

/* heatmap */
.heat { border-collapse: separate; border-spacing: 3px; font-size: 15px; }
.heat th { font-weight: 600; color: var(--ink-3); padding: 6px 8px; white-space: nowrap; background: var(--paper-2); }
.heat th.row { text-align: left; position: sticky; left: 0; z-index: 2; min-width: 190px; white-space: normal; line-height: 1.25; cursor: pointer; color: var(--ink); background: var(--paper-2); }
.heat th.row:hover { color: var(--red-ink); text-decoration: underline; }
.heat td { width: 48px; min-width: 48px; height: 40px; text-align: center; border-radius: 8px; cursor: pointer; font-weight: 600; font-variant-numeric: tabular-nums; transition: transform .1s; }
.heat td:hover { transform: scale(1.08); }
.heat tr.hi th.row { color: var(--red-ink); }
.heat td.hi { outline: 2px solid var(--ink); outline-offset: -1px; }
.heat td.best { box-shadow: inset 0 0 0 3px #ff3b3b, 0 0 14px rgba(255, 59, 59, .5); }
.heat th.colhi { color: var(--red-ink); }

/* charts */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart text { font-family: var(--body); font-size: 15px; fill: var(--ink-3); }
.chart .tip { position: absolute; pointer-events: none; background: #1d1015; color: #f8f1f2; border: 1px solid rgba(255, 110, 110, .3); padding: 9px 12px; border-radius: 12px; font-size: 15px; line-height: 1.45; z-index: 5; white-space: nowrap; transform: translate(-50%, -100%); display: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0; font-size: 16px; color: var(--ink-2); }
.legend i { display: inline-block; width: 16px; height: 4px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }

/* progress */
.prog { height: 10px; background: var(--paper-3); border-radius: 6px; overflow: hidden; margin: 16px 0 6px; }
.prog i { display: block; height: 100%; background: var(--grad); box-shadow: 0 0 14px rgba(255, 60, 60, .6); transition: width .15s; }
.progtxt { font-size: 16px; color: var(--ink-2); margin-top: 10px; }

/* account rows */
.acct { border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-bottom: 14px; background: var(--paper-2); }
.acct-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.acct-h b { font-family: var(--disp); font-size: 20px; display: flex; align-items: center; gap: 10px; }
.acct-h b::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); box-shadow: 0 0 10px rgba(255, 60, 60, .6); }
details.more { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 4px 0; }
details.more summary:hover { color: var(--red-ink); }
details.more ul { margin: 8px 0 12px; padding-left: 22px; }
details.more li { margin: 5px 0; color: var(--ink-2); }
details.more h4 { font-family: var(--body); letter-spacing: 0; font-size: 16px; margin-top: 14px; }
.bar { display: grid; grid-template-columns: 190px 1fr 70px; align-items: center; gap: 14px; margin: 12px 0; }
.bar .tr { height: 14px; background: var(--paper-3); border-radius: 7px; overflow: hidden; }
.bar .tr i { display: block; height: 100%; background: var(--grad); border-radius: 0 6px 6px 0; box-shadow: 0 0 12px rgba(255, 60, 60, .45); }
.bar.base .tr i { background: var(--axis); box-shadow: none; }
.bar b { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--disp); font-size: 20px; }

/* red flags */
.flag { border: 1px solid var(--line); border-left-width: 4px; border-radius: 18px; padding: 20px 22px; margin-bottom: 14px; background: var(--paper); box-shadow: var(--sh-1); }
.flag h3 { font-size: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.flag .pill { font-family: var(--body); font-size: 15px; letter-spacing: 0; font-weight: 700; padding: 3px 11px; border-radius: 999px; }
.flag .val { font-weight: 600; margin: 6px 0; }
.flag p { color: var(--ink-2); }
.flag ul { margin: 8px 0 0; padding-left: 20px; color: var(--ink-2); font-size: 16px; }
.f-red { border-left-color: #ff3b3b; } .f-red .pill { background: var(--bad-wash); color: var(--bad); border: 1px solid var(--bad-line); }
.f-watch { border-left-color: #e0a024; } .f-watch .pill { background: var(--warn-wash); color: var(--warn); border: 1px solid var(--warn-line); }
.f-ok { border-left-color: #2fbf64; } .f-ok .pill { background: var(--good-wash); color: var(--good); border: 1px solid var(--good-line); }
.f-unknown { border-left-color: var(--ink-4); } .f-unknown .pill { background: var(--unk-wash); color: var(--unk); border: 1px solid var(--unk-line); }

/* tool pages use the full width of the screen */
.page-tool .wrap { max-width: 1680px; padding: 0 32px; }
/* Prop Forge page: the premium details */
.page-pf .acct { background: radial-gradient(500px 200px at 100% 0%, rgba(224, 36, 36, .10), transparent 70%), var(--paper-2); }
.page-pf .panel.result { border-color: var(--red-line); background: radial-gradient(900px 300px at 100% -20%, rgba(224, 36, 36, .14), transparent 60%), linear-gradient(180deg, var(--paper), var(--paper-2)); }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--paper-2); padding: 30px 0; color: var(--ink-3); font-size: 15px; }
.foot-in { display: flex; gap: 16px; align-items: center; }

/* inside the [kernel_labs] frame: the host page scrolls */
html.embed #kl-root { min-height: 0; }
html.embed .ftabs { position: static; }

/* tablet and phone */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .wall { opacity: .45; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .fcard.flagship { grid-template-columns: auto 1fr; }
  .flag-vis { display: none; }
}
@media (max-width: 680px) {
  .wrap, .page-tool .wrap { padding: 0 16px; }
  .brand { padding-left: 10px; }
  .top-in { gap: 10px; min-height: 64px; }
  .brand-t { font-size: 18px; white-space: nowrap; }
  .who { white-space: nowrap; font-size: 15px; }
  .tbtn { width: 42px; height: 42px; }
  .brand-logo .tk-logo { width: 44px; }
  .top-in { min-height: 62px; gap: 10px; }
  .who { font-size: 15px; }
  .ftab { flex: 0 0 auto; }
  .brand-t { font-size: 20px; }
  .top .btn-red { display: none; }
  .hero { padding: 48px 0 110px; }
  .lift { margin-top: -70px; }
  .wall { right: -260px; opacity: .35; }
  .phead { padding: 38px 0 32px; }
  .phead-ic { display: none; }
  .sec { padding: 56px 0; }
  .sec.tight { padding: 22px 0 60px; }
  .fgrid, .steps { grid-template-columns: 1fr; }
  .fcard.flagship { grid-template-columns: 1fr; padding: 26px; }
  .fcard.flagship .fcard-top { flex-direction: row; }
  .panel { padding: 20px; }
  .scard, .scard.big { padding: 18px; }
  .tile b { font-size: 28px; }
  .ring-g, .ring-g svg { width: 96px; height: 96px; }
  .bar { grid-template-columns: 1fr 64px; }
  .bar > span { grid-column: 1 / -1; }
  .heat th.row { min-width: 148px; max-width: 148px; }
  .btns .btn, .hero-ctas .btn { width: 100%; }
  .btns .btn.link { width: auto; }
  .seg { display: flex; }
  .seg button { flex: 1 1 auto; }
  .hero-stats > div { min-width: 0; flex: 1; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}
