/* ============================================================
   vyberr — wireframe styles (v0.6)
   White · brand gradient · pixel + mono · scroll-threshold + flash
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Fraunces:opsz,wght,SOFT@9..144,300..700,0..100&display=swap');

:root {
  --vy-page: #FAFAFA;          /* page background */
  --vy-bg: #FFFFFF;            /* internal whites (pills, modals, hud cards) */
  --vy-bg-2: #FAFAFA;
  --vy-bg-3: #F2F2F2;
  --vy-bg-4: #E8E8E8;
  --vy-bg-ink: #0A0A0A;

  --vy-text-1: #0A0A0A;
  --vy-text-2: #404040;
  --vy-text-3: #6B6B6B;
  --vy-text-4: #A0A0A0;
  --vy-text-5: #C8C8C8;

  --vy-line: #0A0A0A;
  --vy-line-2: #D0D0D0;
  --vy-line-3: #E8E8E8;

  /* Aliases used by static pages (about, help, pricing, legal) */
  --vy-ink:    var(--vy-text-1);
  --vy-ink-2:  var(--vy-text-2);
  --vy-ink-3:  var(--vy-text-3);
  --vy-rule:   var(--vy-line-2);
  --vy-accent: #E94BEB;        /* brand magenta for italic emphasis */
  --vy-serif:  'Fraunces', 'Times New Roman', Georgia, serif;

  /* Brand gradient — cyan endpoint replaced with blue to eliminate green tint */
  --vy-grad: linear-gradient(135deg, #FF8A65 0%, #E94BEB 35%, #7C3AED 65%, #3B82F6 100%);
  --vy-grad-soft: linear-gradient(135deg, rgba(255,138,101,0.12) 0%, rgba(233,75,235,0.12) 35%, rgba(124,58,237,0.12) 65%, rgba(59,130,246,0.12) 100%);

  --vy-success: #16A34A;
  --vy-warning: #D97706;
  --vy-danger: #DC2626;

  --vy-pixel: 'Pixelify Sans', 'Press Start 2P', monospace;
  --vy-mono: 'JetBrains Mono', ui-monospace, monospace;

  --vy-s-1: 4px;
  --vy-s-2: 8px;
  --vy-s-3: 12px;
  --vy-s-4: 16px;
  --vy-s-5: 24px;
  --vy-s-6: 32px;
  --vy-s-7: 48px;
  --vy-s-8: 64px;

  --vy-r-xs: 2px;
  --vy-r-sm: 4px;

  --vy-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --vy-dur-fast: 140ms;
  --vy-dur-base: 240ms;
  --vy-dur-fade: 400ms;

  --vy-bar-h: 32px;
}

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

html, body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Static pages (about/help/pricing/legal) need natural scroll. */
html:has(.page-shell),
body:has(.page-shell) {
  height: auto;
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

body {
  font-family: var(--vy-mono);
  font-size: 14px;
  line-height: 1.65;
  color: var(--vy-text-1);
  background: var(--vy-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input { font-family: inherit; }
::selection { background: var(--vy-text-1); color: var(--vy-bg); }

.pixel {
  font-family: var(--vy-pixel);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 0.95;
}

/* ============================================================
   Top bar — small black dev-work banner
   ============================================================ */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--vy-bar-h);
  background: var(--vy-bg-ink);
  color: var(--vy-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  z-index: 100;
  font-family: var(--vy-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  transition: opacity var(--vy-dur-fade) var(--vy-ease), transform var(--vy-dur-fade) var(--vy-ease);
}

.topbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--vy-grad);
}

.topbar-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
}

.topbar-text .tag {
  font-family: var(--vy-pixel);
  font-weight: 600;
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0;
  font-size: 13px;
}

.topbar-text .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.topbar-text .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-text .live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--vy-success);
  box-shadow: 0 0 6px var(--vy-success);
  animation: pulse 2s ease infinite;
}

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

/* Hide top bar when in workspace */
body.in-workspace .topbar {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

/* ============================================================
   Vertical section indicator — right side, middle, uniform dots
   ============================================================ */

.section-rail {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 90;
  align-items: flex-end;
  transition: opacity var(--vy-dur-fade) var(--vy-ease);
}

body.in-workspace .section-rail {
  opacity: 0;
  pointer-events: none;
}

.section-rail .rail-item {
  position: relative;
  height: 36px;
  width: 220px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  padding-right: 0;
}

.section-rail .rail-dot {
  width: 4px;
  height: 16px;
  background: rgba(10, 10, 10, 0.22);
  transition: all var(--vy-dur-base) var(--vy-ease);
  flex-shrink: 0;
}

.section-rail .rail-item:hover .rail-dot {
  background: rgba(10, 10, 10, 0.45);
  height: 22px;
}

.section-rail .rail-item.active .rail-dot {
  height: 28px;
  background: var(--vy-grad);
}

.section-rail .rail-label {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  opacity: 0;
  font-family: var(--vy-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vy-text-3);
  pointer-events: none;
  white-space: nowrap;
  transition: opacity var(--vy-dur-base) var(--vy-ease),
              transform var(--vy-dur-base) var(--vy-ease);
}

.section-rail .rail-item:hover .rail-label,
.section-rail .rail-item.active .rail-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.section-rail .rail-item.active .rail-label {
  color: var(--vy-text-1);
  font-weight: 600;
}

/* ============================================================
   Rotating-gradient pill button
   ============================================================ */

.btn-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  background: var(--vy-bg);
  color: var(--vy-text-1);
  font-family: var(--vy-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 2px solid var(--vy-line-2);
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
  transition: border-color var(--vy-dur-fast) var(--vy-ease);
}

.btn-pill .ix {
  font-family: var(--vy-pixel);
  font-size: 12px;
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0;
  font-weight: 600;
}

/* Rotating conic-gradient ring layer — opacity 0 by default, fades in on
   hover / active / .lg. Animation always runs so the rotation is in-progress
   the moment the ring appears. */
.btn-pill::before {
  content: '';
  position: absolute;
  inset: -150%;
  background: conic-gradient(from 0deg, #FF8A65, #E94BEB, #7C3AED, #3B82F6, #FF8A65);
  animation: pill-spin 3.5s linear infinite;
  z-index: -2;
  opacity: 0;
  transition: opacity var(--vy-dur-fast) var(--vy-ease);
  pointer-events: none;
}

/* Inner solid fill — masks the rotating gradient down to a 2px ring at the
   edge. Tied to the same opacity so the ring + interior appear together. */
.btn-pill::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--vy-bg);
  border-radius: 999px;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--vy-dur-fast) var(--vy-ease);
  pointer-events: none;
}

/* Hover (regular pills only — not .active, not .lg): fade the static border
   out, fade the rotating ring + interior in. No scale, no slide. */
.btn-pill:not(.active):not(.lg):hover {
  border-color: transparent;
}
.btn-pill:not(.active):not(.lg):hover::before,
.btn-pill:not(.active):not(.lg):hover::after {
  opacity: 1;
}

/* Active pill — always rotating ring */
.btn-pill.active {
  border-color: transparent;
}
.btn-pill.active::before,
.btn-pill.active::after {
  opacity: 1;
}

@keyframes pill-spin {
  to { transform: rotate(360deg); }
}

/* Large primary variant (Enter Workspace) — always rotating ring */
.btn-pill.lg {
  padding: 11px 21px;
  font-size: 11px;
  border-color: transparent;
}
.btn-pill.lg::before,
.btn-pill.lg::after {
  opacity: 1;
}

.btn-pill.lg .label {
  /* Match pill text style: mono, uppercase, weight 600, dark */
  font-family: var(--vy-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--vy-text-1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-pill.lg .arrow {
  font-family: var(--vy-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--vy-text-1);
}

/* (Hover scale for .btn-pill.lg is intentionally NOT defined here —
   .enter-workspace-top:hover handles its own translateX(-50%) scale(1.06).
   A general .lg:hover transform would win on specificity and wipe out
   the translateX centering, causing the button to slide right.) */

/* ============================================================
   Enter Workspace — fixed top-center button
   ============================================================ */

.enter-workspace-top {
  position: fixed;
  top: calc(var(--vy-bar-h) + 25px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  transition: opacity var(--vy-dur-fade) var(--vy-ease),
              transform var(--vy-dur-fade) var(--vy-ease);
}

.enter-workspace-top:hover {
  transform: translateX(-50%) scale(1.06);
}

body.in-workspace .enter-workspace-top {
  opacity: 0;
  transform: translate(-50%, -24px);
  pointer-events: none;
}

/* Pulsing glow halo around Enter Workspace */
.enter-workspace-top::before {
  inset: -150%;
}

.enter-workspace-top .glow {
  position: absolute;
  inset: -8px;
  background: var(--vy-grad);
  border-radius: 999px;
  opacity: 0.4;
  z-index: -3;
  filter: blur(14px);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.04); }
}

/* ============================================================
   Bottom navigation menu
   ============================================================ */

.bottom-menu {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 90;
  transition: opacity var(--vy-dur-fade) var(--vy-ease), transform var(--vy-dur-fade) var(--vy-ease);
}

body.in-workspace .bottom-menu {
  opacity: 0;
  transform: translate(-50%, 24px);
  pointer-events: none;
}

/* ============================================================
   White flash overlay (transition curtain)
   ============================================================ */

.flash {
  position: fixed;
  inset: 0;
  background: var(--vy-page);
  z-index: 110;
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms ease;
}

.flash.active { opacity: 1; }

.flash-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 256px;
  height: 256px;
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  transition: opacity 400ms ease,
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.flash.active .flash-mark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ============================================================
   Snap container — each section is full viewport
   ============================================================ */

.snap-container {
  position: fixed;
  top: var(--vy-bar-h);
  left: 0; right: 0; bottom: 0;
  overflow: hidden;
  transition: top var(--vy-dur-fade) var(--vy-ease);
}

body.in-workspace .snap-container {
  top: 0;
}

.snap-section {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
}

.snap-section.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.section-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   Aside (new section 1) — pull quote opener
   ============================================================ */

.aside {
  padding: 64px 80px 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.aside-head {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Extra space between the section label and the eyebrow */
.aside-head .aside-eyebrow {
  margin-left: 32px;
}

/* Gradient-ringed vyberr mark — inline with the labels */
.aside-num {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background-image: url('assets/vyberr-logo.avif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-size: 0;
  color: transparent;
  line-height: 0;
}

.aside-sublabel {
  display: block;
  font-family: var(--vy-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vy-text-3);
  margin-top: 6px;
  -webkit-text-fill-color: var(--vy-text-3);
  background: none;
}

.aside-eyebrow {
  font-family: var(--vy-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vy-text-3);
}

.aside-eyebrow .grad {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.pullquote {
  font-family: var(--vy-pixel);
  font-weight: 500;
  font-size: clamp(36px, min(5.2vw, 8vh), 88px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 1100px;
  text-wrap: balance;
  margin-bottom: 32px;
}

.pullquote .grad {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pullquote-attr {
  display: block;
  font-family: var(--vy-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vy-text-3);
  margin-top: 24px;
}

.aside-foot {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px dotted var(--vy-line-2);
  align-items: baseline;
}

.aside-foot p {
  font-family: var(--vy-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--vy-text-2);
  max-width: 720px;
}

.aside-foot strong {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* ============================================================
   Hero (now section 4)
   ============================================================ */

.hero {
  padding: 56px 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--vy-mono);
  font-size: 11px;
  color: var(--vy-text-3);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-meta .num {
  font-family: var(--vy-pixel);
  font-size: 18px;
  font-weight: 600;
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0;
}

.hero-headline {
  font-family: var(--vy-pixel);
  font-weight: 500;
  font-size: clamp(48px, min(9vw, 14vh), 170px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.15em;
  margin-bottom: 24px;
  text-wrap: balance;
  -webkit-font-smoothing: none;
}

.hero-headline .blk {
  background: none;
  -webkit-text-fill-color: var(--vy-text-1);
  color: var(--vy-text-1);
}

.hero-deck {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 48px;
  border-top: 1px dotted var(--vy-line-2);
  padding-top: 20px;
  min-width: 0;
}

.hero-lede {
  font-family: var(--vy-mono);
  font-size: 15px;
  line-height: 1.65;
  color: var(--vy-text-1);
  max-width: 620px;
}

.hero-lede strong {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.hero-stats {
  font-family: var(--vy-mono);
  font-size: 11px;
  color: var(--vy-text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  align-self: end;
}

.hero-stats dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 18px;
  line-height: 1.7;
  min-width: 0;
}

.hero-stats dt { color: var(--vy-text-4); }
.hero-stats dd {
  color: var(--vy-text-1);
  margin: 0;
  min-width: 0;
  overflow-wrap: break-word;
}

/* ============================================================
   Workspace section — DO NOT TOUCH (preserved verbatim from v0.5)
   ============================================================ */

.workspace {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding: 32px 48px 56px;
  height: 100%;
  overflow: hidden;
}

.chat-zone {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.chat-zone-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dotted var(--vy-line-2);
}

.chat-zone-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.chat-zone-title .num {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-image: url('assets/vyberr-logo.avif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-size: 0;
  color: transparent;
  line-height: 0;
  vertical-align: middle;
}

.chat-zone-title .lbl {
  font-family: var(--vy-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vy-text-3);
}

.chat-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  overflow-x: auto;
  border-bottom: 1px dotted var(--vy-line-2);
  scrollbar-width: thin;
}

.chat-tabs-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dotted var(--vy-line-2);
  border-radius: var(--vy-r-xs);
  font-family: var(--vy-mono);
  font-size: 14px;
  color: var(--vy-text-2);
  flex-shrink: 0;
}

.chat-tabs-icon:hover {
  background: var(--vy-text-1);
  color: var(--vy-bg);
  border-style: solid;
  border-color: var(--vy-text-1);
}

.tab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-family: var(--vy-mono);
  font-size: 12px;
  color: var(--vy-text-2);
  border: 1px dotted transparent;
  border-radius: var(--vy-r-xs);
  white-space: nowrap;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all var(--vy-dur-fast) var(--vy-ease);
  position: relative;
}

.tab:hover {
  background: var(--vy-bg-3);
  color: var(--vy-text-1);
}

.tab.active {
  background: var(--vy-bg);
  color: var(--vy-text-1);
  border-color: var(--vy-line-2);
}

.tab.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -9px;
  height: 2px;
  background: var(--vy-grad);
}

.tab .x { font-size: 14px; opacity: 0.5; }
.tab .x:hover { opacity: 1; }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 4px 20px 0;
  font-family: var(--vy-mono);
  font-size: 14px;
  line-height: 1.7;
  scrollbar-width: thin;
  scrollbar-color: var(--vy-line-2) transparent;
}

.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--vy-line-2); }
.chat-body::-webkit-scrollbar-track { background: transparent; }

.msg { margin-bottom: 14px; }

.msg-user {
  display: flex;
  gap: 12px;
  color: var(--vy-text-1);
}

.msg-user::before {
  content: '>';
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  flex-shrink: 0;
}

.msg-vyb {
  display: flex;
  gap: 12px;
  color: var(--vy-text-1);
}

.msg-vyb::before {
  content: 'V';
  font-family: var(--vy-pixel);
  font-weight: 600;
  color: var(--vy-text-1);
  flex-shrink: 0;
  font-size: 14px;
  align-self: flex-start;
  padding-top: 1px;
}

.msg-tool {
  font-family: var(--vy-mono);
  font-size: 11px;
  color: var(--vy-text-3);
  letter-spacing: 0.04em;
  padding-left: 22px;
  margin-bottom: 12px;
  position: relative;
}

.msg-tool::before {
  content: '§';
  position: absolute;
  left: 4px;
  color: var(--vy-text-4);
}

.msg-tool .ok {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.results {
  margin: 16px 0;
  border-top: 1px dotted var(--vy-line-2);
  border-bottom: 1px dotted var(--vy-line-2);
}

.results-section { padding: 12px 0; }
.results-section + .results-section { border-top: 1px dotted var(--vy-line-3); }

.results-label {
  font-family: var(--vy-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vy-text-3);
  margin-bottom: 8px;
}

.row {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 7px 0;
  font-family: var(--vy-mono);
  cursor: pointer;
  transition: padding var(--vy-dur-fast) var(--vy-ease);
}

.row:hover { padding-left: 6px; }

.row .check {
  font-family: var(--vy-mono);
  font-size: 14px;
  color: var(--vy-text-4);
  font-weight: 700;
}

.row.on .check {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.row .name {
  font-family: var(--vy-pixel);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--vy-text-1);
}

.row .name .tld {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.row .meta {
  font-family: var(--vy-mono);
  font-size: 11px;
  color: var(--vy-text-3);
  text-align: right;
}

.row.off .name {
  color: var(--vy-text-4);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.row.off .name .tld {
  -webkit-text-fill-color: var(--vy-text-4);
  background: none;
}

.row .whois {
  font-family: var(--vy-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vy-text-3);
  padding: 3px 8px;
  border: 1px dotted var(--vy-line-2);
}

.row .whois:hover {
  background: var(--vy-text-1);
  color: var(--vy-bg);
  border-color: var(--vy-text-1);
  border-style: solid;
}

.results-actions {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dotted var(--vy-line-3);
  margin-top: 8px;
}

.summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px dotted var(--vy-line-3);
  font-family: var(--vy-mono);
  font-size: 12px;
}

.summary .total {
  font-family: var(--vy-pixel);
  font-size: 24px;
  font-weight: 500;
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.confirm {
  margin: 16px 0;
  border: 1px dotted var(--vy-line);
  background: var(--vy-bg);
  position: relative;
}

.confirm::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: var(--vy-grad);
}

.confirm-head {
  padding: 14px 18px;
  border-bottom: 1px dotted var(--vy-line-3);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.confirm-head .pill {
  font-family: var(--vy-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  background: var(--vy-grad);
  color: white;
  font-weight: 600;
}

.confirm-head .title {
  font-family: var(--vy-pixel);
  font-size: 20px;
  font-weight: 500;
  color: var(--vy-text-1);
}

.confirm-body { padding: 18px; }

.confirm-list {
  font-family: var(--vy-mono);
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 14px;
}

.confirm-list .k {
  display: inline-block;
  width: 130px;
  color: var(--vy-text-3);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.confirm-list .v { color: var(--vy-text-1); }

.confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px dotted var(--vy-line-3);
}

.input-strip {
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 10px;
  padding: 10px 12px;
  background: var(--vy-bg-2);
  border: 1px dotted var(--vy-line-2);
  align-items: center;
}

.mode-chip {
  font-family: var(--vy-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 5px 10px;
  border: 1px solid var(--vy-line);
  background: var(--vy-bg);
  color: var(--vy-text-1);
}

.input-strip input {
  font-family: var(--vy-mono);
  font-size: 14px;
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  color: var(--vy-text-1);
}

.input-strip input::placeholder { color: var(--vy-text-4); }

.icon-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vy-line);
  background: var(--vy-bg);
  color: var(--vy-text-1);
}

.icon-btn:hover {
  background: var(--vy-text-1);
  color: var(--vy-bg);
}

.icon-btn.primary {
  background: var(--vy-grad);
  border-color: transparent;
  color: white;
  font-weight: 700;
}

.icon-btn.primary:hover { filter: brightness(1.1); }

.hud {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding-right: 4px;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--vy-line-2) transparent;
}

.hud::-webkit-scrollbar { width: 4px; }
.hud::-webkit-scrollbar-thumb { background: var(--vy-line-2); }

.hud-head {
  font-family: var(--vy-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vy-text-3);
  padding-bottom: 8px;
  border-bottom: 1px dotted var(--vy-line-2);
}

.hud-head .grad {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.lock-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--vy-bg-ink);
  color: white;
  position: relative;
  overflow: hidden;
}

.lock-toggle::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--vy-grad);
}

.lock-toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--vy-pixel);
  font-size: 16px;
  font-weight: 500;
  color: white;
  letter-spacing: 0;
}

.lock-toggle-icon {
  font-family: var(--vy-mono);
  font-size: 14px;
  color: var(--vy-text-4);
}

.lock-toggle.active .lock-toggle-icon {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lock-toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 0;
  transition: background var(--vy-dur-fast) var(--vy-ease);
}

.lock-toggle.active .lock-toggle-switch { background: var(--vy-grad); }

.lock-toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  transition: transform var(--vy-dur-base) var(--vy-ease);
}

.lock-toggle.active .lock-toggle-switch::after { transform: translateX(20px); }

.lock-toggle-hint {
  font-family: var(--vy-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 8px 16px 10px;
  background: #2e2e2e;
  border-top: 1px dotted #e2e2e2;
  text-transform: uppercase;
}

.lock-hint-text {
  color: rgba(255,255,255,0.5);
  transition: color var(--vy-dur-fast) var(--vy-ease);
}

.lock-toggle-wrap.armed .lock-hint-text {
  color: rgba(255,255,255,0.85);
}

.lock-now-link {
  font-family: var(--vy-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  white-space: nowrap;
  display: none;
  cursor: pointer;
  transition: opacity var(--vy-dur-fast) var(--vy-ease);
}

.lock-toggle-wrap.armed .lock-now-link {
  display: inline-block;
}

.lock-now-link:hover {
  opacity: 0.7;
}

.lock-toggle-wrap {
  display: flex;
  flex-direction: column;
}

.hud-card {
  border: 1px dotted var(--vy-line-2);
  padding: 14px 16px;
  background: var(--vy-bg);
}

.hud-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dotted var(--vy-line-3);
}

.hud-card-title {
  font-family: var(--vy-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vy-text-3);
  font-weight: 600;
}

.hud-card-meta {
  font-family: var(--vy-mono);
  font-size: 10px;
  color: var(--vy-text-4);
}

.hud-card-meta.live::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--vy-success);
  margin-right: 5px;
  box-shadow: 0 0 6px var(--vy-success);
  animation: pulse 2s ease infinite;
}

.hud-stat {
  font-family: var(--vy-pixel);
  font-size: 32px;
  font-weight: 500;
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.hud-sub {
  font-family: var(--vy-mono);
  font-size: 11px;
  color: var(--vy-text-2);
  line-height: 1.5;
}

.hud-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hud-stats-row .col {
  display: flex;
  flex-direction: column;
}

.hud-stats-row .lbl {
  font-family: var(--vy-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vy-text-4);
  margin-bottom: 4px;
}

.hud-stats-row .val {
  font-family: var(--vy-pixel);
  font-size: 22px;
  font-weight: 500;
  color: var(--vy-text-1);
  letter-spacing: -0.01em;
}

.hud-stats-row .val.grad {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.activity-log {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--vy-mono);
  font-size: 11px;
  color: var(--vy-text-2);
}

.activity-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  padding: 4px 0;
  align-items: baseline;
}

.activity-line .t {
  color: var(--vy-text-4);
  font-size: 10px;
}

.activity-line .desc {
  color: var(--vy-text-1);
}

.activity-line .desc .grad {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.activity-line .icon {
  font-size: 11px;
  color: var(--vy-text-3);
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.quick-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px dotted var(--vy-line-2);
  background: var(--vy-bg);
  font-family: var(--vy-mono);
  font-size: 11px;
  color: var(--vy-text-1);
  cursor: pointer;
  transition: all var(--vy-dur-fast) var(--vy-ease);
}

.quick-btn:hover {
  background: var(--vy-text-1);
  color: var(--vy-bg);
  border-style: solid;
  border-color: var(--vy-text-1);
}

.quick-btn .arr { opacity: 0.5; }

.vyb-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px dotted var(--vy-line-2);
}

.vyb-status .avatar {
  width: 36px;
  height: 36px;
  background: var(--vy-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--vy-pixel);
  font-size: 18px;
  font-weight: 600;
}

.vyb-status .info {
  font-family: var(--vy-mono);
  font-size: 11px;
}

.vyb-status .name {
  color: var(--vy-text-1);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
}

.vyb-status .state {
  color: var(--vy-text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.vyb-status .state::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vy-success);
  box-shadow: 0 0 6px var(--vy-success);
  animation: pulse 2s ease infinite;
}

/* ============================================================
   Generic section frame
   ============================================================ */

.section-pad {
  padding: 56px 80px;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}

.section-num {
  width: 48px;
  height: 48px;
  background-image: url('assets/vyberr-logo.avif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-size: 0;
  color: transparent;
  line-height: 0;
}

.section-num-sub {
  display: block;
  font-family: var(--vy-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vy-text-3);
  margin-top: 6px;
  -webkit-text-fill-color: var(--vy-text-3);
  background: none;
}

.section-headline {
  font-family: var(--vy-pixel);
  font-weight: 500;
  font-size: clamp(30px, min(4.4vw, 6.8vh), 64px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--vy-text-1);
  max-width: 920px;
  text-wrap: balance;
}

.section-headline .grad {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-deck {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 24px;
}

/* ============================================================
   The Universe · TLD swath with cursor-following spotlight
   Light section · dark badge follows mouse · gradient cone
   illuminates the dim TLDs beneath it.
   ============================================================ */

.tld-section {
  /* CSS vars driven by JS — initial position center-top */
  --lamp-x: 50%;
  --lamp-y: 22%;

  position: relative;
  width: 100%;
  height: 100%;
  padding: 56px 80px 80px;
  overflow: hidden;
  background: var(--vy-page);
  display: flex;
  flex-direction: column;
  cursor: none; /* hide native cursor — the badge IS the cursor */
}

.tld-header {
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  margin-bottom: 24px;
  align-items: end;
  pointer-events: none;
}

/* — The badge · dark circle, follows mouse, contains vyberr mark — */
.tld-badge {
  position: absolute;
  left: var(--lamp-x);
  top: var(--lamp-y);
  transform: translate(-50%, -50%);
  width: 112px;
  height: 112px;
  background: var(--vy-bg-ink);
  border-radius: 50%;
  border: 5px solid #fbf7f1; /* cream ring */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
  pointer-events: none;
  box-shadow:
    0 12px 36px rgba(20, 20, 30, 0.18),
    0 0 0 1px rgba(20, 20, 30, 0.05);
  transition: left 60ms cubic-bezier(0.22, 0.61, 0.36, 1),
              top  60ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.tld-badge img {
  width: 64px;
  height: 64px;
  filter: brightness(0) invert(1);
}

/* — Visible light cone · clip-path trapezoid expanding downward — */
.tld-cone {
  position: absolute;
  left: var(--lamp-x);
  top: var(--lamp-y);
  /* Anchor at top center of the cone (just under the badge) */
  transform: translate(-50%, 0);
  width: 680px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  /* Trapezoid · narrow at badge, wide at bottom — outer edges feather */
  clip-path: polygon(
    44% 0%,
    56% 0%,
    100% 100%,
    0% 100%
  );
  background:
    radial-gradient(ellipse 75% 90% at 50% 0%,
      rgba(247, 110, 169, 0.42) 0%,
      rgba(206, 119, 244, 0.30) 22%,
      rgba(147, 121, 248, 0.18) 48%,
      rgba(94, 156, 248, 0.08) 72%,
      transparent 100%);
  filter: blur(10px);
  transition: left 60ms cubic-bezier(0.22, 0.61, 0.36, 1),
              top  60ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* — TLD grid · two layers · dim base + masked lit overlay — */
.tld-grid {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 36px 48px;
  align-items: center;
  justify-items: center;
  pointer-events: none;
}

.tld-tile {
  font-family: var(--vy-pixel);
  font-weight: 500;
  font-size: clamp(18px, min(1.7vw, 2.6vh), 28px);
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}

/* Base layer — very faint gray, fills the whole grid */
.tld-grid-dim {
  z-index: 6;
  color: rgba(10, 10, 12, 0.08);
}

/* Lit layer — full-dark tiles, masked to a soft ellipse anchored at lamp pos */
.tld-grid-lit {
  z-index: 7;
  color: var(--vy-text-1);
  -webkit-mask-image: radial-gradient(
    ellipse 16% 55% at var(--lamp-x) var(--lamp-y),
    black 0%,
    rgba(0,0,0,0.92) 18%,
    rgba(0,0,0,0.55) 42%,
    rgba(0,0,0,0.18) 65%,
    transparent 90%
  );
          mask-image: radial-gradient(
    ellipse 16% 55% at var(--lamp-x) var(--lamp-y),
    black 0%,
    rgba(0,0,0,0.92) 18%,
    rgba(0,0,0,0.55) 42%,
    rgba(0,0,0,0.18) 65%,
    transparent 90%
  );
}

/* Subtle brand-pink wash on tiles in the brightest part of the cone */
.tld-grid-lit .tld-tile {
  background: linear-gradient(180deg,
    var(--vy-text-1) 0%,
    var(--vy-text-1) 65%,
    rgba(247, 110, 169, 0.95) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* — Footer caption — */
.tld-footer {
  position: absolute;
  bottom: 28px;
  left: 80px;
  right: 80px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  font-family: var(--vy-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--vy-text-3);
  padding-top: 14px;
  border-top: 1px dotted var(--vy-line-2);
  pointer-events: none;
}

/* — Compact for short viewports — */
@media (max-height: 1000px) {
  .tld-section { padding: 36px 64px 72px; }
  .tld-badge { width: 92px; height: 92px; border-width: 4px; }
  .tld-badge img { width: 50px; height: 50px; }
  .tld-cone { width: 560px; }
  .tld-grid { top: 32%; gap: 28px 40px; }
  .tld-footer { bottom: 22px; left: 64px; right: 64px; }
}

@media (max-height: 820px) {
  .tld-section { padding: 28px 56px 64px; }
  .tld-badge { width: 78px; height: 78px; border-width: 4px; }
  .tld-badge img { width: 42px; height: 42px; }
  .tld-cone { width: 480px; }
  .tld-grid { top: 30%; gap: 22px 32px; }
}

@media (max-width: 980px) {
  .tld-section { padding: 24px 24px 60px; cursor: auto; }
  .tld-badge { width: 72px; height: 72px; }
  .tld-badge img { width: 38px; height: 38px; }
  .tld-cone { width: 320px; }
  .tld-grid { grid-template-columns: repeat(4, 1fr); top: 36%; gap: 18px 24px; width: 94%; }
  .tld-footer { left: 24px; right: 24px; flex-direction: column; gap: 4px; align-items: flex-start; }
}

.section-deck p {
  font-family: var(--vy-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--vy-text-2);
  max-width: 520px;
}

.section-deck-meta {
  font-family: var(--vy-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vy-text-3);
  align-self: end;
}

.section-deck-meta strong {
  display: block;
  color: var(--vy-text-1);
  margin-top: 4px;
  font-weight: 600;
}

.index { margin-top: 8px; }

.index-row {
  display: grid;
  grid-template-columns: 60px 1fr 380px 100px;
  gap: 24px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px dotted var(--vy-line-2);
  transition: background var(--vy-dur-fast) var(--vy-ease);
}

.index-row:first-child { border-top: 2px solid var(--vy-line); }

.index-row:hover {
  background: var(--vy-bg-2);
  padding-left: 8px;
  padding-right: 8px;
}

.index-row .ix {
  font-family: var(--vy-mono);
  font-size: 11px;
  color: var(--vy-text-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.index-row .name {
  font-family: var(--vy-pixel);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--vy-text-1);
}

.index-row .name .grad {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.index-row .desc {
  font-family: var(--vy-mono);
  font-size: 12px;
  line-height: 1.65;
  color: var(--vy-text-2);
}

.index-row .meta {
  font-family: var(--vy-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vy-text-3);
  text-align: right;
}

.catalog {
  margin-top: 8px;
  border-top: 2px solid var(--vy-line);
}

.catalog-row {
  display: grid;
  grid-template-columns: 60px 1fr 100px 100px 100px;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dotted var(--vy-line-3);
  font-family: var(--vy-mono);
}

.catalog-row.header {
  border-bottom: 2px solid var(--vy-line);
  padding: 10px 0;
}

.catalog-row.header span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--vy-text-3);
}

.catalog-row .ix {
  font-size: 11px;
  color: var(--vy-text-4);
}

.catalog-row .tld {
  font-family: var(--vy-pixel);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--vy-text-1);
}

.catalog-row .tld::first-letter {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.catalog-row .pr {
  font-size: 13px;
  color: var(--vy-text-1);
  text-align: right;
  font-feature-settings: 'tnum' 1;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--vy-text-1);
  color: var(--vy-bg);
  font-family: var(--vy-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 20px;
  transition: all var(--vy-dur-fast) var(--vy-ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--vy-grad);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--vy-dur-fast) var(--vy-ease);
}

.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--vy-bg);
  color: var(--vy-text-1);
  border: 1px solid var(--vy-line);
  font-family: var(--vy-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 11px 19px;
  transition: all var(--vy-dur-fast) var(--vy-ease);
}

.btn-secondary:hover {
  background: var(--vy-text-1);
  color: var(--vy-bg);
}

.cursor {
  display: inline-block;
  width: 0.5em;
  height: 1em;
  background: var(--vy-text-1);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Workspace page — home link (top-left) + auth button (top-right)
   ============================================================ */

.workspace-home {
  position: fixed;
  top: 18px;
  left: 22px;
  z-index: 60;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--vy-line-2);
  background: var(--vy-bg);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transform-origin: left center;
  transition: transform var(--vy-dur-base) var(--vy-ease),
              border-color var(--vy-dur-fast) var(--vy-ease),
              box-shadow var(--vy-dur-fast) var(--vy-ease);
}

.workspace-home:hover {
  border-color: var(--vy-text-1);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  transform: scale(1.06);
}

.workspace-home img {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.workspace-home .back {
  display: inline-block;
  font-family: var(--vy-mono);
  font-size: 10.5px;
  color: var(--vy-text-1);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
  transition: color var(--vy-dur-fast) var(--vy-ease);
}

.workspace-home:hover .back {
  color: transparent;
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Auth button (top-right): LOGIN pill when logged out / × when logged in.
   Fixed-positioned so it stays put when the HUD column scrolls. */
.workspace-auth {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 60;
}

.workspace-auth .auth-login,
.workspace-auth .auth-logout {
  display: none;
}

.workspace-auth.logged-out .auth-login,
.workspace-auth.logged-in .auth-logout {
  display: inline-flex;
}

.auth-login {
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--vy-bg);
  border: 1px solid var(--vy-line-2);
  border-radius: 999px;
  font-family: var(--vy-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vy-text-1);
  cursor: pointer;
  transition: all var(--vy-dur-fast) var(--vy-ease);
}

.auth-login::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vy-grad);
}

.auth-login:hover {
  border-color: var(--vy-text-1);
  transform: scale(1.05);
}

.auth-logout {
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--vy-bg);
  border: 1px solid var(--vy-line-2);
  font-family: var(--vy-mono);
  font-size: 18px;
  color: var(--vy-text-1);
  cursor: pointer;
  transition: all var(--vy-dur-fast) var(--vy-ease);
  line-height: 1;
}

.auth-logout:hover {
  background: var(--vy-text-1);
  color: var(--vy-bg);
  border-color: var(--vy-text-1);
  transform: scale(1.08);
}

/* ============================================================
   Full-screen lock modal (PIN unlock)
   ============================================================ */

.lock-modal {
  position: fixed;
  inset: 0;
  background: var(--vy-page);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 320ms var(--vy-ease);
}

.lock-modal.active { display: flex; }

.lock-content {
  text-align: center;
  max-width: 520px;
  padding: 0 24px;
  position: relative;
}

.lock-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 40px;
  display: block;
}

.lock-eyebrow {
  font-family: var(--vy-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--vy-text-3);
  margin-bottom: 12px;
}

.lock-eyebrow .grad {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.lock-headline {
  font-family: var(--vy-pixel);
  font-weight: 500;
  font-size: 64px;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 0.95;
}

.lock-sub {
  font-family: var(--vy-mono);
  font-size: 13px;
  color: var(--vy-text-2);
  margin-bottom: 48px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.pin-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}

.pin-input {
  width: 52px;
  height: 64px;
  font-family: var(--vy-mono);
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--vy-line-2);
  background: var(--vy-bg);
  color: var(--vy-text-1);
  outline: none;
  transition: all var(--vy-dur-fast) var(--vy-ease);
}

.pin-input:focus {
  border-color: var(--vy-text-1);
  transform: translateY(-2px);
}

.pin-input.filled {
  background: var(--vy-bg);
  border-color: var(--vy-text-1);
}

.lock-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.lock-forgot {
  font-family: var(--vy-mono);
  font-size: 11px;
  color: var(--vy-text-3);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.lock-forgot:hover {
  color: var(--vy-text-1);
}

/* ============================================================
   Login modal (Google + LinkedIn)
   ============================================================ */

.login-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(8px);
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 240ms var(--vy-ease);
}

.login-modal-backdrop.active { display: flex; }

.login-modal {
  background: var(--vy-bg);
  border: 1px solid var(--vy-line-2);
  padding: 40px 36px 32px;
  max-width: 420px;
  width: calc(100vw - 32px);
  text-align: center;
  position: relative;
  animation: scaleIn 320ms var(--vy-ease);
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.login-modal::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--vy-grad);
}

.login-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--vy-line-2);
  background: var(--vy-bg);
  font-size: 16px;
  cursor: pointer;
  border-radius: 50%;
  color: var(--vy-text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--vy-dur-fast) var(--vy-ease);
}

.login-close:hover {
  background: var(--vy-text-1);
  color: var(--vy-bg);
}

.login-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  display: block;
}

.login-headline {
  font-family: var(--vy-pixel);
  font-size: 32px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  padding-bottom: 0.1em;
}

.login-sub {
  font-family: var(--vy-mono);
  font-size: 12px;
  color: var(--vy-text-3);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.login-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--vy-bg);
  border: 1px solid var(--vy-line);
  color: var(--vy-text-1);
  font-family: var(--vy-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all var(--vy-dur-fast) var(--vy-ease);
}

.login-btn:hover {
  background: var(--vy-text-1);
  color: var(--vy-bg);
}

.login-btn .gicon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-divider {
  font-family: var(--vy-mono);
  font-size: 10px;
  color: var(--vy-text-4);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 24px 0 14px;
  position: relative;
}

.login-divider::before,
.login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: var(--vy-line-2);
}

.login-divider::before { left: 0; }
.login-divider::after { right: 0; }

.login-chat-hint {
  font-family: var(--vy-mono);
  font-size: 11px;
  color: var(--vy-text-2);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.login-chat-hint .grad {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.login-terms {
  font-family: var(--vy-mono);
  font-size: 10px;
  color: var(--vy-text-3);
  margin-top: 24px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.login-terms a {
  color: var(--vy-text-1);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   Workspace sidebar (left drawer · sessions)
   Sharp corners, dotted dividers — matches workspace aesthetic.
   ============================================================ */

.sidebar-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.28);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--vy-dur-base) var(--vy-ease);
}

.sidebar-scrim.active {
  opacity: 1;
  pointer-events: auto;
}

.workspace-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 304px;
  background: var(--vy-bg);
  border-right: 1px dotted var(--vy-line);
  z-index: 150;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--vy-dur-base) var(--vy-ease);
  box-shadow: 4px 0 24px rgba(0,0,0,0);
}

.workspace-sidebar.open {
  transform: translateX(0);
  box-shadow: 4px 0 24px rgba(0,0,0,0.08);
}

/* Gradient hairline on the right edge — same brand signature as confirm cards */
.workspace-sidebar::after {
  content: '';
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 100%;
  background: var(--vy-grad);
  opacity: 0;
  transition: opacity var(--vy-dur-base) var(--vy-ease);
}

.workspace-sidebar.open::after { opacity: 0.45; }

/* — Header — */
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px;
  border-bottom: 1px dotted var(--vy-line-2);
}

.sidebar-mark {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sidebar-mark img {
  width: 22px;
  height: 22px;
}

.sidebar-mark-label {
  font-family: var(--vy-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--vy-text-3);
}

.sidebar-close {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vy-line-2);
  background: transparent;
  font-family: var(--vy-mono);
  font-size: 16px;
  color: var(--vy-text-2);
  cursor: pointer;
  transition: all var(--vy-dur-fast) var(--vy-ease);
  line-height: 1;
}

.sidebar-close:hover {
  background: var(--vy-text-1);
  color: var(--vy-bg);
  border-color: var(--vy-text-1);
}

/* — New session button — */
.sidebar-new {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 18px 12px;
  padding: 11px 14px;
  background: var(--vy-bg-ink);
  color: white;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-family: var(--vy-pixel);
  font-size: 14px;
  letter-spacing: 0;
  transition: transform var(--vy-dur-fast) var(--vy-ease);
}

.sidebar-new::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--vy-grad);
}

.sidebar-new:hover { transform: translateX(2px); }

.sidebar-new .plus {
  font-family: var(--vy-mono);
  font-size: 16px;
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sidebar-new .lbl { flex: 1; text-align: left; }

.sidebar-new .kbd {
  font-family: var(--vy-mono);
  font-size: 9.5px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border: 1px dotted rgba(255,255,255,0.3);
}

/* — Search — */
.sidebar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 18px 8px;
  padding: 8px 12px;
  border: 1px dotted var(--vy-line-2);
  background: var(--vy-bg);
}

.sidebar-search .icon {
  font-family: var(--vy-mono);
  font-size: 13px;
  color: var(--vy-text-3);
}

.sidebar-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--vy-mono);
  font-size: 12px;
  color: var(--vy-text-1);
}

.sidebar-search input::placeholder {
  color: var(--vy-text-3);
  text-transform: lowercase;
}

/* — Scroll area + groups — */
.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px 14px;
  scrollbar-width: thin;
}

.sidebar-scroll::-webkit-scrollbar { width: 6px; }
.sidebar-scroll::-webkit-scrollbar-thumb { background: var(--vy-line-2); }

.sidebar-group {
  margin-top: 12px;
}

.sidebar-group-label {
  font-family: var(--vy-mono);
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--vy-text-3);
  padding: 4px 6px 8px;
  border-bottom: 1px dotted var(--vy-line-2);
  margin-bottom: 4px;
}

.sidebar-item {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  font-family: var(--vy-mono);
  font-size: 12px;
  color: var(--vy-text-2);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background var(--vy-dur-fast) var(--vy-ease),
              color var(--vy-dur-fast) var(--vy-ease),
              border-left-color var(--vy-dur-fast) var(--vy-ease);
  cursor: pointer;
}

.sidebar-item .dot {
  width: 6px;
  height: 6px;
  background: var(--vy-line);
  border-radius: 50%;
}

.sidebar-item .ttl {
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-item .time {
  font-size: 9.5px;
  color: var(--vy-text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.sidebar-item:hover {
  background: rgba(10, 10, 10, 0.04);
  color: var(--vy-text-1);
}

.sidebar-item:hover .dot { background: var(--vy-text-2); }

.sidebar-item.active {
  background: var(--vy-bg-ink);
  color: white;
  border-left-color: transparent;
  position: relative;
}

.sidebar-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 2px;
  height: 100%;
  background: var(--vy-grad);
}

.sidebar-item.active .dot {
  background: var(--vy-grad);
}

.sidebar-item.active .ttl { color: white; }
.sidebar-item.active .time { color: rgba(255,255,255,0.5); }

/* — Footer · account row — */
.sidebar-foot {
  border-top: 1px dotted var(--vy-line-2);
  padding: 14px 14px;
  background: var(--vy-bg);
}

.sidebar-account {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-avatar {
  width: 32px;
  height: 32px;
  background: var(--vy-grad);
  color: var(--vy-bg-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--vy-pixel);
  font-size: 15px;
  font-weight: 600;
}

.sidebar-account-info { flex: 1; min-width: 0; }

.sidebar-account-name {
  font-family: var(--vy-pixel);
  font-size: 14px;
  color: var(--vy-text-1);
}

.sidebar-account-meta {
  font-family: var(--vy-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vy-text-3);
  margin-top: 1px;
}

.sidebar-account-cog {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--vy-line-2);
  font-family: var(--vy-mono);
  font-size: 14px;
  color: var(--vy-text-2);
  cursor: pointer;
  transition: all var(--vy-dur-fast) var(--vy-ease);
}

.sidebar-account-cog:hover {
  background: var(--vy-text-1);
  color: var(--vy-bg);
  border-color: var(--vy-text-1);
}

/* ============================================================
   Workspace page layout (no snap container)
   ============================================================ */

.workspace-page {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: relative;
  background: var(--vy-page);
}

/* ============================================================
   Max border-radius variant (workspace preview)
   ============================================================ */

.workspace-rounded .lock-toggle,
.workspace-rounded .vyb-status,
.workspace-rounded .hud-card,
.workspace-rounded .results,
.workspace-rounded .confirm,
.workspace-rounded .input-strip {
  border-radius: 28px !important;
  overflow: hidden;
}

.workspace-rounded .lock-toggle::before {
  border-radius: 999px;
  width: 4px;
  margin-left: 2px;
}

.workspace-rounded .results-actions,
.workspace-rounded .summary,
.workspace-rounded .confirm-head,
.workspace-rounded .confirm-actions {
  border-radius: 0; /* internal dividers don't need to round */
}

.workspace-rounded .quick-btn,
.workspace-rounded .icon-btn,
.workspace-rounded .mode-chip,
.workspace-rounded .btn-primary,
.workspace-rounded .btn-secondary,
.workspace-rounded .tab,
.workspace-rounded .chat-tabs-icon,
.workspace-rounded .row .whois,
.workspace-rounded .lock-toggle-switch,
.workspace-rounded .confirm .pill {
  border-radius: 999px !important;
}

.workspace-rounded .row .whois,
.workspace-rounded .tab,
.workspace-rounded .icon-btn,
.workspace-rounded .chat-tabs-icon,
.workspace-rounded .mode-chip,
.workspace-rounded .btn-primary,
.workspace-rounded .btn-secondary,
.workspace-rounded .quick-btn {
  padding-left: 14px;
  padding-right: 14px;
}

.workspace-rounded .lock-toggle-switch {
  border-radius: 999px;
}

.workspace-rounded .lock-toggle-switch::after {
  border-radius: 50%;
}

.workspace-rounded .confirm::before,
.workspace-rounded .chat-container::before {
  border-radius: 999px 999px 0 0;
}

/* Banner-label for the rounded variant */
.workspace-variant-label {
  position: absolute;
  top: 18px;
  left: 22px;
  font-family: var(--vy-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--vy-bg-ink);
  color: white;
  z-index: 20;
}

.workspace-variant-label .grad {
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* ============================================================
   Page footer — copyright (bottom-left) + links (bottom-right)
   Visible on every section.
   ============================================================ */

.page-footer {
  position: fixed;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  font-family: var(--vy-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--vy-text-1);
  z-index: 89;
  pointer-events: none;
}

.page-footer .copyright,
.page-footer .footer-links {
  pointer-events: auto;
}

.page-footer .copyright {
  color: var(--vy-text-1);
}

.page-footer .footer-links {
  display: flex;
  gap: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-footer .footer-links a {
  color: var(--vy-text-1);
  transition: color var(--vy-dur-fast) var(--vy-ease);
  position: relative;
}

.page-footer .footer-links a:hover {
  color: transparent;
  background: var(--vy-grad);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Adapt footer to in-workspace */
body.in-workspace .page-footer {
  /* stays visible inside workspace too */
}

@media (max-width: 980px) {
  .workspace { grid-template-columns: 1fr; padding: 24px; gap: 16px; }
  .hud { display: none; }
  .topbar { padding: 0 12px; }
  .section-rail { display: none; }
  .bottom-menu { gap: 4px; bottom: 16px; flex-wrap: wrap; max-width: 100vw; padding: 0 8px; }
  .btn-pill { padding: 8px 12px; font-size: 9.5px; }
  .btn-pill.lg { padding: 10px 16px; }
  .page-footer { font-size: 9px; padding: 0 12px; bottom: 6px; flex-direction: column; gap: 4px; align-items: flex-start; }
}

/* ============================================================
   Short viewports (typical laptop screens ≤ 1000px tall)
   — compact section padding & margins so the floating bottom
     menu and page-footer have room without overlapping content.
   ============================================================ */

@media (max-height: 1000px) {
  .aside { padding: 40px 64px 100px; }
  .aside-head { margin-bottom: 36px; }
  .aside-foot { margin-top: 36px; padding-top: 18px; }
  .aside-foot p { font-size: 12px; line-height: 1.6; }

  .section-pad { padding: 36px 64px 96px; }
  .section-head { margin-bottom: 24px; }
  .section-deck { margin-bottom: 18px; gap: 36px; }
  .section-deck p { font-size: 12.5px; line-height: 1.55; }

  .hero-deck { gap: 32px; padding-top: 14px; }
  .hero-lede { font-size: 13px; line-height: 1.55; }
  .hero-meta { margin-bottom: 18px; font-size: 10px; }

  .index-row { padding: 12px 0; }
  .catalog-row { padding: 10px 0; }

  .aside-num { width: 44px; height: 44px; }
  .aside-head { gap: 20px; margin-bottom: 36px; }
  .aside-head .aside-eyebrow { margin-left: 20px; }
  .section-num { width: 38px; height: 38px; }
}

@media (max-height: 820px) {
  .aside { padding: 28px 56px 92px; }
  .aside-head { margin-bottom: 24px; }
  .aside-foot { margin-top: 24px; padding-top: 14px; }
  .pullquote { margin-bottom: 18px; }
  .pullquote-attr { font-size: 9.5px; }

  .section-pad { padding: 28px 56px 92px; }
  .section-head { margin-bottom: 18px; }
  .section-deck { margin-bottom: 14px; }

  .hero-deck { grid-template-columns: 1.6fr 1fr; gap: 24px; }
  .hero-stats dl { font-size: 10.5px; }

  /* Tighten catalog rows so all 6 TLDs + header fit without scroll */
  .catalog-row { padding: 8px 0; font-size: 12px; }
}

/* ============================================================
   STATIC PAGES · about / help / pricing / legal
   ----------------------------------------------------------------
   These pages do NOT use the snap-scroll container — they're
   long-form scrollable documents. Shared chrome: wireframe-banner,
   masthead, page-shell, footer.
   (html/body scroll override lives at the top of the stylesheet.)
   ============================================================ */

/* — Wireframe banner (dev-mode label at the very top) — */
.wireframe-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--vy-bg-ink);
  color: rgba(255,255,255,0.85);
  font-family: var(--vy-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.wireframe-banner strong {
  color: white;
  font-weight: 700;
  margin-right: 4px;
}

/* — Masthead (three-column header on static pages) — */
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 48px 20px;
  border-bottom: 1px dotted var(--vy-line-2);
}

.masthead-left {
  font-family: var(--vy-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--vy-text-3);
}

.masthead-left .dot,
.masthead-center .dot {
  margin: 0 4px;
  color: var(--vy-text-4);
}

.masthead-center {
  display: flex;
  justify-content: center;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--vy-text-1);
}

.logo-wrapper img {
  display: block;
}

.logo-mark {
  font-family: var(--vy-pixel);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: var(--vy-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.masthead-right {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  font-family: var(--vy-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.masthead-right a {
  color: var(--vy-text-2);
  text-decoration: none;
  transition: color var(--vy-dur-fast) var(--vy-ease);
}

.masthead-right a:hover {
  color: transparent;
  background: var(--vy-grad);
  -webkit-background-clip: text;
          background-clip: text;
}

/* — Page shell (main content container on static pages) — */
.page-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 48px 96px;
}

.page-shell h1 {
  font-family: var(--vy-pixel);
  font-weight: 500;
  font-size: clamp(56px, min(8vw, 11vh), 128px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--vy-text-1);
  margin: 0 0 24px;
}

.page-shell h1 em {
  font-style: normal;
  background: var(--vy-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.page-shell h2 {
  font-family: var(--vy-pixel);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 72px 0 24px;
  color: var(--vy-text-1);
}

.page-shell h2 em {
  font-style: normal;
  background: var(--vy-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.page-subtitle {
  font-family: var(--vy-mono);
  font-size: 14px;
  line-height: 1.65;
  color: var(--vy-text-2);
  max-width: 720px;
  margin: 0 0 36px;
}

.page-content {
  margin-top: 28px;
}

.page-shell p {
  font-family: var(--vy-mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--vy-text-2);
  max-width: 760px;
}

.page-shell strong {
  color: var(--vy-text-1);
  font-weight: 600;
}

.page-shell em {
  font-style: italic;
  color: var(--vy-accent);
}

/* — Search bar (manual, legal, catalog filter) — */
.search-bar {
  display: block;
  width: 100%;
  max-width: 480px;
  padding: 12px 16px;
  margin: 0 0 36px;
  border: 1px dotted var(--vy-line-2);
  background: var(--vy-bg);
  font-family: var(--vy-mono);
  font-size: 13px;
  color: var(--vy-text-1);
  outline: none;
  transition: border-color var(--vy-dur-fast) var(--vy-ease);
}

.search-bar:focus { border-color: var(--vy-text-1); }
.search-bar::placeholder { color: var(--vy-text-3); }

/* — Help page: sections + items (dotted dividers, arrow on hover) — */
.help-section {
  margin: 56px 0 0;
  padding-top: 32px;
  border-top: 1px dotted var(--vy-line-2);
}

.help-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.help-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px dotted var(--vy-line-3);
  font-family: var(--vy-mono);
  font-size: 13.5px;
  color: var(--vy-text-1);
  text-decoration: none;
  transition: padding-left var(--vy-dur-fast) var(--vy-ease),
              color var(--vy-dur-fast) var(--vy-ease);
}

.help-item:last-of-type { border-bottom: none; }

.help-item:hover {
  padding-left: 8px;
  color: transparent;
  background: var(--vy-grad);
  -webkit-background-clip: text;
          background-clip: text;
}

.help-item .arrow {
  font-family: var(--vy-mono);
  color: var(--vy-text-3);
  transition: transform var(--vy-dur-fast) var(--vy-ease);
}

.help-item:hover .arrow {
  transform: translateX(4px);
}

/* — About page: sections + colophon — */
.about-section {
  margin: 56px 0 0;
  padding-top: 32px;
  border-top: 1px dotted var(--vy-line-2);
}

.about-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.about-section h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 0 0 16px;
}

.about-section p {
  margin: 0 0 14px;
}

.colophon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 56px;
  margin: 64px 0 0;
  padding-top: 36px;
  border-top: 1px dotted var(--vy-line-2);
}

.colophon-block dt {
  font-family: var(--vy-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--vy-text-3);
  margin-bottom: 8px;
}

.colophon-block dd {
  font-family: var(--vy-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--vy-text-1);
  margin: 0;
}

/* — Pricing page: specimen catalog + index list — */
.specimen-catalog {
  display: flex;
  flex-direction: column;
  border-top: 1px dotted var(--vy-line-2);
  margin-top: 8px;
}

.specimen-catalog-row {
  display: grid;
  grid-template-columns: 60px 1.4fr 1fr 1fr 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dotted var(--vy-line-3);
  font-family: var(--vy-mono);
  font-size: 13px;
  color: var(--vy-text-1);
}

.specimen-catalog-row.header {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vy-text-3);
  padding: 10px 0;
}

.specimen-catalog-row .num {
  color: var(--vy-text-3);
}

.specimen-catalog-row .tld {
  font-family: var(--vy-pixel);
  font-size: 16px;
  background: var(--vy-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.specimen-catalog-row .price {
  font-variant-numeric: tabular-nums;
  color: var(--vy-text-1);
}

/* Pricing index-list reuses .index-row layout (Capabilities also uses it) but
   with a fifth column for price. Override only what's different. */
.index-list .index-row {
  grid-template-columns: 56px 1fr 1.6fr 96px;
  gap: 18px;
  align-items: baseline;
}

.index-list .index-row:first-child { border-top: 1px dotted var(--vy-line-2); }

.index-list .index-row .num {
  font-family: var(--vy-mono);
  font-size: 11px;
  color: var(--vy-text-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.index-list .index-row .name {
  font-family: var(--vy-pixel);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--vy-text-1);
}

.index-list .index-row .desc {
  font-family: var(--vy-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--vy-text-2);
}

.index-list .index-row .meta {
  font-family: var(--vy-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vy-text-1);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* — Legal page: accordion (uses native <details>) — */
.accordion-item {
  border-bottom: 1px dotted var(--vy-line-2);
  padding: 20px 0;
}

.accordion-item:first-of-type { border-top: 1px dotted var(--vy-line-2); }

.accordion-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-family: var(--vy-pixel);
  font-size: 22px;
  font-weight: 500;
  color: var(--vy-text-1);
  transition: color var(--vy-dur-fast) var(--vy-ease);
}

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

.accordion-summary::after {
  content: '+';
  font-family: var(--vy-mono);
  font-size: 22px;
  color: var(--vy-text-3);
  font-weight: 400;
  transition: transform var(--vy-dur-fast) var(--vy-ease);
}

.accordion-item[open] .accordion-summary::after {
  content: '−';
  color: var(--vy-text-1);
}

.accordion-summary:hover { color: var(--vy-accent); }

.accordion-summary .meta {
  font-family: var(--vy-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vy-text-3);
}

.accordion-content {
  padding: 20px 0 8px;
}

.accordion-content h3 {
  font-family: var(--vy-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--vy-text-1);
  margin: 18px 0 8px;
}

.accordion-content h3:first-child { margin-top: 4px; }

.accordion-content p {
  margin: 0 0 12px;
  max-width: 720px;
}

.accordion-content ul,
.accordion-content ol {
  font-family: var(--vy-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--vy-text-2);
  padding-left: 22px;
  max-width: 720px;
  margin: 0 0 14px;
}

.accordion-content li { margin-bottom: 6px; }

.accordion-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.accordion-action {
  font-family: var(--vy-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  border: 1px solid var(--vy-line-2);
  background: var(--vy-bg);
  color: var(--vy-text-1);
  cursor: pointer;
  transition: all var(--vy-dur-fast) var(--vy-ease);
}

.accordion-action:hover {
  background: var(--vy-text-1);
  color: var(--vy-bg);
  border-color: var(--vy-text-1);
}

/* — Static-page footer (long-form footer, three-column grid) — */
body:has(.page-shell) > footer {
  border-top: 1px dotted var(--vy-line-2);
  margin-top: 48px;
  padding: 40px 48px 24px;
  background: var(--vy-page);
}

.footer-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: start;
}

.footer-mark {
  font-family: var(--vy-pixel);
  font-size: 28px;
  background: var(--vy-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.footer-mark em {
  font-style: normal;
  color: inherit;
}

.footer-grid .footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px 24px;
  font-family: var(--vy-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-grid .footer-links a {
  color: var(--vy-text-1);
  text-decoration: none;
  transition: color var(--vy-dur-fast) var(--vy-ease);
}

.footer-grid .footer-links a:hover {
  color: transparent;
  background: var(--vy-grad);
  -webkit-background-clip: text;
          background-clip: text;
}

.footer-meta {
  font-family: var(--vy-mono);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--vy-text-3);
  text-align: right;
}

.footer-meta strong {
  color: var(--vy-text-1);
  font-weight: 600;
}

.footer-bottom {
  max-width: 1080px;
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px dotted var(--vy-line-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--vy-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vy-text-3);
}

.footer-controls {
  display: flex;
  gap: 6px;
}

.footer-controls button {
  font-family: var(--vy-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: 1px solid var(--vy-line-2);
  background: var(--vy-bg);
  color: var(--vy-text-1);
  cursor: pointer;
  transition: all var(--vy-dur-fast) var(--vy-ease);
}

.footer-controls button:hover {
  background: var(--vy-text-1);
  color: var(--vy-bg);
  border-color: var(--vy-text-1);
}

/* — Static-page responsive — */
@media (max-width: 980px) {
  .masthead { grid-template-columns: 1fr; padding: 20px 24px; gap: 12px; text-align: center; }
  .masthead-left, .masthead-right { justify-content: center; }
  .masthead-right { flex-wrap: wrap; gap: 14px; }
  .page-shell { padding: 56px 24px 72px; }
  .colophon { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-meta { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .specimen-catalog-row { grid-template-columns: 40px 1.4fr 1fr; gap: 12px; }
  .specimen-catalog-row .price:nth-of-type(2),
  .specimen-catalog-row .price:nth-of-type(3) { display: none; }
}
