/* Chrome Extensions — premium tech terminal theme */
.apps {
  --ax-bg: #030508;
  --ax-surface: #0a0e17;
  --ax-panel: #0f1522;
  --ax-glass: rgba(15, 21, 34, 0.72);
  --ax-ink: #eef2f8;
  --ax-muted: #6d7d94;
  --ax-line: rgba(109, 125, 148, 0.14);
  --ax-line-bright: rgba(34, 211, 238, 0.22);
  --ax-glow: #22d3ee;
  --ax-green: #00e5a0;
  --ax-red: #ff3b47;
  --ax-display: 'Space Grotesk', system-ui, sans-serif;
  --ax-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ax-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ax-header: 52px;
  --radius-pill: 9999px;
  --radius-soft: 20px;
  --radius-xs: 12px;
}

.apps {
  position: relative;
  min-height: 100vh;
  font-family: var(--ax-display);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ax-ink);
  background: var(--ax-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ax-header) + 16px); }

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

.apps img { display: block; max-width: 100%; height: auto; }
.apps a { color: inherit; text-decoration: none; }
.apps ul { list-style: none; margin: 0; padding: 0; }

.apps :focus-visible {
  outline: 2px solid var(--ax-glow);
  outline-offset: 3px;
}

/* ─── Ambient scene ─── */
.apps-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.apps-grid-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% -10%, black 20%, transparent 75%);
}

.apps-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: ax-drift 18s ease-in-out infinite alternate;
}

.apps-orb--cyan {
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  top: -12%;
  right: -8%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 68%);
}

.apps-orb--green {
  width: min(400px, 55vw);
  height: min(400px, 55vw);
  bottom: 8%;
  left: -10%;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.22), transparent 70%);
  animation-delay: -6s;
}

.apps-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.012) 2px,
    rgba(255, 255, 255, 0.012) 4px
  );
  opacity: 0.35;
}

@keyframes ax-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, -18px) scale(1.06); }
}

.apps > *:not(.apps-scene) { position: relative; z-index: 1; }

.apps-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ─── Reveal ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ax-ease), transform 0.7s var(--ax-ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .apps-orb { animation: none; }
}

/* ─── HUD header ─── */
.apps-hud {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--ax-line);
  background: rgba(3, 5, 8, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
}

.apps-hud__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  min-height: var(--ax-header);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
}

.apps-hud__brand {
  font-family: var(--ax-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.apps-hud__mark {
  color: var(--ax-glow);
  margin-right: 6px;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
}

.apps-hud__slash { color: var(--ax-muted); }

.apps-hud__status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.apps-hud__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-family: var(--ax-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ax-muted);
  border: 1px solid var(--ax-line);
  border-radius: var(--radius-pill);
  background: rgba(10, 14, 23, 0.8);
}

.apps-hud__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ax-green);
  box-shadow: 0 0 10px var(--ax-green);
  animation: ax-pulse 2.4s ease-in-out infinite;
}

@keyframes ax-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.apps-hud__nav {
  display: flex;
  gap: 22px;
  font-family: var(--ax-mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ax-muted);
}

.apps-hud__nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.apps-hud__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ax-glow), var(--ax-green));
  transform: scaleX(0);
  transition: transform 0.25s var(--ax-ease);
}

.apps-hud__nav a:hover,
.apps-hud__nav a.is-active { color: var(--ax-ink); }

.apps-hud__nav a.is-active::after { transform: scaleX(1); }

.apps-hud .lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
}

.apps-hud .lang-switch__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ax-muted);
  font: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 999px;
  cursor: pointer;
}

.apps-hud .lang-switch__btn.is-active {
  background: var(--ax-glow);
  color: #041016;
}

/* ─── Section heads ─── */
.apps-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(36px, 5vw, 52px);
}

.apps-section-head__label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  font-family: var(--ax-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ax-glow);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(34, 211, 238, 0.05);
}

.apps-section-head h2 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.apps-section-head p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ax-muted);
}

/* ─── Boot hero ─── */
.apps-boot {
  position: relative;
  padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 64px);
}

.apps-boot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: min(900px, 100%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ax-line-bright), transparent);
}

.apps-boot__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(28px, 4vw, 44px);
  align-items: stretch;
}

.apps-boot__cmd {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 10px 16px;
  font-family: var(--ax-mono);
  font-size: 0.76rem;
  color: var(--ax-green);
  background: rgba(0, 229, 160, 0.06);
  border: 1px solid rgba(0, 229, 160, 0.18);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 24px rgba(0, 229, 160, 0.04);
}

.apps-prompt { color: var(--ax-red); }

.apps-boot h1 {
  font-size: clamp(2.35rem, 6vw, 4.15rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
}

.apps-glow {
  background: linear-gradient(105deg, var(--ax-glow) 0%, #7dd3fc 35%, var(--ax-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.apps-boot__desc {
  margin: 0 0 28px;
  max-width: 54ch;
  font-size: 1.08rem;
  color: var(--ax-muted);
  line-height: 1.75;
}

.apps-boot__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.apps-pill {
  padding: 6px 12px;
  font-family: var(--ax-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ax-muted);
  border: 1px solid var(--ax-line);
  border-radius: var(--radius-pill);
  background: rgba(10, 14, 23, 0.6);
}

.apps-pill--live {
  color: var(--ax-green);
  border-color: rgba(0, 229, 160, 0.25);
  background: rgba(0, 229, 160, 0.06);
}

.apps-boot__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.apps-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--ax-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ax-ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.apps-btn:hover { transform: translateY(-2px); }

.apps-btn--glow {
  color: var(--ax-bg);
  background: linear-gradient(135deg, var(--ax-glow), #38bdf8);
  box-shadow: 0 4px 28px rgba(34, 211, 238, 0.35);
}

.apps-btn--glow:hover {
  box-shadow: 0 8px 36px rgba(34, 211, 238, 0.45);
}

.apps-btn--line {
  background: transparent;
  color: var(--ax-muted);
  border-color: var(--ax-line);
}

.apps-btn--line:hover {
  color: var(--ax-ink);
  border-color: rgba(109, 125, 148, 0.35);
  background: rgba(255, 255, 255, 0.02);
}

/* System readout panel */
.apps-boot__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ax-glass);
  border: 1px solid var(--ax-line);
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.06) inset,
    0 32px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.apps-boot__panel::before,
.apps-boot__panel::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(34, 211, 238, 0.35);
  border-style: solid;
  pointer-events: none;
}

.apps-boot__panel::before {
  top: 10px;
  left: 10px;
  border-width: 2px 0 0 2px;
}

.apps-boot__panel::after {
  bottom: 10px;
  right: 10px;
  border-width: 0 2px 2px 0;
}

.apps-panel__head {
  padding: 12px 18px;
  font-family: var(--ax-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ax-muted);
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--ax-line);
}

.apps-readout { padding: 6px 0; flex: 1; }

.apps-readout li { border-bottom: 1px solid var(--ax-line); }
.apps-readout li:last-child { border-bottom: 0; }

.apps-readout a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  transition: background 0.2s, padding-left 0.2s;
}

.apps-readout a:hover {
  background: rgba(34, 211, 238, 0.05);
  padding-left: 22px;
}

.apps-readout img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--ax-line);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.apps-readout__name {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
}

.apps-readout__cat {
  display: block;
  font-family: var(--ax-mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ax-muted);
  margin-top: 2px;
}

.apps-readout__state {
  font-family: var(--ax-mono);
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  color: var(--ax-green);
  text-shadow: 0 0 12px rgba(0, 229, 160, 0.4);
}

.apps-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-top: 1px solid var(--ax-line);
}

.apps-metrics > div {
  padding: 16px 18px;
  border-right: 1px solid var(--ax-line);
  border-bottom: 1px solid var(--ax-line);
}

.apps-metrics > div:nth-child(2n) { border-right: 0; }
.apps-metrics > div:nth-last-child(-n+2) { border-bottom: 0; }

.apps-metrics dt {
  font-family: var(--ax-mono);
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ax-muted);
  margin-bottom: 6px;
}

.apps-metrics dd {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--ax-ink), var(--ax-muted));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.apps-metrics > div:first-child dd {
  background: linear-gradient(180deg, var(--ax-glow), #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ─── Architecture ─── */
.apps-arch {
  padding: clamp(20px, 4vw, 40px) 0 clamp(48px, 6vw, 72px);
}

.apps-arch__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.apps-arch__cell {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--ax-glass);
  border: 1px solid var(--ax-line);
  border-radius: var(--radius-soft);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, transform 0.3s var(--ax-ease), box-shadow 0.3s;
  overflow: hidden;
}

.apps-arch__cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ax-glow), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.apps-arch__cell:hover {
  transform: translateY(-4px);
  border-color: var(--ax-line-bright);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.apps-arch__cell:hover::before { opacity: 1; }

.apps-arch__num {
  display: block;
  font-family: var(--ax-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ax-glow);
  margin-bottom: 14px;
}

.apps-arch__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: var(--ax-glow);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.15);
}

.apps-arch__cell h3 {
  font-family: var(--ax-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ax-ink);
  margin: 0 0 10px;
}

.apps-arch__cell p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ax-muted);
  line-height: 1.65;
}

/* ─── Registry ─── */
.apps-registry {
  padding: clamp(16px, 3vw, 28px) 0 clamp(72px, 9vw, 108px);
}

.apps-registry__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(32px, 4vw, 44px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ax-line);
}

.apps-registry__head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

.apps-registry__meta {
  margin: 0;
  font-family: var(--ax-mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ax-muted);
}

.apps-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.apps-bento__tile {
  --tile-accent: var(--ax-glow);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px;
  min-height: 148px;
  background: var(--ax-panel);
  border: 1px solid var(--ax-line);
  border-radius: var(--radius-soft);
  overflow: hidden;
  transition: transform 0.3s var(--ax-ease), border-color 0.3s, box-shadow 0.3s;
}

.apps-bento__tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--tile-accent) 18%, transparent), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
}

.apps-bento__tile:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--tile-accent) 45%, var(--ax-line));
  box-shadow: 0 16px 48px color-mix(in srgb, var(--tile-accent) 12%, transparent);
}

.apps-bento__tile:hover::before { opacity: 1; }

.apps-bento__idx {
  font-family: var(--ax-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--tile-accent);
  opacity: 0.85;
}

.apps-bento__tile img {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  border: 1px solid var(--ax-line);
  position: relative;
  z-index: 1;
}

.apps-bento__tile strong {
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.apps-bento__tile span:last-child {
  font-family: var(--ax-mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tile-accent);
  position: relative;
  z-index: 1;
}

/* ─── Module cards ─── */
.apps-mods {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
}

.apps-mod {
  --mod-accent: var(--ax-glow);
  position: relative;
  background: var(--ax-glass);
  border: 1px solid var(--ax-line);
  border-radius: var(--radius-soft);
  overflow: hidden;
  scroll-margin-top: calc(var(--ax-header) + 20px);
  backdrop-filter: blur(10px);
  transition: border-color 0.35s, box-shadow 0.35s;
}

.apps-mod::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mod-accent), color-mix(in srgb, var(--mod-accent) 30%, transparent));
}

.apps-mod:hover {
  border-color: color-mix(in srgb, var(--mod-accent) 35%, var(--ax-line));
  box-shadow:
    0 0 60px color-mix(in srgb, var(--mod-accent) 8%, transparent),
    0 24px 60px rgba(0, 0, 0, 0.4);
}

.apps-mod__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  font-family: var(--ax-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ax-muted);
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid var(--ax-line);
}

.apps-mod__id { color: var(--mod-accent); font-weight: 600; }

.apps-mod__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ax-green);
}

.apps-mod__status em {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  font-style: normal;
}

.apps-mod__cat {
  margin-left: auto;
  padding: 4px 10px;
  color: var(--mod-accent);
  border: 1px solid color-mix(in srgb, var(--mod-accent) 30%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--mod-accent) 8%, transparent);
}

.apps-mod__grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(28px, 3.5vw, 36px);
  align-items: start;
}

.apps-mod--flip .apps-mod__grid { grid-template-columns: 1fr 240px; }
.apps-mod--flip .apps-mod__visual { order: 2; }
.apps-mod--flip .apps-mod__content { order: 1; }

.apps-mod__visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apps-mod__icon {
  position: relative;
  padding: 14px;
  background: var(--ax-panel);
  border: 1px solid var(--ax-line);
  border-radius: var(--radius-soft);
}

.apps-mod__icon::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--mod-accent) 25%, transparent), transparent 65%);
  pointer-events: none;
}

.apps-mod__icon img {
  width: 100%;
  border-radius: 14px;
  position: relative;
  z-index: 1;
}

.apps-mod__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.apps-mod__stack span {
  padding: 5px 10px;
  font-family: var(--ax-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ax-muted);
  border: 1px solid var(--ax-line);
  border-radius: var(--radius-pill);
  background: rgba(3, 5, 8, 0.5);
}

.apps-mod__content h3 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 8px;
}

.apps-mod__tagline {
  margin: 0 0 16px;
  font-family: var(--ax-mono);
  font-size: 0.84rem;
  color: var(--mod-accent);
}

.apps-mod__summary {
  margin: 0 0 22px;
  color: var(--ax-muted);
  line-height: 1.75;
  max-width: 64ch;
  font-size: 1.02rem;
}

.apps-mod__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.apps-mod__specs li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
  color: var(--ax-muted);
  line-height: 1.5;
}

.apps-mod__specs li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--mod-accent);
  font-family: var(--ax-mono);
  font-weight: 600;
}

.apps-mod__note {
  margin: 0 0 24px;
  padding: 14px 16px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ax-muted);
  background: rgba(3, 5, 8, 0.55);
  border-left: 3px solid var(--mod-accent);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

.apps-mod__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.apps-install {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--ax-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ax-bg);
  background: var(--mod-accent);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 24px color-mix(in srgb, var(--mod-accent) 30%, transparent);
  transition: transform 0.2s, box-shadow 0.2s;
}

.apps-install:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px color-mix(in srgb, var(--mod-accent) 40%, transparent);
}

.apps-store {
  font-family: var(--ax-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ax-muted);
  transition: color 0.2s;
}

.apps-store:hover { color: var(--mod-accent); }

/* ─── Support / FAQ ─── */
.apps-support {
  padding: clamp(64px, 8vw, 96px) 0;
  background: linear-gradient(180deg, transparent, rgba(10, 14, 23, 0.65) 12%, rgba(10, 14, 23, 0.85));
  border-top: 1px solid var(--ax-line);
}

.apps-support__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 56px);
  align-items: start;
}

.apps-support__intro h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.apps-support__intro p {
  margin: 0;
  color: var(--ax-muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.apps-support__label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 11px;
  font-family: var(--ax-mono);
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ax-glow);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(34, 211, 238, 0.05);
}

.apps-terminal {
  padding: clamp(20px, 3vw, 28px);
  background: var(--ax-glass);
  border: 1px solid var(--ax-line);
  border-radius: var(--radius-soft);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.04) inset;
  backdrop-filter: blur(10px);
}

.apps-qa { border-top: 1px solid var(--ax-line); }

.apps-qa details { border-bottom: 1px solid var(--ax-line); }

.apps-qa details:last-child { border-bottom: 0; }

.apps-qa summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 4px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s;
}

.apps-qa summary:hover { color: var(--ax-glow); }

.apps-qa summary::-webkit-details-marker { display: none; }

.apps-qa summary::before {
  content: "Q›";
  font-family: var(--ax-mono);
  font-size: 0.72rem;
  color: var(--ax-glow);
  flex-shrink: 0;
  margin-right: 6px;
}

.apps-qa summary::after {
  content: "+";
  font-family: var(--ax-mono);
  font-size: 1.15rem;
  color: var(--ax-muted);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.apps-qa details[open] summary::after {
  content: "−";
  color: var(--ax-glow);
}

.apps-qa__answer {
  padding: 0 4px 20px 32px;
  color: var(--ax-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.apps-qa__answer a {
  color: var(--ax-glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Footer ─── */
.apps-foot {
  padding: 32px 0 44px;
  border-top: 1px solid var(--ax-line);
  background: rgba(3, 5, 8, 0.9);
}

.apps-foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.apps-foot__brand {
  font-family: var(--ax-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ax-muted);
}

.apps-foot__brand strong {
  display: block;
  font-size: 0.82rem;
  color: var(--ax-ink);
  margin-bottom: 4px;
  letter-spacing: 0.12em;
}

.apps-foot__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apps-foot__stat {
  padding: 6px 12px;
  font-family: var(--ax-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ax-muted);
  border: 1px solid var(--ax-line);
  border-radius: var(--radius-pill);
}

@media (orientation: landscape) and (max-height: 520px) {
  .apps-boot {
    padding-top: clamp(48px, 8vw, 72px);
    padding-bottom: 40px;
  }

  .apps-boot h1 {
    font-size: clamp(1.65rem, 5vw, 2.75rem);
  }
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .apps-boot__grid { grid-template-columns: 1fr; }
  .apps-arch__grid { grid-template-columns: 1fr; }
  .apps-support__layout { grid-template-columns: 1fr; }
  .apps-bento { grid-template-columns: 1fr; }
  .apps-mod__specs { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .apps-hud__inner {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .apps-hud__status { display: none; }
  .apps-hud__nav {
    grid-column: 1 / -1;
    gap: 16px;
    padding-bottom: 8px;
  }

  .apps-mod__grid,
  .apps-mod--flip .apps-mod__grid { grid-template-columns: 1fr; }

  .apps-mod--flip .apps-mod__visual,
  .apps-mod--flip .apps-mod__content { order: unset; }

  .apps-mod__visual {
    flex-direction: row;
    align-items: center;
  }

  .apps-mod__icon { max-width: 96px; }

  .apps-foot__inner { flex-direction: column; text-align: center; }

  .apps-section-head {
    text-align: left;
    margin-inline: 0;
  }

  .apps-boot__line {
    display: block;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .apps-boot h1 {
    font-size: clamp(1.75rem, 7vw, 3rem);
    line-height: 1.08;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .apps-section-head h2,
  .apps-registry__head h2,
  .apps-support__intro h2 {
    white-space: normal;
    overflow-wrap: break-word;
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    line-height: 1.12;
  }

  .apps-section-head__label,
  .apps-boot__cmd {
    white-space: normal;
    letter-spacing: 0.1em;
  }

  .apps-btn,
  .apps-install {
    min-height: 44px;
    width: 100%;
    justify-content: center;
  }

  .apps-boot__cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .apps-mod__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .apps-mod__foot .apps-install,
  .apps-mod__foot .apps-store {
    text-align: center;
  }
}
/* Site breadcrumbs */
.apps .breadcrumb {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-family: var(--ax-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.apps .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.apps .breadcrumb li:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: var(--ax-muted);
  opacity: 0.6;
}
.apps .breadcrumb a { color: var(--ax-glow); }
.apps .breadcrumb a:hover { color: var(--ax-ink); }
.apps .breadcrumb li[aria-current="page"] { color: var(--ax-muted); }
