/* ==========================================================================
   IO Tools - landing page design system
   Palette sampled from the supplied reference: #e9e9e9 canvas, white sheets,
   #f7f7f7 panels, #f0f0f0 chips, bright blue accent, two-tone headings.
   Standalone - shares no tokens with styles.css / common-layout.css.
   ========================================================================== */

.io-landing {
  color-scheme: light;

  /* Surfaces */
  --canvas: #e9e9e9;
  --sheet: #ffffff;
  --panel: #f7f7f7;
  --chip: #f0f0f0;
  --chip-hover: #e7e7e7;

  /* Lines */
  --line: #e8e8e8;
  --line-2: #dcdcdc;

  /* Ink */
  --ink: #0a0a0a;
  --body: #4a4a4a;
  --soft: #7f7f7f;          /* second line of two-tone headings */
  --faint: #a3a3a3;

  /* Accent - reference blue #2482ff, deepened for AA text contrast on fills */
  --blue: #1668e0;
  --blue-hover: #0f57bd;
  --blue-bright: #2482ff;   /* decorative only: bars, dots, glows */
  --blue-soft: #eaf2ff;
  --on-blue: #ffffff;

  --ok: #16a34a;
  --warn: #d97706;

  --shadow-xs: 0 1px 2px rgba(10, 10, 10, 0.05);
  --shadow-sm: 0 2px 6px rgba(10, 10, 10, 0.05), 0 1px 2px rgba(10, 10, 10, 0.04);
  --shadow-md: 0 12px 32px rgba(10, 10, 10, 0.08);

  /* Same stack as styles.css - no web font, so the home page loads nothing extra. */
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  /* Headings only: geometric system faces. Avenir Next on macOS, Century Gothic
     on Windows, Futura as the older Apple fallback - no web font is loaded. */
  --display: "Avenir Next", "Century Gothic", Futura, "Trebuchet MS", var(--sans);

  --shell: 1200px;
  --gutter: clamp(20px, 3.6vw, 56px);
  --block-radius: 28px;
  --card-radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

html.dark-theme .io-landing {
  color-scheme: dark;

  --canvas: #0b0b0c;
  --sheet: #141416;
  --panel: #1b1b1e;
  --chip: #222226;
  --chip-hover: #2a2a2f;

  --line: #26262b;
  --line-2: #33333a;

  --ink: #f7f7f8;
  --body: #b6b6bd;
  --soft: #7f7f88;
  --faint: #6a6a73;

  --blue: #4d93ff;
  --blue-hover: #6ba5ff;
  --blue-bright: #4d93ff;
  --blue-soft: rgba(77, 147, 255, 0.14);
  --on-blue: #06152c;

  --shadow-xs: none;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------- base --- */

.io-landing *,
.io-landing *::before,
.io-landing *::after {
  box-sizing: border-box;
}

.io-landing {
  -webkit-text-size-adjust: 100%;
}

.io-landing {
  margin: 0;
  padding: 10px;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.io-landing h1,
.io-landing h2,
.io-landing h3,
.io-landing h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

/* Display faces are wider and rounder than the UI stack, so they need less
   negative tracking. h3/h4 stay on the body stack - too small to carry it. */
.io-landing h1,
.io-landing h2 {
  font-family: var(--display);
  letter-spacing: -0.02em;
}

.io-landing h1 em,
.io-landing h2 em,
.io-landing h3 em {
  font-style: normal;
  font-weight: inherit;
  color: var(--soft);
}

.io-landing p {
  margin: 0;
  text-wrap: pretty;
}

.io-landing a {
  color: inherit;
  text-decoration: none;
}

.io-landing ul,
.io-landing ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.io-landing button,
.io-landing input,
.io-landing textarea {
  font: inherit;
  color: inherit;
}

.io-landing svg {
  display: block;
  flex: none;
}

.io-landing ::selection {
  background: var(--blue);
  color: #fff;
}

.io-landing :focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

.io-landing .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Stacked rounded blocks on the grey canvas */
.io-landing .block {
  background: var(--sheet);
  border-radius: var(--block-radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.io-landing .block-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 88px) var(--gutter);
}

/* ------------------------------------------------------------- pieces --- */

.io-landing .section-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.io-landing .section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
}

.io-landing .section-head p {
  margin-top: 16px;
  color: var(--body);
  font-size: 1rem;
}

.io-landing .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: var(--on-blue);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.io-landing .btn:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.io-landing .btn:active {
  transform: translateY(0);
}

.io-landing .pillrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 30px;
}

.io-landing .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--sheet);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-xs);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  transition: box-shadow 0.18s var(--ease), background-color 0.18s var(--ease);
}

.io-landing .pill svg {
  color: var(--faint);
}

.io-landing .pill:hover {
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm);
}

/* On the dark canvas a hairline alone is too faint to read as a control. */
html.dark-theme .io-landing .pill {
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

html.dark-theme .io-landing .pill:hover {
  background: var(--chip);
}

.io-landing .pill:hover svg {
  color: var(--blue);
}

/* --------------------------------------------------------------- hero --- */

.io-landing .hero {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(44px, 5.4vw, 76px) var(--gutter) 0;
  text-align: center;
}

.io-landing .hero h1 {
  margin: 22px auto 0;
  max-width: 22ch;
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
}

.io-landing .hero-lede {
  margin: 20px auto 0;
  max-width: 60ch;
  color: var(--body);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
}

.io-landing .hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

/* App frame -------------------------------------------------------------- */

.io-landing .frame {
  max-width: calc(var(--shell) - 40px);
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 12px;
  border-radius: 22px;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--panel) 0 6px,
      transparent 6px 12px
    );
  box-shadow: inset 0 0 0 1px var(--line);
}

.io-landing .app {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 420px;
  border-radius: 14px;
  background: var(--sheet);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md);
  overflow: hidden;
  text-align: left;
}

.io-landing .app-rail {
  border-right: 1px solid var(--line);
  background: var(--panel);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.io-landing .app-rail .lab {
  padding: 6px 10px 8px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--faint);
}

.io-landing .rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--body);
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.io-landing .rail-item .n {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--faint);
}

.io-landing .rail-item:hover {
  background: var(--sheet);
  color: var(--ink);
}

.io-landing .rail-foot {
  margin-top: auto;
  padding: 10px;
  font-size: 0.76rem;
  color: var(--faint);
}

.io-landing .app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.io-landing .app-search {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.io-landing .app-search svg {
  color: var(--faint);
}

.io-landing .app-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
}

.io-landing .app-search input:focus {
  outline: none;
}

.io-landing .app-search input::placeholder {
  color: var(--faint);
}

.io-landing .app-search .kbd {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--chip);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--soft);
}

.io-landing .app-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  flex: 1;
  min-height: 0;
}

.io-landing .app-results {
  padding: 12px;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.io-landing .results-head {
  display: flex;
  justify-content: space-between;
  padding: 4px 8px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.io-landing .result > a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 10px;
  transition: background-color 0.14s var(--ease);
}

.io-landing .result > a:hover,
.io-landing .result.is-active > a {
  background: var(--blue-soft);
}

.io-landing .rs-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--chip);
  color: var(--body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0;
}

.io-landing .result > a:hover .rs-mark,
.io-landing .result.is-active > a .rs-mark {
  background: var(--blue);
  color: #fff;
}

.io-landing .rs-name {
  flex: 1;
  min-width: 0;
  font-size: 0.885rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.io-landing .rs-cat {
  font-size: 0.72rem;
  color: var(--faint);
  white-space: nowrap;
}

.io-landing .results-empty {
  padding: 16px 10px;
  color: var(--body);
  font-size: 0.88rem;
}

/* Live panel inside the app frame */
.io-landing .app-live {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
  background: var(--panel);
}

.io-landing .live-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.io-landing .live-head .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--blue-bright);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}

.io-landing .live-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.io-landing .live-tabs button {
  min-height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: var(--sheet);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--body);
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.io-landing .live-tabs button:hover {
  background: var(--chip);
}

.io-landing .live-tabs button[aria-selected="true"] {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}

.io-landing .live-io label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.io-landing .live-io textarea {
  width: 100%;
  min-height: 64px;
  padding: 10px 11px;
  border: 0;
  border-radius: 10px;
  background: var(--sheet);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.6;
  resize: vertical;
}

.io-landing .live-io textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.io-landing .live-out {
  min-height: 64px;
  max-height: 110px;
  overflow: auto;
  padding: 10px 11px;
  border-radius: 10px;
  background: var(--sheet);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--blue);
  word-break: break-all;
  white-space: pre-wrap;
}

.io-landing .live-out[data-state="error"] {
  color: #c02626;
}

html.dark-theme .io-landing .live-out[data-state="error"] {
  color: #ff9b8a;
}

.io-landing .live-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: var(--faint);
}

.io-landing .live-meta b {
  color: var(--ok);
  font-weight: 600;
}

.io-landing .mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: var(--sheet);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.16s var(--ease);
}

.io-landing .mini-btn:hover {
  background: var(--chip);
}

.io-landing .mini-btn[data-copied="true"] {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}

/* -------------------------------------------------------------- stats --- */

.io-landing .stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin: clamp(36px, 4vw, 56px) auto 0;
  padding-inline: var(--gutter);
}

.io-landing .stats div {
  padding: 20px 22px;
  border-radius: var(--card-radius);
  background: var(--panel);
}

.io-landing .stats dt {
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.io-landing .stats dd {
  margin: 8px 0 0;
  font-size: 0.83rem;
  color: var(--soft);
}

/* --------------------------------------------------------- categories --- */

.io-landing .cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.io-landing .cat {
  position: relative;
  padding: 20px;
  border-radius: var(--card-radius);
  background: var(--panel);
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.io-landing .cat:hover {
  background: var(--chip);
  transform: translateY(-2px);
}

.io-landing .cat-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--sheet);
  color: var(--blue);
  box-shadow: var(--shadow-xs);
}

.io-landing .cat h3 {
  font-size: 0.98rem;
  font-weight: 600;
}

.io-landing .cat p {
  margin-top: 6px;
  font-size: 0.83rem;
  color: var(--soft);
}

.io-landing .cat .n {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.78rem;
  color: var(--faint);
}

/* ----------------------------------------------------------- features --- */

.io-landing .features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.io-landing .feature {
  padding: 26px 26px 0;
  border-radius: 22px;
  background: var(--panel);
  overflow: hidden;
}

.io-landing .feature h3 {
  font-size: 1.22rem;
}

.io-landing .feature p {
  margin-top: 10px;
  color: var(--body);
  font-size: 0.93rem;
  max-width: 46ch;
}

.io-landing .feature-visual {
  margin-top: 22px;
  padding: 14px;
  border-radius: 14px 14px 0 0;
  background: var(--sheet);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.75;
  color: var(--body);
  overflow: hidden;
}

.io-landing .feature-visual .k {
  color: var(--faint);
}

.io-landing .feature-visual .v {
  color: var(--blue);
}

.io-landing .feature-visual .g {
  color: var(--ok);
}

.io-landing .fv-row {
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.io-landing .fv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--sans);
}

.io-landing .fv-chips span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--panel);
  font-size: 0.75rem;
  color: var(--body);
}

.io-landing .fv-chips span.on {
  background: var(--blue);
  color: #fff;
}

.io-landing .fv-meter {
  display: grid;
  gap: 9px;
  margin: 14px 0 4px;
}

.io-landing .fv-meter .track {
  height: 8px;
  border-radius: 999px;
  background: var(--chip);
  overflow: hidden;
}

.io-landing .fv-meter .track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--blue-bright);
}

/* ------------------------------------------------------------ popular --- */

.io-landing .popular {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.io-landing .pop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--panel);
  transition: background-color 0.16s var(--ease);
}

.io-landing .pop:hover {
  background: var(--chip);
}

.io-landing .pop-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--sheet);
  color: var(--body);
  font-size: 0.66rem;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}

.io-landing .pop:hover .pop-mark {
  background: var(--blue);
  color: #fff;
}

.io-landing .pop-name {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.io-landing .pop svg {
  color: var(--faint);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
}

.io-landing .pop:hover svg {
  opacity: 1;
  transform: none;
  color: var(--blue);
}

/* ---------------------------------------------------------------- cta --- */

.io-landing .cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(36px, 4.4vw, 60px) var(--gutter);
  max-width: var(--shell);
  margin-inline: auto;
}

.io-landing .cta h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.io-landing .cta p {
  margin-top: 16px;
  color: var(--body);
  max-width: 46ch;
}

.io-landing .cta-peek {
  border-radius: 16px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 16px;
  display: grid;
  gap: 9px;
}

.io-landing .peek-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--sheet);
  box-shadow: var(--shadow-xs);
  font-size: 0.85rem;
  font-weight: 500;
}

.io-landing .peek-row .m {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--chip);
  font-size: 0.6rem;
  font-weight: 700;
}

.io-landing .peek-row.on {
  box-shadow: inset 0 0 0 1px var(--blue), var(--shadow-sm);
}

.io-landing .peek-row.on .m {
  background: var(--blue);
  color: #fff;
}

.io-landing .peek-row span:last-child {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--faint);
  font-weight: 400;
}

/* ------------------------------------------------------------- motion --- */

.io-landing .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.io-landing .reveal.is-in {
  opacity: 1;
  transform: none;
}

.io-landing .reveal[data-delay="1"] {
  transition-delay: 70ms;
}

.io-landing .reveal[data-delay="2"] {
  transition-delay: 140ms;
}

/* --------------------------------------------------------- responsive --- */

@media (max-width: 1080px) {
  .io-landing .app {
    grid-template-columns: minmax(0, 1fr);
  }

  .io-landing .app-rail {
    display: none;
  }

  .io-landing .cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .io-landing .popular {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

}

@media (max-width: 900px) {
  .io-landing .features {
    grid-template-columns: minmax(0, 1fr);
  }

  .io-landing .app-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .io-landing .app-results {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

}

@media (max-width: 620px) {
  .io-landing {
    padding: 6px;
  }

  .io-landing .block {
    border-radius: 20px;
  }

  .io-landing .hero h1 {
    font-size: clamp(1.95rem, 8.6vw, 2.5rem);
    max-width: none;
  }

  .io-landing .hero-actions .btn {
    width: 100%;
  }

  .io-landing .frame {
    padding: 8px;
    border-radius: 16px;
  }

  .io-landing .cats {
    grid-template-columns: minmax(0, 1fr);
  }

  .io-landing .popular {
    grid-template-columns: minmax(0, 1fr);
  }

}

@media (prefers-reduced-motion: reduce) {
  .io-landing *,
  .io-landing *::before,
  .io-landing *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .io-landing .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------ shell integration bits --- */

.io-landing .live-panel {
  display: grid;
  gap: 11px;
}

.io-landing .live-actions {
  display: flex;
  gap: 8px;
}

.io-landing .fv-row.fv-split {
  justify-content: space-between;
}

.io-landing .hero-tail {
  height: clamp(48px, 6vw, 88px);
}

.io-landing .block-last {
  margin-bottom: 0;
}

/* --------------------------------------------- overrides for styles.css ---
   styles.css already owns .hero and .btn. These re-declare only
   the properties it sets that this layout does not, so nothing leaks through. */

.io-landing .hero {
  display: block;
}

.io-landing .hero h1 {
  font-weight: 600;
  margin-bottom: 0;
}

.io-landing .btn {
  font-family: inherit;
}
