/* =========================================================================
 * shellX — theshellx.com landing
 * Design intent: production-grade dark, xAI-tier restraint, 8px grid,
 * single oxblood accent, characterful type, CSS-only motion + grain.
 *
 * Type pairing:
 *   - Fraunces (variable, optical-size + soft axis) — display, eyebrows
 *   - Onest (variable) — body / UI
 *   - JetBrains Mono — terminal mockups, code, metadata
 * ========================================================================= */

/* --- Reset / tokens ---------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Surfaces — deep black with a 2% lift on raised surfaces. */
  --bg-0: #050505;          /* page floor */
  --bg-1: #0a0a0a;          /* sections */
  --bg-2: #101010;          /* cards */
  --bg-3: #151515;          /* card hover / inset */
  --line: #1d1d1d;          /* hairline rules */
  --line-strong: #2a2a2a;   /* card borders */

  /* Ink. */
  --ink-0: #f5f5f4;         /* primary white */
  --ink-1: #c8c7c4;         /* secondary */
  --ink-2: #8a8985;         /* tertiary */
  --ink-3: #555452;         /* quaternary, dividers labels */
  --ink-4: #2f2e2c;         /* near-bg, scaffolding */

  /* Accent — oxblood. Used in <=2 spots per viewport. */
  --accent: #c8423a;
  --accent-hot: #e25149;
  --accent-dim: #8a2620;

  /* Grid + rhythm — strict 8px. */
  --unit: 8px;
  --col-gap: 24px;
  --max: 1240px;

  /* Type ramp. */
  --display: "Fraunces", "Times New Roman", serif;
  --body: "Onest", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Motion. */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html {
  background: var(--bg-0);
  color: var(--ink-0);
  font-family: var(--body);
  font-feature-settings: "ss01", "ss02", "cv11";
  font-variation-settings: "wght" 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Global noise grain — CSS only, no images, no JS. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Subtle radial spotlight, single instance, anchored top-center. */
body::after {
  content: "";
  position: fixed;
  top: -20vh;
  left: 50%;
  width: 1400px;
  height: 1400px;
  transform: translateX(-50%);
  background: radial-gradient(
    circle at center,
    rgba(200, 66, 58, 0.06) 0%,
    rgba(200, 66, 58, 0.02) 25%,
    transparent 55%
  );
  pointer-events: none;
  z-index: -1;
}

/* Selection. */
::selection {
  background: var(--accent);
  color: #000;
}

/* --- Typography classes ------------------------------------------------ */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}

.eyebrow .accent {
  color: var(--accent);
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 350;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-0);
}

.h-display {
  font-size: clamp(48px, 7vw, 104px);
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 320;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.h-section {
  font-size: clamp(36px, 5vw, 64px);
  font-variation-settings: "opsz" 144, "SOFT" 20, "wght" 340;
  letter-spacing: -0.035em;
}

.h-card {
  font-family: var(--body);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

p {
  color: var(--ink-1);
  font-size: 17px;
  line-height: 1.55;
  max-width: 60ch;
}

.lede {
  font-size: 21px;
  color: var(--ink-1);
  line-height: 1.45;
  max-width: 62ch;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Layout primitives -------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
  padding: clamp(96px, 14vh, 160px) 0;
  border-top: 1px solid var(--line);
}

section:first-of-type {
  border-top: 0;
}

.row {
  display: grid;
  gap: var(--col-gap);
}

/* --- Nav ---------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--max);
  margin: 0 auto;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.nav-brand img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.nav-brand .name {
  font-feature-settings: "ss01";
}

.nav-brand .name strong {
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--ink-1);
  letter-spacing: -0.005em;
}

.nav-links a {
  transition: color 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--ink-0);
}

.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--ink-0);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-cta:hover {
  border-color: var(--accent);
  background: rgba(200, 66, 58, 0.08);
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
}

/* --- Hero -------------------------------------------------------------- */
.hero {
  padding-top: clamp(96px, 18vh, 200px);
  padding-bottom: clamp(96px, 18vh, 200px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}

.hero-copy > * + * {
  margin-top: 24px;
}

.hero-mark {
  max-width: 480px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 60px rgba(200, 66, 58, 0.12));
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-tagline .pulse {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2.4s infinite var(--ease);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 66, 58, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(200, 66, 58, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 66, 58, 0);
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 3px;
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink-0);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--ink-0);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink-0);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--ink-0);
  background: rgba(255, 255, 255, 0.03);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* Hero side: asymmetric panel showing live transport indicator. */
.hero-panel {
  position: relative;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  padding: 32px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-1);
  box-shadow:
    0 32px 96px -32px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent) 50%,
    transparent 100%
  );
  opacity: 0.5;
}

.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-panel-head .dots {
  display: flex;
  gap: 6px;
}

.hero-panel-head .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-4);
}

.hero-panel-head .dot.live {
  background: var(--accent);
}

.line-num {
  color: var(--ink-3);
  display: inline-block;
  width: 24px;
  user-select: none;
}

.tk-key { color: var(--ink-2); }
.tk-val { color: var(--ink-0); }
.tk-str { color: #c8a25e; }
.tk-acc { color: var(--accent-hot); }
.tk-com { color: var(--ink-3); font-style: italic; }

/* Stagger reveal — CSS-only, fires on load. */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal 0.9s var(--ease) forwards;
}

.reveal.d1 { animation-delay: 0.05s; }
.reveal.d2 { animation-delay: 0.18s; }
.reveal.d3 { animation-delay: 0.32s; }
.reveal.d4 { animation-delay: 0.46s; }
.reveal.d5 { animation-delay: 0.6s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-mark {
    max-width: 360px;
  }
}

/* --- Section heading block --------------------------------------------- */
.section-head {
  max-width: 720px;
  margin-bottom: 72px;
  display: grid;
  gap: 16px;
}

.section-head .h-section {
  margin-top: 8px;
}

/* --- Transports section ------------------------------------------------ */
.transports {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .transports {
    grid-template-columns: 1fr;
  }
}

/* Stop code/terminal blocks from forcing horizontal page overflow on narrow
   screens: white-space:pre lines can be wider than the viewport, so let the
   card shrink (min-width:0) and the preformatted block scroll inside itself. */
.tcard {
  min-width: 0;
}
.tcard .term,
.hero-panel {
  overflow-x: auto;
}

.tcard {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.tcard:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
}

.tcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tcard-head .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.tcard-head .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}

.tcard-head .badge::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.tcard h3 {
  font-family: var(--display);
  font-size: 30px;
  font-variation-settings: "opsz" 96, "SOFT" 20, "wght" 380;
  letter-spacing: -0.025em;
}

.tcard p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

.tcard .term {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px;
  color: var(--ink-1);
  margin-top: auto;
  min-height: 156px;
}

.tcard .term .prompt {
  color: var(--accent);
}

.tcard .term .ok {
  color: #6cb86f;
}

.tcard .term .dim {
  color: var(--ink-3);
}

/* --- Tooling section ---------------------------------------------------- */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.tool {
  grid-column: span 4;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

/* Asymmetric: feature tool spans wider on row one. */
.tool.feature {
  grid-column: span 8;
  background:
    linear-gradient(135deg, var(--bg-2) 0%, var(--bg-1) 100%);
}

.tool.span-6 {
  grid-column: span 6;
}

.tool:hover {
  border-color: var(--ink-3);
}

.tool .sig {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

.tool h4 {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-0);
}

.tool h4 .accent {
  color: var(--accent);
}

.tool p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

.tool .glyph {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-1);
}

.tool.feature h4 {
  font-family: var(--display);
  font-size: 32px;
  font-variation-settings: "opsz" 96, "SOFT" 20, "wght" 360;
  letter-spacing: -0.025em;
}

.tool.feature p {
  font-size: 16px;
  color: var(--ink-1);
  max-width: 52ch;
}

@media (max-width: 960px) {
  .tool,
  .tool.feature,
  .tool.span-6 {
    grid-column: span 12;
  }
}

/* --- Anti-features section --------------------------------------------- */
.anti {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 880px) {
  .anti {
    grid-template-columns: 1fr;
  }
}

.anti-list {
  list-style: none;
  display: grid;
  gap: 0;
}

.anti-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.anti-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.anti-list .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}

.anti-list .label {
  font-family: var(--body);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink-0);
}

.anti-list .label::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin: 0 10px 3px 6px;
}

.anti-list .label .strike {
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  color: var(--ink-2);
}

.anti-list .body {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 6px;
  line-height: 1.55;
}

/* --- Feature list (condensed, plain-language) -------------------------- */
.featgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--col-gap);
  margin-top: 48px;
}
.featgroup {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 28px;
}
.featgroup h4 {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-0);
  margin: 0 0 16px;
}
.featgroup ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.featgroup li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 11px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-1);
}
.featgroup li:last-child {
  margin-bottom: 0;
}
.featgroup li::before {
  /* oxblood square bullet, matching the accent rhythm used sparingly elsewhere */
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
}
@media (max-width: 900px) {
  .featgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .featgrid {
    grid-template-columns: 1fr;
  }
}

/* --- Specs section ----------------------------------------------------- */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
}

.spec {
  padding: 32px;
  border-right: 1px solid var(--line);
  background: var(--bg-1);
}

.spec:last-child {
  border-right: 0;
}

.spec .key {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 16px;
}

.spec .value {
  font-family: var(--display);
  font-size: 36px;
  font-variation-settings: "opsz" 96, "SOFT" 30, "wght" 320;
  letter-spacing: -0.025em;
  color: var(--ink-0);
  line-height: 1;
}

.spec .meta {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 10px;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .specs {
    grid-template-columns: 1fr 1fr;
  }
  .spec {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .spec:nth-child(2n) {
    border-right: 0;
  }
  .spec:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 540px) {
  .specs {
    grid-template-columns: 1fr;
  }
  .spec {
    border-right: 0 !important;
  }
}

/* --- Download CTA ------------------------------------------------------ */
.cta-band {
  position: relative;
  padding: clamp(96px, 14vh, 160px) 0;
  overflow: hidden;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(200, 66, 58, 0.12) 0%,
      transparent 55%
    );
  pointer-events: none;
}

.cta-band .h-section {
  max-width: 22ch;
  margin: 16px auto 24px;
}

.cta-band p {
  margin: 0 auto;
  text-align: center;
}

.cta-band .hero-actions {
  justify-content: center;
  margin-top: 40px;
}

.cta-meta {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* --- Footer ------------------------------------------------------------ */
footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 48px;
  background: var(--bg-0);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-grid h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-grid a {
  font-size: 14px;
  color: var(--ink-1);
  transition: color 0.2s var(--ease);
}

.footer-grid a:hover {
  color: var(--ink-0);
}

.footer-grid .about {
  max-width: 36ch;
}

.footer-grid .about p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

.footer-grid .about img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.footer-bottom .accent {
  color: var(--accent);
}

@media (max-width: 720px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* --- Utility ----------------------------------------------------------- */
.accent { color: var(--accent); }
.muted { color: var(--ink-2); }
.mono { font-family: var(--mono); }

/* Inline code can hold long unbroken strings (URLs, paths). Allow breaking so
   they wrap instead of forcing horizontal page overflow on narrow screens. */
code {
  overflow-wrap: anywhere;
}
.divider { display: inline-block; width: 24px; height: 1px; background: var(--ink-3); vertical-align: middle; margin: 0 12px 3px; }

/* === Redesign 2026-05-29: product screenshots + desktop-app framing ======
 * Repositions the page from "terminal app" to "full cross-platform desktop
 * app". Reuses the existing tokens/type/motion; adds only a centered hero,
 * a reusable framed-screenshot component (.appframe), and alternating
 * image/copy rows (.showrow) so future screenshots drop in trivially.
 * ========================================================================= */

/* Centered, screenshot-led hero. */
.hero-center {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.hero-center > * + * {
  margin-top: 24px;
}
.hero-center .lede,
.hero-center p {
  margin-left: auto;
  margin-right: auto;
}
.hero-actions.center {
  justify-content: center;
}
.hero-sub {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

/* Framed screenshot — faux titlebar (reuses the dot aesthetic) + image. */
.appframe {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.85);
  margin: 0;
}
.appframe-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.appframe-bar .dots {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}
.appframe-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-4);
}
.appframe-bar .dot.live {
  background: var(--accent);
}
/* Keep a long label from forcing horizontal overflow on narrow screens. */
.appframe-bar > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.appframe img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero composite: a finished poster, not a raw screenshot. Borderless with a
   soft shadow + accent glow so its blue-black canvas reads as a lifted product
   shot rather than a placeholder box seamed against the page floor. */
.hero-poster {
  position: relative;
  margin: clamp(48px, 6vw, 72px) auto 0;
  max-width: 1120px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 50px 140px -50px rgba(0, 0, 0, 0.9),
    0 0 90px -40px rgba(200, 66, 58, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.hero-poster::before {
  /* faint accent hairline along the top, echoing the .hero-panel motif */
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
  z-index: 1;
}
.hero-poster img {
  display: block;
  width: 100%;
  height: auto;
}

/* Alternating image / copy feature rows (Preview · /build · Create). */
.showrow {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.showrow.reverse .showrow-media {
  order: 2;
}
.showrow-copy > * + * {
  margin-top: 20px;
}
.showrow-copy .h-section {
  margin-top: 8px;
}
.showrow-points {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.showrow-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-1);
}
.showrow-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
}
@media (max-width: 860px) {
  .showrow {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .showrow.reverse .showrow-media {
    order: 0;
  }
}

/* Respect reduced motion. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
