/* ============================================================
   GMR Landing — Linear.app-inspired, restrained tech aesthetic.
   ============================================================ */

:root {
  --bg:           #08080C;
  --bg-2:         #0C0C12;
  --bg-3:         #14141C;
  --bg-4:         #1C1C24;
  --line:         rgba(228,228,232,0.07);
  --line-2:       rgba(228,228,232,0.14);
  --line-3:       rgba(228,228,232,0.24);
  --text:         #FFFFFF;
  --text-2:       #E4E4E8;
  --text-3:       rgba(228,228,232,0.68);
  --text-4:       rgba(228,228,232,0.45);
  --text-5:       rgba(228,228,232,0.26);
}

body {
  background: var(--bg);
  color: var(--text-2);
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "ss01", "ss02";
}

/* ============================================================
   Hero ambient glow (the single signature visual flourish)
   ============================================================ */

.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.ambient::before {
  content: "";
  position: absolute;
  top: -300px;
  left: 50%;
  width: 1100px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(52,211,153,0.15), rgba(52,211,153,0.04) 35%, transparent 65%);
  filter: blur(60px);
}

.layer { position: relative; z-index: 1; }

/* ============================================================
   Typography
   ============================================================ */

.t-display {
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
.t-h1 {
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
.t-h2 {
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
.t-h3 {
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}

.t-lead {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: var(--text-3);
  text-wrap: pretty;
  margin: 0;
}
.t-body { font-size: 15px; line-height: 1.55; color: var(--text-3); margin: 0; }
.t-small { font-size: 13px; line-height: 1.5; color: var(--text-3); margin: 0; }

.muted { color: var(--text-4); }

.mono {
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-5);
}
.mono-label {
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-4);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mono-label::before {
  content: attr(data-num);
  font-family: inherit;
  color: var(--text-5);
}

/* ============================================================
   Header
   ============================================================ */

.linear-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,8,12,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.linear-header .container {
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.linear-header nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.linear-header nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  text-decoration: none;
  transition: color 200ms cubic-bezier(0.2,0.7,0.2,1);
}
.linear-header nav a:hover { color: var(--text); }

/* ============================================================
   Buttons
   ============================================================ */

.btn-x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  background: rgba(228,228,232,0.04);
  color: var(--text-2);
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms cubic-bezier(0.2,0.7,0.2,1);
}
.btn-x:hover {
  background: rgba(228,228,232,0.10);
  border-color: var(--line-3);
  color: var(--text);
}
.btn-x.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-x.primary:hover { background: #F4F4F1; border-color: #F4F4F1; }
.btn-x .arrow { transition: transform 200ms cubic-bezier(0.2,0.7,0.2,1); }
.btn-x:hover .arrow { transform: translateX(2px); }

/* ============================================================
   Status pill
   ============================================================ */

.pill-x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(228,228,232,0.03);
  color: var(--text-4);
}
.pill-x .dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; background: var(--text-4); }
.pill-x.live      { color: #34D399; border-color: rgba(52,211,153,0.3); background: rgba(52,211,153,0.06); }
.pill-x.live .dot { background: #34D399; box-shadow: 0 0 8px rgba(52,211,153,0.6); }
.pill-x.pre       { color: rgba(228,228,232,0.55); }

/* ============================================================
   Section
   ============================================================ */

.linear-section {
  padding: 96px 0;
  position: relative;
}
@media (max-width: 720px) {
  .linear-section { padding: 64px 0; }
}

.section-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
  border: 0;
  margin: 0;
}

/* ============================================================
   Monogram badge — uniform square containers for all 2-letter marks
   ============================================================ */

.mono-badge {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(228,228,232,0.04), rgba(228,228,232,0.01));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: border-color 240ms cubic-bezier(0.2,0.7,0.2,1),
              background 240ms cubic-bezier(0.2,0.7,0.2,1);
}
.mono-badge img {
  height: 22px;
  width: auto;
  display: block;
}
.mono-badge .badge-accent {
  position: absolute;
  top: 8px; right: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
}
.mono-badge.sm { width: 44px; height: 44px; border-radius: 8px; }
.mono-badge.sm img { height: 16px; }
.mono-badge.lg { width: 96px; height: 96px; border-radius: 14px; }
.mono-badge.lg img { height: 32px; }

a:hover .mono-badge {
  border-color: var(--line-3);
  background: linear-gradient(180deg, rgba(228,228,232,0.08), rgba(228,228,232,0.02));
}

/* ============================================================
   Monogram showcase — the hero visual replacement
   ============================================================ */

.mono-showcase {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(228,228,232,0.025), rgba(228,228,232,0));
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.mono-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 12px 12px;
  opacity: 0.4;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}
.mono-showcase .item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  text-decoration: none;
  border-radius: 10px;
  transition: background 240ms cubic-bezier(0.2,0.7,0.2,1);
}
.mono-showcase .item:hover { background: rgba(228,228,232,0.06); }
.mono-showcase .item .name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-4);
  text-transform: uppercase;
}
.mono-showcase .item:hover .name { color: var(--text-2); }
.mono-showcase .item .status-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--text-5);
}
.mono-showcase .item.live .status-dot { background: #34D399; box-shadow: 0 0 6px rgba(52,211,153,0.5); }

@media (max-width: 720px) {
  .mono-showcase { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Product list — what replaces the noisy 6-card grid
   ============================================================ */

.product-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.product-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  position: relative;
  transition: background 240ms cubic-bezier(0.2,0.7,0.2,1);
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 -16px;
  border-radius: 8px;
}
.product-row:hover { background: rgba(228,228,232,0.03); }
.product-row .name {
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
}
.product-row .name .accent-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.product-row .desc {
  margin-top: 8px;
  font-size: 16px;
  color: var(--text-3);
  line-height: 1.5;
}
.product-row .right-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.product-row .visit {
  color: var(--text-4);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 200ms;
}
.product-row .visit .arrow { transition: transform 200ms cubic-bezier(0.2,0.7,0.2,1); }
.product-row:hover .visit { color: var(--text); }
.product-row:hover .visit .arrow { transform: translateX(3px); }
.product-row:hover .mono-badge { border-color: var(--line-3); }

@media (max-width: 720px) {
  .product-row { grid-template-columns: 56px 1fr; gap: 20px; }
  .product-row .right-rail { grid-column: 2; align-items: flex-start; }
  .product-row .name { font-size: 22px; }
}

/* ============================================================
   Pillar card — minimal, no glow noise
   ============================================================ */

.pillar {
  padding: 36px 4px;
  border-top: 1px solid var(--line);
}
.pillar:first-child { border-top: 0; }
.pillar .num-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.pillar .num {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--text-5);
  letter-spacing: 0.12em;
}
.pillar .dot {
  width: 5px; height: 5px; border-radius: 50%;
}
.pillar .name { color: var(--text); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.pillar .copy { font-size: 16px; line-height: 1.55; color: var(--text-3); max-width: 540px; margin-top: 12px; }

/* ============================================================
   Architecture diagram — the GMR loop, visualized
   6 products as peers, with a shared audience-twin foundation.
   ============================================================ */

.arch {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(228,228,232,0.03), rgba(228,228,232,0));
  padding: 48px 44px;
  overflow: hidden;
}
.arch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  opacity: 0.5;
  pointer-events: none;
}
.arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(52,211,153,0.10), transparent 55%);
  filter: blur(60px);
  pointer-events: none;
}

.arch-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.arch-tag {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(228,228,232,0.04);
}

/* 6 peer-nodes in one row, all same size — overridden inline for 5 or 7 */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  position: relative;
}
@media (max-width: 720px) {
  .arch-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 1100px) and (min-width: 721px) {
  /* On narrower desktop, 7 nodes get tight — wrap to 4 cols. */
  .arch-grid[style*="repeat(7"] { grid-template-columns: repeat(4, 1fr) !important; }
  .arch-feed[style*="repeat(7"] { grid-template-columns: repeat(4, 1fr) !important; }
  .arch-feed[style*="repeat(7"] .feed-line:nth-child(n+5) { display: none; }
}

.arch-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(228,228,232,0.05), rgba(228,228,232,0.01));
  text-decoration: none;
  transition: border-color 240ms cubic-bezier(0.2,0.7,0.2,1),
              background 240ms cubic-bezier(0.2,0.7,0.2,1),
              transform 240ms cubic-bezier(0.2,0.7,0.2,1);
}
.arch-node:hover {
  border-color: var(--line-3);
  background: linear-gradient(180deg, rgba(228,228,232,0.10), rgba(228,228,232,0.02));
  transform: translateY(-2px);
}
.arch-node .arch-mono {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
}
.arch-node .arch-mono img { height: 18px; width: auto; }
.arch-node .arch-name {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-4);
  font-weight: 500;
  text-align: center;
}
.arch-node:hover .arch-name { color: var(--text-2); }
.arch-node .arch-role {
  font-family: ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-5);
}
.arch-node.intel .arch-role { color: rgba(228,228,232,0.35); }
.arch-node.exec .arch-role { color: rgba(52,211,153,0.7); }
.arch-node .arch-pin {
  position: absolute;
  top: 10px; right: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
}

/* Connector lines from each node down to the shared foundation */
.arch-feed {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  width: 100%;
  height: 32px;
  position: relative;
}
.arch-feed .feed-line {
  width: 1px;
  height: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--line-2), var(--line-3));
  position: relative;
}
.arch-feed .feed-line::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -10px;
  width: 3px;
  height: 12px;
  background: linear-gradient(180deg, transparent, var(--text-3), transparent);
  filter: blur(1px);
  opacity: 0.5;
  animation: feed-pulse 3s linear infinite;
}
.arch-feed .feed-line:nth-child(1)::before { animation-delay: 0.0s; }
.arch-feed .feed-line:nth-child(2)::before { animation-delay: 0.5s; }
.arch-feed .feed-line:nth-child(3)::before { animation-delay: 1.0s; }
.arch-feed .feed-line:nth-child(4)::before { animation-delay: 1.5s; }
.arch-feed .feed-line:nth-child(5)::before { animation-delay: 2.0s; }
.arch-feed .feed-line:nth-child(6)::before { animation-delay: 2.5s; }
@keyframes feed-pulse {
  0%   { top: -10px; opacity: 0; }
  30%  { opacity: 0.8; }
  100% { top: 38px; opacity: 0; }
}
@media (max-width: 720px) {
  .arch-feed { grid-template-columns: repeat(3, 1fr); }
  .arch-feed .feed-line:nth-child(n+4) { display: none; }
}

/* Shared foundation — the audience twin */
.arch-foundation {
  position: relative;
  border: 1px solid rgba(52,211,153,0.35);
  border-radius: 12px;
  background: rgba(52,211,153,0.06);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.arch-foundation::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, rgba(52,211,153,0.18), transparent 70%);
  filter: blur(24px);
  z-index: -1;
}
.arch-foundation .label {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #34D399;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.arch-foundation .label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px rgba(52,211,153,0.8);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.2); }
}
.arch-foundation .desc {
  font-size: 13px;
  color: rgba(228,228,232,0.7);
  text-align: right;
}

.arch-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}
.arch-legend .item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-5);
  text-transform: uppercase;
}
.arch-legend .swatch {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-4);
}
.arch-legend .swatch.exec { background: #34D399; box-shadow: 0 0 6px rgba(52,211,153,0.6); }

/* ============================================================
   Concept tiles — small illustrative blocks below sections
   ============================================================ */

.concept-tile {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(228,228,232,0.03), rgba(228,228,232,0));
  padding: 32px;
  overflow: hidden;
}
.concept-tile .tile-eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-4);
}
.concept-tile h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 12px 0 8px;
}
.concept-tile p {
  font-size: 14px;
  color: var(--text-3);
  margin: 0 0 20px;
  line-height: 1.55;
}

/* DTwin attribute viz */
.viz-twins {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.viz-twin {
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(228,228,232,0.10), rgba(228,228,232,0.02));
  border: 1px solid var(--line);
  position: relative;
}
.viz-twin::before {
  content: "";
  position: absolute;
  top: 32%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38%; height: 38%;
  border-radius: 50%;
  background: rgba(228,228,232,0.2);
}
.viz-twin::after {
  content: "";
  position: absolute;
  top: 70%; left: 50%;
  transform: translate(-50%, -50%);
  width: 78%; height: 32%;
  border-radius: 999px 999px 0 0;
  background: rgba(228,228,232,0.12);
}
.viz-twin.accent::before { background: rgba(107,107,128,0.5); }

/* Chat viz */
.viz-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.viz-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.4;
}
.viz-msg .who {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34D399;
  flex-shrink: 0;
  width: 44px;
  padding-top: 1px;
}
.viz-msg .who.user { color: var(--text-4); }
.viz-msg .text { color: var(--text-2); }
.viz-msg .text.muted { color: var(--text-4); }
.viz-cursor {
  display: inline-block;
  width: 6px; height: 11px;
  background: var(--text-3);
  margin-left: 1px;
  vertical-align: -1px;
  animation: blink 1.05s steps(2) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* Listening viz - waveform */
.viz-wave {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 56px;
  margin-top: 12px;
}
.viz-wave-bar {
  flex: 1;
  background: linear-gradient(180deg, rgba(139,92,246,0.4), rgba(139,92,246,0.8));
  border-radius: 2px;
  animation: wave 1.6s ease-in-out infinite;
}
@keyframes wave {
  0%, 100% { height: 30%; }
  50%      { height: 100%; }
}

/* Research viz - data lines */
.viz-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  margin-top: 12px;
}
.viz-cell {
  aspect-ratio: 1;
  background: rgba(59,130,246,0.10);
  border-radius: 2px;
}
.viz-cell.b1 { background: rgba(59,130,246,0.25); }
.viz-cell.b2 { background: rgba(59,130,246,0.45); }
.viz-cell.b3 { background: rgba(59,130,246,0.75); }

/* AEO viz - engines stack */
.viz-engines { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.viz-engine {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(236,72,153,0.04);
  font-size: 12px;
  color: var(--text-3);
}
.viz-engine .meter {
  width: 56px; height: 4px;
  background: rgba(228,228,232,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.viz-engine .meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #EC4899, rgba(236,72,153,0.5));
}

/* Creator viz - cards */
.viz-creators { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.viz-creator {
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(245,158,11,0.10), rgba(245,158,11,0.02));
  position: relative;
}
.viz-creator::before {
  content: "";
  position: absolute;
  top: 8px; left: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(245,158,11,0.4);
}
/* ============================================================
   Stack diagram — minimal monograms only
   ============================================================ */

.stack-frame {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(228,228,232,0.025), rgba(228,228,232,0));
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}
.stack-frame.intelligence::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 160px;
  background: radial-gradient(ellipse at center, rgba(52,211,153,0.08), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.stack-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 12px;
}
.stack-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 240ms cubic-bezier(0.2,0.7,0.2,1);
}
.stack-cell:hover { background: rgba(228,228,232,0.04); }
.stack-cell .label {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-5);
}
.stack-cell:hover .label { color: var(--text-3); }

@media (max-width: 720px) {
  .stack-row { grid-template-columns: repeat(2, 1fr); }
}

.stack-arrows-row {
  display: flex;
  justify-content: center;
  padding: 24px 0;
  gap: 80px;
}
.stack-arrows-row .pair {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--text-5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stack-arrows-row .pair .vline {
  width: 1px; height: 32px;
  background: linear-gradient(180deg, transparent, var(--line-2), transparent);
}

/* ============================================================
   Reveal
   ============================================================ */

.reveal { opacity: 0; transform: translateY(8px); transition: opacity 700ms cubic-bezier(0.16,1,0.3,1), transform 700ms cubic-bezier(0.16,1,0.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(8px); transition: opacity 600ms cubic-bezier(0.16,1,0.3,1), transform 600ms cubic-bezier(0.16,1,0.3,1); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay:  0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 60ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 120ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Footer
   ============================================================ */

.linear-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 56px 0 32px;
}
.linear-footer .group-label {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-5);
  margin-bottom: 16px;
  display: block;
}
.linear-footer a {
  font-size: 13px;
  color: var(--text-3);
  display: block;
  padding: 4px 0;
  text-decoration: none;
  transition: color 200ms;
}
.linear-footer a:hover { color: var(--text); }

/* ============================================================
   Utilities
   ============================================================ */

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.between { justify-content: space-between; }
.center { align-items: center; justify-content: center; }
.abase { align-items: baseline; }
.aend { align-items: flex-end; }
.fill { flex: 1; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 24px; }
.gap-6 { gap: 32px; }
.gap-7 { gap: 48px; }
.gap-8 { gap: 64px; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
