body {
background: linear-gradient(180deg, #1c1c1e 0%, #141415 35%, #101011 65%, #0c0c0d 100%);
}

body {
color: rgba(255, 255, 255, 0.88);
}

/* ─── Top navigation bar ─── */

#top {
  height: 52px;
  padding: 0.6rem 2.2rem 0;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Subpages: sticky floating nav with frosted glass */
body:not(.is-home) header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

body:not(.is-home) #top {
  background: rgba(22, 22, 24, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

#top #top-brand {
  margin-right: 1.8rem;
}

#top #top-nav-main {
  border-left: none;
  padding-left: 0;
}

#top #top-nav-main li {
  font-size: 0.82rem;
  font-weight: 400;
  margin-right: 1.8rem;
  margin-left: 0;
}

#top #top-nav-main li:last-child {
  margin-right: 0;
}

#top #top-nav-main a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

#top #top-nav-main a:hover {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

#top #top-nav-main a.active {
  color: rgba(255, 255, 255, 0.92);
}

/* Brand (subpages) */

#top #top-brand a.nav-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  text-indent: 0;
  width: auto;
  line-height: normal;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}

#top #top-brand a.nav-brand-link:hover {
  color: rgba(255, 255, 255, 1);
}

#top #top-brand .nav-brand-icon,
.nav-brand-icon {
  width: 26px !important;
  height: 26px !important;
  border-radius: 5px;
  flex-shrink: 0;
}

/* Home page nav: no brand, no divider */
.is-home #top #top-brand {
  display: none;
}

.is-home #top {
  border-bottom: none;
}

a {
color: rgba(190, 210, 255, 0.95);
}

/* Override the Kube theme's #hero p a (black) which otherwise beats this
   on specificity and makes links inside hero content invisible on dark bg */
#hero p a {
color: rgba(190, 210, 255, 0.95);
}

#hero p a:hover {
color: rgba(255, 255, 255, 0.98);
}

/* ─── Footer ─── */

#footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.35);
  display: block;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-row p {
  margin: 0;
}

.footer-row nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer nav ul li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

#footer nav ul li a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-indie {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 2rem;
}

a:hover {
color: rgba(255, 255, 255, 0.98);
}

p, li, small, label, dd, dt {
color: rgba(255, 255, 255, 0.82);
}

h1, h2, h3, h4, h5, h6 {
color: rgba(255, 255, 255, 0.92);
}

.hero-badge {
  position: absolute;
  top: -0.55em;
  right: -2.6em;

  font-size: clamp(0.55rem, 0.2em, 0.8rem);
  line-height: 1;
  padding: 0.2em 0.35em;
  border-radius: 6px;
  
  letter-spacing: 0.10em;
  text-transform: uppercase;

  background: rgba(255, 204, 0, 0.95);
  border: 1px solid rgba(200, 160, 0, 0.35);
  color: #8B5E00;
  font-family: Futura, "Futura PT", "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Fast lys “spotlight” bak hero (ikon-området) */
.glow {
position: relative;
overflow: hidden;
background: transparent !important;
}

/* Glow is on the headline group so it tracks the logo+title */
.glow .hero-headline {
position: relative;
}

.glow .hero-headline::before {
content: “”;
position: absolute;
top: -160px;
left: 50%;
width: 400px;
height: 400px;
transform: translateX(-50%);
background: radial-gradient(
closest-side,
rgba(200, 215, 240, 0.15),
rgba(200, 215, 240, 0) 70%
);
filter: blur(15px);
pointer-events: none;
z-index: 0;
}

.glow > * {
position: relative;
z-index: 1;
}

/*
Fade in animation
*/
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.85;
  }
}

.hero-logo img {
  display: block;
  margin: 2rem auto;
  max-width: 184px;
  animation: fadeInScale 0.8s ease-out forwards;
}

#main p,
#hero p {
color: rgba(255, 255, 255, 0.82) !important;
}



#feature-screenshot {
max-width: 700px;
margin: 2.5rem auto 1rem;
padding: 0;
}

#feature-screenshot video {
border-radius: 9px; width: 100%; margin: 10px 0 30px;
}


#feature-screenshot img {
width: 100%;
height: 200px;
display: block;
filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

/* ─── Features: sticky scroll-driven carousel ─── */

/* Outer track — tall wrapper that creates scroll distance.
   Height is set by JS: 100vh × featureCount.                */
/* ─── Features top bar ─── */

.features-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 2rem;
  background: rgba(28, 28, 30, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.features-topbar.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.features-topbar-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.01em;
}

.features-topbar-btn {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 1rem;
  border-radius: 980px;
  background: #0071e3;
  color: #ffffff !important;
  text-decoration: none;
  transition: background 0.2s;
}

.features-topbar-btn:hover {
  background: #0077ed;
  color: #ffffff !important;
}

/* ─── Features track ─── */

#features-track {
  position: relative;
  background: #000000;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* Sticky container — stays pinned while scrolling through the track */
.features-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Inner layout box */
.features-viewport {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 70vh;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─ Each slide ─ */

.feature-slide {
  position: absolute;
  inset: 0;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;

  /* Future slides: fully off-screen right */
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  /* No transition on future slides so they don't animate when reset */
  transition: none;
}

/* Active slide: glide in from right */
.feature-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Past slide: animate out to left */
.feature-slide.is-past {
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─ Media (video / image) ─ */

.feature-slide-media {
  flex: 0 0 55%;
  max-width: 55%;
}

.feature-slide-media video,
.feature-slide-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: rgba(255, 255, 255, 0.04);
}

/* ─ Text column: centred icon, title and description ─ */

.feature-slide-text {
  flex: 1;
  min-width: 0;
  position: relative;
  text-align: center;
  padding: 2.4rem 2rem 2.1rem;
}

.feature-slide-counter {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.32);
}

.feature-slide-icon {
  margin: 0 auto 1.6rem;
  text-align: center;
}

.feature-slide-icon img {
  width: 76px;
  height: 76px;
}

.feature-slide-text h3 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.94);
}

/* #main prefix: the generic "#main p" rule would otherwise win on specificity */
#main .feature-slide-text p {
  font-size: 1.12rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
  max-width: 30em;
  margin: 0 auto;
}

.feature-footnote-ref {
  font-size: 0.7em;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 1px;
}

.feature-footnote {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.35) !important;
  margin-top: 1.3rem !important;
}

.feature-footnote a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.feature-footnote a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

/* ─ Progress dots ─ */

.features-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.features-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.features-dot.is-active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.3);
}

/* ─ Desktop: screenshot bleeds off the left edge; its height follows the
     text column (icon to last line), cropped from the top ─ */

@media (min-width: 901px) {
  .features-viewport {
    max-width: none;
    padding: 0;
  }

  .feature-slide {
    display: grid;
    grid-template-columns: minmax(0, 55vw) minmax(380px, 1fr);
    align-content: center;
    align-items: stretch;   /* media stretches to the row height... */
    column-gap: 3.5vw;
    padding: 0 3.5vw 0 0;
  }

  .feature-slide-media {
    position: relative;     /* ...which only the text sets */
    max-width: none;
    margin-left: -6vw;      /* crop the left edge slightly */
  }

  .feature-slide-media video,
  .feature-slide-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center top;
    border-radius: 0 16px 16px 0;
  }

  .feature-slide-text {
    align-self: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .feature-slide-counter {
    top: 0;
    right: 0;
  }
}

/* Small desktop windows: the text column is at its narrowest here, so give
   the slide more of the screen height to stay clear of overflow */
@media (min-width: 901px) and (max-width: 1199px) {
  .features-viewport { height: 80vh; }
}

/* Large screens: scale the text with the window so the composition matches
   a 1440px laptop instead of the screenshot flattening into a strip */
@media (min-width: 1440px) {
  .feature-slide-text { max-width: 41vw; padding: 0 2.2vw; }
  .feature-slide-icon { margin-bottom: 2.05vw; }
  .feature-slide-icon img { width: 5.3vw; height: 5.3vw; }
  .feature-slide-text h3 { font-size: 2.56vw; margin-bottom: 1.28vw; }
  #main .feature-slide-text p { font-size: 1.43vw; }
  .feature-footnote { font-size: 1.08vw !important; margin-top: 1.66vw !important; }
  .feature-slide-counter { font-size: 0.82vw; }
}

/* ─ Mobile and narrow windows: media stacked above the text ─ */

@media (max-width: 900px) {
  .features-viewport {
    height: 84vh;
    height: 84svh;          /* use most of the pinned screen, clear of the top bar */
    max-width: 640px;
    padding: 0;
  }

  .feature-slide {
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    padding: 0 1.25rem;
  }

  .feature-slide-media {
    flex: none;
    max-width: 100%;
  }

  .feature-slide-text {
    flex: none;
    padding: 0.4rem 0 0;
  }

  .feature-slide-counter {
    top: 0;
    right: 0;
  }

  .feature-slide-icon {
    margin: 0 auto 0.85rem;
  }

  .feature-slide-icon img {
    width: 56px;
    height: 56px;
  }

  .feature-slide-text h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
  }
}

/* Phones: tighter type so the longest slide still fits one screen */
@media (max-width: 600px) {
  .feature-slide { gap: 1.1rem; }
  .feature-slide-icon { margin-bottom: 0.7rem; }
  .feature-slide-icon img { width: 48px; height: 48px; }
  .feature-slide-text h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
  #main .feature-slide-text p { font-size: 1rem; line-height: 1.6; }
  .feature-footnote { font-size: 0.8rem !important; margin-top: 0.9rem !important; }
}

/* ─ Reduced motion: show all stacked, no carousel ─ */

@media (prefers-reduced-motion: reduce) {
  #features-track {
    height: auto !important;
  }

  .features-sticky {
    position: relative;
    height: auto;
  }

  .features-viewport {
    height: auto;
  }

  .feature-slide {
    position: relative;
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: auto;
    padding: 2rem;
  }

  .features-dots {
    display: none;
  }
}

/* ─ No-JS fallback: show first slide ─ */

/* Remove hero divider line */
#hero p::before {
  display: none !important;
}

/* (legacy grid rule removed) */

/* Remove intro top line */
#intro::before {
  display: none !important;
}

/* Remove any border-bottom from section headers */
#redactor-discover h3,
#grafs-discover h3,
#docs-main #area .doc-head,
.section-title {
  border-bottom: none !important;
}



.post-summary {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.post-summary img {
  float: left;
  margin-right: 1rem;
  max-width: 64px;
  border-radius: 4px;
}

.post-summary .summary {
  font-size: 1rem;
  line-height: 1.6;
}

.post-summary h2.title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.post-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Hero section at top of list pages */
.list-hero {
  text-align: center;
  margin: 4rem auto 2rem;
  max-width: 680px;
  padding: 0 1rem;
}

.list-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.85rem;
}

.list-hero p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

/* Post list section (not centered) */
.list-posts {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Optional: page-summary tweaks */
.list-posts li {
  margin-bottom: 2rem;
}

/* Pagination spacing */
.pagination {
  text-align: center;
  margin-top: 3rem;
}

.title {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

/*
 Release notes:
*/

.badge {
  display: inline-block;
  background: #ffcc00;
  color: #000;
  font-size: 0.7rem;
  padding: 0.2em 0.5em;
  border-radius: 0.25em;
  margin-left: 0.5em;
  text-transform: uppercase;
}

.badge-pro {
  background: #5a00b3;
  color: #fff;
}

.beta-form-card {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.hidden { 
display: none !important; 
}

.visually-hidden {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

html {
	font-size: 1.15rem;
}

body {
	line-height: 1.65;
}

.post-content,
.post-summary .summary,
.list-hero p,
.list-posts,
#main p {
font-size: 1.08rem;
line-height: 1.75;
}

.post-content h1 { font-size: 2.2rem; }
.post-content h2 { font-size: 1.7rem; }
.post-content h3 { font-size: 1.3rem; }


/* HOME ONLY hero layout (does not affect other pages using #hero) */

#hero.hero-logo-main {
  padding-top: 2rem;
  padding-bottom: 8px;
  text-align: center;
}

#hero.hero-logo-main .hero-headline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}



#hero.hero-logo-main .hero-logo img {
  display: block;
  margin: 0;
  max-width: clamp(44px, 8vw, 72px);
}

#hero.hero-logo-main .hero-title {
  margin: 0;
  line-height: 1.05;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
}

#hero.hero-logo-main p.hero-tagline {
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  padding: 0;
  max-width: 720px;
}

#action-buttons p {
	font-size: 0.9rem
}

/* feature text size handled in .feature-text p */

/* ─── Bottom CTA ─── */

.bottom-cta {
  text-align: center;
  padding: 6rem 2rem 5rem;
  max-width: 600px;
  margin: 0 auto;
}

.bottom-cta h2 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.8rem;
}

.bottom-cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 2rem;
}

.bottom-cta .button.primary {
  display: inline-block;
  margin-bottom: 1rem;
}

.bottom-cta-note {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ─── Support page ─── */

.support-page {
  max-width: 100%;
}

.support-hero {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  max-width: 680px;
  margin: 0 auto;
}

.support-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.94);
}

.support-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.support-layout {
  display: flex;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  gap: 3rem;
}

/* ─ Sidebar ─ */

.support-sidebar {
  flex: 0 0 220px;
  position: sticky;
  top: 2rem;
  align-self: flex-start;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  padding-right: 1rem;
}

.support-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.support-nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-nav li.support-nav-section {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1.2rem;
  padding: 1.2rem 0.75rem 0.4rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.support-nav li.support-nav-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.support-nav a {
  display: block;
  padding: 0.35rem 0.75rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  line-height: 1.4;
}

.support-nav a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.06);
}

.support-nav a.is-active {
  color: rgba(255, 255, 255, 0.95) !important;
  background: rgba(255, 255, 255, 0.08);
}

/* ─ Content area ─ */

.support-content {
  flex: 1;
  min-width: 0;
}

.support-section {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.support-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.support-section h2 {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.8rem;
  scroll-margin-top: 5rem;
}

.support-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 0.8rem;
}

.support-section p:last-child {
  margin-bottom: 0;
}

.support-section code {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.support-section strong {
  color: rgba(255, 255, 255, 0.88);
}

/* ─ Mobile support ─ */

@media (max-width: 720px) {
  .support-layout {
    flex-direction: column;
    gap: 0;
  }

  .support-sidebar {
    position: relative;
    top: 0;
    flex: none;
    max-height: none;
    padding-right: 0;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .support-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .support-nav-section {
    width: 100%;
    margin-top: 0.8rem;
  }

  .support-nav a {
    font-size: 0.82rem;
    padding: 0.25rem 0.6rem;
  }
}

/* ─── Blog page ─── */

.blog-header {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  max-width: 680px;
  margin: 0 auto;
}

.blog-header h1 {
  font-size: 2.6rem;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.94);
}

.blog-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.blog-posts {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.blog-post {
  display: flex;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-post:first-child {
  border-top: none;
}

/* Date column */

.blog-post-date {
  flex: 0 0 70px;
  padding-top: 0.15rem;
}

.blog-post-date time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.blog-date-month {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.blog-date-day {
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.15;
}

.blog-date-year {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
}

/* Post body */

.blog-post-body {
  flex: 1;
  min-width: 0;
}

.blog-post-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.3rem;
  line-height: 1.3;
}

.blog-post-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-post-title a:hover {
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
}

/* ─ Blog pagination ─ */

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 1rem;
}

.blog-pagination-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-pagination-link:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.blog-pagination-info {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}

.blog-post-description {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.6rem;
  line-height: 1.5;
}

.blog-post-snippet {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-post-snippet p {
  margin: 0;
}

.blog-read-more {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-read-more:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.blog-post-content {
  font-size: 0.92rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.68);
}

.blog-post-content p {
  font-size: 0.92rem;
  line-height: 1.72;
  margin: 0 0 0.8rem;
}

.blog-post-content p:last-child {
  margin-bottom: 0;
}

.blog-post-content h6 {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin: 1.4rem 0 0.4rem;
  letter-spacing: 0.02em;
}

.blog-post-content strong {
  color: rgba(255, 255, 255, 0.85);
}

.blog-post-content em {
  color: rgba(255, 255, 255, 0.55);
}

.blog-post-content a {
  color: rgba(130, 170, 255, 0.9) !important;
}

.blog-post-content ul,
.blog-post-content ol {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0.8rem;
}

.blog-post-content li {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.25rem;
}

/* Mobile blog */

@media (max-width: 720px) {
  .blog-post {
    flex-direction: column;
    gap: 0.5rem;
  }

  .blog-post-date {
    flex: none;
  }

  .blog-post-date time {
    flex-direction: row;
    align-items: baseline;
    gap: 0.4rem;
  }

  .blog-date-day {
    font-size: 1rem;
  }
}

/* Blog single post */

.blog-single-date {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.5rem;
}

.blog-single-content {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.blog-single-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.blog-single-content h2 {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 2.2rem 0 0.75rem;
}

.blog-single-content h6 {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin: 1.6rem 0 0.5rem;
}

.blog-single-content a {
  color: rgba(130, 170, 255, 0.9) !important;
}

.blog-back {
  max-width: 620px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-back a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-back a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

/* ─── 404 page ─── */

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding: 2rem 1.5rem;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-page h1 {
  font-size: 1.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 0.6rem;
}

.error-page p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 2rem;
}

.error-home-link {
  display: inline-block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.error-home-link:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

/* ─── Mobile navigation (≤768px) ─── */

@media (max-width: 768px) {
  /* Toggle bar background */
  .show-sm {
    background: rgba(22, 22, 24, 0.96);
  }

  #nav-toggle-box {
    padding: 0.8rem 1.4rem;
  }

  #nav-toggle-brand a,
  #nav-toggle-brand span {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
  }

  #nav-toggle-brand .nav-brand-icon {
    width: 22px !important;
    height: 22px !important;
    border-radius: 4px;
  }

  #nav-toggle {
    color: rgba(255, 255, 255, 0.7) !important;
  }

  /* Expanded menu: own bg so it covers its full height */
  #top {
    background: rgba(22, 22, 24, 0.96) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 0.2rem 1.4rem 1.2rem !important;
    margin-bottom: 0 !important;
    height: auto !important;
  }

  #top #top-nav-main {
    padding: 0 !important;
    border: none !important;
  }

  #top #top-nav-main a {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.88rem;
    font-weight: 400;
  }

  #top #top-nav-main a:hover,
  #top #top-nav-main a.active {
    color: rgba(255, 255, 255, 0.95) !important;
  }

  #top #top-nav-main li {
    margin: 0.5rem 0 !important;
    text-align: left !important;
  }

  #top #top-brand {
    display: none !important;
  }

  .is-home #nav-toggle-brand {
    display: none;
  }
}

/* ------------------------------------------------------------------
   Overstyrer kube-temaet. Laa tidligere som utkommenterte linjer i
   themes/kube/static/css/main.css, noe som gjorde temaet umulig aa
   oppdatere og usynlig for git. Temaet er na urort; alt som avviker
   fra det hoerer hjemme her.
   ------------------------------------------------------------------ */
#redactor-discover h3      { border-bottom: none; }
#docs-main #area .doc-head { border-bottom: none; }
#changelog li              { border-bottom: none; }

/* ─── Seatbelt vs Finder (homepage, after the feature carousel) ─── */

.vs-finder {
  max-width: 760px;
  margin: 0 auto;
  padding: 6rem 1.5rem 1rem;
  text-align: center;
}

.vs-finder h2 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.8rem;
}

#main .vs-finder p.vs-finder-lede {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 2.5rem;
}

.vs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.vs-table th,
.vs-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.vs-table thead th {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.vs-table th[scope="row"] {
  font-weight: 400;
}

.vs-table thead th:not(:first-child),
.vs-table td {
  width: 7.5rem;
  text-align: center;
}

.vs-table td {
  color: rgba(255, 255, 255, 0.35);
}

.vs-table td.is-yes {
  color: rgb(10, 132, 255);
  font-weight: 700;
}

#main .vs-finder p.vs-finder-who {
  margin: 2.5rem auto 0;
  max-width: 620px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 720px) {
  .vs-table th,
  .vs-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.92rem;
  }

  .vs-table thead th:not(:first-child),
  .vs-table td {
    width: 4.5rem;
  }
}

.footer-indie a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-indie a:hover {
  color: rgba(255, 255, 255, 0.85);
}
