/* ============================================================
   STMGraph — Design System (Complete)
   ============================================================ */

:root {
  /* Accent — Soft Teal */
  --accent: #6B9EAD;
  --accent-light: #9ABCC8;
  --accent-dark: #4F7F8C;
  --accent-glow: rgba(107, 158, 173, 0.2);

  /* Dark mode (default) — Deep, comfortable */
  --bg: #16181A;
  --surface: #202224;
  --border: #323438;
  --text: #ECECEA;
  --text-muted: #9A9C98;
  --text-inverse: #16181A;
}

/* Light mode — Clean, not creamy */
[data-theme="light"] {
  --bg: #F0F2F2;
  --surface: #E4E6E6;
  --border: #C9CCCC;
  --text: #1C1E1E;
  --text-muted: #6E7272;
  --text-inverse: #F0F2F2;
  --accent-glow: rgba(107, 158, 173, 0.15);
}

/* ============================================================
   REMOVE DEFAULT LINK HIGHLIGHTS
   ============================================================ */

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

button,
.nav-pill,
.menu-pill {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  outline: none;
}

button:focus,
a:focus,
.nav-pill:focus,
.menu-pill:focus {
  outline: none;
}

button:focus-visible,
a:focus-visible,
.nav-pill:focus-visible,
.menu-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================================
   GRAIN TEXTURE
   ============================================================ */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.006;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  z-index: 9999;
}

/* ============================================================
   WRAPPER
   ============================================================ */

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(22, 24, 26, 0.85);
}

[data-theme="light"] header {
  background: rgba(240, 242, 242, 0.85);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

/* Brand */
.brand {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.brand .dot {
  color: var(--accent);
  text-shadow: 0 0 16px var(--accent-glow);
}

/* ============================================================
   NAV LINKS — PILLS
   ============================================================ */

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0 auto 0 0;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: transparent;
}
.nav-pill:hover {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}
.nav-pill.active {
  color: var(--accent);
  background: rgba(107, 158, 173, 0.08);
  border-color: var(--accent);
}

/* ============================================================
   NAV ACTIONS
   ============================================================ */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}
.theme-toggle:hover {
  background: var(--surface);
  border-color: var(--text-muted);
  color: var(--text);
}

/* ============================================================
   MENU PILL — FIXED
   ============================================================ */

.menu-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1.4;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.menu-pill:hover {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
}

.menu-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
}

/* Override all focus/active states except when .active */
.menu-pill:focus,
.menu-pill:active,
.menu-pill:focus-visible {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
  outline: none !important;
}

/* Only when .active is present */
.menu-pill.active,
.menu-pill.active:focus,
.menu-pill.active:active,
.menu-pill.active:focus-visible {
  background: var(--accent) !important;
  color: var(--text-inverse) !important;
  border-color: var(--accent) !important;
  outline: none !important;
}

.menu-pill span {
  display: inline-block;
}

/* ============================================================
   MOBILE MENU — Dropdown panel
   ============================================================ */

.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease;
  opacity: 0;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

[data-theme="light"] .mobile-menu {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.mobile-menu.open {
  max-height: 300px;
  padding: 16px 24px 20px;
  opacity: 1;
}

.mobile-menu a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  text-align: center;
}

.hero-inner {
  max-width: 680px;
  width: 100%;
}

.hero-brand {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(3.2rem, 12vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 2px;
}
.hero-brand .dot {
  color: var(--accent);
  text-shadow: 0 0 24px var(--accent-glow), 0 0 48px var(--accent-glow);
}

.hero-sub {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 18px;
  border-radius: 2px;
  box-shadow: 0 0 20px var(--accent-glow);
}

.hero-tagline {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.hero-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero-lead p + p {
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  padding: 10px 28px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  line-height: 1.4;
}
.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: scale(1.02);
  box-shadow: 0 0 32px var(--accent-glow);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--text-inverse);
}

.scroll-hint {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.scroll-hint:hover {
  opacity: 1;
}
.scroll-hint .arrow {
  display: inline-block;
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* ============================================================
   SECTION
   ============================================================ */

.section {
  border-top: 1px solid var(--border);
  padding: 60px 0;
  transition: border-color 0.3s ease;
}

.section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0.8;
}

.section-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.section-text {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.section-text p + p {
  margin-top: 12px;
}

.section-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  -webkit-tap-highlight-color: transparent;
}
.section-link:hover {
  color: var(--accent-dark);
}

/* ============================================================
   THREE PILLARS
   ============================================================ */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  transition: background 0.3s ease, border-color 0.3s ease;
  text-align: left;
}
.pillar .icon {
  font-size: 1.2rem;
  margin-bottom: 6px;
  display: block;
}
.pillar h4 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.pillar p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   CREATOR BLOCK
   ============================================================ */

.creator-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  margin-top: 28px;
  transition: background 0.3s ease, border-color 0.3s ease;
  text-align: left;
}
.creator-block .icon {
  font-size: 1.2rem;
  margin-bottom: 4px;
  display: block;
}
.creator-block h4 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.creator-block p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.creator-block p + p {
  margin-top: 8px;
}

/* ============================================================
   FRONTDESK PREVIEW CARD
   ============================================================ */

.frontdesk-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  max-width: 560px;
  margin: 0 auto;
}
.frontdesk-preview .fd-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--text-inverse);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.frontdesk-preview h3 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.frontdesk-preview p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 16px;
}
.frontdesk-preview .btn {
  margin-top: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  transition: border-color 0.3s ease;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.contact-chip:hover {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
  transform: scale(1.02);
}

.footer-copy {
  font-size: 0.65rem;
  color: var(--text-muted);
  opacity: 0.5;
}
.footer-copy .dot {
  color: var(--accent);
}

/* ============================================================
   OVERLAY — Shared Styles
   ============================================================ */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  padding: 40px 20px;
}
.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.overlay-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.25s ease;
  z-index: 310;
}
.overlay-close:hover {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
}

/* ============================================================
   FRONTDESK OVERLAY
   ============================================================ */

.frontdesk-overlay .frontdesk-container {
  max-width: 580px;
  max-height: 620px;
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 20px;
  padding: 20px 20px 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.frontdesk-overlay.open .frontdesk-container {
  transform: scale(1) translateY(0);
}

/* FrontDesk Header */
.frontdesk-overlay .fd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 6px 12px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
[data-theme="light"] .frontdesk-overlay .fd-header {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.frontdesk-overlay .fd-brand-name {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.frontdesk-overlay .fd-dot {
  color: var(--accent);
}
.frontdesk-overlay .fd-brand-sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-left: 6px;
}
.frontdesk-overlay .fd-reset {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.7rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.03);
}
.frontdesk-overlay .fd-reset:hover {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
}

/* FrontDesk Console */
.frontdesk-overlay .fd-console {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .frontdesk-overlay .fd-console {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.frontdesk-overlay .fd-log {
  flex: 1;
  padding: 10px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

/* Messages */
.frontdesk-overlay .fd-msg {
  display: flex;
  flex-direction: column;
  max-width: 92%;
}
.frontdesk-overlay .fd-msg.user {
  align-self: flex-end;
}
.frontdesk-overlay .fd-msg.bot {
  align-self: flex-start;
}
.frontdesk-overlay .fd-msg-bubble {
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 1.05rem;
  line-height: 1.7;
  word-break: break-word;
  font-weight: 600;
}
.frontdesk-overlay .fd-msg.user .fd-msg-bubble {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 4px 12px rgba(107, 158, 173, 0.2);
}
.frontdesk-overlay .fd-msg.bot .fd-msg-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  backdrop-filter: blur(8px);
}
[data-theme="light"] .frontdesk-overlay .fd-msg.bot .fd-msg-bubble {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.frontdesk-overlay .fd-msg-time {
  font-size: 0.55rem;
  color: var(--text-muted);
  opacity: 0.4;
  margin-top: 2px;
  padding: 0 4px;
}

/* Typing indicator */
.frontdesk-overlay .fd-msg.typing .fd-msg-bubble {
  display: flex;
  gap: 5px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
[data-theme="light"] .frontdesk-overlay .fd-msg.typing .fd-msg-bubble {
  background: rgba(255, 255, 255, 0.3);
}
.frontdesk-overlay .fd-msg.typing .fd-msg-bubble span {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: fdBounce 1.4s infinite ease-in-out both;
}
.frontdesk-overlay .fd-msg.typing .fd-msg-bubble span:nth-child(1) { animation-delay: -0.32s; }
.frontdesk-overlay .fd-msg.typing .fd-msg-bubble span:nth-child(2) { animation-delay: -0.16s; }
.frontdesk-overlay .fd-msg.typing .fd-msg-bubble span:nth-child(3) { animation-delay: 0s; }

@keyframes fdBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Chips */
.frontdesk-overlay .fd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 14px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  min-height: 44px;
  flex-shrink: 0;
}
[data-theme="light"] .frontdesk-overlay .fd-chips {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.frontdesk-overlay .fd-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(8px);
}
[data-theme="light"] .frontdesk-overlay .fd-chip {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.frontdesk-overlay .fd-chip:hover {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 158, 173, 0.2);
}

/* Input */
.frontdesk-overlay .fd-input-row {
  display: flex;
  gap: 8px;
  padding: 4px 14px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}
[data-theme="light"] .frontdesk-overlay .fd-input-row {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.frontdesk-overlay .fd-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  outline: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
[data-theme="light"] .frontdesk-overlay .fd-input {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.frontdesk-overlay .fd-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(107, 158, 173, 0.1);
}
.frontdesk-overlay .fd-input::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}
.frontdesk-overlay .fd-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.frontdesk-overlay .fd-send {
  background: var(--accent);
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-inverse);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(107, 158, 173, 0.15);
}
.frontdesk-overlay .fd-send:hover {
  background: var(--accent-dark);
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(107, 158, 173, 0.25);
}
.frontdesk-overlay .fd-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   ABOUT OVERLAY
   ============================================================ */

.about-overlay .about-container {
  max-width: 780px;
  width: 100%;
  background: var(--bg);
  border-radius: 20px;
  padding: 40px 44px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}
.about-overlay.open .about-container {
  transform: scale(1) translateY(0);
}

/* About Hero */
.about-overlay .about-hero {
  padding: 0 0 30px;
  text-align: center;
}
.about-overlay .about-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}
.about-overlay .about-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.8;
}
.about-overlay .about-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 16px;
}
.about-overlay .about-lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* About Sections */
.about-overlay .about-section {
  border-top: 1px solid var(--border);
  padding: 30px 0;
}
.about-overlay .about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}
.about-overlay .about-grid-left {
  padding-top: 4px;
}
.about-overlay .about-section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 8px;
}
.about-overlay .about-section-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.about-overlay .about-subtitle {
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
}
.about-overlay .about-grid-right p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.about-overlay .about-grid-right p:last-child {
  margin-bottom: 0;
}

/* About Pillars */
.about-overlay .about-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-overlay .about-pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  transition: background 0.3s, border-color 0.3s;
}
.about-overlay .about-pillar-icon {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 4px;
}
.about-overlay .about-pillar h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.about-overlay .about-pillar p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* About CTA */
.about-overlay .about-cta {
  border-top: 1px solid var(--border);
  padding: 30px 0 0;
  text-align: center;
}
.about-overlay .about-cta-inner {
  max-width: 480px;
  margin: 0 auto;
}
.about-overlay .about-cta-inner h2 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}
.about-overlay .about-cta-inner p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .menu-pill span {
    display: none;
  }
  .menu-pill {
    padding: 8px 12px;
  }
  .hero {
    padding: 80px 16px 50px;
  }
  .hero-brand {
    font-size: clamp(2.6rem, 10vw, 4rem);
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .about-overlay .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .frontdesk-overlay .frontdesk-container {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 0;
    padding: 16px 12px 12px;
    margin: 0 8px;
  }
  .frontdesk-overlay .fd-close {
    top: 8px;
    right: 12px;
    font-size: 0.8rem;
    padding: 2px 10px;
  }
  .about-overlay .about-container {
    padding: 24px 18px;
    max-height: 95vh;
    border-radius: 12px;
  }
  .overlay {
    padding: 16px 10px;
  }
  .overlay-close {
    top: 10px;
    right: 14px;
    font-size: 0.8rem;
    padding: 4px 12px;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .section {
    padding: 40px 0;
  }
  .creator-block {
    padding: 18px 18px;
  }
  .frontdesk-overlay .frontdesk-container {
    max-height: 85vh;
    padding: 12px 10px 10px;
  }
  .frontdesk-overlay .fd-log {
    padding: 8px 10px;
  }
  .frontdesk-overlay .fd-msg-bubble {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
  .frontdesk-overlay .fd-chips {
    padding: 4px 10px 6px;
    gap: 4px;
    min-height: 36px;
  }
  .frontdesk-overlay .fd-chip {
    font-size: 0.65rem;
    padding: 4px 10px;
  }
  .frontdesk-overlay .fd-input-row {
    padding: 4px 10px 8px;
    gap: 4px;
  }
  .frontdesk-overlay .fd-input {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  .frontdesk-overlay .fd-send {
    font-size: 0.65rem;
    padding: 6px 12px;
  }
  .about-overlay .about-container {
    padding: 18px 14px;
  }
  .about-overlay .about-pillar {
    padding: 16px 18px;
  }
  .about-overlay .about-section {
    padding: 24px 0;
  }
  .about-overlay .about-cta {
    padding: 20px 0 0;
  }
}

@media (max-width: 380px) {
  .frontdesk-overlay .frontdesk-container {
    max-height: 80vh;
  }
  .frontdesk-overlay .fd-msg-bubble {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
  .frontdesk-overlay .fd-brand-name {
    font-size: 0.9rem;
  }
  .frontdesk-overlay .fd-brand-sub {
    display: none;
  }
}