/*!
 * Kubuntu.hu theme layer
 * Loaded after the Sandbox style.min.css (Bootstrap 5.3). Only overrides and site-specific
 * components live here; Sandbox itself stays untouched apart from the removed Google Fonts import.
 * Note: Sandbox sets the root font size to 20px, so 1rem = 20px throughout this file.
 */

/* ------------------------------------------------------------------ Fonts (self-hosted, OFL) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/kubuntu/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/kubuntu/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/kubuntu/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/kubuntu/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------------ Tokens */
:root {
  --k-blue: #0079c1;          /* Kubuntu blue, 4.9:1 on white */
  --k-blue-rgb: 0, 121, 193;
  --k-blue-dark: #005f99;
  --k-breeze: #3daee9;        /* Plasma Breeze highlight, for dark surfaces */
  --k-breeze-rgb: 61, 174, 233;
  --k-ink: #0b1626;
  --k-ink-2: #10233d;
  --k-heading: #0f1d30;
  --k-text: #414d5e;
  --k-muted: #5d6879;         /* 5.6:1 on white */
  --k-line: #e3e8ef;
  --k-surface: #f4f7fb;
  --k-radius: 0.6rem;
  --k-radius-lg: 1rem;
  --k-shadow-sm: 0 1px 2px rgba(11, 22, 38, 0.05), 0 2px 6px rgba(11, 22, 38, 0.06);
  --k-shadow: 0 18px 40px -18px rgba(11, 22, 38, 0.28);
  --k-shadow-lg: 0 40px 80px -30px rgba(3, 10, 20, 0.7);
  --k-font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --k-font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --k-night:
    radial-gradient(55rem 28rem at 88% -10%, rgba(var(--k-breeze-rgb), 0.3), transparent 60%),
    radial-gradient(45rem 30rem at -5% 110%, rgba(var(--k-blue-rgb), 0.5), transparent 62%),
    linear-gradient(180deg, var(--k-ink) 0%, var(--k-ink-2) 100%);

  --bs-font-sans-serif: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --bs-blue: var(--k-blue);
  --bs-blue-rgb: var(--k-blue-rgb);
  --bs-primary: var(--k-blue);
  --bs-primary-rgb: var(--k-blue-rgb);
  --bs-link-color: var(--k-blue);
  --bs-link-color-rgb: var(--k-blue-rgb);
  --bs-link-hover-color: var(--k-blue-dark);
  --bs-link-hover-color-rgb: 0, 95, 153;
  --bs-soft-primary: #eaf4fb;
  --bs-pale-primary: #d5e9f6;
  --bs-primary-bg-subtle: #eaf4fb;
  --bs-primary-text-emphasis: var(--k-blue-dark);
  --bs-body-color: var(--k-text);
  --bs-heading-color: var(--k-heading);
  --bs-border-color: var(--k-line);
}

/* ------------------------------------------------------------------ Base */
html {
  scroll-padding-top: 5rem;
}
body {
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection {
  background: rgba(var(--k-breeze-rgb), 0.3);
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.post-title, .font-display {
  font-family: var(--k-font-display);
  letter-spacing: -0.02em;
}
.display-1, .display-2, .display-3, .display-4 {
  font-weight: 750;
  line-height: 1.12;
  text-wrap: balance;
}
.lead {
  font-size: 0.9rem;
  line-height: 1.7;
}
.text-muted {
  color: var(--k-muted) !important;
}
.text-primary {
  color: var(--k-blue) !important;
}
.bg-primary {
  background-color: var(--k-blue) !important;
}
.bg-surface {
  background-color: var(--k-surface) !important;
}
.post-meta {
  color: var(--k-muted);
}

/* Focus & skip link */
:focus-visible {
  outline: 3px solid var(--k-breeze);
  outline-offset: 2px;
}
.btn:focus-visible {
  outline: 3px solid var(--k-breeze);
  outline-offset: 2px;
  box-shadow: none;
}
main:focus {
  outline: none;
}
.skip-link {
  position: absolute;
  top: -10rem;
  left: 1rem;
  z-index: 2000;
  padding: 0.5rem 1rem;
  border-radius: var(--k-radius);
  background: var(--k-ink);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus {
  top: 1rem;
  color: #fff;
}

/* ------------------------------------------------------------------ Buttons & pagination */
.btn-primary {
  --bs-btn-bg: var(--k-blue);
  --bs-btn-border-color: var(--k-blue);
  --bs-btn-hover-bg: var(--k-blue-dark);
  --bs-btn-hover-border-color: var(--k-blue-dark);
  --bs-btn-active-bg: var(--k-blue-dark);
  --bs-btn-active-border-color: var(--k-blue-dark);
  --bs-btn-disabled-bg: var(--k-blue);
  --bs-btn-disabled-border-color: var(--k-blue);
  --bs-btn-focus-shadow-rgb: var(--k-blue-rgb);
}
.btn-outline-primary {
  --bs-btn-color: var(--k-blue);
  --bs-btn-border-color: rgba(var(--k-blue-rgb), 0.45);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--k-blue);
  --bs-btn-hover-border-color: var(--k-blue);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--k-blue);
  --bs-btn-active-border-color: var(--k-blue);
}
.btn-soft-primary {
  --bs-btn-color: var(--k-blue-dark);
  --bs-btn-hover-color: var(--k-blue-dark);
  --bs-btn-active-color: var(--k-blue-dark);
}
.btn-outline-white {
  --bs-btn-border-color: rgba(255, 255, 255, 0.4);
  --bs-btn-hover-color: var(--k-ink);
  --bs-btn-active-color: var(--k-ink);
}
.btn-white {
  --bs-btn-color: var(--k-ink);
  --bs-btn-hover-color: var(--k-ink);
  --bs-btn-active-color: var(--k-ink);
}
.pagination {
  --bs-pagination-font-size: 0.75rem;
  --bs-pagination-color: var(--k-heading);
  --bs-pagination-border-color: var(--k-line);
  --bs-pagination-hover-color: var(--k-blue);
  --bs-pagination-hover-border-color: rgba(var(--k-blue-rgb), 0.4);
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: var(--k-blue);
  --bs-pagination-active-border-color: var(--k-blue);
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
.pagination .page-link {
  display: grid;
  place-items: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.6rem;
  border-radius: 999px !important;
  font-weight: 700;
}
.page-item.active .page-link {
  color: #fff;
  background-color: var(--k-blue);
  border-color: var(--k-blue);
}

/* Sandbox cards, accordions and icons */
.card {
  --bs-card-border-color: var(--k-line);
  --bs-card-border-radius: var(--k-radius-lg);
  --bs-card-inner-border-radius: calc(var(--k-radius-lg) - 1px);
}
.icon-list.bullet-soft-primary i,
.accordion-wrapper .card-header button {
  color: var(--k-blue);
}
.text-line.text-primary::before {
  background-color: var(--k-blue);
}

/* ------------------------------------------------------------------ Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(11, 22, 38, 0.07);
}
.site-header .navbar.navbar-bg-light {
  background: transparent;
}
.site-header .navbar > .container {
  min-height: 4rem;
}
/* Headhesive's cloned sticky navbar is redundant next to position: sticky */
.navbar-clone {
  display: none !important;
}
.site-header .navbar-brand img {
  height: 1.3rem;
  width: auto;
}
.navbar .navbar-nav .nav-link {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0;
}
.navbar-light .navbar-nav .nav-link.active {
  color: var(--k-blue);
}
@media (min-width: 992px) {
  .site-header .navbar-collapse .nav-link {
    position: relative;
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
  }
  .site-header .navbar-collapse .nav-link.active::after {
    content: "";
    position: absolute;
    left: var(--bs-navbar-nav-link-padding-x);
    right: var(--bs-navbar-nav-link-padding-x);
    bottom: 0.85rem;
    height: 2px;
    border-radius: 2px;
    background: var(--k-blue);
  }
}
.site-header .navbar-other .btn {
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .site-header .offcanvas-nav {
    background: var(--k-ink);
    background-image: var(--k-night);
  }
  .site-header .offcanvas-nav .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
  }
  .site-header .offcanvas-nav .nav-link.active,
  .site-header .offcanvas-nav .nav-link:hover {
    color: #fff;
  }
  .site-header .offcanvas-nav .nav-link.active::before {
    content: "";
    display: inline-block;
    width: 0.35rem;
    height: 0.35rem;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: var(--k-breeze);
    vertical-align: middle;
  }
}

/* ------------------------------------------------------------------ Shared section typography */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--k-blue);
}
.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.text-center .eyebrow {
  justify-content: center;
}
.eyebrow-light {
  color: var(--k-breeze);
}
.section-title {
  margin-bottom: 1rem;
  font-family: var(--k-font-display);
  font-size: clamp(1.4rem, 1rem + 1.3vw, 2.1rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* Night surfaces: page hero, home hero, dark band */
.page-hero,
.home-hero,
.band-dark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--k-ink);
  background-image: var(--k-night);
  color: rgba(255, 255, 255, 0.76);
}
.page-hero::before,
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 2.4rem 2.4rem;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 75% 20%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 90% at 75% 20%, #000 10%, transparent 70%);
}

/* ------------------------------------------------------------------ Page hero */
.page-hero {
  padding: 3.25rem 0 3rem;
}
.page-hero-crumbs {
  margin-bottom: 1rem;
  font-size: 0.65rem;
  font-weight: 600;
}
.page-hero-crumbs .breadcrumb-item,
.page-hero-crumbs .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.66);
}
.page-hero-crumbs .breadcrumb-item a:hover,
.page-hero-crumbs .breadcrumb-item.active {
  color: #fff;
}
.page-hero-crumbs .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.35);
}
.page-hero-title {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.page-hero-lead {
  max-width: 40em;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}
@media (min-width: 992px) {
  .page-hero {
    padding: 4.25rem 0 4rem;
  }
}

/* ------------------------------------------------------------------ Home hero */
.home-hero {
  padding: 3.5rem 0 4rem;
}
.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  margin-bottom: 1.5rem;
  padding: 0.25rem 0.8rem 0.25rem 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.release-pill:hover {
  border-color: rgba(var(--k-breeze-rgb), 0.6);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.release-pill > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.release-pill-tag {
  flex-shrink: 0;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: var(--k-breeze);
  color: var(--k-ink);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.release-pill i {
  transition: transform 0.2s ease;
}
.release-pill:hover i {
  transform: translateX(3px);
}
.home-hero-title {
  margin-bottom: 1.2rem;
  color: #fff;
  font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.2rem);
  font-weight: 780;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.text-glow {
  background: linear-gradient(95deg, #8fd6ff 0%, var(--k-breeze) 45%, #7aa7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-hero-lead {
  max-width: 34em;
  margin-bottom: 1.8rem;
  font-size: 0.875rem;
  line-height: 1.7;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}
.hero-facts i {
  margin-right: 0.3rem;
  color: var(--k-breeze);
}
.window-frame {
  overflow: hidden;
  border-radius: var(--k-radius-lg);
  background: #15253c;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    var(--k-shadow-lg),
    0 0 140px -30px rgba(var(--k-breeze-rgb), 0.55);
}
.window-frame-bar {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #1b2c45;
}
.window-frame-bar span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.window-frame-bar span:last-child {
  background: rgba(var(--k-breeze-rgb), 0.85);
}
.window-frame img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 992px) {
  .home-hero {
    padding: 5rem 0 5.5rem;
  }
  .home-hero .window-frame {
    margin-right: -3rem;
    transform: perspective(2400px) rotateY(-7deg) rotateX(2deg);
    transform-origin: left center;
  }
}

/* ------------------------------------------------------------------ Feature cards */
.feature-card {
  height: 100%;
  padding: 1.6rem;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius-lg);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  border-color: rgba(var(--k-blue-rgb), 0.3);
  box-shadow: var(--k-shadow);
  transform: translateY(-2px);
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1.1rem;
  border-radius: 0.65rem;
  background: var(--bs-soft-primary);
  color: var(--k-blue);
  font-size: 1.15rem;
}
.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.feature-card p {
  margin: 0;
}

/* Collage + tech logos on the home page */
.collage {
  position: relative;
}
.collage::before {
  content: "";
  position: absolute;
  inset: 10% 12%;
  border-radius: 2rem;
  background: radial-gradient(circle at 30% 30%, rgba(var(--k-breeze-rgb), 0.35), rgba(var(--k-blue-rgb), 0.15) 60%, transparent 75%);
  filter: blur(30px);
}
.collage > .row {
  position: relative;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.tech-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius-lg);
  background: #fff;
  box-shadow: var(--k-shadow-sm);
  color: var(--k-heading);
  font-family: var(--k-font-display);
  font-weight: 700;
}
.tech-tile img {
  width: auto;
  height: 3rem;
}

/* ------------------------------------------------------------------ News cards */
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius-lg);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.news-card:hover,
.news-card:focus-within {
  border-color: rgba(var(--k-blue-rgb), 0.3);
  box-shadow: var(--k-shadow);
  transform: translateY(-3px);
}
.news-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--k-ink);
}
.news-card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-media > img {
  transform: scale(1.04);
}
.news-card-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  background-image: var(--k-night);
}
.news-card-placeholder img {
  width: 38%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem 1.4rem 1.5rem;
}
.news-card-date {
  margin-bottom: 0.4rem;
  color: var(--k-blue);
  font-size: 0.65rem;
  font-weight: 700;
}
.news-card-title {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.3;
}
.news-card-title a {
  color: var(--k-heading);
}
.news-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.news-card-title a:hover,
.news-card-title a:focus-visible {
  color: var(--k-blue);
}
.news-card-title a:focus-visible {
  outline: none;
}
.news-card:has(.news-card-title a:focus-visible) {
  outline: 3px solid var(--k-breeze);
  outline-offset: 2px;
}
.news-card-excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--k-muted);
  font-size: 0.75rem;
}

/* ------------------------------------------------------------------ Download page */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 1.6rem 3rem;
  counter-increment: step;
}
.steps li:last-child {
  padding-bottom: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bs-soft-primary);
  color: var(--k-blue);
  font-family: var(--k-font-display);
  font-weight: 800;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.4rem;
  bottom: 0.4rem;
  left: 1rem;
  width: 1px;
  background: var(--k-line);
}
.steps h3 {
  margin-bottom: 0.35rem;
  padding-top: 0.2rem;
  font-size: 0.95rem;
}
.steps p {
  margin-bottom: 0.75rem;
}
.release-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.6rem;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius-lg);
  background: #fff;
}
.release-card-featured {
  border-color: rgba(var(--k-blue-rgb), 0.45);
  box-shadow: 0 0 0 3px rgba(var(--k-blue-rgb), 0.1), var(--k-shadow);
}
.release-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.release-version {
  color: var(--k-heading);
  font-family: var(--k-font-display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.release-card-featured .release-version {
  color: var(--k-blue);
}
.release-badge {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--k-blue);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.release-badge-muted {
  background: var(--k-surface);
  color: var(--k-muted);
}
.release-card h3 {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.release-card p {
  flex: 1;
}
.release-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

/* ------------------------------------------------------------------ Dark band + video */
.video-frame {
  overflow: hidden;
  border-radius: var(--k-radius-lg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), var(--k-shadow-lg);
}

/* ------------------------------------------------------------------ Blog post */
.post-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.7rem;
  font-weight: 600;
}
.post-hero-meta i {
  margin-right: 0.35rem;
  color: var(--k-breeze);
}
.post-hero-meta a {
  color: rgba(255, 255, 255, 0.9);
}
.post-hero-meta a:hover {
  color: #fff;
}
.prose {
  max-width: 44rem;
  color: #364152;
  font-size: 0.875rem;
  line-height: 1.78;
}
.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1.15em;
}
.prose li + li {
  margin-top: 0.35em;
}
.prose ul li::marker,
.prose ol li::marker {
  color: var(--k-blue);
}
.prose h2 {
  margin: 2em 0 0.6em;
  font-size: 1.3rem;
  line-height: 1.2;
}
.prose h3 {
  margin: 1.7em 0 0.5em;
  font-size: 1.05rem;
}
.prose h4 {
  margin: 1.5em 0 0.5em;
  font-size: 0.9rem;
}
.prose > :first-child {
  margin-top: 0;
}
.prose strong {
  color: var(--k-heading);
}
.prose a:not(.btn) {
  text-decoration: underline;
  text-decoration-color: rgba(var(--k-blue-rgb), 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.prose a:not(.btn):hover {
  text-decoration-color: currentColor;
}
/* Block + auto margins centre the many old images narrower than the column */
.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.6em auto;
  border-radius: var(--k-radius);
  box-shadow: 0 0 0 1px var(--k-line), var(--k-shadow);
}
/* Old posts float a small logo next to the opening paragraph */
.prose img.float-start {
  max-width: 35%;
  margin: 0.3em 1.2em 0.6em 0;
  border-radius: 0;
  box-shadow: none;
}
.prose::after {
  content: "";
  display: table;
  clear: both;
}
.prose code,
.prose :not(pre) > code[class] {
  margin: 0;
  white-space: normal;
  padding: 0.1em 0.35em;
  border: 1px solid var(--k-line);
  border-radius: 0.3rem;
  background: var(--k-surface);
  color: #0d3b66;
  font-family: var(--k-font-mono);
  font-size: 0.85em;
}
.prose pre,
.prose pre[class] {
  margin: 0 0 1.15em;
  padding: 1rem 1.2rem;
  font-size: 0.75rem;
  overflow: auto;
  border-radius: var(--k-radius);
  background: var(--k-ink);
  color: #e6edf3;
}
.prose pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
}
.prose blockquote {
  margin: 1.5em 0;
  padding: 0.2em 0 0.2em 1.1em;
  border-left: 3px solid var(--k-blue);
  color: var(--k-muted);
}
.prose table {
  width: 100%;
  margin-bottom: 1.15em;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.prose th,
.prose td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--k-line);
  text-align: left;
}
.prose iframe,
.prose .twitter-tweet {
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}
.post-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 44rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--k-line);
}
.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag-chips li {
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--k-line);
  border-radius: 999px;
  background: var(--k-surface);
  color: var(--k-muted);
  font-size: 0.65rem;
  font-weight: 600;
}
.share-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.share-label {
  margin-right: 0.25rem;
  color: var(--k-heading);
  font-size: 0.7rem;
  font-weight: 700;
}
.share-links a {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--k-line);
  border-radius: 50%;
  color: var(--k-text);
  font-size: 0.85rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.share-links a:hover {
  border-color: var(--k-blue);
  background: var(--k-blue);
  color: #fff;
}
.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 44rem;
  margin-top: 2rem;
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  color: var(--k-heading);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.post-nav-link:hover {
  border-color: rgba(var(--k-blue-rgb), 0.4);
  box-shadow: var(--k-shadow-sm);
  color: var(--k-blue);
}
.post-nav-next {
  grid-column: 2;
  text-align: right;
}
.post-nav-dir {
  color: var(--k-muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post-nav-title {
  font-family: var(--k-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
}
@media (max-width: 575.98px) {
  .post-nav {
    grid-template-columns: minmax(0, 1fr);
  }
  .post-nav-next {
    grid-column: auto;
  }
}

/* Related posts (reuses .side-list) */
.related-posts {
  max-width: 44rem;
  margin-top: 2.5rem;
  font-size: 0.8rem;
}
.related-posts-title {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
}
.related-posts .side-list {
  margin-bottom: 0;
}

/* Sidebar */
@media (min-width: 992px) {
  .sidebar-sticky {
    position: sticky;
    top: 5.25rem;
  }
}
.side-card {
  margin-bottom: 1.25rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius-lg);
  background: #fff;
  font-size: 0.75rem;
}
.side-card-title {
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
}
.side-card-download {
  border-color: transparent;
  background-color: var(--k-ink);
  background-image: var(--k-night);
  color: rgba(255, 255, 255, 0.76);
}
.side-card-download .side-card-title {
  color: #fff;
}
.side-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.side-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--k-line);
}
.side-list li:first-child {
  padding-top: 0;
}
.side-list a {
  color: var(--k-heading);
  font-weight: 650;
  line-height: 1.35;
}
.side-list a:hover {
  color: var(--k-blue);
}
.side-list time {
  color: var(--k-muted);
  font-size: 0.65rem;
}

/* ------------------------------------------------------------------ Footer */
.site-footer {
  padding: 3rem 0 2rem;
  background: var(--k-ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}
.site-footer a:hover {
  color: #fff;
}
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  border-radius: var(--k-radius-lg);
  background:
    radial-gradient(30rem 12rem at 100% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(120deg, #005f99 0%, var(--k-blue) 45%, #1d97dc 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
}
.footer-cta-title {
  margin-bottom: 0.3rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 750;
}
.site-footer .footer-cta .btn-white {
  color: var(--k-ink);
}
.footer-columns {
  padding: 3.25rem 0 2.5rem;
}
.footer-logo {
  width: auto;
  height: 1.3rem;
  filter: brightness(0) invert(1);
}
.footer-title {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
}
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links li + li {
  margin-top: 0.5rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
}
.site-footer .social a {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin: 0 0.4rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 0.85rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.site-footer .social a:hover {
  border-color: var(--k-breeze);
  background: rgba(var(--k-breeze-rgb), 0.15);
}

/* ------------------------------------------------------------------ Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-cue],
  [data-cues] > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .home-hero .window-frame {
    transform: none;
  }
}
