/* OmniSync — Black, Grey & Gold. Theme tokens are defined below. */

:root {
  color-scheme: light;
  --rgb-primary: 0 0 0; --rgb-secondary: 82 82 82;
  --rgb-accent: 128 93 19; --rgb-bg: 255 255 255; --rgb-text: 64 64 64;
  --color-primary: #000; --color-secondary: #525252; --color-accent: #805d13;
  --color-bg: #fff; --color-text: #404040;
  --surface: #fff; --surface-soft: #f5f5f5; --surface-hover: #ededed;
  --line: #d4d4d4; --muted: #666; --on-primary: #fff;
  --gold: #d4af37; --banner: #0a0a0a;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --rgb-primary: 255 255 255; --rgb-secondary: 163 163 163;
  --rgb-accent: 212 175 55; --rgb-bg: 0 0 0; --rgb-text: 192 192 192;
  --color-primary: #fff; --color-secondary: #a3a3a3; --color-accent: #d4af37;
  --color-bg: #000; --color-text: #c0c0c0;
  --surface: #141414; --surface-soft: #1c1c1c; --surface-hover: #262626;
  --line: #404040; --muted: #b3b3b3; --on-primary: #000;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #e5e7eb; }
::-webkit-scrollbar-thumb { background: #9ca3af; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #6b7280; }

/* ── Selection ── */
::selection { background: var(--color-secondary); color: #fff; }

/* ── Animations ── */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(212,175,55,0.25); }
  50%       { box-shadow: 0 0 28px rgba(212,175,55,0.55); }
}
@keyframes pinkGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(163,163,163,0.25); }
  50%       { box-shadow: 0 0 28px rgba(163,163,163,0.55); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes spin { to { transform: rotate(360deg); } }

.glow-cyan  { animation: pulseGlow 3s infinite; }
.glow-pink  { animation: pinkGlow  3s infinite; }
.fade-in-up { animation: fadeInUp  0.5s ease both; }

/* ── Client-side pages and navigation ── */
.page-section { display: none; }
.page-section.is-active { display: block; animation: fadeInUp 0.45s ease both; }
.nav-link { position: relative; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--color-accent);
  transition: right 0.25s ease;
}
.nav-link:hover::after,
.nav-link-active::after { right: 0; }
.nav-link-active { color: #ffffff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Glass Panel (light version) ── */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

/* ── Glow Borders ── */
.border-glow-cyan {
  border-color: rgba(212,175,55,0.45);
  box-shadow: 0 0 14px rgba(212,175,55,0.15);
}
.border-glow-pink {
  border-color: rgba(163,163,163,0.45);
  box-shadow: 0 0 14px rgba(163,163,163,0.15);
}
.border-glow-amber {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.15);
}

/* ── Cards ── */
.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(212,175,55,0.12);
  transform: translateY(-2px);
}

/* ── Buttons ── */
.btn-primary {
  background: var(--color-secondary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--color-primary); transform: translateY(-1px); }

.btn-accent {
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-accent:hover { background: #b68b2d; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 0.5rem 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ── Navbar ── */
.navbar {
  background: var(--color-primary);
  color: #f9fafb;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

/* ── Hero gradient ── */
.hero-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1f2937 60%, #0f172a 100%);
}

/* ── Section alternating ── */
.section-light { background: #ffffff; }
.section-gray  { background: var(--color-bg); }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size:13px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.badge-pink  { background: rgba(163,163,163,0.12); color: var(--color-secondary); border: 1px solid rgba(163,163,163,0.3); }
.badge-cyan  { background: rgba(212,175,55,0.12);  color: var(--color-accent); border: 1px solid rgba(212,175,55,0.3); }
.badge-green { background: rgba(16, 185, 129, 0.12); color: #065f46; border: 1px solid rgba(16,185,129,0.3); }
.badge-amber { background: rgba(245, 158, 11, 0.12); color: #92400e; border: 1px solid rgba(245,158,11,0.3); }
.badge-red   { background: rgba(239, 68, 68, 0.12);  color: #991b1b; border: 1px solid rgba(239,68,68,0.3); }

/* ── Tabs ── */
.tab-active {
  background: var(--color-primary);
  color: #ffffff;
  border-radius: 8px;
}
.tab-inactive {
  color: var(--color-text);
  border-radius: 8px;
}
.tab-inactive:hover { background: #f3f4f6; }

/* ── App Switcher Bar ── */
.app-bar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

/* ── Footer ── */
.footer-dark {
  background: var(--color-primary);
  color: #d1d5db;
}

/* ── Prototype Iframe Container ── */
.proto-container {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* ── Modal Overlay ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  max-width: 540px;
  width: 94%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  animation: fadeInUp 0.3s ease both;
}

/* ── Form Inputs ── */
.input-field {
  width: 100%;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  color: var(--color-primary);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}
.input-field:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(212,175,55,0.12); }

/* ── Stat Cards ── */
.stat-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
}

/* ── Progress Bar ── */
.progress-track { background: #e5e7eb; border-radius: 999px; height: 6px; overflow: hidden; }
.progress-fill-pink { background: var(--color-secondary); height: 100%; border-radius: 999px; transition: width 0.6s ease; }
.progress-fill-cyan { background: var(--color-accent);    height: 100%; border-radius: 999px; transition: width 0.6s ease; }

/* ── Ledger Table ── */
.ledger-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.ledger-table th {
  background: #f3f4f6;
  color: #6b7280;
  font-size:13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.65rem 1rem;
  text-align: left;
}
.ledger-table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid #f3f4f6;
  font-size: 0.875rem;
  color: var(--color-text);
}
.ledger-table tr:hover td { background: #fafafa; }

/* ── POS ── */
.pos-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.7rem;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.pos-item:hover { border-color: var(--color-accent); box-shadow: 0 0 10px rgba(212,175,55,0.15); }

/* ── Responsive helpers ── */
@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
}

/* Theme-aware components and legacy Tailwind utilities. */
body { margin: 0; }
.card, .stat-card, .modal-box, .proto-container, .pos-item, .app-bar,
.section-light { background: var(--surface); border-color: var(--line); }
.glass-panel { background: var(--surface); border-color: var(--line); }
.section-gray { background: var(--surface-soft); }
.input-field { background: var(--surface-soft); color: var(--color-primary); border-color: var(--line); }
.input-field::placeholder { color: var(--muted); opacity: 1; }
.input-field:focus { border-color: var(--color-accent); }
.btn-primary { background: var(--color-primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--color-secondary); color: var(--on-primary); }
.btn-accent { background: var(--gold); color: #111; }
.btn-accent:hover { background: #e3c258; color: #111; }
.btn-outline { color: var(--color-primary); border-color: var(--line); }
.tab-active { background: var(--color-primary); color: var(--on-primary); }
.tab-inactive:hover { background: var(--surface-hover); }
.ledger-table th { background: var(--surface-soft); color: var(--muted); }
.ledger-table td { border-color: var(--line); }
.ledger-table tr:hover td { background: var(--surface-hover); }
.progress-track { background: var(--line); }
.navbar, .footer-dark { background: var(--banner); color: #c0c0c0; }
.hero-gradient { background: linear-gradient(135deg, #000, #202020 60%, #111); color: #c0c0c0; }
.navbar .text-hw-accent, .hero-gradient .text-hw-accent, .footer-dark .text-hw-accent { color: var(--gold); }
.hero-gradient .text-hw-secondary { color: #c0c0c0; }
.hero-gradient .btn-outline { color: #eee; border-color: #737373; }
.navbar .btn-primary, .hero-gradient .btn-primary { background: var(--gold); color: #111; }
.navbar .btn-primary:hover, .hero-gradient .btn-primary:hover { background: #e3c258; }
.theme-toggle { padding: .4rem .65rem; font-size:14px; white-space: nowrap; }
.bg-white { background-color: var(--surface) !important; }
.bg-gray-50, .bg-gray-100 { background-color: var(--surface-soft) !important; }
.bg-gray-200 { background-color: var(--line) !important; }
.border-gray-100, .border-gray-200, .border-gray-300 { border-color: var(--line) !important; }
.text-gray-400, .text-gray-500, .text-gray-600 { color: var(--muted) !important; }
.text-gray-700, .text-gray-800, .text-gray-900 { color: var(--color-text) !important; }
.text-on-primary, .bg-hw-primary.text-white { color: var(--on-primary) !important; }
.bg-hw-primary .text-gray-300, .bg-hw-primary .text-gray-400 { color: var(--on-primary) !important; }
.hover\:bg-hw-primary:hover { background-color: var(--color-primary); color: var(--on-primary) !important; }
.hover\:text-on-primary:hover { color: var(--on-primary) !important; }
.hover\:bg-gray-50:hover, .hover\:bg-gray-100:hover { background-color: var(--surface-hover) !important; }
:root[data-theme="dark"] .badge-green { color: #6ee7b7; }
:root[data-theme="dark"] .badge-red { color: #fca5a5; }
:root[data-theme="dark"] .badge-amber { color: #fcd34d; }
:root[data-theme="dark"] .text-red-400, :root[data-theme="dark"] .text-red-500 { color: #fca5a5; }
:root[data-theme="light"] .text-red-400, :root[data-theme="light"] .text-red-500 { color: #b91c1c; }
:root[data-theme="dark"] .text-gray-300 { color: #c0c0c0; }
:root[data-theme="dark"] .text-white { color: #fff; }
.bg-gradient-to-tr.text-white { color: #fff; text-shadow: 0 1px 3px #000; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-accent); outline-offset: 3px;
}
::-webkit-scrollbar-track { background: var(--surface-soft); }
::-webkit-scrollbar-thumb { background: #737373; }
::selection { background: var(--gold); color: #000; }
:root[data-theme="dark"] .text-green-600 { color: #6ee7b7; }
/* Explicit modal hiding must win over the overlay's display:flex rule. */
.modal-overlay.hidden { display: none !important; }
button:disabled { opacity: .6; cursor: wait; }

/* Inline brand marks remain legible in both themes. */
.brand-icon { display: inline-block; width: 1.25em; height: 1.25em; margin-inline-end: .5em; vertical-align: -.2em; flex-shrink: 0; }

/* Public demo experiences */
#protoContent { display:block; padding:0; min-width:0; }
.proto-container { max-width:1152px; }
.demo-caption { display:flex; justify-content:space-between; gap:24px; padding:28px; border-bottom:1px solid var(--line); align-items:center; }
.demo-caption h3,.demo-dashboard h3 { color:var(--color-primary); font-size:24px; font-weight:800; line-height:1.3; margin:7px 0; }
.demo-caption p { font-size:16px; color:var(--muted); }
.demo-eyebrow { font-size:12px; letter-spacing:.16em; color:var(--color-accent); font-weight:800; }
.demo-pill { display:inline-block; white-space:nowrap; font-size:13px; font-weight:600; padding:5px 9px; background:var(--surface-soft); border:1px solid var(--line); border-radius:99px; }
.demo-gold { color:var(--color-accent); }
.demo-browser { display:flex; justify-content:space-between; gap:12px; padding:12px 22px; font-size:12px; color:var(--muted); background:var(--surface-soft); border-bottom:1px solid var(--line); }
.demo-shop-nav { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px 24px; }
.demo-shop-nav>strong,.demo-retail-header>div>strong { font-size:23px; letter-spacing:.07em; color:var(--color-primary); }
.demo-shop-nav>span { font-size:14px; color:var(--muted); }
.demo-shop-hero { position:relative; overflow:hidden; padding:40px; margin:0 24px; background:var(--surface-soft); border-radius:16px; min-height:285px; }
.demo-shop-hero h3,.demo-mobile-copy h3 { font-size:46px; line-height:1.05; letter-spacing:-.045em; color:var(--color-primary); font-weight:900; margin:12px 0; }
.demo-shop-hero p { color:var(--muted); font-size:15px; margin-bottom:20px; max-width:55%; }
.demo-hero-art { position:absolute; right:9%; top:15%; font-size:100px; transform:rotate(-10deg); }
.demo-hero-art span { display:block; font-size:12px; letter-spacing:.15em; text-align:center; line-height:1.6; color:var(--muted); margin-top:12px; }
.demo-shop-layout { display:grid; grid-template-columns:minmax(0,1fr) 285px; gap:24px; padding:24px; }
.demo-toolbar { display:flex; flex-direction:column; gap:16px; margin-bottom:20px; }
.demo-chips { display:flex; flex-wrap:wrap; gap:5px; }
.demo-chips button { padding:7px 12px; font-size:13px; border-radius:99px; border:1px solid var(--line); }
.demo-chips .selected { color:var(--on-primary); background:var(--color-primary); border-color:var(--color-primary); }
.demo-search { font-size:13px; color:var(--muted); display:block; margin-bottom:14px; }
.demo-search input,.demo-filters select { display:block; background:var(--surface); border:1px solid var(--line); padding:11px 13px; color:var(--color-primary); border-radius:8px; width:100%; margin-top:5px; font-size:15px; }
.demo-products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.demo-product { min-width:0; }
.demo-product-art { background:var(--surface-soft); border:1px solid var(--line); border-radius:12px; height:130px; display:flex; align-items:center; justify-content:center; font-size:54px; position:relative; }
.demo-product-art span { position:absolute; top:8px; left:8px; font-size:12px; color:var(--muted); }
.demo-product h4 { font-weight:700; font-size:14px; color:var(--color-primary); margin:11px 0 6px; }
.demo-product-bottom,.demo-between { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.demo-product-bottom strong { font-size:13px; }
.demo-add { width:28px; height:28px; border-radius:50%; background:var(--color-primary); color:var(--on-primary); font-size:19px; flex-shrink:0; }
.demo-cart { background:var(--surface-soft); border:1px solid var(--line); border-radius:12px; padding:18px; align-self:start; }
.demo-cart h4,.demo-chart h4,.demo-recent h4 { color:var(--color-primary); font-weight:800; margin-bottom:16px; }
.demo-empty { font-size:14px; color:var(--muted); padding:24px 0; line-height:1.8; }
.demo-cart-row { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:12px 0; border-bottom:1px solid var(--line); font-size:14px; }
.demo-cart-row small,.demo-table small { display:block; color:var(--muted); margin-top:4px; font-size:12px; }
.demo-step { display:flex; align-items:center; gap:7px; flex-shrink:0; }
.demo-step button { width:23px; height:25px; background:var(--surface); border:1px solid var(--line); border-radius:5px; }
.demo-total { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; margin:20px 0; font-size:15px; color:var(--color-primary); }
.demo-wide { width:100%; margin-top:7px; font-size:14px; }
.demo-note { font-size:13px; line-height:1.7; color:var(--muted); margin-top:12px; }
.demo-feedback { color:var(--color-accent); font-size:14px; margin-top:14px; line-height:1.7; }
.demo-mobile-stage { display:grid; grid-template-columns:1fr 340px; align-items:center; gap:55px; padding:40px 65px; background:var(--surface-soft); }
.demo-mobile-copy>p { font-size:16px; line-height:1.8; max-width:340px; color:var(--muted); margin:20px 0 30px; }
.demo-feature { display:flex; align-items:center; gap:15px; margin:16px 0; font-size:15px; }
.demo-feature>span { color:var(--color-accent); font-weight:700; font-size:13px; border:1px solid var(--line); padding:8px; border-radius:8px; }
.demo-phone { width:340px; border:8px solid #303030; border-radius:40px; overflow:hidden; background:var(--surface); box-shadow:0 18px 40px #0003; }
.demo-phone-status { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 19px 8px; font-size:12px; color:var(--color-primary); }
.demo-notch { width:82px; height:16px; background:#111; border-radius:20px; }
.demo-phone-brand { padding:13px 20px; border-bottom:1px solid var(--line); }
.demo-phone-brand>strong { color:var(--color-primary); font-size:15px; font-weight:900; }
.demo-phone-brand small { display:block; font-size:12px; color:var(--muted); margin-top:3px; }
.demo-phone-body { height:385px; overflow:auto; padding:20px 16px; }
.demo-phone-body h3 { font-size:21px; font-weight:800; color:var(--color-primary); margin-bottom:16px; }
.demo-phone-body h4 { font-size:14px; font-weight:700; color:var(--color-primary); }
.demo-food-banner { position:relative; background:#d4af3720; padding:20px; border:1px solid #d4af3755; border-radius:14px; margin:15px 0 22px; }
.demo-food-banner strong { color:var(--color-primary); font-size:23px; line-height:1.2; display:block; }
.demo-food-banner>span { position:absolute; right:16px; top:14px; font-size:65px; }
.demo-food-banner p { font-size:12px; margin-top:15px; }
.demo-food-row { display:flex; align-items:center; gap:10px; margin-top:14px; }
.demo-food-row>div { flex:1; }
.demo-food-row small { font-size:12px; color:var(--muted); }
.demo-food-art { width:48px; height:52px; display:grid; place-items:center; font-size:31px; background:var(--surface-soft); border-radius:10px; }
.demo-text-btn { font-size:12px; color:var(--color-accent); }
.demo-phone-tabs { display:grid; grid-template-columns:repeat(5,1fr); padding:10px 5px 14px; border-top:1px solid var(--line); gap:3px; }
.demo-phone-tabs button { font-size:12px; color:var(--muted); }
.demo-phone-tabs button>span { display:block; font-size:21px; line-height:1.3; }
.demo-phone-tabs .selected { color:var(--color-accent); font-weight:800; }
.demo-order { padding:14px; border:1px solid var(--line); border-radius:12px; margin:12px 0; font-size:13px; }
.demo-order p { margin:12px 0; color:var(--muted); }
.demo-track { display:flex; flex-direction:column; gap:10px; margin:15px 0; color:var(--muted); }
.demo-track .done { color:var(--color-accent); }
.demo-profile { text-align:center; }
.demo-profile>span { display:inline-grid; place-items:center; width:64px; height:64px; border-radius:50%; background:#d4af3730; font-size:25px; color:var(--color-accent); margin-bottom:16px; }
.demo-profile p { color:var(--muted); font-size:14px; }
.demo-retail-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px; border-bottom:1px solid var(--line); }
.demo-retail-header small { display:block; color:var(--muted); font-size:13px; margin-top:4px; }
.demo-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:24px 24px 0; }
.demo-metrics>div { padding:18px; border:1px solid var(--line); border-radius:12px; background:var(--surface-soft); }
.demo-metrics small { display:block; color:var(--muted); font-size:13px; }
.demo-metrics strong { display:block; font-size:23px; color:var(--color-primary); font-weight:800; margin-top:8px; overflow-wrap:anywhere; }
.demo-metrics span { font-size:12px; color:var(--muted); display:block; margin-top:9px; }
.demo-table-wrap { overflow:auto; }
.demo-table { width:100%; border-collapse:collapse; text-align:left; font-size:14px; }
.demo-table th { font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); padding:12px; background:var(--surface-soft); }
.demo-table td { padding:15px 12px; border-bottom:1px solid var(--line); white-space:nowrap; }
.demo-table td strong { color:var(--color-primary); font-weight:600; }
.demo-warning { color:var(--color-accent); border-color:var(--color-accent); }
.demo-recent { padding:0 24px 24px; }
.demo-recent .demo-between { padding:10px 0; border-bottom:1px solid var(--line); font-size:14px; }
.demo-filters { display:flex; align-items:end; gap:10px; flex-wrap:wrap; }
.demo-filters label { font-size:12px; color:var(--muted); }
.demo-filters select { font-size:13px; padding:9px; min-width:110px; }
.demo-filters button { font-size:13px; }
.demo-four { grid-template-columns:repeat(4,minmax(0,1fr)); }
.demo-chart-grid { display:grid; grid-template-columns:1.7fr 1fr; gap:18px; padding:24px; }
.demo-chart { border:1px solid var(--line); background:var(--surface); padding:20px; border-radius:12px; min-width:0; }
.demo-chart svg { width:100%; height:auto; margin-top:14px; }
.demo-chart summary { font-size:13px; color:var(--muted); cursor:pointer; margin-top:10px; }
.demo-chart-data { max-height:220px; }
.demo-dashboard>.demo-chart { margin:0 24px 24px; }
.demo-bar-row { margin-top:28px; font-size:13px; }
.demo-bar-row strong { font-size:12px; }
.demo-bar-track { height:7px; border-radius:9px; background:var(--surface-soft); margin-top:10px; overflow:hidden; }
.demo-bar-track span { display:block; height:100%; background:#d4af37; border-radius:9px; }
@media(max-width:900px) { .demo-products { grid-template-columns:repeat(2,minmax(0,1fr)); } .demo-mobile-stage { gap:24px; padding:30px; } .demo-shop-layout { grid-template-columns:minmax(0,1fr) 245px; gap:16px; } .demo-four { grid-template-columns:repeat(2,minmax(0,1fr)); } .demo-retail-header { flex-wrap:wrap; } }
@media(max-width:640px) { .demo-caption { padding:20px; display:block; } .demo-caption>.demo-pill { margin-top:14px; } .demo-caption h3 { font-size:21px; } .demo-browser>span:last-child,.demo-shop-nav>span { display:none; } .demo-shop-nav { padding:18px; } .demo-shop-hero { margin:0 16px; padding:24px; min-height:270px; } .demo-shop-hero h3 { font-size:36px; } .demo-shop-hero p { max-width:60%; font-size:13px; } .demo-hero-art { font-size:65px; top:25%; right:6%; } .demo-hero-art span { font-size:11px; } .demo-shop-layout { grid-template-columns:1fr; padding:16px; } .demo-mobile-stage { display:block; padding:24px 12px; } .demo-mobile-copy { padding:0 12px 24px; } .demo-mobile-copy h3 { font-size:34px; } .demo-mobile-copy>p { margin:12px 0; } .demo-feature { display:none; } .demo-phone { width:min(340px,100%); margin:auto; } .demo-metrics { padding:16px 16px 0; gap:8px; } .demo-metrics>div { padding:12px; } .demo-metrics strong { font-size:18px; } .demo-metrics small { font-size:12px; } .demo-chart-grid { grid-template-columns:1fr; padding:16px; } .demo-dashboard>.demo-chart { margin:0 16px 16px; } .demo-retail-header { padding:18px; } .demo-retail-header .btn-outline { font-size:13px; } .demo-recent { padding:0 16px 16px; } .demo-recent .demo-between { align-items:start; } }
/* Editorial service presentation and restrained studio styling. */
.pro-container { max-width:1120px; margin:auto; }
.pro-section { padding:90px 28px 100px; background:var(--color-bg); }
.pro-eyebrow { display:block; color:var(--color-accent); font-size:12px; font-weight:700; letter-spacing:.18em; margin-bottom:24px; }
.pro-section-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:50px; margin-bottom:54px; }
.pro-section-heading h2 { font-size:clamp(34px,4vw,54px); letter-spacing:-.045em; line-height:1.12; font-weight:600; color:var(--color-primary); }
.pro-section-heading>p { max-width:350px; color:var(--muted); font-size:16px; line-height:1.9; padding-bottom:4px; }
.pro-services { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.pro-service { padding:35px 38px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--surface); transition:background .2s; }
.pro-service:hover { background:var(--surface-soft); }
.pro-service-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:34px; }
.pro-index { font-size:12px; color:var(--muted); letter-spacing:.13em; font-weight:600; }
.pro-icon { width:44px; height:44px; display:inline-block; color:var(--color-accent); flex-shrink:0; }
.pro-service h3 { font-size:24px; line-height:1.3; letter-spacing:-.025em; font-weight:600; color:var(--color-primary); margin-bottom:15px; }
.pro-service>p { max-width:390px; color:var(--muted); font-size:15px; line-height:1.9; min-height:50px; }
.pro-service ul { display:grid; gap:11px; margin:24px 0 32px; }
.pro-service li { font-size:14px; color:var(--color-text); display:flex; gap:12px; align-items:center; }
.pro-service li::before { content:''; width:14px; height:1px; background:var(--color-accent); flex-shrink:0; }
.pro-service-link { display:flex; align-items:center; justify-content:space-between; gap:24px; font-size:14px; font-weight:600; color:var(--color-primary); padding-top:18px; border-top:1px solid var(--line); }
.pro-service-link>span { color:var(--color-accent); font-size:20px; transition:transform .2s; }
.pro-service-link:hover>span { transform:translate(2px,-2px); }
.pro-service-foot { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:30px; }
.pro-service-foot p { font-size:15px; color:var(--muted); }
.pro-service-foot button { font-size:14px; padding:13px 18px; }
.pro-portfolio-empty { border-top:1px solid var(--line); padding-top:35px; min-height:180px; }
.pro-portfolio-empty p { color:var(--muted); font-size:15px; line-height:1.8; margin:18px 0 32px; }
.pro-portfolio-empty a { max-width:330px; }
.pro-portfolio-grid:empty { display:none; }
.pro-portfolio-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.card:hover { transform:none; box-shadow:0 4px 16px #0000000a; }
.glow-cyan,.glow-pink,.app-bar .animate-pulse { animation:none; }
.btn-primary,.btn-accent,.btn-outline { border-radius:6px; font-weight:600; }
.app-bar .badge { border-radius:4px; font-size:12px; letter-spacing:.08em; }
.app-bar .badge .animate-pulse { display:none; }
.hero-gradient { padding-top:115px; padding-bottom:115px; }
.hero-gradient .badge { background:none; border:none; padding:0; font-size:12px; color:#b3b3b3; letter-spacing:.18em; font-weight:500; margin-bottom:28px; }
.hero-gradient h1 { font-size:clamp(46px,6vw,80px); font-weight:600; letter-spacing:-.055em; line-height:1.08; }
.hero-gradient h1 .bg-gradient-to-r { background:none; color:#d4af37; }
.hero-gradient p { font-size:15px; max-width:650px; line-height:1.9; margin-top:24px; margin-bottom:34px; }
.hero-gradient .btn-primary,.hero-gradient .btn-outline { font-size:15px; padding:14px 25px; }
#demos h2,#contact h2 { font-weight:600; letter-spacing:-.035em; }
.demo-caption h3,.demo-dashboard h3 { font-weight:600; }
.demo-shop-hero h3,.demo-mobile-copy h3 { font-weight:600; }
.demo-product-art { background:linear-gradient(140deg,var(--surface-soft),var(--surface)); border-radius:4px; height:150px; }
.demo-product-art .pro-icon { width:72px; height:72px; color:var(--color-secondary); stroke-width:1; }
.demo-hero-art { font-size:0; transform:rotate(-8deg); }
.demo-hero-art>.pro-icon { width:135px; height:135px; color:var(--color-secondary); stroke-width:.8; }
.demo-hero-art span { margin-top:10px; }
.demo-food-art>.pro-icon { width:35px; height:35px; color:var(--color-secondary); stroke-width:1.3; }
.demo-food-banner>span { font-size:0; }
.demo-food-banner>span>.pro-icon { width:70px; height:70px; color:var(--color-accent); stroke-width:1; }
.demo-phone-tabs button>span { font-size:12px; margin-bottom:5px; line-height:2; letter-spacing:.08em; }
.demo-cart,.demo-chart,.demo-metrics>div,.demo-order { border-radius:6px; }
.demo-products .demo-product h4 { font-weight:500; }
.demo-browser>span:first-child { letter-spacing:3px; font-size:11px; }
.demo-profile>span { border-radius:8px; font-size:20px; }
.stat-card .pro-icon { width:26px; height:26px; }
@media(max-width:640px) { .pro-section { padding:55px 20px 65px; } .pro-section-heading { display:block; margin-bottom:32px; } .pro-section-heading>p { margin-top:22px; max-width:none; font-size:15px; } .pro-services { grid-template-columns:1fr; } .pro-service { padding:27px 24px; } .pro-service-top { margin-bottom:24px; } .pro-service h3 { font-size:22px; } .pro-service>p { min-height:0; } .pro-service-foot { display:block; } .pro-service-foot button { margin-top:20px; } .pro-eyebrow { margin-bottom:18px; } .pro-portfolio-grid { grid-template-columns:1fr; } .demo-hero-art>.pro-icon { width:85px; height:85px; } .hero-gradient { padding:75px 22px; } .hero-gradient p { font-size:15px; } }

.page-section.is-active, .fade-in-up { animation: none; }

.public-account-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 24px}.public-account-bar>div{display:flex;align-items:center;gap:18px}.public-studio-label{font-size:12px;letter-spacing:.14em;color:var(--muted)}.public-account-bar a,.public-account-bar button:not(.theme-toggle){font-size:13px;color:var(--color-text);background:none;border:none;cursor:pointer}.public-account-bar [hidden]{display:none!important}@media(max-width:600px){.public-account-bar{padding:10px 16px}.public-studio-label{font-size:12px}.public-account-bar>div{gap:12px}}

/* Readable body copy and stronger daylight contrast across every page. */
body{font-size:16px;line-height:1.65}
.text-xs{font-size:13px;line-height:1.65}.text-sm{font-size:15px;line-height:1.65}
:root[data-theme="light"]{--rgb-text:38 38 38;--rgb-secondary:64 64 64;--color-text:#262626;--color-secondary:#404040;--muted:#4b4b4b;--line:#a1a1a1}
:root[data-theme="light"] input::placeholder,:root[data-theme="light"] textarea::placeholder{color:#626262;opacity:1}
:root[data-theme="light"] .text-gray-400,:root[data-theme="light"] .text-gray-500,:root[data-theme="light"] .text-gray-600{color:#4b4b4b}
:root[data-theme="light"] .hero-gradient .text-gray-400,:root[data-theme="light"] .hero-gradient .text-gray-500,:root[data-theme="light"] .footer-dark .text-gray-400,:root[data-theme="light"] .footer-dark .text-gray-600{color:#c5c5c5}
.pro-service>p,.pro-section-heading>p{font-size:16px;line-height:1.8}
@media(max-width:640px){.hero-gradient p,.pro-section-heading>p{font-size:15px}.demo-field-grid{min-width:0}}

/* Validation feedback keeps field context and never relies on color alone. */
.nv-field-error{display:block;margin:6px 0 8px;color:#ffb4b4;font-size:13px;line-height:1.6;font-weight:500;overflow-wrap:anywhere}.nv-form-summary{padding:11px 14px;border:1px solid #b56464;background:#b5646412;border-radius:6px;color:#ffb4b4;font-size:14px;line-height:1.6;margin:0 0 16px}[aria-invalid="true"]{border-color:#c56b6b!important;outline-offset:2px}:root[data-theme="light"] .nv-field-error,:root[data-theme="light"] .nv-form-summary{color:#9b2020}:root[data-theme="light"] [aria-invalid="true"]{border-color:#a82929!important}.hw-chat-composer .nv-form-summary{display:none}.hw-chat-composer:has([aria-invalid="true"]){flex-wrap:wrap}.hw-chat-composer .nv-field-error{flex-basis:100%;order:3}.hw-chat-dialog .nv-field-error{font-size:12px}.hw-chat-dialog .nv-form-summary{font-size:13px}

/* Completion pass: clear labels and accessible controls without changing the brand. */
.brand-home{background:none;border:0;padding:0;cursor:pointer;border-radius:6px}.brand-home:focus-visible,.mobile-menu-toggle:focus-visible{outline:2px solid var(--gold);outline-offset:5px}.mobile-menu-toggle{min-width:44px;min-height:44px;font-size:24px}.nv-field-label{display:block;color:var(--color-text);font-size:14px;font-weight:600;line-height:1.5;margin-bottom:-9px}body.nv-modal-active{overflow:hidden}.modal-box{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}.modal-box:focus{outline:none}
