:root {
  color-scheme: light;
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-muted: #eef2f4;
  --ink: #101418;
  --muted: #606a73;
  --line: #dce2e6;
  --accent: #145c67;
  --accent-dark: #0c4049;
  --coral: #d45c45;
  --gold: #d89a22;
  --blue: #2d65b3;
  --shadow: 0 24px 70px rgba(16, 20, 24, 0.12);
  --card-radius: 12px;
  --soft-shadow: 0 16px 45px rgba(16, 20, 24, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}


* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  overscroll-behavior-x: none;
  scroll-behavior: smooth;
}

.vn-home-page {
  scroll-padding-top: 64px;
}

body {
  overflow-x: hidden;
  overflow-x: clip;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  border-radius: 999px;
  background: var(--ink);
  padding: 0.65rem 0.9rem;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  box-shadow: var(--soft-shadow);
  transform: translateY(calc(-100% - 1.5rem));
}

.skip-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .app-links a,
  .screenshot-dot {
    transition-duration: 160ms;
    transition-property: background-color, border-color, box-shadow, color, opacity, transform;
    transition-timing-function: ease-out;
  }
}

code {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.65);
  padding: 0.1rem 0.35rem;
  font-size: 0.92em;
}

.game-link:active {
  transform: translateY(1px);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.4rem, 9vw, 8.6rem);
  line-height: 0.9;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.72rem 1rem;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: rgba(22, 21, 19, 0.2);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(22, 21, 19, 0.45);
  background: #fff;
  transform: translateY(-1px);
}

.rune-shot-frame picture,
.inkline-product-shot picture {
  display: contents;
}

/* Bands of a page leave about 170 px between their content on a laptop:
   calm, without making a page feel empty. */
.section {
  padding: clamp(3.5rem, 6vw, 5.25rem) 4vw;
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.presentation-list {
  display: grid;
  gap: 1rem;
}

.app-card,
.presentation-list article,
.profile-panel,
.support-form {
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
}

.presentation-list article {
  padding: 1.25rem;
}

.presentation-list p,
.profile-panel p,
.app-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--accent-dark);
  font-weight: 760;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.apps-section {
  background:
    linear-gradient(180deg, #f8fafb 0%, #f2f5f6 100%);
}

.app-card {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  overflow: clip;
  scroll-margin-top: 1rem;
  border-color: rgba(185, 197, 204, 0.74);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.84) inset,
    0 14px 36px rgba(16, 20, 24, 0.055);
}

.app-card:hover,
.app-card:focus-within {
  border-color: rgba(20, 92, 103, 0.26);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 24px 56px rgba(16, 20, 24, 0.11);
}

.app-card-media {
  display: grid;
  flex: none;
  aspect-ratio: var(--component-card-media-ratio, 16 / 10);
  place-items: center;
  background: var(--app-bg, linear-gradient(135deg, #0f6f68, #2f5f9c));
}

.app-card-media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.08));
  content: "";
}

.mini-preview {
  position: absolute;
  inset: 0;
  overflow: hidden;
  overflow: clip;
}

.noscript-fallback {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(16, 20, 24, 0.06);
}

.noscript-fallback h3 {
  margin: 0;
  font-size: 1.15rem;
}

.noscript-fallback p {
  max-width: 620px;
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.noscript-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.noscript-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.58rem 0.86rem;
  color: var(--accent-dark);
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
}

.noscript-links a:hover,
.noscript-links a:focus-visible {
  border-color: rgba(20, 92, 103, 0.28);
  background: rgba(20, 92, 103, 0.06);
  text-decoration: none;
}

.mini-preview::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(157, 224, 216, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 45%);
  content: "";
}

.mini-archive {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 28%, transparent 28%),
    linear-gradient(135deg, rgba(182, 154, 216, 0.28), rgba(16, 20, 24, 0.26)),
    rgba(255, 255, 255, 0.14);
}

.preview-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.42;
}

.preview-object {
  position: absolute;
  z-index: 1;
  display: block;
}

.mini-pong .one,
.mini-pong .two {
  top: 34%;
  width: 10px;
  height: 58px;
  border-radius: 999px;
}

.mini-pong .one {
  left: 18%;
  background: #9de0d8;
  box-shadow: 0 0 18px rgba(157, 224, 216, 0.8);
}

.mini-pong .two {
  right: 18%;
  background: #ff6b6b;
  box-shadow: 0 0 18px rgba(255, 107, 107, 0.75);
}

.mini-pong .three {
  top: 45%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.9);
}

.mini-breakout .one {
  top: 24%;
  left: 14%;
  right: 14%;
  height: 54px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #9de0d8 0 23%, transparent 23% 26%, #ffd166 26% 49%, transparent 49% 52%, #ff6b6b 52% 75%, transparent 75% 78%, #4f8cff 78%);
}

.mini-breakout .two {
  right: 22%;
  bottom: 25%;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #fff;
}

.mini-breakout .three {
  left: 30%;
  bottom: 17%;
  width: 42%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.mini-asteroids .preview-object {
  width: 34px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  clip-path: polygon(15% 22%, 55% 0, 88% 25%, 82% 70%, 45% 100%, 8% 74%);
}

.mini-asteroids .one {
  top: 22%;
  left: 22%;
}

.mini-asteroids .two {
  right: 22%;
  top: 34%;
  transform: scale(0.82) rotate(18deg);
}

.mini-asteroids .three {
  left: 50%;
  bottom: 22%;
  border-color: #9de0d8;
  clip-path: polygon(50% 0, 100% 100%, 50% 72%, 0 100%);
}

.mini-snake .one {
  top: 30%;
  left: 25%;
  width: 120px;
  height: 74px;
  border-radius: 18px;
  border: 12px solid #9de0d8;
  border-right-color: transparent;
  box-shadow: 0 0 18px rgba(157, 224, 216, 0.42);
}

.mini-snake .two {
  right: 24%;
  bottom: 28%;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #ff6b6b;
}

.mini-dodge .preview-object {
  border-radius: 999px;
}

.mini-dodge .one {
  left: 47%;
  bottom: 24%;
  width: 18px;
  height: 18px;
  background: #9de0d8;
  box-shadow: 0 0 18px rgba(157, 224, 216, 0.7);
}

.mini-dodge .two,
.mini-dodge .three {
  background: #ff6b6b;
  box-shadow: 0 0 16px rgba(255, 107, 107, 0.62);
}

.mini-dodge .two {
  top: 26%;
  left: 30%;
  width: 28px;
  height: 28px;
}

.mini-dodge .three {
  top: 36%;
  right: 26%;
  width: 20px;
  height: 20px;
}

.mini-raze .one {
  top: 22%;
  left: 14%;
  width: 58%;
  height: 68%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(#9de0d8 0 0) 16px 18px / 44% 8px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.28) 0 0) 16px 40px / 72% 7px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.18) 0 0) 16px 60px / 54% 7px no-repeat,
    rgba(9, 18, 22, 0.64);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.mini-raze .two {
  top: 26%;
  right: 17%;
  width: 34px;
  height: 50px;
  border: 2px solid rgba(157, 224, 216, 0.84);
  border-radius: 18px 18px 12px 12px;
  background: rgba(157, 224, 216, 0.16);
  box-shadow: 0 0 22px rgba(48, 164, 108, 0.54);
}

.mini-raze .three {
  right: 15%;
  bottom: 26%;
  width: 74px;
  height: 30px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #9de0d8 0 22%, transparent 22% 27%, #30a46c 27% 49%, transparent 49% 54%, #ffd166 54% 76%, transparent 76% 81%, #ff6b6b 81%);
}

.mini-machue .preview-object {
  border-radius: 999px;
}

.mini-machue .one {
  top: 28%;
  left: 16%;
  width: 42%;
  height: 48%;
  border-radius: 12px;
  background:
    linear-gradient(#ffd166 0 0) 18px 18px / 44% 8px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.36) 0 0) 18px 40px / 68% 7px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.22) 0 0) 18px 60px / 52% 7px no-repeat,
    rgba(13, 18, 30, 0.58);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.mini-machue .two {
  top: 25%;
  right: 25%;
  width: 42px;
  height: 42px;
  background: #ffd166;
  box-shadow: 0 0 34px rgba(255, 209, 102, 0.78);
}

.mini-machue .three {
  right: 16%;
  bottom: 26%;
  width: 32px;
  height: 32px;
  background: #9de0d8;
  box-shadow: 0 0 30px rgba(157, 224, 216, 0.76);
}

.mini-inkline {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0 12%, transparent 12%),
    linear-gradient(90deg, rgba(55, 65, 80, 0.96) 0 25%, transparent 25%),
    linear-gradient(135deg, rgba(24, 32, 42, 0.98), rgba(95, 115, 140, 0.9));
}

.mini-inkline .preview-grid {
  opacity: 0.42;
}

.mini-inkline .one {
  left: 5%;
  top: 18%;
  width: 20%;
  height: 70%;
  border: 1px solid rgba(191, 206, 218, 0.22);
  border-radius: 5px;
  background:
    linear-gradient(rgba(111, 178, 255, 0.72) 0 0) 13% 16% / 60% 5% no-repeat,
    linear-gradient(rgba(220, 231, 238, 0.58) 0 0) 13% 29% / 72% 4% no-repeat,
    linear-gradient(rgba(220, 231, 238, 0.42) 0 0) 13% 41% / 56% 4% no-repeat,
    linear-gradient(rgba(220, 231, 238, 0.46) 0 0) 13% 53% / 66% 4% no-repeat,
    linear-gradient(rgba(111, 178, 255, 0.58) 0 0) 13% 66% / 74% 5% no-repeat,
    rgba(42, 50, 61, 0.86);
}

.mini-inkline .two {
  left: 29%;
  top: 19%;
  width: 62%;
  height: 46%;
  border: 1px solid rgba(191, 206, 218, 0.2);
  border-radius: 5px;
  background:
    linear-gradient(rgba(157, 224, 216, 0.82) 0 0) 8% 18% / 42% 4% no-repeat,
    linear-gradient(rgba(102, 187, 255, 0.65) 0 0) 8% 32% / 72% 4% no-repeat,
    linear-gradient(rgba(246, 196, 102, 0.7) 0 0) 8% 46% / 58% 4% no-repeat,
    linear-gradient(rgba(220, 231, 238, 0.55) 0 0) 8% 60% / 76% 4% no-repeat,
    linear-gradient(rgba(220, 231, 238, 0.36) 0 0) 8% 74% / 48% 4% no-repeat,
    rgba(17, 22, 30, 0.74);
}

.mini-inkline .three {
  left: 29%;
  bottom: 12%;
  width: 61%;
  height: 18%;
  border: 1px solid rgba(191, 206, 218, 0.18);
  border-radius: 5px;
  background:
    linear-gradient(rgba(157, 224, 216, 0.72) 0 0) 5% 30% / 32% 8% no-repeat,
    linear-gradient(rgba(220, 231, 238, 0.5) 0 0) 5% 58% / 54% 7% no-repeat,
    linear-gradient(rgba(102, 187, 255, 0.62) 0 0) 5% 82% / 24% 7% no-repeat,
    rgba(9, 13, 18, 0.72);
}

.app-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: var(--component-card-content-padding, 1.1rem);
}

.app-card-body h4 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.25;
}

.app-card-summary {
  min-height: 0;
  margin-top: 0.55rem !important;
  line-height: 1.48;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 0.9rem;
  min-height: 0;
}

.tag {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  border: 1px solid rgba(185, 197, 204, 0.88);
  border-radius: 999px;
  background: rgba(248, 250, 251, 0.78);
  padding: 0.27rem 0.58rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
}

.app-links {
  align-content: start;
  align-self: stretch;
  margin-top: 0;
  padding-top: 1rem;
}

.app-action {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: var(--component-card-action-height, 2.8rem);
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid rgba(190, 201, 207, 0.86);
  border-radius: var(--component-card-action-radius, 10px);
  background: #fff;
  padding: 0.62rem 0.98rem;
  color: var(--accent-dark);
  font-weight: 760;
  line-height: 1.15;
  overflow-wrap: normal;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.app-action:hover,
.app-action:focus-visible {
  border-color: rgba(20, 92, 103, 0.28);
  background: rgba(20, 92, 103, 0.06);
  transform: translateY(-1px);
  text-decoration: none;
}

.game-card {
  min-height: 0;
}

.game-card .app-links {
  margin-top: auto;
  padding-top: 1rem;
}

.app-action-primary,
.app-links .app-action-primary {
  background: var(--ink);
  color: #fff !important;
  border-color: var(--ink) !important;
  box-shadow: 0 12px 22px rgba(16, 20, 24, 0.12);
  text-decoration: none !important;
}

.app-action-primary:hover,
.app-action-primary:focus-visible,
.app-links .app-action-primary:hover,
.app-links .app-action-primary:focus-visible {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
  color: #fff !important;
}

.presentation-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 2fr);
  gap: 1rem;
}

.profile-panel {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem;
}

.profile-image {
  display: block;
  width: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-muted);
}

.profile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.presentation-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 860px) {
  .presentation-list {
    grid-template-columns: 1fr;
  }
}

/* A taller invisible hit area for a small text link, without changing the slide's layout. */
.inkline-directory-back::before {
  position: absolute;
  inset: -0.45rem 0;
  content: "";
}

.support-section {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.screenshot-carousel {
  min-width: 0;
}

.screenshot-track {
  position: relative;
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0.35rem 0 1rem;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.screenshot-track::-webkit-scrollbar {
  display: none;
}

.screenshot-card {
  display: grid;
  grid-template-columns: var(--featured-columns);
  min-width: 0;
  align-items: center;
  gap: var(--featured-gap);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.screenshot-card-copy {
  min-width: 0;
  padding-inline: 0.25rem;
}

.screenshot-card-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5.3vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.screenshot-card-copy p:not(.eyebrow) {
  max-width: 31ch;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
}

.screenshot-controls {
  --controls-max-width: 20rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
  width: min(var(--featured-media-width), var(--controls-max-width));
  margin-inline: auto max(0px, calc((var(--featured-media-width) - var(--controls-max-width)) / 2));
  border: 1px solid var(--line);
  border-radius: var(--component-button-radius, 12px);
  background: #ffffff06;
  padding: 0.35rem;
}

.screenshot-controls[hidden] {
  display: none;
}

.screenshot-arrows,
.screenshot-status {
  display: flex;
  align-items: center;
}

.screenshot-status {
  position: relative;
}

.screenshot-status::before {
  position: absolute;
  inset-block: calc((var(--bar-size) - 18px) / 2);
  inset-inline-start: 0;
  width: 1px;
  background: var(--bar-line);
  content: "";
}

.screenshot-position {
  position: relative;
  display: grid;
  align-self: stretch;
  place-items: center;
}

.screenshot-progress {
  position: absolute;
  inset-block-end: 8px;
  inset-inline: 0;
  width: 1.75rem;
  height: 2px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bar-track);
  visibility: hidden;
}

.screenshot-controls[data-rotating="true"] .screenshot-progress {
  visibility: visible;
}

.screenshot-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--bar-accent);
  transform: scaleX(0);
  transform-origin: left center;
}

.screenshot-count {
  min-width: 2.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}

.screenshot-button,
.screenshot-dot {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.screenshot-button {
  width: 44px;
  background-color: #ffffff09;
}

.screenshot-button[data-slide-step]::before {
  width: 0.48rem;
  height: 0.48rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  rotate: 45deg;
  translate: -1px 0;
}

.screenshot-button[data-slide-step="-1"]::before {
  rotate: -135deg;
  translate: 1px 0;
}

.screenshot-rotation::before {
  width: 0.68rem;
  height: 0.8rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: "";
}

.screenshot-rotation[data-playing="true"]::before {
  width: 0.68rem;
  background: linear-gradient(90deg, currentColor 0 32%, transparent 32% 68%, currentColor 68%);
  clip-path: none;
}

.screenshot-dots {
  display: grid;
  width: min(100%, 15rem);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-self: center;
  gap: 0.2rem;
}

.screenshot-dot > span {
  width: 76%;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: #ffffff50;
}

.screenshot-dot.is-active > span {
  background: var(--accent);
}

.rune-mobile-showcase {
  display: none;
  min-width: 0;
}

.mobile-device {
  position: relative;
  overflow: hidden;
  width: min(420px, 100%);
  min-height: 660px;
  margin-inline: auto;
  border: 12px solid #0b0c0e;
  border-radius: 54px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.92), transparent 9rem),
    #f5f6f9;
  color: #111315;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.36),
    0 0 0 2px rgba(255, 255, 255, 0.12) inset;
}

.mobile-device::before {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  width: 118px;
  height: 34px;
  border-radius: 999px;
  background: #050505;
  content: "";
  transform: translateX(-50%);
}

.mobile-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.55rem 1.9rem 0;
  font-size: 1.02rem;
  font-weight: 800;
}

.mobile-status span:last-child {
  width: 44px;
  height: 15px;
  border: 2px solid #1e2022;
  border-radius: 999px;
  box-shadow: 9px 0 0 -5px #1e2022 inset;
}

.mobile-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 2rem 1.4rem 0;
}

.mobile-actions span,
.mobile-bottom-bar span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #1684ff;
  font-size: 1.35rem;
  font-weight: 820;
  box-shadow: 0 14px 32px rgba(16, 20, 24, 0.1);
}

.mobile-cluster-card {
  margin: 4.3rem 1.45rem 0;
  border: 8px solid #fff;
  border-radius: 28px;
  background: #f7f7f8;
  padding: 0.8rem 1rem;
  box-shadow: 0 1px 0 rgba(16, 20, 24, 0.07) inset;
}

.mobile-cluster-card p {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: #8a8d91;
  font-size: 1.05rem;
  font-weight: 720;
}

.mobile-cluster-card p + p {
  margin-top: 0.5rem;
}

.mobile-cluster-card strong {
  color: #111315;
  font-size: 1.2rem;
}

.mobile-cluster-card b {
  color: #8f9296;
  font-size: 1.45rem;
}

.mobile-cluster-card em {
  border-radius: 999px;
  background: #e8e8ea;
  padding: 0.18rem 0.55rem;
  color: #8a8d91;
  font-style: normal;
}

.mobile-device h3 {
  margin: 2rem 1.75rem 0.8rem;
  color: #8a8d91;
  font-size: 1.35rem;
}

.mobile-section-list {
  display: grid;
  gap: 1rem;
  padding: 0 1.45rem 6rem;
}

.mobile-section-list article {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
  border: 1px solid #e1e2e4;
  border-radius: 14px;
  background: #f8f8f9;
  padding: 0.72rem 0.85rem;
  box-shadow: 0 1px 0 rgba(16, 20, 24, 0.04);
}

.mobile-section-list span {
  color: #8c9095;
  font-size: 1.35rem;
}

.mobile-section-list strong {
  font-size: 1.08rem;
}

.mobile-section-list em {
  border-radius: 999px;
  background: #ececee;
  padding: 0.12rem 0.48rem;
  color: #8c9095;
  font-style: normal;
  font-weight: 760;
}

.mobile-section-list b {
  color: #c1c3c7;
  font-size: 1.5rem;
}

.mobile-bottom-bar {
  position: absolute;
  right: 1rem;
  bottom: 1.15rem;
  left: 1rem;
  display: flex;
  justify-content: space-around;
  border: 1px solid #dfe0e3;
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.88);
  padding: 0.5rem;
  box-shadow:
    0 14px 38px rgba(16, 20, 24, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  backdrop-filter: blur(18px);
}

.mobile-bottom-bar span {
  width: 40px;
  height: 40px;
  font-size: 1.08rem;
  box-shadow: none;
}

.rune-faq article {
  border: 1px solid rgba(185, 197, 204, 0.82);
  border-radius: var(--card-radius);
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 20, 24, 0.055);
}

.rune-faq p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.rune-faq article {
  padding: 1.15rem;
}

.rune-faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.rune-product-page {
  background: #f5f7f8;
}

.rune-product-hero {
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  padding: clamp(3.5rem, 7vw, 6rem) 4vw;
  background:
    linear-gradient(180deg, #ffffff 0%, #eef4f5 100%),
    var(--surface);
}

.rune-product-copy {
  min-width: 0;
}

.rune-product-copy h1 {
  font-size: clamp(3rem, 5.7vw, 5.8rem);
  line-height: 0.92;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 380px) {
  .rune-product-copy h1 {
    font-size: clamp(2rem, 12vw, 2.7rem);
  }
}

.rune-product-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 1.4rem 0 0;
  color: #4e5962;
  font-size: clamp(1.03rem, 1.7vw, 1.28rem);
}

.rune-product-shot,
.rune-feature-block figure {
  margin: 0;
  min-width: 0;
}

.rune-product-shot {
  min-width: 0;
}

.rune-shot-frame {
  position: relative;
  display: block;
  overflow: hidden;
  overflow: clip;
  border-radius: 12px;
  line-height: 0;
}

.rune-product-shot img,
.rune-feature-block img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.rune-product-shot figcaption,
.rune-feature-block figcaption {
  margin-top: 0.7rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.rune-product-intro,
.rune-product-faq {
  background: var(--surface);
}

.inkline-page {
  background: #f8fafb;
}

.inkline-hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: 84vh;
  padding: clamp(6rem, 11vw, 9rem) 4vw clamp(3rem, 7vw, 6rem);
  background:
    linear-gradient(90deg, rgba(248, 250, 251, 0.98), rgba(248, 250, 251, 0.84)),
    radial-gradient(circle at 82% 24%, rgba(95, 115, 140, 0.2), transparent 30%),
    #f8fafb;
}

.inkline-copy h1 {
  max-width: 780px;
  margin: 0.45rem 0 0;
  color: var(--ink);
  font-size: clamp(3rem, 5.8vw, 5.9rem);
  line-height: 0.92;
}

.inkline-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}

.inkline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.inkline-window {
  overflow: hidden;
  border: 1px solid rgba(185, 197, 204, 0.9);
  border-radius: 12px;
  background: #111820;
  box-shadow: 0 26px 70px rgba(16, 20, 24, 0.24);
}

.inkline-titlebar {
  display: grid;
  grid-template-columns: auto auto auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid rgba(191, 206, 218, 0.15);
  background: #202833;
  padding: 0.72rem 0.9rem;
  color: #dfe8ef;
  font-size: 0.82rem;
}

.inkline-titlebar span {
  width: 0.64rem;
  height: 0.64rem;
  border-radius: 999px;
}

.inkline-titlebar span:nth-child(1) {
  background: #ff5f57;
}

.inkline-titlebar span:nth-child(2) {
  background: #ffbd2e;
}

.inkline-titlebar span:nth-child(3) {
  background: #28c840;
}

.inkline-titlebar strong {
  margin-left: 0.35rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inkline-titlebar em {
  border: 1px solid rgba(191, 206, 218, 0.14);
  border-radius: 7px;
  padding: 0.24rem 0.46rem;
  color: #aeb8c3;
  font-style: normal;
  font-weight: 740;
}

.inkline-preview-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 424px;
}

.inkline-preview-shell aside {
  display: grid;
  align-content: start;
  gap: 0.52rem;
  border-right: 1px solid rgba(191, 206, 218, 0.12);
  background: #17202a;
  padding: 1rem;
  color: #9fb0bd;
  font-size: 0.9rem;
}

.inkline-preview-shell aside b {
  color: #eef4fb;
}

.inkline-preview-shell aside span {
  border-radius: 6px;
  padding: 0.42rem 0.55rem;
}

.inkline-preview-shell aside span:nth-child(3) {
  background: rgba(102, 187, 255, 0.16);
  color: #cfe8ff;
}

.inkline-preview-shell section {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  background:
    #10161d;
}

.inkline-tabs {
  display: flex;
  gap: 0.35rem;
  border-bottom: 1px solid rgba(191, 206, 218, 0.12);
  padding: 0.7rem 0.8rem 0;
}

.inkline-tabs span {
  border: 1px solid rgba(191, 206, 218, 0.14);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  background: rgba(255, 255, 255, 0.045);
  padding: 0.46rem 0.68rem;
  color: #b8c6d0;
  font-size: 0.82rem;
  font-weight: 700;
}

.inkline-preview-shell pre {
  margin: 0;
  min-height: 0;
  padding: 1.25rem 1.25rem 0;
  overflow: auto;
  color: #dce8ef;
  font-size: clamp(0.86rem, 1vw, 1rem);
  line-height: 1.62;
}

.inkline-preview-shell code,
.inkline-bottom-panel code {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.inkline-bottom-panel {
  border-top: 1px solid rgba(191, 206, 218, 0.22);
  background: #111820;
  color: #aeb8c3;
}

.inkline-bottom-panel header {
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid rgba(191, 206, 218, 0.12);
  background: #3a4350;
  padding: 0.28rem 0.55rem;
}

.inkline-panel-dock {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  color: #aeb8c3;
  font-weight: 820;
}

.inkline-panel-switcher {
  display: flex;
  align-items: center;
  gap: 0.16rem;
  overflow: hidden;
  border: 1px solid rgba(191, 206, 218, 0.15);
  border-radius: 999px;
  background: rgba(24, 30, 39, 0.38);
  padding: 0.12rem;
}

.inkline-panel-switcher svg {
  width: 22px;
  height: 18px;
  border-radius: 999px;
  color: #aeb8c3;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  padding: 0.15rem 0.25rem;
}

.inkline-panel-switcher svg:first-child {
  background: rgba(111, 178, 255, 0.18);
  color: #eef4fb;
}

.inkline-bottom-panel b {
  color: #eaf1f6;
  font-size: 0.82rem;
}

.inkline-bottom-panel small {
  color: #9fb0bd;
  font-weight: 720;
}

.inkline-bottom-panel code {
  display: block;
  padding: 0.76rem 0.82rem 0.95rem;
  font-size: 0.84rem;
}

.inkline-status-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  border-top: 1px solid rgba(191, 206, 218, 0.12);
  background: #3a4350;
  padding: 0.34rem 0.68rem;
  color: #b8c6d0;
  font-size: 0.76rem;
  font-weight: 760;
}

.inkline-status-bar span:first-child {
  margin-right: auto;
}

.inkline-status-bar span + span {
  border-left: 1px solid rgba(191, 206, 218, 0.14);
  padding-left: 0.65rem;
}

.inkline-status-bar span:nth-last-child(4),
.inkline-status-bar span:last-child {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  padding: 0.12rem 0.44rem;
  color: #eef4fb;
}

.inkline-product-shot {
  overflow: hidden;
  max-width: min(1060px, 100%);
  margin: 0;
  border: 1px solid rgba(185, 197, 204, 0.9);
  border-radius: 12px;
  background: #404750;
  box-shadow: 0 26px 70px rgba(16, 20, 24, 0.22);
}

.inkline-product-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #404750;
}

.inkline-product-shot figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.6rem 0;
}

.inkline-hero-shot {
  position: relative;
  z-index: 1;
  justify-self: end;
}

.inkline-copy,
.inkline-feature-section .section-heading {
  position: relative;
  z-index: 2;
}

.inkline-copy a,
.inkline-final-cta a {
  position: relative;
  z-index: 3;
}

.inkline-product-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: start;
}

.inkline-product-shot-grid .inkline-product-shot {
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(16, 20, 24, 0.16);
}

.inkline-tools-hero-shot {
  width: 100%;
  max-width: none;
}

.inkline-feature-section {
  background: #fff;
}

.inkline-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.inkline-feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(16, 20, 24, 0.055);
}

.inkline-feature-grid h3 {
  margin: 0;
  color: var(--ink);
}

.inkline-feature-grid p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.inkline-deck {
  background: #f8fafb;
}

.inkline-shot {
  overflow: hidden;
  max-width: min(980px, 100%);
  margin: 0;
  border: 1px solid rgba(185, 197, 204, 0.9);
  border-radius: 12px;
  background: #10161d;
  box-shadow: 0 26px 70px rgba(16, 20, 24, 0.2);
}

.inkline-shot-titlebar {
  display: grid;
  grid-template-columns: auto auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid rgba(191, 206, 218, 0.15);
  background: #202833;
  padding: 0.72rem 0.9rem;
  color: #dfe8ef;
  font-size: 0.82rem;
}

.inkline-shot-titlebar span {
  width: 0.64rem;
  height: 0.64rem;
  border-radius: 999px;
}

.inkline-shot-titlebar span:nth-child(1) {
  background: #ff5f57;
}

.inkline-shot-titlebar span:nth-child(2) {
  background: #ffbd2e;
}

.inkline-shot-titlebar span:nth-child(3) {
  background: #28c840;
}

.inkline-shot-titlebar strong {
  min-width: 0;
  overflow: hidden;
  margin-left: 0.35rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inkline-shot-titlebar em {
  border: 1px solid rgba(191, 206, 218, 0.14);
  border-radius: 999px;
  padding: 0.18rem 0.48rem;
  color: #b8c6d0;
  font-style: normal;
  font-weight: 760;
}

.inkline-shot pre {
  min-height: 360px;
  margin: 0;
  overflow: auto;
  background:
    linear-gradient(90deg, rgba(111, 178, 255, 0.08), transparent 34%),
    #10161d;
  color: #dce8ef;
  font: 0.98rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: clamp(1rem, 2vw, 1.6rem);
}

.inkline-shot code {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
}

.inkline-shot figcaption {
  border-top: 1px solid rgba(191, 206, 218, 0.12);
  background: #17202a;
  color: #9fb0bd;
  font-size: 0.88rem;
  padding: 0.75rem 1rem;
}

.inkline-data-slide,
.inkline-tools-slide,
.inkline-terminal-slide,
.inkline-native-slide {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.inkline-format-slide {
  display: grid;
  align-content: center;
}

.inkline-tool-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-content: center;
}

.inkline-tool-cloud span {
  border: 1px solid rgba(185, 197, 204, 0.88);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 20, 24, 0.06);
  color: var(--accent-dark);
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  font-weight: 820;
  padding: 0.72rem 1rem;
}

.inkline-tool-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  width: min(1180px, 100%);
  margin: 1.5rem auto 0;
  --vn-grid-cols: 3;
  --vn-grid-gap: 0.9rem;
}

.inkline-tool-directory article {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(17, 24, 27, 0.12);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 45px rgba(21, 31, 34, 0.08);
}

.inkline-tool-directory h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.inkline-tool-directory p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.inkline-developer-tool-directory {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  --vn-grid-cols: 5;
}

@media (max-width: 900px) {
  .inkline-tool-directory,
  .inkline-developer-tool-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    --vn-grid-cols: 2;
  }
}

@media (max-width: 560px) {
  .inkline-tool-directory,
  .inkline-developer-tool-directory {
    grid-template-columns: 1fr;
    --vn-grid-cols: 1;
  }

  .inkline-tool-directory article {
    padding: 0.9rem 1rem;
  }
}

@media (max-width: 760px) {
  .inkline-deck {
    width: 100%;
    min-width: 0;
  }

  .inkline-deck > section {
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: start;
    align-items: start;
    gap: 1.25rem;
    min-width: 0;
    padding: 2.25rem 1rem;
  }

  .inkline-copy,
  .inkline-deck .section-heading,
  .inkline-deck .inkline-feature-grid,
  .inkline-deck .inkline-tool-directory,
  .inkline-deck .inkline-tool-cloud {
    width: 100%;
    min-width: 0;
    margin-inline: 0;
  }

  .inkline-deck h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .inkline-deck h2 {
    font-size: clamp(2rem, 10vw, 3.25rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .inkline-actions,
  .inkline-final-cta .featured-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .inkline-actions a,
  .inkline-final-cta .featured-actions a {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .inkline-deck .inkline-product-shot,
  .inkline-deck .inkline-hero-shot,
  .inkline-deck .inkline-tools-hero-shot {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    align-self: start;
  }

  .inkline-deck .inkline-product-shot picture {
    display: block;
    width: 100%;
  }

  .inkline-deck .inkline-product-shot img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }

  .inkline-deck .inkline-feature-grid,
  .inkline-deck .inkline-tool-directory,
  .inkline-deck .inkline-developer-tool-directory {
    grid-template-columns: minmax(0, 1fr);
    --vn-grid-cols: 1;
  }

  .inkline-final-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .inkline-deck-ready #inkline-deck > section {
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: start !important;
    align-items: start !important;
    gap: 0.7rem !important;
    padding:
      max(4.05rem, calc(env(safe-area-inset-top) + 3.75rem))
      0.85rem
      max(4.5rem, calc(env(safe-area-inset-bottom) + 4.15rem)) !important;
    overflow-y: auto !important;
  }

  .inkline-deck-ready .inkline-copy h1 {
    margin-bottom: 0.7rem;
    font-size: clamp(2rem, 10vw, 3rem) !important;
    line-height: 0.98;
  }

  .inkline-deck-ready .section-heading h2,
  .inkline-deck-ready .inkline-final-cta h2 {
    margin-bottom: 0.55rem;
    font-size: clamp(1.75rem, 8vw, 2.45rem) !important;
    line-height: 1.02;
  }

  .inkline-deck-ready .inkline-copy > p:not(.eyebrow),
  .inkline-deck-ready .section-heading > p:not(.eyebrow),
  .inkline-deck-ready .inkline-final-cta p:not(.eyebrow) {
    margin-bottom: 0;
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .inkline-deck-ready .inkline-product-shot,
  .inkline-deck-ready .inkline-product-shot picture,
  .inkline-deck-ready .inkline-product-shot img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .inkline-deck-ready .inkline-product-shot {
    flex: 0 0 auto;
    max-height: none;
  }

  .inkline-deck-ready .inkline-product-shot img {
    height: auto !important;
    max-height: 34svh !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .inkline-deck-ready .inkline-product-shot figcaption {
    padding: 0.5rem 0.7rem;
    font-size: 0.78rem;
  }

  .inkline-deck-ready .inkline-feature-grid,
  .inkline-deck-ready .inkline-tool-directory,
  .inkline-deck-ready .inkline-developer-tool-directory {
    gap: 0.45rem;
    --vn-grid-gap: 0.45rem;
  }

  .inkline-deck-ready .inkline-feature-grid article,
  .inkline-deck-ready .inkline-tool-directory article {
    padding: 0.55rem 0.7rem;
    border-radius: 0.75rem;
  }

  .inkline-deck-ready .inkline-feature-grid h3,
  .inkline-deck-ready .inkline-tool-directory h3 {
    margin-bottom: 0.18rem;
    font-size: 0.92rem;
    line-height: 1.15;
  }

  .inkline-deck-ready .inkline-feature-grid p,
  .inkline-deck-ready .inkline-tool-directory p {
    font-size: 0.78rem;
    line-height: 1.28;
  }

  .inkline-deck-ready .inkline-deck-controls {
    bottom: max(0.55rem, env(safe-area-inset-bottom));
  }

  .inkline-deck-ready .inkline-deck-dots {
    display: none;
  }

  .inkline-deck-ready .inkline-final-cta .featured-actions {
    gap: 0.35rem;
  }

  .inkline-deck-ready .inkline-final-cta .featured-actions a {
    min-height: 2.35rem;
    padding-block: 0.5rem;
  }

  /* A slide that is taller than the phone scrolls; nothing is cut off. */
  .rune-deck-ready #rune-deck > section {
    overflow-y: auto !important;
  }

  .rune-deck-ready .rune-benefits,
  .rune-deck-ready .rune-workflow-list,
  .rune-deck-ready .rune-troubleshooting-list,
  .rune-deck-ready .rune-faq {
    gap: 0.5rem !important;
    margin-top: 0.55rem !important;
    --vn-grid-gap: 0.5rem !important;
  }

  .rune-deck-ready .rune-benefits article,
  .rune-deck-ready .rune-workflow-list article,
  .rune-deck-ready .rune-troubleshooting-list article,
  .rune-deck-ready .rune-faq article {
    padding: 0.65rem 0.75rem !important;
  }

  .rune-deck-ready .rune-benefits h3,
  .rune-deck-ready .rune-workflow-list h3,
  .rune-deck-ready .rune-troubleshooting-list h3,
  .rune-deck-ready .rune-faq h3 {
    font-size: 0.94rem !important;
    line-height: 1.15 !important;
  }

  .rune-deck-ready .rune-benefits p,
  .rune-deck-ready .rune-workflow-list p,
  .rune-deck-ready .rune-troubleshooting-list p,
  .rune-deck-ready .rune-faq p {
    margin-top: 0.25rem !important;
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
  }

  .rune-deck-ready .rune-deck-dots {
    display: none !important;
  }
}

@media (max-width: 360px) and (max-height: 620px) {
  .inkline-feature-group-slide .inkline-feature-directory summary {
    min-height: 3.4rem;
    padding: 0.52rem 0.6rem;
  }
}

.inkline-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  background:
    linear-gradient(180deg, #ffffff 0%, #eef4f5 100%),
    var(--surface);
}

.inkline-final-cta h2 {
  max-width: 900px;
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: 0.96;
}

.inkline-final-cta p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.5;
}

.inkline-deck-ready body.inkline-deck-page {
  background: #101418;
  overflow: hidden;
  overscroll-behavior: none;
}

.inkline-deck-ready .vn-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
}

.inkline-deck-ready #inkline-deck {
  height: 100vh;
  height: 100svh;
  min-height: 100svh;
  background: #101418;
  overflow: hidden;
  overscroll-behavior: none;
}

:is(.inkline-deck-ready #inkline-deck, .rune-deck-ready #rune-deck) > section {
  position: fixed;
  inset: 0;
  z-index: 0;
  box-sizing: border-box;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  padding:
    max(clamp(6.25rem, 9svh, 8rem), calc(env(safe-area-inset-top) + 5.8rem))
    7vw
    max(clamp(5.6rem, 9svh, 7rem), calc(env(safe-area-inset-bottom) + 5.8rem));
  pointer-events: none;
  touch-action: pan-y;
  transform: translate3d(0, var(--vn-deck-travel, 2.75rem), 0);
  transition:
    transform var(--vn-deck-duration, 620ms) var(--vn-deck-easing, ease-out),
    visibility 0ms linear var(--vn-deck-duration, 620ms);
  -webkit-overflow-scrolling: touch;
}

:is(.inkline-deck-ready #inkline-deck, .rune-deck-ready #rune-deck) > section.current,
:is(.inkline-deck-ready #inkline-deck, .rune-deck-ready #rune-deck) > section.is-exiting-up,
:is(.inkline-deck-ready #inkline-deck, .rune-deck-ready #rune-deck) > section.is-exiting-down {
  visibility: visible;
  transition:
    transform var(--vn-deck-duration, 620ms) var(--vn-deck-easing, ease-out),
    visibility 0ms linear 0ms;
}

:is(.inkline-deck-ready #inkline-deck, .rune-deck-ready #rune-deck) > section.current {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

:is(.inkline-deck-ready #inkline-deck, .rune-deck-ready #rune-deck) > section.current.is-entering-up {
  opacity: 1;
  transform: translate3d(0, var(--vn-deck-travel, 2.75rem), 0);
}

:is(.inkline-deck-ready #inkline-deck, .rune-deck-ready #rune-deck) > section.current.is-entering-down {
  opacity: 1;
  transform: translate3d(0, calc(-1 * var(--vn-deck-travel, 2.75rem)), 0);
}

:is(.inkline-deck-ready #inkline-deck, .rune-deck-ready #rune-deck) > section.is-exiting-up {
  z-index: 1;
  opacity: 1;
  transform: translate3d(0, calc(-1 * var(--vn-deck-travel, 2.75rem)), 0);
}

:is(.inkline-deck-ready #inkline-deck, .rune-deck-ready #rune-deck) > section.is-exiting-down {
  z-index: 1;
  opacity: 1;
  transform: translate3d(0, var(--vn-deck-travel, 2.75rem), 0);
}

.inkline-deck-ready .inkline-hero,
.inkline-deck-ready .inkline-feature-section,
.inkline-deck-ready .inkline-final-cta {
  align-content: safe center;
  background:
    linear-gradient(180deg, #ffffff 0%, #eef4f5 100%),
    var(--surface);
}

.inkline-deck-ready .inkline-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-top: clamp(6.25rem, 9vh, 8rem);
}

.inkline-deck-ready .inkline-copy h1,
.inkline-deck-ready .section-heading h2 {
  font-size: clamp(2.8rem, 4.8vw, 5.4rem);
  line-height: 0.96;
}

.inkline-deck-ready .inkline-copy p:not(.eyebrow),
.inkline-deck-ready .section-heading p:not(.eyebrow) {
  max-width: 740px;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.5;
}

.inkline-deck-ready .inkline-feature-grid {
  margin-top: clamp(1rem, 2.5vh, 1.6rem);
}

.inkline-deck-ready .inkline-feature-grid article {
  padding: clamp(1rem, 1.6vw, 1.35rem);
}

.inkline-deck-ready .inkline-feature-grid p {
  font-size: 0.94rem;
  line-height: 1.42;
}

.inkline-deck-ready .inkline-deck-controls {
  position: fixed;
  z-index: 25;
  bottom: 1.3rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: max-content !important;
  min-width: 9.5rem;
  max-width: calc(100vw - 2rem);
  min-height: 2.6rem;
  border: 1px solid rgba(157, 224, 216, 0.24);
  border-radius: 999px;
  background: rgba(13, 18, 22, 0.82);
  padding: 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.inkline-deck-ready .inkline-deck-button,
.inkline-deck-ready .inkline-deck-counter {
  position: static !important;
  display: grid !important;
  min-width: 2.25rem;
  min-height: 2.25rem;
  place-items: center;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
}

.inkline-deck-ready .inkline-deck-button {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.inkline-deck-ready .inkline-deck-button:disabled {
  cursor: default;
  opacity: 0.38;
}

.inkline-deck-ready .inkline-deck-counter {
  width: auto !important;
  min-width: 4.2rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 800;
}

.inkline-deck-ready .inkline-deck-dots {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.inkline-deck-ready .inkline-deck-dot {
  width: 0.48rem;
  height: 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 0;
  cursor: pointer;
}

.inkline-deck-ready .inkline-deck-dot.is-active {
  border-color: #9de0d8;
  background: #9de0d8;
}

.inkline-deck-ready .site-footer {
  display: none;
}

@media (max-width: 860px) {
  .inkline-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 5rem;
  }

  .inkline-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
  }

  .inkline-preview-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .inkline-preview-shell aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(191, 206, 218, 0.12);
  }

  .inkline-tools-preview {
    position: static;
    margin: 0 1rem 1rem;
  }

  .inkline-data-slide,
  .inkline-tools-slide,
  .inkline-terminal-slide,
  .inkline-native-slide,
  .inkline-final-cta,
  .inkline-deck-ready .inkline-hero {
    grid-template-columns: 1fr;
  }

  .inkline-data-slide > *,
  .inkline-tools-slide > *,
  .inkline-terminal-slide > *,
  .inkline-native-slide > *,
  .inkline-deck-ready .inkline-hero > * {
    min-width: 0;
  }

  .inkline-product-shot,
  .inkline-product-shot picture,
  .inkline-product-shot img {
    width: 100%;
    max-width: 100%;
  }

  .inkline-deck-ready .inkline-hero .inkline-copy {
    order: 1;
  }

  .inkline-deck-ready .inkline-hero .inkline-hero-shot {
    order: 2;
    margin-top: 0;
  }

  .inkline-deck-ready #inkline-deck > section {
    padding:
      max(4.85rem, calc(env(safe-area-inset-top) + 4.35rem))
      1rem
      max(5.6rem, calc(env(safe-area-inset-bottom) + 5.25rem));
  }

  .inkline-deck-ready .inkline-copy h1,
  .inkline-deck-ready .section-heading h2,
  .inkline-final-cta h2 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .inkline-shot pre {
    min-height: 260px;
    font-size: 0.82rem;
  }

  .inkline-feature-grid {
    grid-template-columns: 1fr;
  }
}

.rune-benefits,
.rune-workflow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  --vn-grid-cols: 3;
  --vn-grid-gap: 1rem;
}

.rune-benefits article,
.rune-workflow-list article {
  border: 1px solid rgba(185, 197, 204, 0.82);
  border-radius: var(--card-radius);
  background: #fff;
  padding: 1.2rem;
  box-shadow: 0 14px 36px rgba(16, 20, 24, 0.055);
}

.rune-benefits p,
.rune-workflow-list p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.rune-feature-gallery {
  position: relative;
  overflow: visible;
  background: #101418;
  color: #fff;
}

.rune-feature-gallery .section-heading .eyebrow {
  color: #9de0d8;
}

.rune-feature-gallery .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.rune-feature-stage {
  display: grid;
  gap: 0;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
}

.rune-feature-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3.25rem);
  align-items: center;
  min-height: min(760px, calc(100svh - 2rem));
  padding: clamp(2rem, 6vh, 4rem) 0;
  scroll-margin-top: clamp(1rem, 4vw, 4rem);
}

.rune-feature-block + .rune-feature-block {
  border-top: 1px solid rgba(157, 224, 216, 0.16);
}

/* The section already leaves room below its last feature, so it neither
   pads nor stretches to a full screen when the page scrolls. */
.rune-feature-stage > .rune-feature-block:last-child {
  padding-bottom: 0;
}

html:not(.deck-ready) .rune-feature-stage > .rune-feature-block:last-child {
  min-height: 0;
}

.rune-feature-block .eyebrow {
  color: #9de0d8;
}

.rune-feature-block h3 {
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.rune-feature-block p:not(.eyebrow) {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
}

.rune-feature-block figcaption {
  color: rgba(255, 255, 255, 0.7);
}

.rune-view-controls {
  display: none;
}

@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
  .rune-feature-stage,
  .rune-scroll-enhanced .rune-feature-stage {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0 0;
    padding: 0 0 4.6rem;
    overflow: visible;
    scroll-snap-type: none;
  }

  .rune-feature-block,
  .rune-scroll-enhanced .rune-feature-block {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 1rem;
    min-height: auto;
    border: 1px solid rgba(157, 224, 216, 0.16);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
      rgba(20, 27, 31, 0.94);
    padding: 1rem;
    opacity: 1;
    scroll-margin-top: 5rem;
    transform: none;
    transition:
      border-color 200ms ease,
      opacity 200ms ease,
      transform 240ms ease;
  }

  .rune-feature-block + .rune-feature-block,
  .rune-scroll-enhanced .rune-feature-block + .rune-feature-block {
    border-top: 1px solid rgba(157, 224, 216, 0.16);
  }

  .rune-scroll-enhanced .rune-feature-block.is-active {
    border-color: rgba(157, 224, 216, 0.52);
  }

  .rune-feature-block h3,
  .rune-scroll-enhanced .rune-feature-block h3 {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
  }

  .rune-feature-block p:not(.eyebrow),
  .rune-scroll-enhanced .rune-feature-block p:not(.eyebrow) {
    font-size: 1rem;
  }

  .rune-feature-block img,
  .rune-scroll-enhanced .rune-feature-block img {
    object-fit: contain;
  }

  .rune-scroll-enhanced .rune-view-controls {
    position: sticky;
    z-index: 6;
    bottom: 1rem;
    right: auto;
    left: auto;
    display: flex;
    width: max-content;
    max-width: calc(100vw - 2rem);
    align-items: center;
    justify-content: center;
    gap: 0.48rem;
    margin: -4rem auto 0;
    border: 1px solid rgba(157, 224, 216, 0.24);
    border-radius: 999px;
    background: rgba(13, 18, 22, 0.86);
    padding: 0.46rem 0.58rem;
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.32),
      0 1px 0 rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(14px);
  }

  .rune-scroll-enhanced .rune-view-button {
    display: grid;
    width: 2.18rem;
    height: 2.18rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(157, 224, 216, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    line-height: 1;
  }

  .rune-scroll-enhanced .rune-view-button:disabled {
    opacity: 0.38;
  }

  .rune-scroll-enhanced .rune-view-counter {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
    font-variant-numeric: tabular-nums;
    font-weight: 760;
    white-space: nowrap;
  }

  .rune-scroll-enhanced .rune-view-rail {
    display: flex;
    flex: 0 1 auto;
    gap: 0.36rem;
  }

  .rune-scroll-enhanced .rune-view-dot {
    width: 0.56rem;
    height: 0.56rem;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    padding: 0;
  }

  .rune-scroll-enhanced .rune-view-dot.is-active {
    border-color: #9de0d8;
    background: #9de0d8;
    transform: scale(1.34);
  }
}

.rune-workflow-section {
  background:
    linear-gradient(180deg, #f8fafb 0%, #eef3f5 100%),
    var(--surface-muted);
}

.rune-troubleshooting-section {
  background: var(--surface);
}

.rune-troubleshooting-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  --vn-grid-cols: 2;
  --vn-grid-gap: 1rem;
}

.rune-troubleshooting-list article {
  border: 1px solid rgba(185, 197, 204, 0.82);
  border-radius: var(--card-radius);
  background:
    linear-gradient(135deg, rgba(20, 92, 103, 0.07), transparent 42%),
    #fff;
  padding: 1.2rem;
  box-shadow: 0 14px 36px rgba(16, 20, 24, 0.055);
}

.rune-troubleshooting-list h3 {
  font-size: 1.15rem;
  line-height: 1.15;
}

.rune-troubleshooting-list p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.rune-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--ink);
  color: #fff;
}

.rune-final-cta .eyebrow {
  color: #9de0d8;
}

.rune-final-cta p:not(.eyebrow) {
  max-width: 680px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.rune-final-cta .featured-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.rune-final-cta .button.primary {
  background: #fff;
  color: var(--ink);
}

.rune-final-cta .button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.rune-deck-ready body.rune-product-page {
  background: #101418;
  overflow: hidden;
  overscroll-behavior: none;
}

.rune-deck-ready .vn-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
}

.rune-deck-ready #rune-deck {
  height: 100vh;
  height: 100svh;
  min-height: 100svh;
  background: #101418;
  overflow: hidden;
  overscroll-behavior: none;
}

.rune-deck-ready .rune-product-hero,
.rune-deck-ready .rune-product-intro,
.rune-deck-ready .rune-workflow-section,
.rune-deck-ready .rune-mobile-section,
.rune-deck-ready .rune-troubleshooting-section,
.rune-deck-ready .rune-product-faq,
.rune-deck-ready .rune-final-cta {
  align-content: center;
  background:
    linear-gradient(180deg, #ffffff 0%, #eef4f5 100%),
    var(--surface);
}

.rune-deck-ready .rune-feature-gallery {
  background: #101418;
}

.rune-deck-ready .rune-feature-gallery .section-heading {
  max-width: 980px;
  margin-bottom: clamp(1.4rem, 3vh, 2.2rem);
}

.rune-deck-ready .rune-feature-overview-slide {
  display: grid;
  align-content: center;
}

.rune-deck-ready .rune-feature-overview-slide .section-heading {
  margin: 0;
}

.rune-deck-ready .rune-feature-slide {
  display: grid;
  align-content: center;
}

.rune-deck-ready .rune-feature-stage {
  display: grid;
  gap: 0;
  margin: 0;
}

.rune-deck-ready .rune-feature-block {
  width: 100%;
  min-height: auto;
  padding: 0;
}

.rune-deck-ready .rune-feature-block h3 {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.02;
}

.rune-deck-ready .rune-feature-block p:not(.eyebrow) {
  max-width: 560px;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.48;
}

.rune-deck-ready .section-heading h2 {
  font-size: clamp(2.7rem, 4.6vw, 5.2rem);
  line-height: 0.95;
}

.rune-deck-ready .section-heading p:not(.eyebrow) {
  max-width: 760px;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.5;
}

.rune-deck-ready .rune-benefits,
.rune-deck-ready .rune-workflow-list,
.rune-deck-ready .rune-faq,
.rune-deck-ready .rune-troubleshooting-list {
  align-self: stretch;
  margin-top: clamp(1rem, 2.5vh, 1.6rem);
}

.rune-deck-ready .rune-product-intro,
.rune-deck-ready .rune-workflow-section,
.rune-deck-ready .rune-mobile-section {
  display: grid;
}

.rune-deck-ready .rune-workflow-section {
  grid-template-rows: auto auto;
}

.rune-deck-ready .rune-workflow-section .section-heading {
  width: min(960px, 100%);
  margin-bottom: clamp(1.4rem, 3vh, 2.2rem);
}

.rune-deck-ready .rune-workflow-list {
  gap: clamp(0.8rem, 1.5vw, 1.2rem);
  margin-top: 0;
}

.rune-deck-ready .rune-workflow-list article {
  padding: clamp(1rem, 1.6vw, 1.35rem);
}

.rune-deck-ready .rune-troubleshooting-section,
.rune-deck-ready .rune-product-faq {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(560px, 1.2fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.rune-deck-ready .rune-troubleshooting-section .section-heading,
.rune-deck-ready .rune-product-faq .section-heading {
  width: 100%;
  margin: 0;
}

.rune-deck-ready .rune-troubleshooting-section .section-heading h2,
.rune-deck-ready .rune-product-faq .section-heading h2 {
  font-size: clamp(2.6rem, 4.1vw, 4.8rem);
}

.rune-deck-ready .rune-troubleshooting-section .section-heading p:not(.eyebrow) {
  max-width: 620px;
}

.rune-deck-ready .rune-troubleshooting-list,
.rune-deck-ready .rune-faq {
  gap: 0.75rem;
  margin-top: 0;
  --vn-grid-gap: 0.75rem;
}

.rune-deck-ready .rune-troubleshooting-list article,
.rune-deck-ready .rune-faq article {
  padding: 0.9rem 1rem;
}

.rune-deck-ready .rune-troubleshooting-list h3,
.rune-deck-ready .rune-faq h3 {
  font-size: 1rem;
  line-height: 1.16;
}

.rune-deck-ready .rune-benefits p,
.rune-deck-ready .rune-workflow-list p,
.rune-deck-ready .rune-troubleshooting-list p,
.rune-deck-ready .rune-faq p {
  font-size: 0.94rem;
  line-height: 1.42;
}

.rune-deck-ready .rune-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  color: var(--ink);
}

.rune-deck-ready .rune-final-cta h2 {
  max-width: 900px;
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: 0.96;
}

.rune-deck-ready .rune-final-cta .eyebrow {
  color: #145c67;
}

.rune-deck-ready .rune-final-cta p:not(.eyebrow) {
  color: var(--muted);
}

.rune-deck-ready .rune-final-cta .featured-actions {
  align-self: center;
}

.rune-deck-ready .rune-final-cta .button.primary {
  background: var(--ink);
  color: #fff;
}

.rune-deck-ready .rune-final-cta .button.secondary {
  border-color: rgba(16, 20, 24, 0.16);
  background: #fff;
  color: var(--ink);
}

.rune-deck-ready .rune-feature-block + .rune-feature-block {
  border-top: 0;
}

.rune-deck-ready .rune-feature-block figure {
  max-width: min(66vw, 1220px);
}

.rune-deck-ready .rune-feature-block .rune-shot-frame {
  max-height: 72vh;
}

.rune-deck-ready .rune-feature-block img {
  max-height: 72vh;
  object-fit: contain;
}

.rune-deck-ready .rune-deck-controls {
  position: fixed;
  z-index: 25;
  bottom: 1.3rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: max-content !important;
  min-width: 9.5rem;
  max-width: calc(100vw - 2rem);
  min-height: 2.6rem;
  border: 1px solid rgba(157, 224, 216, 0.24);
  border-radius: 999px;
  background: rgba(13, 18, 22, 0.82);
  padding: 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.rune-deck-ready .rune-deck-button,
.rune-deck-ready .rune-deck-counter {
  position: static !important;
  display: grid !important;
  min-width: 2.25rem;
  min-height: 2.25rem;
  place-items: center;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
}

.rune-deck-ready .rune-deck-button {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.rune-deck-ready .rune-deck-button:disabled {
  cursor: default;
  opacity: 0.38;
}

.rune-deck-ready .rune-deck-previous {
  order: 1;
}

.rune-deck-ready .rune-deck-counter {
  order: 2;
}

.rune-deck-ready .rune-deck-dots {
  order: 3;
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.rune-deck-ready .rune-deck-next {
  order: 4;
}

.rune-deck-ready .rune-deck-counter {
  z-index: 25;
  width: auto !important;
  min-width: 4.2rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 800;
}

.rune-deck-ready .rune-deck-dot {
  width: 0.48rem;
  height: 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 0;
  cursor: pointer;
}

.rune-deck-ready .rune-deck-dot.is-active {
  border-color: #9de0d8;
  background: #9de0d8;
}

.rune-deck-ready .site-footer {
  display: none;
}

@media (max-width: 860px) {
  .rune-deck-ready body.rune-product-page,
  .inkline-deck-ready body.inkline-deck-page {
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100svh;
  }

  .rune-deck-ready #rune-deck,
  .inkline-deck-ready #inkline-deck,
  .rune-deck-ready #rune-deck > section,
  .inkline-deck-ready #inkline-deck > section {
    height: 100svh;
    max-height: 100svh;
  }

  .rune-deck-ready #rune-deck > section {
    justify-content: flex-start;
    padding:
      max(4.85rem, calc(env(safe-area-inset-top) + 4.35rem))
      1rem
      max(5.6rem, calc(env(safe-area-inset-bottom) + 5.25rem));
  }

  .rune-deck-ready .rune-product-hero,
  .rune-deck-ready .rune-feature-block {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* The hero holds more than a phone screen: start it below the header and
     let it scroll instead of centring it under the header. */
  .rune-deck-ready #rune-deck > .rune-product-hero {
    align-content: start;
    align-items: start;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .rune-deck-ready #rune-deck > .rune-product-hero figcaption {
    display: none;
  }

  .rune-deck-ready .rune-troubleshooting-section,
  .rune-deck-ready .rune-product-faq,
  .rune-deck-ready .rune-final-cta {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 1rem;
  }

  .rune-deck-ready .rune-troubleshooting-section .section-heading h2,
  .rune-deck-ready .rune-product-faq .section-heading h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .rune-deck-ready .rune-product-copy h1,
  .rune-deck-ready .section-heading h2,
  .rune-deck-ready .rune-feature-block h3,
  .rune-deck-ready .rune-final-cta h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
    line-height: 1;
  }

  .rune-deck-ready .rune-product-copy p:not(.eyebrow),
  .rune-deck-ready .section-heading p:not(.eyebrow),
  .rune-deck-ready .rune-feature-block p:not(.eyebrow),
  .rune-deck-ready .rune-final-cta p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.45;
  }

  .rune-deck-ready .rune-benefits,
  .rune-deck-ready .rune-workflow-list,
  .rune-deck-ready .rune-faq,
  .rune-deck-ready .rune-troubleshooting-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    --vn-grid-cols: 1;
    --vn-grid-gap: 0.75rem;
  }

  .rune-deck-ready .rune-benefits article,
  .rune-deck-ready .rune-workflow-list article,
  .rune-deck-ready .rune-faq article,
  .rune-deck-ready .rune-troubleshooting-list article {
    padding: 0.85rem;
  }

  .rune-deck-ready .rune-benefits h3,
  .rune-deck-ready .rune-workflow-list h3,
  .rune-deck-ready .rune-faq h3,
  .rune-deck-ready .rune-troubleshooting-list h3 {
    font-size: 1rem;
  }

  .rune-deck-ready .rune-benefits p,
  .rune-deck-ready .rune-workflow-list p,
  .rune-deck-ready .rune-faq p,
  .rune-deck-ready .rune-troubleshooting-list p {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .rune-deck-ready .rune-feature-block figure,
  .rune-deck-ready .rune-feature-block .rune-shot-frame,
  .rune-deck-ready .rune-feature-block img {
    max-width: 100%;
    max-height: none;
  }

  .rune-deck-ready .rune-deck-controls {
    right: auto;
    bottom: max(0.5rem, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
  }

  .rune-deck-ready .rune-deck-dots {
    max-width: 5.8rem;
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .app-card:hover,
  .app-card:focus-within,
  .button.primary:hover,
  .button.primary:focus-visible,
  .button.secondary:hover,
  .button.secondary:focus-visible,
  .app-action:hover,
  .app-action:focus-visible {
    transform: none;
  }
}

.support-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: min(880px, 100%);
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: var(--soft-shadow);
}

label {
  display: grid;
  gap: 0.45rem;
  color: #34302a;
  font-weight: 720;
}

.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(190, 201, 207, 0.9);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.8rem;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(15, 111, 104, 0.18);
}

.form-status {
  align-self: center;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.5rem 4vw;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent-dark);
  font-weight: 760;
}

.footer-columns {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding-block: 0.5rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.footer-columns summary {
  display: flex;
  min-height: 2rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: var(--component-button-radius, 12px);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
}

.footer-columns summary::-webkit-details-marker {
  display: none;
}

.footer-columns summary::after {
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  margin-inline-end: 0.25rem;
  border-inline-end: 1.5px solid currentColor;
  border-block-end: 1.5px solid currentColor;
  color: var(--muted);
  content: "";
  rotate: 45deg;
}

.footer-columns details[open] > summary::after {
  rotate: 225deg;
}

.footer-columns summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.footer-columns ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-columns a {
  display: inline-block;
  padding-block: 0.15rem;
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.footer-columns a:hover,
.footer-columns a:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Wide footers show every group open: the headings are labels, not toggles. */
@media not ((max-width: 760px) or ((max-width: 960px) and (pointer: coarse))) {
  .footer-columns summary {
    cursor: default;
  }

  .footer-columns summary::after {
    display: none;
  }
}

@media (max-width: 760px), (max-width: 960px) and (pointer: coarse) {
  .vn-home-page .site-footer {
    gap: 0.5rem;
    padding-block: 0.75rem max(0.75rem, env(safe-area-inset-bottom));
  }

  .vn-home-page .footer-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block: 0;
  }

  .footer-columns details + details {
    border-block-start: 1px solid var(--line);
  }

  .footer-columns summary {
    min-height: 44px;
    padding-inline: 0.5rem;
  }

  .footer-columns details > ul {
    gap: 0;
    padding: 0 0.5rem 0.5rem;
  }

  .vn-home-page .footer-bottom {
    gap: 0 0.15rem;
    padding-inline: 0.5rem;
    font-size: 0.875rem;
  }

  .vn-home-page .footer-bottom a {
    padding-inline: 0.25rem;
  }
}

@media (max-width: 860px) {

  .presentation-layout,
  .rune-faq,
  .rune-product-hero,
  .rune-benefits,
  .rune-feature-block,
  .rune-workflow-list,
  .rune-troubleshooting-list,
  .support-form {
    grid-template-columns: 1fr;
    --vn-grid-cols: 1;
  }

  .rune-product-hero {
    min-height: auto;
  }

  .rune-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .rune-final-cta .featured-actions {
    width: 100%;
  }

  .screenshot-carousel {
    display: block;
  }

  .rune-mobile-showcase {
    display: none;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.5rem, 15vw, 4rem);
    line-height: 0.95;
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-actions,
  .app-links,
  .featured-actions {
    align-items: stretch;
  }

  .button,
  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 3.25rem 1rem;
  }

  .section-heading {
    margin-bottom: 1.35rem;
  }

  .presentation-list article,
  .profile-panel,
  .support-form {
    border-radius: 10px;
  }

  .app-card {
    min-height: auto;
    border-radius: 10px;
  }

  .app-card-body {
    padding: 1rem;
  }

  .app-links {
    gap: 0.6rem;
    padding-top: 1rem;
  }

  .app-action {
    min-height: 40px;
    min-width: 0;
    padding-inline: 0.65rem;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .mobile-device {
    min-height: 620px;
    border-width: 10px;
    border-radius: 44px;
  }

  .mobile-cluster-card {
    margin-top: 3.5rem;
  }

  .screenshot-track {
    grid-auto-columns: 100%;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }

  .support-form {
    padding: 1rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 1rem;
  }
}

/* =========================================================
   FEATURED APP SHOWCASE
   Keeps the screenshot carousel available at every viewport.
   ========================================================= */

.rune-mobile-showcase {
  display: none;
  grid-column: 2;
  width: 100%;
  min-width: 0;
  margin-top: 1rem;
}

.rune-mobile-showcase .mobile-device {
  transform: scale(0.86);
  transform-origin: top center;
}

@media (min-width: 861px) {
  .screenshot-carousel {
    display: block;
  }

  .rune-mobile-showcase {
    display: none;
    grid-column: 2;
    justify-self: center;
  }

  .mobile-device {
    width: min(390px, 100%);
    min-height: 620px;
    border-width: 10px;
    border-radius: 44px;
  }

  .mobile-cluster-card {
    margin-top: 3.5rem;
  }
}

@media (max-width: 860px) {
  .screenshot-carousel {
    display: block;
  }

  .rune-mobile-showcase {
    display: none;
    grid-column: auto;
    width: 100%;
    margin-top: 0;
  }

  .rune-mobile-showcase .mobile-device {
    transform: none;
  }

  .mobile-device {
    position: relative;
    overflow: hidden;
    width: min(420px, 100%);
    min-height: 660px;
    margin-inline: auto;
    border: 12px solid #0b0c0e;
    border-radius: 54px;
    background:
      radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.92), transparent 9rem),
      #f5f6f9;
    color: #111315;
    box-shadow:
      0 34px 90px rgba(0, 0, 0, 0.36),
      0 0 0 2px rgba(255, 255, 255, 0.12) inset;
  }

  .mobile-device::before {
    position: absolute;
    top: 1.2rem;
    left: 50%;
    width: 118px;
    height: 34px;
    border-radius: 999px;
    background: #050505;
    content: "";
    transform: translateX(-50%);
  }

  .mobile-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.55rem 1.9rem 0;
    color: #111315;
    font-size: 1.02rem;
    font-weight: 800;
  }

  .mobile-status span:last-child {
    width: 44px;
    height: 15px;
    border: 2px solid #1e2022;
    border-radius: 999px;
    box-shadow: 9px 0 0 -5px #1e2022 inset;
  }

  .mobile-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    padding: 2rem 1.4rem 0;
  }

  .mobile-actions span,
  .mobile-bottom-bar span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: #1684ff;
    font-size: 1.35rem;
    font-weight: 820;
    box-shadow: 0 14px 32px rgba(16, 20, 24, 0.1);
  }

  .mobile-cluster-card {
    margin: 4.3rem 1.45rem 0;
    border: 8px solid #fff;
    border-radius: 28px;
    background: #f7f7f8;
    padding: 0.8rem 1rem;
    box-shadow: 0 1px 0 rgba(16, 20, 24, 0.07) inset;
  }

  .mobile-cluster-card p {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0;
    color: #8a8d91;
    font-size: 1.05rem;
    font-weight: 720;
  }

  .mobile-cluster-card p + p {
    margin-top: 0.5rem;
  }

  .mobile-cluster-card strong {
    color: #111315;
    font-size: 1.2rem;
  }

  .mobile-cluster-card b {
    color: #8f9296;
    font-size: 1.45rem;
  }

  .mobile-cluster-card em {
    border-radius: 999px;
    background: #e8e8ea;
    padding: 0.18rem 0.55rem;
    color: #8a8d91;
    font-style: normal;
  }

  .mobile-device h3 {
    margin: 2rem 1.75rem 0.8rem;
    color: #8a8d91;
    font-size: 1.35rem;
  }

  .mobile-section-list {
    display: grid;
    gap: 1rem;
    padding: 0 1.45rem 6rem;
  }

  .mobile-section-list article {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 0.75rem;
    min-height: 58px;
    border: 1px solid #e1e2e4;
    border-radius: 14px;
    background: #f8f8f9;
    padding: 0.72rem 0.85rem;
    box-shadow: 0 1px 0 rgba(16, 20, 24, 0.04);
  }

  .mobile-section-list span {
    color: #8c9095;
    font-size: 1.35rem;
  }

  .mobile-section-list strong {
    color: #111315;
    font-size: 1.08rem;
  }

  .mobile-section-list em {
    border-radius: 999px;
    background: #ececee;
    padding: 0.12rem 0.48rem;
    color: #8c9095;
    font-style: normal;
    font-weight: 760;
  }

  .mobile-section-list b {
    color: #c1c3c7;
    font-size: 1.5rem;
  }

  .mobile-bottom-bar {
    position: absolute;
    right: 1rem;
    bottom: 1.15rem;
    left: 1rem;
    display: flex;
    justify-content: space-around;
    border: 1px solid #dfe0e3;
    border-radius: 999px;
    background: rgba(250, 250, 250, 0.88);
    padding: 0.5rem;
    box-shadow:
      0 14px 38px rgba(16, 20, 24, 0.14),
      0 1px 0 rgba(255, 255, 255, 0.7) inset;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-bottom-bar span {
    width: 40px;
    height: 40px;
    font-size: 1.08rem;
    box-shadow: none;
  }
}

@media (max-width: 560px) {
  .mobile-device {
    min-height: 620px;
    border-width: 10px;
    border-radius: 44px;
  }

  .mobile-cluster-card {
    margin-top: 3.5rem;
  }
}

/* Mobile fixes limited to slides whose media can reach the deck controls. */
@media (max-width: 760px) and (max-height: 700px) {
  .inkline-deck-ready #inkline-deck > #top .inkline-actions,
  .rune-deck-ready #rune-deck > .rune-product-hero .hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.4rem !important;
    width: 100%;
    margin-top: 0.55rem !important;
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-actions .button,
  .rune-deck-ready #rune-deck > .rune-product-hero .hero-actions .button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 2.25rem;
    padding: 0.45rem 0.55rem !important;
    font-size: 0.8rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
    white-space: normal;
    text-align: center;
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-hero-shot img,
  .inkline-deck-ready #inkline-deck > #local-first .inkline-product-shot img,
  .rune-deck-ready #rune-deck > .rune-product-hero .rune-product-shot img,
  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    margin-inline: auto;
    object-fit: contain !important;
    object-position: center !important;
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-hero-shot img,
  .rune-deck-ready #rune-deck > .rune-product-hero .rune-product-shot img {
    max-height: 18svh !important;
  }

  .inkline-deck-ready #inkline-deck > #local-first .inkline-product-shot img {
    max-height: 30svh !important;
  }

  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block {
    gap: 0.45rem !important;
  }

  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block h3 {
    font-size: clamp(1.2rem, 5.8vw, 1.5rem) !important;
    line-height: 1.06 !important;
  }

  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block p:not(.eyebrow) {
    margin-top: 0.3rem !important;
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
  }

  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block img {
    max-height: 25svh !important;
  }

  .inkline-deck-ready #inkline-deck > #top figcaption,
  .inkline-deck-ready #inkline-deck > #local-first figcaption,
  .rune-deck-ready #rune-deck > .rune-product-hero figcaption,
  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] figcaption {
    display: none !important;
  }
}

@media (max-width: 340px) and (max-height: 600px) {
  .inkline-deck-ready #inkline-deck > #features .inkline-product-shot img,
  .inkline-deck-ready #inkline-deck > .inkline-terminal-slide .inkline-product-shot img,
  .inkline-deck-ready #inkline-deck > #split-editor .inkline-product-shot img,
  .inkline-deck-ready #inkline-deck > #developer-tools .inkline-product-shot img,
  .inkline-deck-ready #inkline-deck > #diff-tool .inkline-product-shot img,
  .inkline-deck-ready #inkline-deck > #file-converter-tool .inkline-product-shot img,
  .inkline-deck-ready #inkline-deck > #local-first .inkline-product-shot img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 20svh !important;
    margin-inline: auto;
    object-fit: contain !important;
    object-position: center !important;
  }

  .inkline-deck-ready #inkline-deck > #features .inkline-product-shot img {
    max-height: 19svh !important;
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-copy h1,
  .rune-deck-ready #rune-deck > .rune-product-hero .rune-product-copy h1 {
    margin-bottom: 0.3rem !important;
    font-size: 1.72rem !important;
    line-height: 0.98 !important;
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-copy > p:not(.eyebrow),
  .rune-deck-ready #rune-deck > .rune-product-hero .rune-product-copy > p:not(.eyebrow) {
    margin-top: 0 !important;
    font-size: 0.74rem !important;
    line-height: 1.22 !important;
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-actions,
  .rune-deck-ready #rune-deck > .rune-product-hero .hero-actions {
    gap: 0.25rem !important;
    margin-top: 0.35rem !important;
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-actions .button,
  .rune-deck-ready #rune-deck > .rune-product-hero .hero-actions .button {
    min-height: 1.9rem;
    padding: 0.32rem 0.4rem !important;
    font-size: 0.68rem !important;
    line-height: 1.08;
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-hero-shot img {
    max-height: 15svh !important;
  }

  .rune-deck-ready #rune-deck > .rune-product-hero .rune-product-shot img {
    max-height: 14svh !important;
  }
}

/* Focused short-mobile slide corrections and full-size Rune feature media. */
.rune-deck-ready #rune-deck > section[id^="rune-feature-"] {
  background:
    linear-gradient(180deg, #ffffff 0%, #eef4f5 100%),
    var(--surface) !important;
}

.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.72fr) minmax(500px, 1.28fr) !important;
  align-items: center !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink) !important;
}

.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block h3 {
  color: var(--ink) !important;
}

.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block p:not(.eyebrow),
.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block figcaption {
  color: var(--muted) !important;
}

.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block figure,
.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-shot-frame,
.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block img {
  width: 100% !important;
  max-width: none !important;
}

.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-shot-frame {
  overflow: hidden;
  border-radius: 12px;
}

.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block img {
  display: block !important;
  height: auto !important;
  max-height: min(58svh, 44rem) !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 860px) {
  .inkline-deck-ready .inkline-deck-dots {
    display: none !important;
  }

  .inkline-deck-ready .inkline-deck-controls {
    width: max-content !important;
    min-width: 9.5rem;
    max-width: calc(100vw - 1.5rem) !important;
  }

  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] {
    align-content: center !important;
  }

  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.65rem !important;
  }

  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block h3 {
    font-size: clamp(1.45rem, 7vw, 2rem) !important;
    line-height: 1.04 !important;
  }

  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block p:not(.eyebrow) {
    margin-top: 0.3rem !important;
    font-size: 0.88rem !important;
    line-height: 1.28 !important;
  }

  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block img {
    max-height: min(36svh, 21rem) !important;
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  .rune-deck-ready #rune-deck > .rune-product-intro,
  .rune-deck-ready #rune-deck > #workflow,
  .rune-deck-ready #rune-deck > #troubleshooting,
  .rune-deck-ready #rune-deck > #troubleshooting-workflows {
    align-content: safe center !important;
  }

  .rune-deck-ready #rune-deck > .rune-product-intro .section-heading h2,
  .rune-deck-ready #rune-deck > #workflow .section-heading h2,
  .rune-deck-ready #rune-deck > #troubleshooting .section-heading h2,
  .rune-deck-ready #rune-deck > #troubleshooting-workflows .section-heading h2 {
    font-size: clamp(1.55rem, 7vw, 1.95rem) !important;
    line-height: 1 !important;
  }

  .rune-deck-ready #rune-deck > .rune-product-intro .section-heading > p:not(.eyebrow),
  .rune-deck-ready #rune-deck > #workflow .section-heading > p:not(.eyebrow),
  .rune-deck-ready #rune-deck > #troubleshooting .section-heading > p:not(.eyebrow),
  .rune-deck-ready #rune-deck > #troubleshooting-workflows .section-heading > p:not(.eyebrow) {
    margin-top: 0.3rem !important;
    font-size: 0.78rem !important;
    line-height: 1.24 !important;
  }

  .rune-deck-ready #rune-deck > .rune-product-intro .rune-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.32rem !important;
    margin-top: 0.45rem !important;
    --vn-grid-cols: 2 !important;
    --vn-grid-gap: 0.32rem !important;
  }

  .rune-deck-ready #rune-deck > .rune-product-intro .rune-benefits article:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - (var(--vn-grid-cols, 2) - 1) * var(--vn-grid-gap, 0px)) / var(--vn-grid-cols, 2));
  }

  .rune-deck-ready #rune-deck > .rune-product-intro .rune-benefits article,
  .rune-deck-ready #rune-deck > #workflow .rune-workflow-list article,
  .rune-deck-ready #rune-deck > #troubleshooting .rune-troubleshooting-list article,
  .rune-deck-ready #rune-deck > #troubleshooting-workflows .rune-troubleshooting-list article {
    padding: 0.44rem 0.52rem !important;
  }

  .rune-deck-ready #rune-deck > #workflow .rune-workflow-list,
  .rune-deck-ready #rune-deck > #troubleshooting .rune-troubleshooting-list,
  .rune-deck-ready #rune-deck > #troubleshooting-workflows .rune-troubleshooting-list {
    gap: 0.32rem !important;
    margin-top: 0.42rem !important;
    --vn-grid-gap: 0.32rem !important;
  }

  .rune-deck-ready #rune-deck > .rune-product-intro h3,
  .rune-deck-ready #rune-deck > #workflow h3,
  .rune-deck-ready #rune-deck > #troubleshooting h3,
  .rune-deck-ready #rune-deck > #troubleshooting-workflows h3 {
    font-size: 0.82rem !important;
    line-height: 1.1 !important;
  }

  .rune-deck-ready #rune-deck > .rune-product-intro article p,
  .rune-deck-ready #rune-deck > #workflow article p,
  .rune-deck-ready #rune-deck > #troubleshooting article p,
  .rune-deck-ready #rune-deck > #troubleshooting-workflows article p {
    margin-top: 0.14rem !important;
    font-size: 0.7rem !important;
    line-height: 1.18 !important;
  }

  .inkline-deck-ready #inkline-deck > #top,
  .inkline-deck-ready #inkline-deck > #features,
  .inkline-deck-ready #inkline-deck > #features + .inkline-format-slide,
  .inkline-deck-ready #inkline-deck > #developer-tools,
  .inkline-deck-ready #inkline-deck > #file-converter-tool,
  .inkline-deck-ready #inkline-deck > #text-tools,
  .inkline-deck-ready #inkline-deck > #text-utilities,
  .inkline-deck-ready #inkline-deck > #all-tools,
  .inkline-deck-ready #inkline-deck > #more-developer-tools,
  .inkline-deck-ready #inkline-deck > #local-first {
    align-content: safe center !important;
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-copy h1 {
    font-size: clamp(1.7rem, 8vw, 2rem) !important;
    line-height: 0.98 !important;
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-copy > p:not(.eyebrow) {
    margin-top: 0.35rem !important;
    font-size: 0.78rem !important;
    line-height: 1.24 !important;
  }

  .inkline-deck-ready #inkline-deck > #features + .inkline-format-slide .inkline-feature-grid,
  .inkline-deck-ready #inkline-deck > #text-tools .inkline-tool-directory,
  .inkline-deck-ready #inkline-deck > #text-utilities .inkline-tool-directory,
  .inkline-deck-ready #inkline-deck > #all-tools .inkline-tool-directory,
  .inkline-deck-ready #inkline-deck > #more-developer-tools .inkline-tool-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.3rem !important;
    margin-top: 0.42rem !important;
    --vn-grid-cols: 2 !important;
    --vn-grid-gap: 0.3rem !important;
  }

  .inkline-deck-ready #inkline-deck > #features + .inkline-format-slide article,
  .inkline-deck-ready #inkline-deck > #text-tools article,
  .inkline-deck-ready #inkline-deck > #text-utilities article,
  .inkline-deck-ready #inkline-deck > #all-tools article,
  .inkline-deck-ready #inkline-deck > #more-developer-tools article {
    min-width: 0;
    padding: 0.42rem 0.48rem !important;
  }

  .inkline-deck-ready #inkline-deck > #features + .inkline-format-slide article:last-child:nth-child(odd),
  .inkline-deck-ready #inkline-deck > #text-tools article:last-child:nth-child(odd),
  .inkline-deck-ready #inkline-deck > #text-utilities article:last-child:nth-child(odd),
  .inkline-deck-ready #inkline-deck > #all-tools article:last-child:nth-child(odd),
  .inkline-deck-ready #inkline-deck > #more-developer-tools article:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - (var(--vn-grid-cols, 2) - 1) * var(--vn-grid-gap, 0px)) / var(--vn-grid-cols, 2));
  }

  .inkline-deck-ready #inkline-deck > #features + .inkline-format-slide h3,
  .inkline-deck-ready #inkline-deck > #text-tools h3,
  .inkline-deck-ready #inkline-deck > #text-utilities h3,
  .inkline-deck-ready #inkline-deck > #all-tools h3,
  .inkline-deck-ready #inkline-deck > #more-developer-tools h3 {
    margin-bottom: 0.12rem !important;
    font-size: 0.8rem !important;
    line-height: 1.1 !important;
  }

  .inkline-deck-ready #inkline-deck > #features + .inkline-format-slide article p,
  .inkline-deck-ready #inkline-deck > #text-tools article p,
  .inkline-deck-ready #inkline-deck > #text-utilities article p,
  .inkline-deck-ready #inkline-deck > #all-tools article p,
  .inkline-deck-ready #inkline-deck > #more-developer-tools article p {
    font-size: 0.7rem !important;
    line-height: 1.18 !important;
  }
}

/* Monospace is reserved for technical labels and code-like UI. */
:root {
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

code,
kbd,
samp,
pre,
.eyebrow,
.feature-kicker,
.tag,
.tool-chip,
.format-chip,
.metric-label,
.slide-count,
.deck-count {
  font-family: var(--font-mono);
  font-variant-ligatures: none;
}

/* Shared slide system, individual app atmosphere. */
.inkline-page {
  --accent: #7657ed;
  --accent-strong: #5235c7;
  --accent-soft: #eeeaff;
  background-image:
    radial-gradient(circle at 92% 12%, rgba(118, 87, 237, 0.13), transparent 28rem),
    radial-gradient(circle at 8% 88%, rgba(54, 143, 255, 0.1), transparent 32rem);
}

.rune-product-page {
  --accent: #087d9d;
  --accent-strong: #07556f;
  --accent-soft: #dff7fb;
  background-image:
    radial-gradient(circle at 88% 10%, rgba(55, 210, 239, 0.14), transparent 28rem),
    radial-gradient(circle at 10% 90%, rgba(16, 74, 139, 0.11), transparent 34rem);
}

.inkline-page .eyebrow,
.inkline-page .feature-kicker {
  color: var(--accent-strong);
}

.rune-product-page .eyebrow,
.rune-product-page .feature-kicker {
  color: var(--accent-strong);
}

.inkline-page ::selection {
  background: rgba(118, 87, 237, 0.25);
}

.rune-product-page ::selection {
  background: rgba(55, 210, 239, 0.28);
}

.inkline-page :focus-visible,
.rune-product-page :focus-visible {
  outline-color: var(--accent);
}

.inkline-deck-ready .inkline-slide {
  background:
    radial-gradient(circle at 88% 14%, rgba(128, 91, 246, 0.16), transparent 30rem),
    radial-gradient(circle at 8% 88%, rgba(45, 137, 255, 0.1), transparent 34rem),
    linear-gradient(180deg, #fdfdff 0%, #f4f2fb 100%);
}

.rune-deck-ready .rune-slide {
  background:
    radial-gradient(circle at 88% 14%, rgba(54, 211, 235, 0.17), transparent 30rem),
    radial-gradient(circle at 8% 88%, rgba(20, 76, 145, 0.1), transparent 34rem),
    linear-gradient(180deg, #fbfefe 0%, #edf6f7 100%);
}


.inkline-deck-ready .inkline-deck-controls {
  border-color: rgba(153, 122, 255, 0.45);
  background: rgba(24, 20, 45, 0.91);
}

.rune-deck-ready .rune-deck-controls {
  border-color: rgba(74, 207, 229, 0.43);
  background: rgba(8, 28, 40, 0.92);
}

.inkline-deck-ready .inkline-deck-dot.is-active {
  background: #aa8cff;
  box-shadow: 0 0 0 3px rgba(170, 140, 255, 0.18);
}

.rune-deck-ready .rune-deck-dot.is-active {
  background: #55d8eb;
  box-shadow: 0 0 0 3px rgba(85, 216, 235, 0.18);
}

/* One control shape across product decks, with product-specific color. */
.inkline-deck-ready .inkline-deck-controls,
.rune-deck-ready .rune-deck-controls {
  gap: 0.3rem !important;
  min-height: 3.05rem;
  padding: 0.3rem !important;
  border-radius: 999px;
}

.inkline-deck-ready .inkline-deck-button,
.rune-deck-ready .rune-deck-button {
  width: 2.45rem !important;
  min-width: 2.45rem !important;
  height: 2.45rem !important;
  min-height: 2.45rem !important;
  flex: 0 0 2.45rem;
  font-size: 1.05rem !important;
}

.inkline-deck-ready .inkline-deck-counter,
.rune-deck-ready .rune-deck-counter {
  min-width: 4.4rem !important;
  font-family: var(--font-mono);
  font-size: 0.9rem !important;
  font-weight: 600 !important;
}

.inkline-deck-ready .inkline-deck-dots,
.rune-deck-ready .rune-deck-dots {
  gap: 0.34rem !important;
}

.inkline-deck-ready .inkline-deck-dot,
.rune-deck-ready .rune-deck-dot {
  width: 0.46rem !important;
  height: 0.46rem !important;
}

/* Rune's feature overview is a light slide and must use dark copy. */
.rune-deck-ready .rune-feature-overview-slide,
.rune-deck-ready .rune-feature-overview-slide .section-heading,
.rune-deck-ready .rune-feature-overview-slide .section-heading h2 {
  color: var(--ink) !important;
}

.rune-deck-ready .rune-feature-overview-slide .section-heading > p:not(.eyebrow) {
  color: var(--muted) !important;
}

/* Rune screenshot slides use the same media-first composition as Inkline. */
.rune-deck-ready #rune-deck > section[id^="rune-feature-"] {
  padding-inline: clamp(1rem, 3.5vw, 4rem) !important;
}

.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block {
  grid-template-columns: minmax(230px, 0.52fr) minmax(0, 1.48fr) !important;
  gap: clamp(1.5rem, 4vw, 4.5rem) !important;
  width: min(100%, 1500px) !important;
  margin-inline: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block > div:first-child {
  width: 100%;
  max-width: 31rem;
}

.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block figure,
.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-shot-frame {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-shot-frame {
  border-radius: 14px;
}

/* The frame is as wide as the picture can be under the slide's height cap,
   so its corners and shadow sit on the window on short screens too. */
.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block figure {
  width: min(100%, calc(min(66svh, 52rem) * 1.6)) !important;
  justify-self: center;
}

.rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block img {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  object-fit: cover !important;
}

@media (max-width: 860px) {
  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.75rem !important;
  }

  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block > div:first-child {
    max-width: none;
  }

  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block img {
    max-height: min(43svh, 27rem) !important;
  }

  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] figcaption {
    display: none !important;
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  .rune-deck-ready #rune-deck > section[id^="rune-feature-"] .rune-feature-block img {
    max-height: 34svh !important;
  }
}


.inkline-tooltip {
  position: relative;
}

.inkline-tooltip::after {
  position: absolute;
  z-index: 60;
  left: 50%;
  bottom: calc(100% + 0.62rem);
  width: max-content;
  max-width: min(17rem, calc(100vw - 2rem));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.55rem;
  background: rgba(16, 20, 24, 0.96);
  padding: 0.48rem 0.62rem;
  box-shadow: 0 12px 32px rgba(16, 20, 24, 0.2);
  color: #fff;
  content: attr(data-tooltip);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 0.2rem);
  transition: opacity 140ms ease, transform 140ms ease;
  visibility: hidden;
  white-space: normal;
}

.inkline-tooltip:hover::after,
.inkline-tooltip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}


.inkline-feature-help {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: 0.35rem;
  justify-self: start;
  padding: 0 0.15rem;
  color: var(--accent-dark);
  font-size: 0.94rem;
  font-weight: 760;
  text-decoration: none;
}

.inkline-feature-help::after {
  content: "\2192";
}

.inkline-feature-help:hover,
.inkline-feature-help:focus-visible {
  text-decoration: underline;
}

.inkline-section-actions,
.inkline-directory-try,
.inkline-feature-group-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
  margin-top: 1.15rem;
}

.inkline-log-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.inkline-feature-directory-slide {
  display: block;
  align-content: start;
  background:
    radial-gradient(circle at 84% 9%, rgba(157, 224, 216, 0.2), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #eef4f5 100%);
}

.inkline-feature-overview-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.inkline-feature-group-slide {
  display: grid;
  align-content: safe center;
}

.inkline-directory-heading,
.inkline-directory-page-heading,
.inkline-feature-page-links,
.inkline-feature-directory {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.inkline-directory-heading {
  display: grid;
  justify-items: start;
}

.inkline-feature-overview-slide .inkline-directory-heading {
  width: 100%;
  margin: 0;
}

.inkline-directory-page-heading {
  margin-bottom: 0;
}

.inkline-directory-page-heading h2 {
  margin-bottom: 0.55rem;
}

.inkline-directory-page-heading > p:not(.eyebrow) {
  max-width: 880px;
  margin-top: 0.55rem;
}

.inkline-directory-back {
  position: relative;
  display: inline-flex;
  margin-top: 0.7rem;
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 760;
  text-underline-offset: 0.18em;
}

.inkline-directory-heading > p:not(.eyebrow) {
  max-width: 850px;
}

.inkline-feature-search {
  display: grid;
  gap: 0.42rem;
  width: min(720px, 100%);
  margin-top: 1.2rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 780;
}

.inkline-feature-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}

.inkline-feature-search input {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(20, 92, 103, 0.24);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.72rem 0.9rem;
  color: var(--ink);
  font: inherit;
  font-weight: 550;
  outline: none;
  box-shadow: 0 10px 28px rgba(16, 20, 24, 0.055);
}

.inkline-feature-search input::placeholder {
  color: #737e86;
}

.inkline-feature-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 92, 103, 0.13);
}

.inkline-feature-search button {
  min-height: 3rem;
  border: 1px solid var(--ink);
  border-radius: 0.75rem;
  background: var(--ink);
  padding: 0.68rem 0.9rem;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.inkline-feature-search button:hover,
.inkline-feature-search button:focus-visible {
  background: var(--accent-dark);
}

.inkline-feature-search-status {
  min-height: 1.35rem;
  margin: 0.42rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.inkline-feature-page-links {
  display: grid;
  gap: 0.7rem;
}

.inkline-feature-page-links a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.1rem 0.75rem;
  align-items: center;
  min-height: 5.2rem;
  border: 1px solid rgba(20, 92, 103, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.8rem 0.95rem;
  box-shadow: 0 14px 36px rgba(16, 20, 24, 0.055);
  color: var(--ink);
  text-decoration: none;
}

.inkline-feature-page-links a:hover,
.inkline-feature-page-links a:focus-visible {
  border-color: rgba(20, 92, 103, 0.32);
  background: #fff;
  transform: translateY(-1px);
}

.inkline-feature-page-links span {
  grid-row: 1 / span 2;
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.inkline-feature-page-links strong {
  font-size: 1rem;
  line-height: 1.2;
}

.inkline-feature-page-links small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.inkline-feature-directory {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.3rem;
  padding-bottom: 2rem;
}

.inkline-feature-group-slide .inkline-feature-directory {
  width: min(980px, 100%);
  margin-top: 1rem;
  padding-bottom: 0;
}

.inkline-feature-directory [hidden] {
  display: none !important;
}

.inkline-feature-directory details {
  overflow: clip;
  border: 1px solid rgba(20, 92, 103, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(16, 20, 24, 0.055);
}

.inkline-feature-directory details[open] {
  border-color: rgba(20, 92, 103, 0.28);
  box-shadow: 0 18px 46px rgba(16, 20, 24, 0.08);
}

.inkline-feature-directory summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 4.4rem;
  padding: 0.85rem 1rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.inkline-feature-directory summary::-webkit-details-marker {
  display: none;
}

.inkline-feature-directory summary::before {
  display: inline-grid;
  grid-row: 1;
  grid-column: 2;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  justify-self: end;
  border-radius: 999px;
  background: rgba(20, 92, 103, 0.09);
  color: var(--accent-dark);
  content: "+";
  font-size: 1rem;
  font-weight: 780;
}

.inkline-feature-directory details[open] summary::before {
  content: "−";
}

.inkline-feature-directory summary > span:first-of-type {
  display: grid;
  grid-row: 1;
  grid-column: 1;
  gap: 0.1rem;
}

.inkline-feature-directory summary strong {
  font-size: 1rem;
}

.inkline-feature-directory summary small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 520;
  line-height: 1.35;
}

.inkline-feature-group-count {
  grid-row: 1;
  grid-column: 2;
  align-self: end;
  justify-self: end;
  margin-right: 2.1rem;
  border-radius: 999px;
  background: rgba(20, 92, 103, 0.075);
  padding: 0.25rem 0.55rem;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.inkline-feature-directory summary:hover,
.inkline-feature-directory summary:focus-visible {
  background: rgba(20, 92, 103, 0.045);
  outline: none;
}

.inkline-feature-directory summary:focus-visible {
  box-shadow: 0 0 0 3px rgba(20, 92, 103, 0.14) inset;
}

.inkline-feature-group-body {
  border-top: 1px solid rgba(20, 92, 103, 0.12);
  padding: 1rem;
}

.inkline-feature-group-body > p {
  max-width: 860px;
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.inkline-feature-pill-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.46rem;
  margin: 0;
  padding: 0;
  list-style: none;
  --vn-grid-cols: 2;
  --vn-grid-gap: 0.46rem;
}

.inkline-feature-pill-list li {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  border: 1px solid rgba(16, 20, 24, 0.08);
  border-radius: 0.68rem;
  background: #fff;
  padding: 0.62rem 0.7rem;
}

.inkline-feature-pill-list li.is-feature-search-match {
  border-color: rgba(118, 87, 237, 0.48);
  box-shadow: 0 0 0 3px rgba(118, 87, 237, 0.1);
}

.inkline-feature-pill-list strong {
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.25;
}

.inkline-feature-pill-list span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.inkline-language-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.inkline-deck-ready #inkline-deck > .inkline-feature-directory-slide {
  align-content: start !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-padding-top: 6rem;
}

.inkline-deck-ready #inkline-deck > .inkline-feature-group-slide {
  align-content: safe center !important;
}

@media (max-width: 980px) {
  .inkline-log-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inkline-language-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .inkline-actions .inkline-feature-help {
    width: auto !important;
    grid-column: 1 / -1;
    justify-self: start;
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-actions,
  .inkline-deck-ready #inkline-deck > #text-tools .inkline-section-actions,
  .inkline-deck-ready #inkline-deck > #all-tools .inkline-section-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inkline-section-actions,
  .inkline-directory-try,
  .inkline-feature-group-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .inkline-feature-overview-slide {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 0.65rem !important;
  }

  .inkline-feature-overview-slide .inkline-directory-try {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    margin-top: 0.65rem;
  }

  .inkline-feature-overview-slide .inkline-directory-try .app-action {
    min-height: 2.3rem;
    padding: 0.45rem 0.5rem;
    font-size: 0.76rem;
  }

  .inkline-feature-search {
    gap: 0.25rem;
    margin-top: 0.65rem;
  }

  .inkline-feature-search-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem;
  }

  .inkline-feature-search input,
  .inkline-feature-search button {
    min-height: 2.55rem;
    padding: 0.52rem 0.62rem;
    font-size: 0.78rem;
  }

  .inkline-feature-search button {
    max-width: 5.6rem;
  }

  .inkline-feature-search-status {
    min-height: 1.1rem;
    margin-top: 0.25rem;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .inkline-feature-page-links {
    gap: 0.35rem;
  }

  .inkline-feature-page-links a {
    min-height: 3.6rem;
    gap: 0.05rem 0.55rem;
    padding: 0.48rem 0.62rem;
    border-radius: 0.75rem;
  }

  .inkline-feature-page-links strong {
    font-size: 0.84rem;
  }

  .inkline-feature-page-links small {
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .inkline-section-actions .app-action,
  .inkline-directory-try .app-action,
  .inkline-feature-group-actions .app-action {
    width: 100%;
    white-space: normal;
  }

  .inkline-feature-pill-list,
  .inkline-language-list {
    grid-template-columns: minmax(0, 1fr);
    --vn-grid-cols: 1;
  }

  .inkline-deck .inkline-log-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.38rem;
    margin-top: 0.55rem;
  }

  .inkline-log-feature-grid article {
    padding: 0.58rem 0.64rem;
  }

  .inkline-log-feature-grid h3 {
    font-size: 0.84rem;
  }

  .inkline-log-feature-grid p {
    font-size: 0.72rem;
    line-height: 1.24;
  }

  .inkline-feature-directory summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    min-height: 4rem;
    padding: 0.72rem 0.75rem;
  }

  .inkline-feature-group-count {
    display: none;
  }

  .inkline-feature-group-body {
    padding: 0.72rem;
  }

  .inkline-directory-page-heading > p:not(.eyebrow) {
    margin-top: 0.35rem !important;
    font-size: 0.82rem !important;
    line-height: 1.3 !important;
  }

  .inkline-directory-page-heading h2 {
    margin-bottom: 0.35rem;
  }

  .inkline-directory-back {
    margin-top: 0.45rem;
    font-size: 0.76rem;
  }

  .inkline-feature-group-slide .inkline-feature-directory {
    gap: 0.45rem;
    margin-top: 0.65rem;
  }

  .inkline-feature-directory-slide .section-heading h2 {
    font-size: clamp(1.8rem, 9vw, 2.45rem) !important;
  }

  .inkline-feature-directory-slide .section-heading > p:not(.eyebrow) {
    font-size: 0.9rem !important;
  }

  .inkline-deck-ready #inkline-deck > .inkline-feature-directory-slide {
    align-content: start !important;
    gap: 0.5rem !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding:
      max(7.5rem, calc(env(safe-area-inset-top) + 7.25rem))
      0.75rem
      max(1.5rem, calc(env(safe-area-inset-bottom) + 1.25rem)) !important;
    scroll-padding-top: 8rem;
    -webkit-overflow-scrolling: touch;
  }

  .inkline-deck-ready #inkline-deck > .inkline-feature-group-slide {
    align-content: safe center !important;
  }

  /* On the directory slides the controls sit just below the header, clear of
     both the header buttons and the feature copy that scrolls beneath. */
  .inkline-deck-ready .inkline-deck-controls.is-directory-slide {
    top: calc(env(safe-area-inset-top) + 56px + 0.45rem);
    right: 0.75rem;
    bottom: auto !important;
    left: auto !important;
    transform: none;
  }

  .inkline-deck-ready #inkline-deck > #log-tools,
  .inkline-deck-ready #inkline-deck > #all-tools {
    align-content: start !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding-bottom: max(6rem, calc(env(safe-area-inset-bottom) + 5.5rem)) !important;
  }
}

@media (hover: none) {
  .inkline-tooltip::after {
    display: none;
  }
}

/* Keep the visible deck dots small while giving every dot a 24px hit target. */
.inkline-deck-ready .inkline-deck-dot {
  position: relative;
  width: 24px !important;
  min-width: 24px;
  height: 24px !important;
  min-height: 24px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.inkline-deck-ready .inkline-deck-dot::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.46rem;
  height: 0.46rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
  transform: translate(-50%, -50%);
}

.inkline-deck-ready .inkline-deck-dot.is-active {
  background: transparent;
  box-shadow: none;
}

.inkline-deck-ready .inkline-deck-dot.is-active::before {
  border-color: #aa8cff;
  background: #aa8cff;
  box-shadow: 0 0 0 3px rgba(170, 140, 255, 0.18);
}

.inkline-deck-ready .inkline-final-cta {
  grid-template-columns: minmax(0, 0.9fr) minmax(26rem, 1.1fr);
  gap: clamp(1.25rem, 3vw, 3rem);
}

.inkline-deck-ready .inkline-final-cta .featured-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  width: min(34rem, 100%);
  margin-top: 0;
}

.inkline-deck-ready .inkline-final-cta .featured-actions .button {
  min-width: 0;
  min-height: var(--component-button-height, 3rem);
  padding: 0.55rem 0.72rem;
  white-space: normal;
  text-align: center;
}

@media (min-width: 761px) and (max-height: 760px) {
  .inkline-deck-ready #inkline-deck > section {
    padding: 5.5rem 5vw 5rem;
  }

  .inkline-deck-ready .inkline-copy h1,
  .inkline-deck-ready .section-heading h2,
  .inkline-deck-ready .inkline-final-cta h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
  }

  .inkline-feature-page-links a {
    min-height: 4.5rem;
    padding-block: 0.65rem;
  }

  .inkline-feature-directory summary {
    min-height: 3.9rem;
    padding-block: 0.68rem;
  }
}

@media (max-width: 760px) {
  .inkline-feature-group-slide .inkline-directory-page-heading > p:not(.eyebrow) {
    margin-top: 0.35rem !important;
    font-size: 0.82rem !important;
    line-height: 1.3 !important;
  }

  .inkline-deck-ready .inkline-final-cta {
    grid-template-columns: minmax(0, 1fr);
    align-content: safe center !important;
    gap: 0.7rem !important;
  }

  .inkline-deck-ready .inkline-final-cta .featured-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    margin-top: 0.35rem;
  }

  .inkline-deck-ready .inkline-final-cta .featured-actions .button {
    min-height: 2.35rem;
    padding: 0.42rem 0.5rem;
    font-size: 0.76rem;
    line-height: 1.15;
  }

  .inkline-deck-ready #inkline-deck > #log-tools .inkline-section-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    margin-top: 0.6rem;
  }

  .inkline-deck-ready #inkline-deck > #log-tools .inkline-section-actions .app-action {
    min-width: 0;
    min-height: 2.35rem;
    padding: 0.45rem 0.5rem;
    font-size: 0.76rem;
    white-space: normal;
  }
}

/* Rune's complete directory uses one full-width card per slide. The base FAQ
   grid has three columns, which made a lone long card wrap into a tall column. */
.rune-deck-ready #all-features .rune-faq,
.rune-deck-ready #all-features-yaml .rune-faq,
.rune-deck-ready #all-features-operations .rune-faq {
  grid-template-columns: minmax(0, 1fr);
  align-self: center;
}

/* Keep the visible marker compact while making every Rune slide dot easy to hit. */
.rune-deck-ready .rune-deck-dot {
  position: relative;
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  min-height: 24px;
  flex: 0 0 24px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.rune-deck-ready .rune-deck-dot::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.46rem;
  height: 0.46rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
  transform: translate(-50%, -50%);
}

.rune-deck-ready .rune-deck-dot.is-active {
  background: transparent;
  box-shadow: none;
}

.rune-deck-ready .rune-deck-dot.is-active::before {
  border-color: #55d8eb;
  background: #55d8eb;
  box-shadow: 0 0 0 3px rgba(85, 216, 235, 0.18);
}

.rune-deck-ready .rune-deck-button {
  grid-auto-flow: column;
  width: auto !important;
  min-width: 5.75rem !important;
  flex: 0 0 auto;
  gap: 0.35rem;
  padding-inline: 0.75rem;
  font-size: 0.78rem !important;
  font-weight: 750;
}

@media (max-width: 860px) {
  .rune-deck-ready .rune-deck-dots {
    display: none !important;
  }
}

@media (max-width: 560px) and (max-height: 700px) {
  .rune-deck-ready #rune-deck > #all-features,
  .rune-deck-ready #rune-deck > #all-features-yaml,
  .rune-deck-ready #rune-deck > #all-features-operations {
    align-content: start;
    gap: 0.45rem;
    padding:
      max(3.65rem, calc(env(safe-area-inset-top) + 3.4rem))
      0.75rem
      max(4.45rem, calc(env(safe-area-inset-bottom) + 4.15rem));
  }

  .rune-deck-ready #all-features .section-heading h2,
  .rune-deck-ready #all-features-yaml .section-heading h2,
  .rune-deck-ready #all-features-operations .section-heading h2 {
    margin-bottom: 0.3rem;
    font-size: clamp(1.55rem, 8vw, 1.8rem);
    line-height: 0.98;
  }

  .rune-deck-ready #all-features .section-heading .eyebrow,
  .rune-deck-ready #all-features-yaml .section-heading .eyebrow,
  .rune-deck-ready #all-features-operations .section-heading .eyebrow {
    margin-bottom: 0.28rem;
    font-size: 0.66rem;
  }

  .rune-deck-ready #all-features .section-heading > p:not(.eyebrow),
  .rune-deck-ready #all-features-yaml .section-heading > p:not(.eyebrow),
  .rune-deck-ready #all-features-operations .section-heading > p:not(.eyebrow) {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .rune-deck-ready #all-features .rune-faq,
  .rune-deck-ready #all-features-yaml .rune-faq,
  .rune-deck-ready #all-features-operations .rune-faq {
    margin-top: 0 !important;
  }

  .rune-deck-ready #all-features .rune-faq article,
  .rune-deck-ready #all-features-yaml .rune-faq article,
  .rune-deck-ready #all-features-operations .rune-faq article {
    padding: 0.5rem 0.6rem !important;
  }

  .rune-deck-ready #all-features .rune-faq h3,
  .rune-deck-ready #all-features-yaml .rune-faq h3,
  .rune-deck-ready #all-features-operations .rune-faq h3 {
    font-size: 0.88rem !important;
  }

  .rune-deck-ready #all-features .rune-faq p,
  .rune-deck-ready #all-features-yaml .rune-faq p,
  .rune-deck-ready #all-features-operations .rune-faq p {
    margin-top: 0.2rem !important;
    font-size: 0.75rem !important;
    line-height: 1.28 !important;
  }
}

@media (max-width: 760px) {
  /* Directory controls sit at the top on phones, so these pages do not need
     the large footer clearance used by ordinary Inkline slides. */
  .inkline-deck-ready #inkline-deck > .inkline-feature-directory-slide {
    padding-bottom: max(0.25rem, env(safe-area-inset-bottom)) !important;
  }
}

@media (min-width: 1181px) and (max-width: 1600px) {
  .game-row .app-meta {
    gap: 0.3rem;
  }

  .game-row .app-meta .tag {
    padding-inline: 0.4rem;
    font-size: 0.66rem;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .inkline-tool-directory > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - (var(--vn-grid-cols, 2) - 1) * var(--vn-grid-gap, 0px)) / var(--vn-grid-cols, 2));
  }
}

@media (min-width: 861px) {
  .rune-troubleshooting-list > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - (var(--vn-grid-cols, 2) - 1) * var(--vn-grid-gap, 0px)) / var(--vn-grid-cols, 2));
  }
}

.inkline-feature-pill-list > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - (var(--vn-grid-cols, 2) - 1) * var(--vn-grid-gap, 0px)) / var(--vn-grid-cols, 2));
}

/* Buttons side by side share one width, as on the homepage. */
.rune-product-copy .hero-actions,
.rune-final-cta .featured-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rune-product-copy .hero-actions {
  width: min(100%, 24rem);
}

.rune-product-copy .hero-actions .button,
.rune-final-cta .featured-actions .button,
.inkline-final-cta .featured-actions .button {
  min-width: 0;
  justify-content: center;
  text-align: center;
}

@media (min-width: 761px) {
  .inkline-final-cta .featured-actions {
    display: grid;
    width: min(34rem, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
}

/* First slide on a phone: the text takes the height it needs and the preview
   takes exactly what is left above the deck controls, at any screen height.
   On a very short screen the preview keeps a minimum height and the slide
   scrolls. */
.vn-hero-frame {
  display: contents;
}

@media (max-width: 560px) {
  .inkline-deck-ready #inkline-deck > #top,
  .rune-deck-ready #rune-deck > .rune-product-hero {
    grid-template-rows: auto minmax(6.5rem, 1fr) !important;
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-hero-shot,
  .rune-deck-ready #rune-deck > .rune-product-hero .rune-product-shot {
    display: block;
    overflow: visible;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding-bottom: 0.6rem;
    box-shadow: none;
    container-type: size;
  }

  /* Rune's slides reserve more room below than its controls use. */
  .rune-deck-ready #rune-deck > .rune-product-hero {
    padding-bottom: max(4.3rem, calc(env(safe-area-inset-bottom) + 4rem));
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-hero-shot .vn-hero-frame,
  .rune-deck-ready #rune-deck > .rune-product-hero .rune-product-shot .rune-shot-frame {
    position: relative;
    display: block;
    overflow: hidden;
    width: min(100cqw, calc(100cqh * var(--vn-hero-ratio)));
    margin-inline: auto;
    aspect-ratio: var(--vn-hero-ratio);
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-hero-shot .vn-hero-frame {
    --vn-hero-ratio: 1600 / 932;
    border-radius: 12px;
  }

  .rune-deck-ready #rune-deck > .rune-product-hero .rune-product-shot .rune-shot-frame {
    --vn-hero-ratio: 1400 / 818;
  }

  .inkline-deck-ready #inkline-deck > #top .inkline-hero-shot .vn-hero-frame img,
  .rune-deck-ready #rune-deck > .rune-product-hero .rune-product-shot .rune-shot-frame img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0;
    object-fit: cover !important;
  }

  /* Side by side, so the preview gets the height of one button row. */
  .rune-deck-ready #rune-deck > .rune-product-hero .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .rune-deck-ready #rune-deck > .rune-product-hero .hero-actions .button {
    min-width: 0;
    padding-inline: 0.5rem;
    text-align: center;
  }
}

/* Homepage */
.vn-home-page {
  --bg: #f7f9fc;
  --surface: #fff;
  --surface-muted: #eaf0f8;
  --ink: #17243a;
  --muted: #4a586e;
  --line: #d4dfed;
  --accent: #315fb4;
  --accent-dark: #234a90;
  --home-gutter: max(clamp(1.1rem, 4vw, 4rem), calc((100vw - 1280px) / 2));
  --home-action-gap: 0.625rem;
  --home-compact-height: var(--component-card-action-height, 2.8rem);
  --link-glass: #ffffffb3;
  --glass-glow: inset 0 1px 1px #ffffffb8, 0 0 0 1px #3f75c933, 0 2px 8px #1e406117, 0 0 18px #6d9be538;
}

.vn-home-page .vn-header[data-theme="home"] {
  --vnh-bg: #f7f9fcf2;
  --vnh-panel: var(--bg);
  --vnh-ink: var(--ink);
  --vnh-line: var(--line);
  --vnh-hover: var(--link-glass);
  --vnh-focus: var(--accent);
}

.vn-home-page :is(.hero, .section, .site-footer) {
  padding-inline: var(--home-gutter);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  min-block-size: max(29rem, calc(100svh - 5.25rem));
  align-items: center;
  gap: clamp(1.8rem, 4vw, 4.5rem);
  padding-block: clamp(2.4rem, 5vw, 5rem);
}

.hero h1 {
  font-size: clamp(2.45rem, 4.2vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.hero .hero-copy {
  max-width: 38rem;
  margin: 1rem 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  line-height: 1.55;
}

.vn-home-page .vn-nav a {
  border-radius: var(--component-button-radius, 12px);
}

.app-index {
  min-width: 0;
  width: 100%;
  max-width: 44rem;
  justify-self: center;
  border-radius: var(--component-button-radius, 12px);
  background: linear-gradient(155deg, #edf3fc, #e5edf8);
  padding: clamp(0.75rem, 2.1vw, 1.75rem);
}

.app-index ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.4rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-index li {
  grid-column: span 2;
  min-width: 0;
}

.app-index li:nth-child(3n + 1):nth-last-child(2) {
  grid-column: 2 / span 2;
}

.app-index li:nth-child(3n + 2):last-child {
  grid-column: 4 / span 2;
}

.app-index ul:has(> :last-child:nth-child(3n + 1)) > :nth-last-child(-n + 4):not(:only-child) {
  grid-column: span 3;
}

.app-index ul > :only-child {
  grid-column: 1 / -1;
}

.app-index a {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.35rem;
  text-align: center;
  text-decoration: none;
}

.app-index img {
  width: clamp(3rem, 6vw, 4.5rem);
  height: auto;
  aspect-ratio: 1;
}

.app-index strong {
  overflow-wrap: anywhere;
}

.app-index small {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.25;
}

.vn-home-page :is(.hero-actions, .featured-actions) {
  display: grid;
  width: min(100%, 24rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--home-action-gap);
}

.vn-home-page .hero-actions {
  margin-top: 1.3rem;
}

.vn-home-page :is(.button, .app-action) {
  font-family: inherit;
  line-height: 1.2;
  text-align: center;
}

.vn-home-page .button {
  min-height: var(--component-button-height, 3rem);
  padding: 0.65rem clamp(0.5rem, 2vw, 1rem);
  font-size: 1rem;
}

.vn-home-page :is(.hero-actions, .featured-actions) > .button {
  width: 100%;
  min-width: 0;
  padding-inline: 0.5rem;
}

.vn-home-page :is(.button, .app-action):is(:hover, :focus-visible) {
  transform: none;
}

.vn-home-page :is(.button.secondary, .app-action:not(.app-action-primary)) {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.vn-home-page :is(.button.secondary, .app-action:not(.app-action-primary)):is(:hover, :focus-visible) {
  border-color: var(--accent);
  background: var(--surface-muted);
}

.vn-home-page :is(.text-link, .site-footer a) {
  display: inline-flex;
  min-height: var(--home-compact-height);
  max-width: 100%;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.6rem;
  text-decoration: none;
}

.vn-home-page .footer-columns a {
  min-height: 2rem;
  margin-inline-start: -0.6rem;
}

.vn-home-page .footer-columns ul {
  gap: 0;
}

@media (max-width: 760px), (max-width: 960px) and (pointer: coarse) {
  .vn-home-page .footer-columns a {
    min-height: var(--home-compact-height);
  }
}

.vn-home-page :is(.text-link, .footer-bottom a)::after {
  flex: 0 0 0.38em;
  width: 0.38em;
  height: 0.38em;
  border-block-start: 1.5px solid currentColor;
  border-inline-end: 1.5px solid currentColor;
  content: "";
  rotate: 45deg;
  opacity: 0.75;
}

.vn-home-page .footer-bottom a[href="#top"]::after {
  rotate: -45deg;
}

.vn-home-page :is(.vn-nav a, .vn-brand, .vn-menu-button, .app-index a, .text-link, .site-footer a):focus-visible {
  background-color: var(--link-glass);
}

@media (hover: hover) and (pointer: fine) {
  .vn-home-page :is(.vn-nav a, .vn-brand, .vn-menu-button, .app-index a, .text-link, .site-footer a):hover {
    background-color: var(--link-glass);
  }
}

.vn-home-page .featured-section {
  --featured-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  --featured-gap: clamp(1.75rem, 4vw, 4.5rem);
  --featured-media-width: calc((100% - var(--featured-gap)) * 0.64);
  --ink: #f7f7ee;
  --muted: #cbd2c6;
  --accent: #edc18a;
  --accent-dark: #f4d9b2;
  --line: #ffffff2e;
  --link-glass: #ffffff16;
  --glass-glow: inset 0 1px 0 #ffffff40, 0 0 0 1px #edc18a5e, 0 0 16px #edc18a40;
  background: #252e26;
  color: var(--ink);
}

.featured-section .eyebrow {
  color: var(--accent);
  letter-spacing: 0.085em;
}

.featured-section .button.primary {
  background: #f7f7ee;
  color: #263128;
}

.featured-section .button.secondary {
  border-color: #ffffff40;
  background: #ffffff0e;
  color: var(--ink);
}

.vn-home-page .featured-section .button.secondary:is(:hover, :focus-visible) {
  border-color: var(--accent);
  background: #ffffff1f;
}

.featured-links {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: var(--home-action-gap);
}

.featured-links .text-link {
  margin: 0;
}

.vn-home-page .apps-section {
  border-top: 1px solid var(--line);
  background: var(--surface-muted);
}

.vn-home-page .support-section {
  background: #eaf0f8;
}

.support-layout {
  display: grid;
  max-width: 69rem;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(0.8rem, 2.2vw, 1.5rem);
}

.support-faq-links {
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: var(--component-button-radius, 12px);
  background: var(--surface);
}

.support-layout h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.support-faq-links ul {
  display: grid;
  gap: 0.25rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.vn-home-page .support-faq-links a {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  background: var(--bg);
  padding: 0.4rem 0.6rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.support-faq-links a::after {
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  margin-inline-start: auto;
  border-top: 1.5px solid var(--muted);
  border-right: 1.5px solid var(--muted);
  transform: rotate(45deg);
  content: "";
}

.support-layout .support-form {
  width: 100%;
}

.support-field {
  display: grid;
  min-width: 0;
  gap: 0.45rem;
}

.support-form-actions .form-status:not(:empty) {
  margin-top: 0.6rem;
}

.product-faq-page {
  --bg: #f7f9fc;
  --surface: #fff;
  --ink: #17243a;
  --muted: #4a586e;
  --line: #d4dfed;
  --accent: #315fb4;
  --accent-dark: #234a90;
  scroll-padding-top: 4.75rem;
}

.product-faq {
  width: min(48rem, calc(100% - 2.25rem));
  margin-inline: auto;
  padding-block: clamp(2.25rem, 6vw, 5rem);
}

.product-faq h1 {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
}

.product-faq-answers {
  display: grid;
  gap: 0.75rem;
}

.product-faq-answers article {
  border: 1px solid var(--line);
  border-radius: var(--component-card-radius, 16px);
  background: var(--surface);
  padding: clamp(1rem, 3vw, 1.5rem);
}

.product-faq-answers h2 {
  margin: 0;
  font-size: clamp(1.12rem, 2.8vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.product-faq-answers p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.product-faq-answers a {
  color: var(--accent-dark);
  text-underline-offset: 0.15em;
}

.product-faq-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.2rem;
  margin-top: 1.5rem;
}

.product-faq-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--accent-dark);
  text-underline-offset: 0.15em;
}

.vn-home-page .chapter-content .section-heading::before {
  display: block;
  width: 2.2rem;
  height: 2px;
  margin-bottom: 0.85rem;
  border-radius: 1px;
  background: linear-gradient(90deg, #ae8643, #d8c29a);
  content: "";
}

.vn-home-page :is(a, button, input, select, textarea, .app-card, [tabindex="0"]) {
  border-radius: var(--component-button-radius, 12px);
}

.vn-home-page .app-card {
  box-shadow: none;
}

.vn-home-page [data-vn-chapter="games"] {
  margin-top: clamp(1rem, 2vw, 1.6rem);
}

.vn-home-page .vn-card-grid {
  --card-grid-gap: clamp(1rem, 2vw, 1.6rem);
  --card-columns: 1;
}

@media (min-width: 48rem) {
  .vn-home-page .vn-card-grid {
    --card-columns: 2;
  }
}

@media (min-width: 66rem) {
  .vn-home-page .vn-card-grid {
    --card-columns: 3;
  }
}

/* The silhouette stays slightly narrower at the top after it settles. */
.vn-home-page .vn-card-grid > .app-card {
  width: min(25.5rem, calc((100% - (var(--card-columns) - 1) * var(--card-grid-gap)) / var(--card-columns)));
  height: auto;
  min-height: 0;
  border-radius: var(--component-card-radius);
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%);
}

.vn-home-page .vn-card-grid :is(.app-directory-body, .app-card-body) {
  min-height: 15rem;
  padding-inline: max(1rem, 5%);
}

.vn-home-page .app-directory-item {
  min-width: 0;
  border-color: #d7e1ee;
  background: #fbfdff;
  box-shadow: 0 14px 36px -23px #18293b57;
}

.app-directory-item h3 {
  font-size: clamp(1.3rem, 1.55vw, 1.6rem);
}

.app-directory-item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.35;
}

.app-directory-item .app-links {
  margin-top: auto;
  padding-top: 0.125rem;
}

.vn-home-page .app-links {
  gap: var(--home-action-gap);
}

.vn-home-page .app-action {
  min-height: var(--home-compact-height);
  padding: 0.5rem 0.7rem;
  font-size: 0.875rem;
  box-shadow: none;
}

.app-directory-item .app-action {
  white-space: normal;
  overflow-wrap: break-word;
}

.vn-home-page .app-directory-item:focus-within {
  box-shadow: var(--glass-glow);
}

/* Individual transforms let hover lift the entire card during its scroll entrance. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .vn-home-page .vn-card-grid > .app-card {
    scale: 1;
    translate: 0 0;
    transition: scale 200ms ease-out, translate 200ms ease-out;
  }

  .vn-home-page .vn-card-grid > .app-card:hover {
    z-index: 1;
    border-color: #3f75c94d;
    scale: 1.025;
    translate: 0 -4px;
    transition: scale 460ms cubic-bezier(0.2, 1.9, 0.4, 1), translate 230ms ease-out;
  }
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--home-action-gap);
  margin-top: 0.6rem;
}

.game-row > h3 {
  margin: 1.5rem 0 1rem;
  font-size: 1.35rem;
}

.vn-home-page .app-card-media::after {
  content: none;
}

.vn-home-page .profile-image {
  border-radius: 12px;
}

.vn-home-page .presentations-section {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.vn-home-page :is(.presentation-list article, .profile-panel, .support-form) {
  border-radius: 12px;
  box-shadow: none;
}

.vn-home-page .support-form :is(input, select, textarea) {
  min-height: var(--component-button-height, 3rem);
  border-color: var(--line);
  padding: 0.6rem 0.8rem;
  font-weight: 500;
}

.vn-home-page .support-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: right calc(0.8rem + 5px) center, right 0.8rem center;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  padding-inline-end: 2rem;
}

.vn-home-page .support-form :is(input, select, textarea):focus {
  border-color: var(--accent);
}

@media (forced-colors: active) {
  .vn-home-page .support-form select {
    appearance: auto;
    background-image: none;
  }
}

.vn-home-page :is(a, button, input, select, textarea, [tabindex="0"]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: var(--glass-glow);
}

.vn-home-page .screenshot-track:focus-visible {
  outline-offset: -3px;
}

@media (hover: hover) and (pointer: fine) {
  .vn-home-page :is(a, button:not(:disabled), input, select, textarea, .app-card):hover {
    box-shadow: var(--glass-glow);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .vn-home-page :is(.app-index a, .screenshot-button, .screenshot-dot, .text-link, .site-footer a, input, select, textarea) {
    transition: background-color 170ms ease, box-shadow 170ms ease, outline-color 170ms ease;
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-block-size: auto;
    gap: 1.75rem;
  }
}

@media (min-width: 761px) and (max-width: 860px) and (max-height: 520px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .vn-home-page .section {
    padding-block: clamp(2.8rem, 9vw, 4rem);
  }

  .vn-home-page .section-heading {
    margin-bottom: 1.25rem;
  }

  .vn-home-page .section-heading h2 {
    font-size: clamp(1.85rem, 7vw, 2.7rem);
  }

  .vn-home-page .game-row {
    margin-top: 1rem;
    border-top: 1px solid var(--line);
  }

  .support-layout,
  .support-layout .support-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-form-actions .button {
    width: 100%;
  }

  .vn-home-page .featured-section {
    --featured-columns: minmax(0, 1fr);
    --featured-gap: 1.15rem;
    --featured-media-width: 100%;
  }

  .featured-section .screenshot-card {
    grid-template-rows: auto 1fr;
    align-items: start;
  }

  .featured-section .screenshot-media {
    grid-row: 1;
    width: 100%;
    box-shadow: none;
  }

  .featured-section .screenshot-media img {
    filter: drop-shadow(0 8px 12px #0a130f55);
  }

  .featured-section .screenshot-card-copy h2 { font-size: clamp(2.15rem, 7vw, 3.35rem); }
}

@media (max-width: 760px), (max-width: 960px) and (pointer: coarse) {
  .featured-section .chapter-content {
    display: flex;
    flex-direction: column;
  }

  .featured-section .screenshot-controls {
    order: -1;
    width: fit-content;
    margin: 0 auto 0.75rem;
    grid-template-columns: auto auto;
  }

  .featured-section .screenshot-dots { display: none; }
}

@media (max-width: 560px) {
  .hero {
    padding-block: 2rem;
  }

  .app-index ul {
    gap: 0.25rem 0.45rem;
  }
}

@media (max-width: 420px) {
  .vn-home-page :is(.hero-actions, .featured-actions) > .button {
    font-size: 0.9375rem;
  }

}
