@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* =========================================================
   1. DESIGN TOKENS & SYSTEM VARIABLES
   ========================================================= */
:root {
  --bg: #0d1117;
  --bg-deep: #090d12;
  --sidebar: #10151c;
  --surface: #151b23;
  --surface-2: #1a212b;
  --hover: #202833;
  --border: #252d38;
  --border-strong: #303a47;
  --blue: #4c8dff;
  --blue-hover: #69a0ff;
  --blue-pressed: #3978e6;
  --blue-soft: rgba(76, 141, 255, 0.14);
  --text: #e6e8eb;
  --text-2: #a2aab5;
  --muted: #737d89;
  --disabled: #555f6b;
  --success: #70ad8a;
  --warning: #c59a61;
  --error: #c87878;
  --paper-warm: #f6f5f1;
  --paper-card: #ffffff;
  --paper-soft: #eeece5;
  --paper-line: #d9d5cb;
  --ink: #11161c;
  --ink-2: #454c55;
  --orange: #ff6f1e;
  --yellow-note: #ffd83d;
  --mint-note: #53d39a;
  --font-ui: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-code: 'DM Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
}

/* =========================================================
   2. RESET & BASE ELEMENTS
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.modal-open,
body.mobile-nav-open {
  overflow: hidden;
}

button, input {
  font: inherit;
}

button {
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

code, pre, kbd {
  font-family: var(--font-code);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-ui);
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* =========================================================
   3. ATOMS & UTILITY COMPONENTS
   ========================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.button-blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.button-blue:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-1px);
}

.button-large {
  min-height: 48px;
  padding: 12px 24px;
  font-size: 14px;
}

.inline-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--blue);
  font-weight: 700;
  padding: 8px 0;
  transition: color 0.18s ease;
}

.inline-link:hover {
  color: var(--blue-hover);
}

.ghost-mini, .ghost-link, .mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.ghost-mini:hover, .ghost-link:hover, .mini-button:hover {
  color: var(--text);
  background: var(--hover);
  border-color: var(--border-strong);
}

.eyebrow {
  font-family: var(--font-code);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.blue-label {
  color: #8bb0fd;
}

.dark-label {
  color: #717983;
}

kbd {
  font-family: var(--font-code);
  font-size: 9px;
  padding: 2px 6px;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================================================
   4. SITE HEADER & NAVIGATION (WITH WHITE FRAMED ICON)
   ========================================================= */
.site-header {
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  background: rgba(13, 17, 23, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  transition: border-bottom-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-strong);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

/* Premium White Frame for App Icon */
.brand-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 9px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  padding: 3px;
  flex: 0 0 auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.05);
  box-shadow: 0 5px 16px rgba(76, 141, 255, 0.4);
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-word {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.04em;
  color: #fff;
}

.main-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
  background: var(--surface);
  border-color: var(--border);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.header-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  border-radius: var(--radius-pill);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.header-link:hover {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.mobile-menu-toggle:hover {
  border-color: var(--border-strong);
  background: var(--hover);
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scale(0.6);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.mobile-menu-content {
  position: relative;
  z-index: 2;
  background: rgba(13, 17, 23, 0.98);
  border-bottom: 1px solid var(--border-strong);
  padding: 24px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  animation: mobileSlideDown 0.22s ease-out;
}

@keyframes mobileSlideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.mobile-menu nav a:hover {
  background: var(--surface);
  border-color: var(--border);
  color: #fff;
}

.mobile-menu-footer {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.mobile-menu-cta {
  width: 100%;
  justify-content: center;
}

/* =========================================================
   5. HERO SECTION & FULL APP PREVIEW (USER'S REAL DESIGN)
   ========================================================= */
.hero {
  max-width: 1560px;
  margin: 0 auto;
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(360px, 0.65fr) minmax(700px, 1.35fr);
  align-items: center;
  gap: 40px;
  padding: 60px 32px 76px;
}

.hero-copy {
  max-width: 580px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(48px, 5.2vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 800;
  margin: 16px 0 20px;
}

.hand-underline {
  position: relative;
  display: inline-block;
  color: #f0f2f5;
}

.hand-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.06em;
  height: 5px;
  background: var(--blue);
  border-radius: 999px;
  transform: rotate(-1.5deg);
}

.hero-lede {
  font-size: 16px;
  line-height: 1.62;
  color: var(--text-2);
  margin: 0;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 26px;
  color: var(--muted);
  font-size: 11px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(112, 173, 138, 0.6);
}

.meta-divider {
  color: var(--disabled);
}

.hero-proof {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-proof-label {
  font-family: var(--font-code);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #6f7883;
  white-space: nowrap;
}

.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hero-proof-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid #2b3440;
  border-radius: var(--radius-pill);
  background: #121922;
  color: #b9c3cf;
  font-size: 10px;
}

.hero-proof-list span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 4px;
  border-left: 1.8px solid var(--blue);
  border-bottom: 1.8px solid var(--blue);
  transform: rotate(-45deg);
  margin-right: 3px;
  margin-bottom: 2px;
}

/* Hero Stage & Product Window */
.hero-stage {
  position: relative;
  min-width: 0;
}

.hero-stage-label {
  position: absolute;
  top: -26px;
  right: 0;
  font-family: var(--font-code);
  font-size: 9px;
  letter-spacing: 0.09em;
  color: #67717d;
  text-transform: uppercase;
}

.hero-note {
  position: absolute;
  z-index: 3;
  right: -8px;
  bottom: -36px;
  color: var(--orange);
  font-family: cursive;
  font-size: 19px;
  transform: rotate(-4deg);
}

.product-window {
  background: #0b1118;
  border: 1px solid #222d3b;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero-window {
  width: 100%;
}

/* Full App Window Top Bar */
.window-bar {
  height: 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  background: #0c1219;
  border-bottom: 1px solid #1c2634;
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.app-icon-frame {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border-radius: 6px;
  padding: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.app-icon-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.window-search-bar {
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
  height: 28px;
  background: #141c27;
  border: 1px solid #202c3b;
  border-radius: 7px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.window-search-bar:hover {
  background: #182333;
  border-color: #2b3b50;
  color: #cbd5e1;
}

.window-search-bar input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text-2);
  font-size: 11px;
  cursor: pointer;
}

.window-search-bar kbd {
  font-size: 8px;
  padding: 1px 5px;
}

.window-user-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.win-tool-btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #94a3b8;
  position: relative;
  font-size: 12px;
  transition: all 0.15s ease;
}

.win-tool-btn:hover {
  background: #192434;
  color: #fff;
}

.badge-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 14px;
  height: 14px;
  background: #2563eb;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.win-profile {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  border-radius: 6px;
  cursor: pointer;
}

.win-profile:hover {
  background: #16202e;
}

.avatar-wrap {
  position: relative;
  width: 22px;
  height: 22px;
}

.avatar-text {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #253346;
  color: #dbe4ef;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 1px solid #3b4e68;
}

.status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid #0c1219;
}

.status-dot.online {
  background: #10b981;
}

.status-dot.away {
  background: #f59e0b;
}

.profile-name {
  font-size: 11.5px;
  font-weight: 600;
  color: #e2e8f0;
}

.caret-down {
  font-size: 9px;
  color: #64748b;
}

.window-controls {
  display: flex;
  gap: 10px;
  color: #64748b;
  font-size: 11px;
  margin-left: 6px;
  user-select: none;
}

/* Full App 3-Column Layout */
.hero-app,
.full-app-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 260px;
  min-height: 600px;
  background: #0c121a;
}

/* Sidebar (Column 1) */
.app-sidebar {
  background: #0d131c;
  border-right: 1px solid #1a2331;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 500;
  text-align: left;
  transition: all 0.15s ease;
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.sidebar-item.active {
  background: #1e293b;
  color: #fff;
  font-weight: 600;
}

.side-icon {
  font-size: 12px;
  width: 15px;
  text-align: center;
  color: #64748b;
}

.sidebar-item.active .side-icon {
  color: #38bdf8;
}

.side-badge {
  margin-left: auto;
  font-size: 8.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 999px;
}

.side-badge.blue {
  background: #1d4ed8;
  color: #fff;
}

.sidebar-footer {
  padding-top: 10px;
  border-top: 1px solid #1a2331;
}

.workspace-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border-radius: 7px;
  background: #131b26;
  border: 1px solid #1f2b3c;
  cursor: pointer;
  transition: all 0.15s ease;
}

.workspace-pill:hover {
  background: #182231;
  border-color: #2e3f57;
}

.ws-badge {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #4f46e5;
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.ws-title {
  font-size: 10.5px;
  font-weight: 600;
  color: #e2e8f0;
}

.ws-arrow {
  margin-left: auto;
  font-size: 8.5px;
  color: #64748b;
}

/* Center Feed (Column 2) */
.app-center-feed {
  background: #0f1722;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  overflow-y: auto;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.feed-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.feed-subtitle {
  font-size: 11.5px;
  color: #8191a6;
  margin: 3px 0 0;
}

.btn-primary-new {
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 11.5px;
  padding: 6px 12px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary-new:hover {
  background: #3b82f6;
  transform: translateY(-1px);
}

.dropdown-caret {
  font-size: 9px;
}

/* 4 Stat Cards Grid */
.stat-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.stat-card {
  background: #131d2b;
  border: 1px solid #1e2c3e;
  border-radius: 9px;
  padding: 11px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.stat-card:hover {
  border-color: #2b3d55;
  background: #162232;
  transform: translateY(-1px);
}

.stat-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}

.icon-blue {
  background: rgba(37, 99, 235, 0.18);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.16);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.icon-green {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.icon-purple {
  background: rgba(139, 92, 246, 0.16);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.stat-count-line {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.stat-count-line strong {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.stat-count-line span {
  font-size: 10px;
  color: #cbd5e1;
  font-weight: 600;
}

.stat-data small {
  display: block;
  font-size: 8.5px;
  color: #64748b;
  margin-top: 2px;
}

/* Feed Blocks (Pinned & Recent Activity) */
.feed-block {
  background: #121c29;
  border: 1px solid #1c2a3c;
  border-radius: 11px;
  padding: 13px 15px;
}

.block-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #e2e8f0;
}

.pinned-list {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.pinned-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid #182333;
  font-size: 10.5px;
}

.pinned-row:last-child {
  border-bottom: 0;
}

.pinned-main {
  flex: 1;
  min-width: 0;
}

.pinned-headline {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pinned-headline strong {
  color: #e2e8f0;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ref-pill {
  color: #64748b;
  font-family: var(--font-code);
  font-size: 9px;
}

.project-tag {
  color: #64748b;
  font-size: 9px;
  display: block;
  margin-top: 1px;
}

.status-tag {
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-size: 8.5px;
  font-weight: 600;
  white-space: nowrap;
}

.status-in-progress {
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.status-review {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.status-high {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  gap: 4px;
}

.dot-red {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef4444;
}

.avatar-group {
  display: flex;
  align-items: center;
  margin-left: 6px;
}

.group-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1e293b;
  border: 1.5px solid #121c29;
  font-size: 7.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  color: #cbd5e1;
  margin-left: -5px;
}

.time-tag {
  color: #64748b;
  font-size: 9px;
  white-space: nowrap;
  margin-left: 6px;
}

.block-footer {
  padding-top: 9px;
  border-top: 1px solid #182333;
  margin-top: 4px;
}

.link-forward {
  color: #38bdf8;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-forward:hover {
  text-decoration: underline;
}

/* Activity Section Tabs & Feed */
.activity-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.activity-tabs {
  display: flex;
  gap: 3px;
  background: #0c1219;
  border: 1px solid #1a2331;
  border-radius: 7px;
  padding: 2px;
}

.act-tab {
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.14s ease;
}

.act-tab:hover {
  color: #cbd5e1;
}

.act-tab.active {
  background: #1e293b;
  color: #fff;
}

.activity-feed-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}

.activity-card {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.activity-card:last-child {
  border-bottom: 0;
}

.user-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 8.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  color: #fff;
}

.avatar-sara {
  background: #d97706;
}

.activity-icon-badge {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 11px;
}

.blue-badge {
  background: rgba(37, 99, 235, 0.18);
  color: #60a5fa;
}

.purple-badge {
  background: rgba(139, 92, 246, 0.18);
  color: #c084fc;
}

.cyan-badge {
  background: rgba(6, 182, 212, 0.18);
  color: #22d3ee;
}

.activity-body {
  flex: 1;
  min-width: 0;
}

.activity-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.channel-link {
  color: #38bdf8;
  font-family: var(--font-code);
  font-size: 9.5px;
  font-weight: 600;
}

.thread-jump-link {
  color: #38bdf8;
  cursor: pointer;
}

.thread-jump-link:hover {
  text-decoration: underline;
}

.time-dot {
  color: #64748b;
  font-size: 9.5px;
}

.unread-blue-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2563eb;
}

.activity-snippet {
  font-size: 10.5px;
  color: #94a3b8;
  margin: 3px 0 0;
  line-height: 1.45;
}

.badge-mini-in-progress {
  padding: 1px 6px;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border-radius: var(--radius-pill);
  font-size: 8.5px;
  font-weight: 600;
}

/* Right Widgets (Column 3) */
.app-right-widgets {
  background: #0d131c;
  border-left: 1px solid #1a2331;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget-box {
  background: #121c29;
  border: 1px solid #1c2a3c;
  border-radius: 10px;
  padding: 11px 12px;
}

.widget-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #fff;
}

.widget-link {
  color: #38bdf8;
  font-size: 9px;
  font-weight: 600;
}

.widget-link:hover {
  text-decoration: underline;
}

/* Schedule Widget */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 9px;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
}

.schedule-time {
  font-family: var(--font-code);
  font-size: 9px;
  color: #64748b;
  width: 48px;
  flex: 0 0 auto;
}

.schedule-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.bullet-blue {
  background: #2563eb;
}

.bullet-purple {
  background: #8b5cf6;
}

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

.schedule-info strong {
  display: block;
  font-size: 10.5px;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 1px;
  font-size: 8.5px;
  color: #64748b;
}

.mini-avatar-cluster {
  display: flex;
  align-items: center;
}

.mini-avatar-cluster span,
.mini-avatar-cluster b {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid #121c29;
  font-size: 6.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  color: #cbd5e1;
  margin-left: -3px;
}

.mini-avatar-cluster span:first-child {
  margin-left: 0;
}

.cluster-more {
  background: #2563eb !important;
  color: #fff !important;
}

.btn-join {
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #60a5fa;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-join:hover {
  background: #2563eb;
  color: #fff;
}

.btn-join.joined {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

/* Active Threads Widget */
.widget-thread-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 9px;
}

.widget-thread-item {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 6px 7px;
  border-radius: 7px;
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.14s ease;
}

.widget-thread-item:hover,
.widget-thread-item.active {
  background: #182333;
  border-color: #23344b;
}

.thread-doc-icon {
  font-size: 11px;
}

.thread-item-copy {
  flex: 1;
  min-width: 0;
}

.thread-tagline {
  display: block;
  font-size: 10px;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread-item-copy small {
  display: block;
  font-size: 8px;
  color: #64748b;
}

.thread-item-end {
  display: flex;
  align-items: center;
}

.unread-count-badge {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #1d4ed8;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-left: 5px;
}

/* People Online Widget */
.people-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 9px;
}

.person-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

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

.person-info strong {
  display: block;
  font-size: 10.5px;
  color: #e2e8f0;
}

.person-info small {
  display: block;
  font-size: 8.5px;
  color: #64748b;
}

.project-pill-dark {
  font-size: 8px;
  color: #64748b;
  border: 1px solid #1f2b3c;
  border-radius: var(--radius-pill);
  padding: 1px 5px;
  white-space: nowrap;
}

/* Bottom Invite Button */
.btn-invite-team {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px;
  border-radius: 7px;
  background: #131b26;
  border: 1px solid #222f42;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-invite-team:hover {
  background: #192434;
  border-color: #3b82f6;
  color: #fff;
}

.invite-icon {
  font-size: 12px;
}

/* Task Checkbox */
.task-box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-strong);
  background: transparent;
  border-radius: 4px;
  color: transparent;
  display: grid;
  place-items: center;
  font-size: 10px;
  cursor: pointer;
  flex: 0 0 auto;
  transition: all 0.15s ease;
}

.task-box:hover {
  border-color: var(--blue);
}

.pinned-row.done .task-box {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.pinned-row.done strong {
  text-decoration: line-through;
  color: var(--muted);
}

/* =========================================================
   6. COMPARISON MATRIX (SWEEPING PAST OTHER APPS)
   ========================================================= */
.comparison-section {
  padding: 96px 28px;
  background: #080c12;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.vs-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  align-items: stretch;
}

.vs-card {
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid #202b3a;
  background: #101620;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.vs-card-other-chat,
.vs-card-slack {
  border-color: #2e2335;
  background: #130f17;
}

.vs-card-other-tools,
.vs-card-clickup {
  border-color: #2e2028;
  background: #151016;
}

.vs-card-codeline {
  border-color: #2563eb;
  background: #0c1422;
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.18);
  transform: translateY(-8px);
}

.vs-winner-label {
  position: absolute;
  top: -13px;
  left: 24px;
  background: #2563eb;
  color: #fff;
  font-family: var(--font-code);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.vs-brand-badge {
  font-family: var(--font-code);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94a3b8;
}

.vs-brand-badge.badge-blue {
  color: #60a5fa;
}

.vs-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 10px 0 8px;
  color: #fff;
}

.vs-card p {
  font-size: 13px;
  color: #8292a4;
  line-height: 1.5;
  margin: 0;
}

.vs-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.vs-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.5;
}

.point-negative {
  color: #94a3b8;
}

.point-negative span {
  color: #ef4444;
  font-weight: 800;
  flex: 0 0 auto;
}

.point-positive {
  color: #e2e8f0;
}

.point-positive span {
  color: #3b82f6;
  font-weight: 800;
  flex: 0 0 auto;
}

/* =========================================================
   7. SIGNAL BAND
   ========================================================= */
.signal-band {
  background: #e9edf3;
  color: var(--ink);
  border-top: 1px solid #d4dae2;
  border-bottom: 1px solid #d4dae2;
}

.signal-band-inner {
  max-width: 1240px;
  padding: 72px 28px 76px;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.18fr);
  gap: 44px;
  align-items: end;
}

.signal-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.signal-copy h2 span {
  font-weight: 500;
  color: #59616a;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.signal-card {
  min-height: 164px;
  padding: 20px;
  border: 1px solid #cbd1d8;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
}

.signal-card-dark {
  background: #11171f;
  border-color: #11171f;
  color: #f0f3f6;
}

.signal-card-blue {
  background: #d9eaff;
  border-color: #9fbbe0;
}

.signal-card-light {
  background: #f8f9fb;
}

.signal-number {
  font-family: var(--font-code);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #7a838e;
}

.signal-card-dark .signal-number {
  color: #7f96ad;
}

.signal-card strong {
  display: block;
  margin-top: auto;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.signal-card small {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.45;
  color: #69727c;
}

.signal-card-dark small {
  color: #a2acb8;
}

/* =========================================================
   8. POSTER SECTION (THE CODE LINE CHAT WORKFLOW)
   ========================================================= */
.poster-section {
  position: relative;
  overflow: hidden;
  background: var(--paper-warm);
  color: var(--ink);
  border: 0;
}

.poster-inner {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 720px;
  padding: 96px 42px 104px;
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(580px, 1.15fr);
  gap: 60px;
  align-items: center;
}

.poster-copy {
  max-width: 600px;
}

.poster-label {
  color: #555;
}

.poster-copy h2 {
  margin: 14px 0 20px;
  font-size: clamp(74px, 8.5vw, 136px);
  line-height: 0.82;
  letter-spacing: -0.065em;
  font-weight: 800;
  color: #000;
}

.poster-copy h2 span {
  display: inline-block;
  color: #191c20;
}

.poster-copy p {
  max-width: 500px;
  margin-top: 20px;
  color: #454b53;
  font-size: 18px;
  line-height: 1.55;
}

.poster-hand {
  display: inline-block;
  margin-top: 24px;
  color: var(--orange);
  font-family: cursive;
  font-size: 22px;
  transform: rotate(-2deg);
}

.poster-gallery {
  position: relative;
  min-height: 520px;
  background: #000;
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #272d35;
  font-family: var(--font-code);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #8994a2;
}

.gallery-code {
  margin-top: 20px;
  border: 1px solid #252d38;
  border-radius: 12px;
  background: #0d131a;
  padding: 14px 0;
}

.gallery-code-line {
  display: flex;
  gap: 16px;
  padding: 5px 18px;
  font-family: var(--font-code);
  font-size: 11px;
  color: #a8b1bc;
}

.gallery-code-line > span {
  width: 22px;
  color: #596574;
  text-align: right;
  flex: 0 0 22px;
}

.gallery-code-line.is-active {
  background: rgba(76, 141, 255, 0.14);
  box-shadow: inset 3px 0 0 var(--blue);
}

.gallery-code-line.is-active > span {
  color: #dbe7f7;
}

.gallery-thread {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #2b3440;
  border-radius: 12px;
  background: #11171f;
}

.gallery-thread span:first-child,
.gallery-decision > span {
  display: block;
  font-family: var(--font-code);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: #6e7a88;
}

.gallery-thread strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.gallery-thread-state {
  color: #8d98a5;
  font-size: 9px;
  white-space: nowrap;
}

.gallery-decision {
  margin-top: 10px;
  padding: 12px 16px;
  border-left: 2px solid var(--blue);
  background: #11171f;
  border-radius: 0 8px 8px 0;
}

.gallery-decision strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-code);
  font-size: 11px;
}

.gallery-decision small {
  display: block;
  margin-top: 4px;
  color: #737f8d;
  font-size: 9px;
}

.poster-sticky-note {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 196px;
  min-height: 106px;
  padding: 16px;
  background: var(--yellow-note);
  color: #121212;
  border: 1.5px solid #161616;
  border-radius: 14px 14px 18px 14px;
  transform: rotate(1deg);
  box-shadow: 6px 8px 0 rgba(0, 0, 0, 0.15);
  z-index: 4;
}

.sticky-kicker {
  display: block;
  font-family: var(--font-code);
  font-size: 8px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.poster-sticky-note strong {
  display: block;
  margin-top: 8px;
  font-family: cursive;
  font-size: 17px;
  line-height: 1.05;
}

/* White Framed Poster Icon Sticker */
.poster-icon-sticker {
  position: absolute;
  right: 20px;
  top: 64px;
  width: 82px;
  height: 82px;
  border: 1px solid #ffffff;
  border-radius: 18px;
  background: #ffffff;
  display: grid;
  place-items: center;
  transform: rotate(5deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 3;
}

.poster-icon-sticker img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.gallery-handnote {
  position: absolute;
  right: 28px;
  top: 24px;
  z-index: 3;
  max-width: 260px;
  color: var(--orange);
  font-family: cursive;
  font-size: 16px;
  line-height: 1.1;
  text-align: right;
  transform: rotate(-2deg);
}

/* =========================================================
   9. FEATURES SECTION
   ========================================================= */
.section {
  padding: 96px 28px;
}

.section-light {
  background: var(--paper-warm);
  color: var(--ink);
}

.section-dark {
  background: #0a0e14;
  color: var(--text);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-paper {
  background: #f5f4ef;
  color: var(--ink);
}

.section-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.section-intro h2 {
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 12px 0 0;
  font-weight: 700;
}

.section-intro h2 em {
  font-style: italic;
  font-weight: 600;
}

.section-intro p {
  margin: 0;
  color: #626a73;
  font-size: 16px;
  line-height: 1.65;
  max-width: 540px;
}

.editorial-hand {
  display: inline-block;
  margin-top: 16px;
  color: var(--orange);
  font-family: cursive;
  font-size: 19px;
  transform: rotate(-2deg);
}

.feature-rows {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-row {
  display: grid;
  grid-template-columns: 50px minmax(300px, 1fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: center;
  border: 1px solid #d7d3c9;
  border-radius: 18px;
  padding: 32px;
  background: #fff;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.feature-row-dark {
  background: #11171f;
  color: var(--text);
  border-color: #252d38;
}

.feature-row-light {
  background: #f8fafc;
  border-color: #d8dde4;
}

.feature-row-paper {
  background: #eef4f9;
  border-color: #cfd9e4;
}

.feature-index {
  font-family: var(--font-code);
  font-size: 11px;
  color: #828994;
  align-self: start;
}

.feature-kicker {
  font-family: var(--font-code);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #7d858f;
}

.feature-row h3 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 10px 0 12px;
}

.feature-row p {
  margin: 0;
  max-width: 520px;
  color: #626a73;
  font-size: 15px;
  line-height: 1.65;
}

.feature-row-dark p {
  color: #9ba5b2;
}

.feature-sticker-label {
  position: absolute;
  right: 22px;
  top: 18px;
  z-index: 3;
  border: 1px solid #111;
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-family: var(--font-code);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sticker-label-blue {
  background: #d8e8ff;
  border-color: #7da9ef;
}

.sticker-label-yellow {
  background: #ffe89a;
  border-color: #e4bd34;
}

.sticker-label-orange {
  background: #ffd9c7;
  border-color: #e48a61;
  color: #7b3213;
}

.feature-art {
  border: 1px solid #dadbd8;
  border-radius: 14px;
  min-height: 190px;
  position: relative;
  overflow: hidden;
}

.dark-code-art {
  background: #0e141a;
  border-color: #2b333f;
  padding: 14px;
}

.art-path {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-code);
  color: #7e8b9a;
  font-size: 8.5px;
  border-bottom: 1px solid #252d38;
  padding-bottom: 8px;
}

.art-path span {
  color: #9eb0c3;
}

.dark-code-art pre {
  margin: 10px 0;
  color: #aab5c2;
  font-size: 9px;
  line-height: 1.65;
}

.dark-code-art pre span {
  display: inline-block;
  width: 22px;
  color: #515c68;
}

.dark-code-art pre .art-highlight {
  background: rgba(76, 141, 255, 0.16);
  color: #f1f4f8;
  width: calc(100% + 12px);
  padding-left: 4px;
  margin-left: -4px;
  border-radius: 3px;
}

.art-thread-tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(76, 141, 255, 0.35);
  background: var(--blue-soft);
  color: var(--blue-hover);
  font-family: var(--font-code);
  font-size: 8px;
  padding: 5px 8px;
  border-radius: var(--radius-pill);
}

.attention-art {
  padding: 16px;
  background: #f3f3ef;
}

.attention-art-title {
  font-family: var(--font-code);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #7b8289;
}

.attention-art-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
}

.attention-art-grid span {
  padding: 14px 10px;
  border-top: 1px solid #dadbd5;
  color: #707781;
  font-size: 11px;
}

.attention-art-grid span:nth-child(2n) {
  border-left: 1px solid #dadbd5;
}

.attention-art-grid b {
  display: block;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.decision-art {
  background: #f0ede5;
  border-color: #d1cbc0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.decision-art > span {
  font-family: var(--font-code);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: #777d83;
}

.decision-art strong {
  font-family: var(--font-code);
  font-size: 14px;
  margin-top: 8px;
}

.decision-art small {
  color: #6b727a;
  font-size: 10px;
  margin-top: 8px;
  line-height: 1.55;
}

.hand-note-small {
  color: var(--orange);
  font-family: cursive;
  font-size: 18px;
  transform: rotate(-3deg);
  margin-top: 14px;
}

/* =========================================================
   10. PRODUCT STORY & INTERACTIVE SHOWCASE
   ========================================================= */
.product-story {
  background: #0a0e14;
}

.section-intro-center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.section-intro-center p {
  margin: 16px auto 0;
  color: var(--text-2);
  font-size: 16px;
  max-width: 720px;
}

.context-showcase {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.showcase-code,
.showcase-thread {
  border: 1px solid #262f3a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.2);
}

.showcase-code {
  background: #05080c;
}

.showcase-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #262f3a;
  gap: 10px;
}

.showcase-toolbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-pill {
  font-family: var(--font-code);
  font-size: 9px;
  color: #dfe6ef;
  background: #1b2430;
  border: 1px solid #2b3541;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}

.path-text {
  font-family: var(--font-code);
  font-size: 9px;
  color: var(--muted);
}

.branch-pill {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 9px;
  padding: 4px 8px;
}

.large-code {
  padding: 22px 20px;
  min-height: 280px;
}

.large-code > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 5px 8px;
  font-family: var(--font-code);
  font-size: 12px;
  color: #bcc6d2;
  border-left: 2px solid transparent;
  border-radius: 4px;
}

.large-code > div > span {
  color: #556171;
  text-align: right;
}

.large-code code {
  color: #c7d0db;
}

.large-code .code-selected {
  background: rgba(76, 141, 255, 0.14);
  border-left-color: var(--blue);
  color: #fff;
}

.code-foot {
  display: flex;
  gap: 16px;
  padding: 10px 16px;
  border-top: 1px solid #262f3a;
  color: var(--muted);
  font-family: var(--font-code);
  font-size: 9px;
}

.showcase-thread {
  background: #11171f;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.showcase-thread-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-code);
  font-size: 9px;
  color: var(--blue-hover);
}

.showcase-thread .state {
  border: 1px solid #394757;
  border-radius: var(--radius-pill);
  padding: 3px 8px;
  color: #9fabb8;
  font-family: var(--font-code);
  font-size: 8.5px;
  font-weight: 600;
}

.showcase-thread .state.resolved {
  border-color: rgba(112, 173, 138, 0.5);
  background: rgba(112, 173, 138, 0.15);
  color: var(--success);
}

.showcase-thread h3 {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 14px 0 16px;
}

.thread-context-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding: 9px 0;
  font-size: 11px;
}

.thread-context-line span {
  color: var(--muted);
}

.thread-context-line strong {
  font-weight: 500;
}

.message {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.message > div {
  min-width: 0;
}

.message strong {
  font-size: 11px;
}

.message small {
  color: var(--muted);
  font-size: 9px;
  margin-left: 6px;
}

.message p {
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 5px 0 0;
}

.decision-box {
  margin-top: 16px;
  border: 1px solid var(--border);
  background: #121a22;
  border-radius: 10px;
  padding: 12px;
  transition: all 0.2s ease;
}

.decision-box span {
  font-family: var(--font-code);
  font-size: 8.5px;
  color: var(--blue-hover);
  letter-spacing: 0.07em;
}

.decision-box strong {
  display: block;
  font-family: var(--font-code);
  font-size: 12px;
  margin-top: 6px;
}

.decision-box small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 4px;
  line-height: 1.5;
}

.thread-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

/* Timeline Section */
.timeline-section {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: start;
}

.timeline-copy h3 {
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 12px 0;
}

.timeline-copy p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
  max-width: 500px;
}

.hand-note {
  display: block;
  color: var(--orange);
  font-family: cursive;
  font-size: 18px;
  transform: rotate(-2deg);
  margin-top: 20px;
}

.timeline {
  position: relative;
  padding-left: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: var(--border-strong);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 0 0 24px;
}

.timeline-node {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #0f151d;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  font-family: var(--font-code);
  font-size: 8px;
}

.timeline-item.active .timeline-node {
  background: var(--blue-soft);
  color: var(--blue-hover);
  border-color: rgba(76, 141, 255, 0.45);
}

.timeline-item small {
  font-family: var(--font-code);
  font-size: 8.5px;
  color: var(--muted);
  letter-spacing: 0.09em;
}

.timeline-item strong {
  display: block;
  font-size: 13px;
  margin-top: 3px;
}

.timeline-item > div > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

/* =========================================================
   11. PRICING SECTION & BILLING TOGGLE
   ========================================================= */
.pricing-section {
  background: #f0eee8;
  color: var(--ink);
  border-top: 1px solid #d6d2c9;
  border-bottom: 1px solid #d6d2c9;
  overflow: hidden;
}

.pricing-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.75fr) minmax(210px, 0.4fr);
  gap: 42px;
  align-items: center;
}

.pricing-heading-block {
  min-width: 0;
}

.pricing-header h2 {
  font-size: clamp(52px, 6vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  margin: 12px 0 0;
  font-weight: 800;
}

.pricing-header h2 span {
  color: #343a43;
}

.pricing-intro p {
  font-size: 16px;
  line-height: 1.65;
  color: #626a73;
  margin: 0;
  max-width: 380px;
}

.pricing-note {
  margin-top: 20px;
  color: var(--orange);
  font-family: cursive;
  font-size: 19px;
  transform: rotate(-2deg);
  display: inline-block;
}

.pricing-sticky-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 160px;
}

.pricing-sticky-note {
  position: relative;
  width: 220px;
  min-height: 140px;
  padding: 18px 20px;
  background: #ffd731;
  border: 1px solid #111;
  border-radius: 16px 18px 20px 22px;
  transform: rotate(2.8deg);
  box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.05), 0 16px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-sticky-note:hover {
  transform: translateY(-2px) rotate(2.8deg);
  box-shadow: 12px 16px 0 rgba(0, 0, 0, 0.05), 0 20px 28px rgba(0, 0, 0, 0.15);
}

.pricing-sticky-note span {
  display: block;
  font-family: var(--font-code);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #161616;
}

.pricing-sticky-note strong {
  display: block;
  margin-top: 10px;
  font-family: cursive;
  font-size: 20px;
  line-height: 1.05;
  color: #161616;
}

/* Billing frequency switcher */
.billing-switcher-container {
  display: flex;
  justify-content: center;
  margin: 36px 0 18px;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e2ded5;
  border: 1px solid #cfcbbf;
  border-radius: var(--radius-pill);
  padding: 4px;
}

.billing-btn {
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: #606873;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.18s ease;
}

.billing-btn.active {
  background: #11171f;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.billing-discount-badge {
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-family: var(--font-code);
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.pricing-editorial-line {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #727a83;
  font-family: var(--font-code);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.pricing-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid #d5d1c7;
  border-radius: 18px;
  padding: 28px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  background: #0f151d;
  color: var(--text);
  border-color: #2c3b4f;
  box-shadow: 0 16px 36px rgba(12, 18, 26, 0.15);
  transform: translateY(-6px);
}

.price-card-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: var(--radius-pill);
}

.price-card-business {
  background: #f8f6f0;
}

.price-featured-label {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--blue);
  color: #fff;
  border-radius: 0 17px 0 10px;
  padding: 6px 12px;
  font-family: var(--font-code);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.price-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  min-height: 110px;
}

.price-kicker {
  font-family: var(--font-code);
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #717983;
}

.price-card-featured .price-kicker {
  color: #8aaef6;
}

.price-card h3 {
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin: 10px 0 0;
}

.price-marker {
  color: var(--orange);
  font-family: cursive;
  font-size: 16px;
  line-height: 1.05;
  text-align: right;
  max-width: 125px;
  transform: rotate(-3deg);
  flex: 0 0 auto;
}

.price-value {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-value strong {
  font-size: 52px;
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.price-value span {
  font-size: 12px;
  color: #727a83;
}

.price-card-featured .price-value span {
  color: #89939f;
}

.price-subline {
  margin: 6px 0 0;
  color: #707780;
  font-size: 12px;
}

.price-alt {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 6px;
  color: #727a83;
  font-size: 11px;
}

.price-alt strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plan-planned {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  padding: 3px 7px;
  border: 1px solid rgba(197, 154, 97, 0.4);
  border-radius: var(--radius-pill);
  color: #8c7046;
  font-size: 8.5px;
  letter-spacing: 0.08em;
  vertical-align: 2px;
}

.price-button {
  margin-top: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.price-button-dark {
  background: #161d25;
  color: #fff;
  border: 1px solid #161d25;
}

.price-button-dark:hover {
  background: #232c36;
}

.price-button-blue {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
}

.price-button-blue:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

.price-rule {
  height: 1px;
  background: #d5d2ca;
  margin: 22px 0 14px;
}

.price-card-featured .price-rule {
  background: #2a3440;
}

.price-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.price-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #dfddd7;
  font-size: 12px;
  color: #535a63;
  line-height: 1.4;
}

.price-features li:last-child {
  border-bottom: 0;
}

.price-features li span {
  color: var(--blue);
  font-weight: 700;
  flex: 0 0 auto;
}

.price-features li em {
  font-style: normal;
  color: #9b7a4d;
  font-size: 10px;
  margin-left: 3px;
}

.planned-dot {
  color: #9b7a4d !important;
}

.price-card-featured .price-features li {
  border-bottom-color: #27313d;
  color: #b7c0cb;
}

.price-card-featured .price-features li span {
  color: #7eacff;
}

.pricing-honesty {
  margin-top: 22px;
  border: 1px solid #cfcbc2;
  border-radius: 14px;
  background: #ebe7dc;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.pricing-honesty-mark {
  font-family: var(--font-code);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #706d66;
  white-space: nowrap;
}

.pricing-honesty p {
  margin: 0;
  color: #5e636a;
  font-size: 12.5px;
  line-height: 1.55;
}

.pricing-honesty strong {
  color: #2d3238;
}

/* Comparison Table */
.pricing-comparison {
  margin-top: 64px;
  border-top: 1px solid #d3cec3;
  padding-top: 36px;
}

.comparison-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 18px;
}

.comparison-heading h3 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin: 6px 0 0;
}

.comparison-note {
  color: var(--orange);
  font-family: cursive;
  font-size: 18px;
  transform: rotate(2deg);
  white-space: nowrap;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid #ccc8bf;
  border-radius: 16px;
  background: #fff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.comparison-table th,
.comparison-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid #dfdcd5;
  font-size: 12px;
}

.comparison-table th {
  font-family: var(--font-code);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #727983;
  background: #ece9e2;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
  text-align: center;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: #31373e;
}

.comparison-table td:not(:first-child) {
  color: #69717a;
}

.comparison-table .is-pro {
  background: rgba(76, 141, 255, 0.06);
}

.comparison-table th.is-pro {
  color: #3165c5;
  background: rgba(76, 141, 255, 0.08);
}

.table-planned {
  display: inline-flex;
  padding: 3px 8px;
  border: 1px solid rgba(197, 154, 97, 0.45);
  border-radius: var(--radius-pill);
  color: #8c7046;
  background: rgba(197, 154, 97, 0.07);
  font-size: 9px;
}

.comparison-footnote {
  margin: 12px 0 0;
  color: #77736b;
  font-size: 11px;
}

/* =========================================================
   12. ABOUT SECTION
   ========================================================= */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 80px;
}

.about-layout h2 {
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 14px 0 0;
}

.about-body {
  padding-top: 6px;
}

.about-lead {
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin: 0;
  color: #242a30;
}

.about-body > p:not(.about-lead) {
  font-size: 15px;
  line-height: 1.7;
  color: #606770;
  margin: 16px 0 0;
}

.about-divider {
  height: 1px;
  background: #d3d0c7;
  margin: 28px 0;
}

.about-grid-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-grid-notes > div {
  border: 1px solid #d8d8d2;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.about-grid-notes span {
  font-family: var(--font-code);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #7d8792;
}

.about-grid-notes strong {
  display: block;
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #12161c;
}

.about-grid-notes small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.4;
  color: #737a82;
}

/* =========================================================
   13. CONTACT SECTION
   ========================================================= */
.contact-band {
  background: #080c12;
  border-top: 1px solid #1f2731;
  position: relative;
  overflow: hidden;
}

.contact-inner {
  padding: 88px 28px 96px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
}

.contact-copy h2 {
  font-size: clamp(50px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  margin: 12px 0;
}

.contact-copy p {
  font-size: 16px;
  color: var(--text-2);
  max-width: 540px;
  margin: 0;
}

.contact-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.contact-actions .button-blue {
  min-width: 170px;
}

.ghost-link {
  border-radius: var(--radius-pill);
  padding: 10px 16px;
}

.contact-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.contact-sticker {
  width: 180px;
  height: 160px;
  border: 1px solid rgba(0, 0, 0, 0.85);
  border-radius: 36px;
  background: var(--mint-note);
  transform: rotate(-8deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 22px;
  color: #101412;
  box-shadow: 10px 16px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
}

.contact-sticker:hover {
  transform: translateY(-3px) rotate(-6deg);
}

.contact-sticker span {
  font-family: cursive;
  font-size: 21px;
  line-height: 1.05;
  font-weight: 700;
  max-width: 130px;
}

.contact-sticker b {
  font-family: var(--font-code);
  font-size: 22px;
  line-height: 1;
  margin-top: 10px;
  font-weight: 600;
}

.contact-note {
  position: absolute;
  right: 6%;
  bottom: 24px;
  color: var(--orange);
  font-family: cursive;
  font-size: 20px;
  transform: rotate(-4deg);
}

/* =========================================================
   14. FOOTER (WITH WHITE FRAMED ICON)
   ========================================================= */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-top: 1px solid var(--border);
  background: #080c11;
  color: var(--muted);
  font-size: 11px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.footer-brand .brand-icon {
  width: 26px;
  height: 26px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 7px;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--text);
}

/* =========================================================
   15. GLOBAL SEARCH MODAL & TOAST NOTIFICATION
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: start center;
  padding: 100px 20px 20px;
  background: rgba(4, 7, 11, 0.72);
  backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] {
  display: none !important;
}

.search-modal {
  width: min(640px, 100%);
  background: #11171f;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: searchEnter 0.18s ease-out;
}

@keyframes searchEnter {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.search-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.search-icon {
  color: var(--muted);
  font-size: 16px;
}

.search-head input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 14px;
}

.search-head input::placeholder {
  color: var(--muted);
}

.search-close-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  padding: 3px 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.search-close-btn:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.search-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-code);
  font-size: 9px;
  color: var(--muted);
}

.search-hint {
  font-family: var(--font-code);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.search-kbd-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-code);
  font-size: 8.5px;
  color: var(--muted);
}

.search-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  transition: background 0.12s ease, border-color 0.12s ease;
}

.search-item:hover,
.search-item.is-selected {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: #fff;
}

.search-item span {
  font-size: 12px;
  font-weight: 500;
}

.search-item small {
  font-family: var(--font-code);
  font-size: 9px;
  color: var(--muted);
}

.search-empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.search-empty[hidden] {
  display: none !important;
}

/* Toast */
.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: #ecf2f8;
  color: #121820;
  border: 1px solid #cbd5df;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Pulse / Flash highlight effects */
@keyframes linePulse {
  0% { background: rgba(76, 141, 255, 0.16); }
  50% { background: rgba(76, 141, 255, 0.45); box-shadow: 0 0 16px rgba(76, 141, 255, 0.5); }
  100% { background: rgba(76, 141, 255, 0.16); }
}

.flash-pulse {
  animation: linePulse 1.2s ease-in-out;
}

@keyframes boxPulse {
  0% { outline: 2px solid transparent; }
  50% { outline: 2px solid var(--blue); box-shadow: 0 0 20px rgba(76, 141, 255, 0.35); }
  100% { outline: 2px solid transparent; }
}

.flash-box {
  animation: boxPulse 1.2s ease-in-out;
}

/* =========================================================
   16. RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1350px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
  }
  .hero-copy {
    max-width: 840px;
  }
  .hero-stage {
    width: 100%;
  }
  .hero-stage-label {
    display: none;
  }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .vs-matrix-grid {
    grid-template-columns: 1fr;
  }
  .vs-card-codeline {
    transform: none;
  }
  .signal-band-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .poster-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .poster-copy {
    max-width: 760px;
  }
  .feature-row {
    grid-template-columns: 42px 1fr;
  }
  .feature-art {
    grid-column: 2;
  }
  .context-showcase,
  .timeline-section,
  .about-layout,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .pricing-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pricing-sticky-wrap {
    justify-content: flex-start;
    min-height: 0;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .price-card-featured {
    transform: none;
  }
  .comparison-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .comparison-note {
    white-space: normal;
  }
  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .full-app-grid {
    grid-template-columns: 1fr;
  }
  .app-sidebar,
  .app-right-widgets {
    display: none;
  }
  .stat-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .window-search-bar {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 64px;
    padding: 0 16px;
  }
  .header-link span,
  .header-link kbd,
  .header-actions .button {
    display: none;
  }
  .hero {
    padding: 36px 16px 56px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-lede {
    font-size: 15px;
  }
  .stat-cards-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 72px 18px;
  }
  .signal-band-inner {
    padding: 54px 18px 60px;
  }
  .signal-grid {
    grid-template-columns: 1fr;
  }
  .poster-inner {
    padding: 64px 18px 72px;
  }
  .poster-copy h2 {
    font-size: 60px;
  }
  .poster-gallery {
    padding: 16px;
  }
  .poster-sticky-note {
    position: static;
    margin-top: 16px;
    transform: none;
  }
  .poster-icon-sticker {
    display: none;
  }
  .section-intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-row {
    padding: 22px;
    grid-template-columns: 1fr;
  }
  .feature-art {
    grid-column: auto;
  }
  .feature-sticker-label {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
  }
  .pricing-editorial-line {
    flex-direction: column;
    gap: 6px;
  }
  .price-card {
    padding: 22px;
  }
  .price-card-top {
    min-height: 0;
    display: block;
  }
  .price-marker {
    display: inline-block;
    margin-top: 12px;
    text-align: left;
  }
  .pricing-honesty {
    grid-template-columns: 1fr;
  }
  .comparison-table {
    min-width: 640px;
  }
  .about-layout {
    gap: 40px;
  }
  .about-grid-notes {
    grid-template-columns: 1fr;
  }
  .contact-inner {
    padding: 72px 18px 80px;
  }
  .contact-visual {
    justify-content: flex-start;
  }
  .contact-note {
    right: 18px;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 14px;
  }
}

/* =========================================================
   17. WORKSPACE DESIGN UTILITIES & POLISH
   ========================================================= */
.search-lens {
  font-size: 13px;
  color: var(--muted);
  line-height: 1;
}

.tool-glyph {
  font-size: 13px;
  line-height: 1;
}

.has-badge {
  position: relative;
}

.feed-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pin-symbol {
  font-size: 11px;
}

.pinned-block {
  display: flex;
  flex-direction: column;
}

.pinned-check {
  cursor: pointer;
}

.activity-avatar-col {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.vs-card-head {
  display: flex;
  flex-direction: column;
}

.schedule-widget,
.threads-widget,
.people-widget {
  display: flex;
  flex-direction: column;
}

.stat-card-tasks,
.stat-card-messages,
.stat-card-meetings,
.stat-card-prs {
  user-select: none;
}

/* Vector indicators & buttons (Zero Unicode emojis) */
.win-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s ease;
}

.win-btn:hover {
  color: #f0f6fc;
}

.win-btn.win-close:hover {
  color: #f85149;
}

.pinned-check {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pinned-check .check-svg {
  display: none;
}

.pinned-row.done .pinned-check .check-svg {
  display: block;
}

.pinned-row.done .pinned-check {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.vs-icon-cross,
.vs-icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.vs-icon-cross {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
}

.vs-icon-check {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.16);
}

.chk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex: 0 0 auto;
}

.price-card-featured .chk {
  color: #7eacff;
}

.planned-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9b7a4d !important;
  flex: 0 0 auto;
}

.tbl-chk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.srch-kind-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-right: 6px;
  flex: 0 0 auto;
  vertical-align: -1px;
}

.search-close-btn svg {
  display: block;
}

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