/* ==========================================================================
   WINSOME — Modern 2026 AI Startup Design System
   Palette: Navy #060F38 · Ivory #FBF1E0 · Warm Gold #D8B56A
   Typography: Plus Jakarta Sans (Display) · Inter (UI/Body) · JetBrains Mono
   ========================================================================== */

:root {
  --navy: #060F38;
  --navy-deep: #040923;
  --navy-elevated: #0B164A;
  --navy-surface: #0F1D5C;
  --ivory: #FBF1E0;
  --ivory-bright: #FFFBF2;
  --ivory-deep: #F2E3C9;
  --ivory-soft: rgba(251, 241, 224, 0.78);
  --ivory-muted: rgba(251, 241, 224, 0.56);
  --gold: #D8B56A;
  --gold-bright: #E8CC8C;
  --gold-deep: #946F25;
  --gold-rule: rgba(216, 181, 106, 0.32);
  --gold-rule-subtle: rgba(216, 181, 106, 0.16);
  --navy-ink-soft: rgba(6, 15, 56, 0.74);
  --navy-ink-muted: rgba(6, 15, 56, 0.56);
  --navy-rule: rgba(6, 15, 56, 0.12);
  --navy-rule-strong: rgba(6, 15, 56, 0.22);

  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-width: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--navy);
  color: var(--ivory);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.62;
  background-color: var(--navy);
  color: var(--ivory);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 0.14em 0.42em;
  border-radius: 6px;
}

.section-ivory code {
  background: rgba(6, 15, 56, 0.08);
  color: var(--navy);
}

.section-navy code {
  background: rgba(251, 241, 224, 0.09);
  color: var(--gold-bright);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Brand Lockups ---------- */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  user-select: none;
  transition: opacity 0.2s ease;
}

.brand-lockup:hover {
  opacity: 0.9;
}

.brand-lockup-img {
  height: 29px;
  width: auto;
  display: block;
}

.brand-lockup-img--lg {
  height: 33px;
}

/* ---------- Modern Navigation (Sleek Translucent Bar) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 15, 56, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(251, 241, 224, 0.09);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(5, 11, 42, 0.92);
  border-bottom-color: rgba(216, 181, 106, 0.24);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.4);
}

.nav-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: rgba(251, 241, 224, 0.8);
  padding: 0.5rem 0.95rem;
  border-radius: 10px;
  transition: color 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ivory-bright);
  background: rgba(251, 241, 224, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-contact {
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: rgba(251, 241, 224, 0.82);
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-contact:hover {
  color: var(--ivory-bright);
  background: rgba(251, 241, 224, 0.06);
}

.mobile-toggle {
  display: none;
  background: rgba(251, 241, 224, 0.07);
  border: 1px solid rgba(251, 241, 224, 0.18);
  color: var(--ivory);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  display: none;
  background: rgba(4, 9, 35, 0.98);
  border-bottom: 1px solid var(--gold-rule);
  padding: 1.25rem var(--gutter) 1.75rem;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ivory);
  padding: 0.45rem 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  padding: 0.86rem 1.5rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--nav {
  padding: 0.58rem 1.12rem;
  font-size: 0.88rem;
  border-radius: 10px;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-color: rgba(6, 15, 56, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 24px rgba(6, 15, 56, 0.22);
}

.btn--gold:hover {
  background: var(--gold-bright);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 12px 30px rgba(216, 181, 106, 0.32);
  transform: translateY(-1px);
}

.btn--ivory {
  background: var(--ivory);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 6px 20px rgba(0, 0, 0, 0.24);
}

.btn--ivory:hover {
  background: var(--ivory-bright);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
  transform: translateY(-1px);
}

.btn--ghost-ivory {
  background: rgba(251, 241, 224, 0.05);
  color: var(--ivory-bright);
  border-color: rgba(251, 241, 224, 0.2);
}

.btn--ghost-ivory:hover {
  border-color: rgba(216, 181, 106, 0.55);
  background: rgba(216, 181, 106, 0.1);
  color: var(--gold-bright);
}

.btn--navy {
  background: var(--navy);
  color: var(--ivory-bright);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(6, 15, 56, 0.24);
}

.btn--navy:hover {
  background: var(--navy-elevated);
  transform: translateY(-1px);
}

/* ---------- Eyebrow Labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.eyebrow--gold {
  color: var(--gold);
}

.eyebrow--navy {
  color: var(--gold-deep);
}

/* ---------- Hero Section (Cinema-Grade Modern Depth) ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #060F38 0%, #050B2A 100%);
  padding-top: clamp(2.8rem, 5vw, 4.4rem);
  padding-bottom: clamp(4.2rem, 7vw, 6.2rem);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 241, 224, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 241, 224, 0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 10%, transparent 80%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-glow--right {
  top: -120px;
  right: -40px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(216, 181, 106, 0.16) 0%, rgba(216, 181, 106, 0) 70%);
}

.hero-glow--left {
  bottom: -180px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(72, 108, 220, 0.16) 0%, rgba(72, 108, 220, 0) 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.34rem 0.9rem 0.34rem 0.38rem;
  border-radius: 999px;
  background: rgba(251, 241, 224, 0.06);
  border: 1px solid rgba(216, 181, 106, 0.3);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 1.75rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.hero-badge:hover {
  border-color: var(--gold);
  background: rgba(216, 181, 106, 0.12);
  transform: translateY(-1px);
}

.hero-badge-tag {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.52rem;
  border-radius: 999px;
}

.hero-badge-arrow {
  color: var(--gold-bright);
}

.hero-title {
  margin: 0 0 1.45rem;
  font-size: clamp(3.4rem, 6.4vw, 5.45rem);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.045em;
  color: var(--ivory-bright);
}

.hero-title .gold-dot {
  color: var(--gold);
}

.hero-subtitle {
  margin: 0 0 2.2rem;
  font-size: clamp(1.06rem, 1.3vw, 1.18rem);
  line-height: 1.65;
  color: var(--ivory-soft);
  max-width: 48ch;
}

.hero-subtitle strong {
  color: var(--ivory-bright);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.75rem;
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(251, 241, 224, 0.12);
}

.hero-spec-item + .hero-spec-item {
  padding-left: 1.25rem;
  border-left: 1px solid rgba(251, 241, 224, 0.12);
}

.hero-spec-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.32rem;
}

.hero-spec-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ivory-bright);
  letter-spacing: -0.01em;
}

/* ---------- Modern Interactive Relay Console ---------- */
.relay-stage-wrap {
  position: relative;
}

.relay-stage {
  background: linear-gradient(180deg, rgba(16, 30, 94, 0.72) 0%, rgba(7, 14, 48, 0.92) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(251, 241, 224, 0.16);
  border-radius: var(--radius-lg);
  box-shadow:
    0 40px 90px rgba(2, 5, 20, 0.68),
    0 0 0 1px rgba(216, 181, 106, 0.18),
    inset 0 1px 0 rgba(251, 241, 224, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.relay-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(251, 241, 224, 0.09);
  background: rgba(4, 9, 34, 0.6);
}

.contact-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.contact-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(216, 181, 106, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-avatar img {
  width: 25px;
  height: auto;
  display: block;
}

.avatar-online {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ADE80;
  border: 2px solid #040923;
}

.contact-name {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ivory-bright);
  line-height: 1.2;
}

.contact-meta {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.18rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-soft);
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 241, 224, 0.14);
  background: rgba(251, 241, 224, 0.05);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Segmented Glass Tab Switcher */
.scenario-tabs-wrap {
  padding: 0.65rem 1rem 0;
  background: rgba(4, 9, 34, 0.32);
}

.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  padding: 0.24rem;
  border-radius: 12px;
  background: rgba(4, 9, 34, 0.7);
  border: 1px solid rgba(251, 241, 224, 0.09);
}

.scenario-tab {
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--ivory-muted);
  padding: 0.56rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}

.scenario-tab:hover {
  color: var(--ivory-bright);
}

.scenario-tab.active {
  color: var(--ivory-bright);
  background: rgba(216, 181, 106, 0.2);
  box-shadow: inset 0 0 0 1px rgba(216, 181, 106, 0.42);
}

.chat-canvas {
  padding: 1.05rem 1.2rem;
  min-height: 468px;
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
  justify-content: flex-start;
}

.msg {
  max-width: 89%;
  padding: 0.72rem 0.96rem;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.48;
  opacity: 0;
  transform: translateY(8px);
  animation: msgIn 0.35s var(--ease) forwards;
}

@keyframes msgIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.msg--inbound {
  align-self: flex-end;
  background: var(--ivory);
  color: var(--navy);
  border-bottom-right-radius: 5px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.msg--agent {
  align-self: flex-start;
  background: rgba(251, 241, 224, 0.075);
  border: 1px solid rgba(251, 241, 224, 0.14);
  color: var(--ivory-bright);
  border-bottom-left-radius: 5px;
}

.msg-sender {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.28rem;
  display: block;
}

.msg--inbound .msg-sender {
  color: var(--navy-ink-muted);
}

.msg--agent .msg-sender {
  color: var(--gold);
}

.msg-attachment {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.68rem;
  border-radius: 9px;
  background: rgba(6, 15, 56, 0.08);
  border: 1px dashed rgba(6, 15, 56, 0.24);
  margin-bottom: 0.42rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--navy);
}

.msg-list {
  margin: 0.4rem 0 0;
  padding-left: 1rem;
}

.msg-list li {
  margin-bottom: 0.18rem;
}

.msg-prompt-chip {
  display: inline-block;
  margin-top: 0.46rem;
  padding: 0.24rem 0.58rem;
  border-radius: 7px;
  background: rgba(216, 181, 106, 0.16);
  border: 1px solid var(--gold-rule);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 0.69rem;
}

/* Interactive Quick Coach Commands */
.quick-commands {
  padding: 0.65rem 1.2rem;
  border-top: 1px solid rgba(251, 241, 224, 0.08);
  background: rgba(4, 9, 34, 0.44);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.quick-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  margin-right: 0.2rem;
}

.cmd-chip {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
  color: var(--ivory);
  background: rgba(251, 241, 224, 0.06);
  border: 1px solid rgba(251, 241, 224, 0.16);
  border-radius: 8px;
  padding: 0.28rem 0.62rem;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.cmd-chip:hover {
  background: rgba(216, 181, 106, 0.18);
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-1px);
}

.relay-telemetry {
  padding: 0.78rem 1.2rem;
  border-top: 1px solid rgba(251, 241, 224, 0.08);
  background: rgba(4, 9, 34, 0.78);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.telemetry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.telemetry-pill {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.02em;
  color: var(--ivory-soft);
  padding: 0.26rem 0.58rem;
  border-radius: 999px;
  background: rgba(216, 181, 106, 0.1);
  border: 1px solid rgba(216, 181, 106, 0.24);
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.telemetry-pill::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

.replay-btn {
  background: transparent;
  border: 1px solid rgba(251, 241, 224, 0.16);
  border-radius: 8px;
  color: var(--ivory-soft);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.64rem;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.replay-btn:hover {
  background: rgba(216, 181, 106, 0.14);
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* ---------- Capability Strip ---------- */
.ticker-band {
  background: var(--navy-deep);
  border-top: 1px solid rgba(251, 241, 224, 0.08);
  border-bottom: 1px solid rgba(251, 241, 224, 0.08);
  padding: 1.1rem 0;
}

.ticker-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-muted);
}

.ticker-items span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.ticker-items span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Section Framing ---------- */
.section-ivory {
  background: var(--ivory);
  color: var(--navy);
  padding-block: clamp(5rem, 9vw, 8.2rem);
}

.section-navy {
  background: var(--navy);
  color: var(--ivory);
  padding-block: clamp(5rem, 9vw, 8.2rem);
}

.section-relay {
  background:
    radial-gradient(700px 420px at 18% 0%, rgba(216, 181, 106, 0.08), transparent 65%),
    var(--navy);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(1.5rem, 4vw, 4.2rem);
  align-items: end;
  margin-bottom: clamp(3rem, 5.2vw, 4.4rem);
}

.section-title {
  margin: 0.8rem 0 0;
  font-size: clamp(2.35rem, 4.3vw, 3.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-lead {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.66;
}

.section-ivory .section-lead {
  color: var(--navy-ink-soft);
}

.section-navy .section-lead {
  color: var(--ivory-soft);
}

/* ---------- Modern Bento Grid (Winsome Relay) ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.35rem;
}

.bento-card {
  grid-column: span 4;
  background: linear-gradient(180deg, rgba(16, 30, 94, 0.56) 0%, rgba(7, 15, 52, 0.9) 100%);
  border: 1px solid rgba(251, 241, 224, 0.12);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(251, 241, 224, 0.1);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.bento-card:hover {
  border-color: rgba(216, 181, 106, 0.42);
  box-shadow: inset 0 1px 0 rgba(251, 241, 224, 0.16), 0 22px 48px rgba(2, 5, 20, 0.45);
  transform: translateY(-3px);
}

.bento-card--wide {
  grid-column: span 7;
}

.bento-card--medium {
  grid-column: span 5;
}

.bento-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.bento-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(216, 181, 106, 0.12);
  border: 1px solid rgba(216, 181, 106, 0.3);
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.bento-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--ivory-bright);
  line-height: 1.2;
}

.bento-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--ivory-soft);
}

.mini-ui {
  background: rgba(4, 9, 34, 0.8);
  border: 1px solid rgba(251, 241, 224, 0.1);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ivory-soft);
}

.mini-ui .muted {
  color: var(--ivory-muted);
  margin-left: 0.35rem;
}

.mini-ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.48rem 0;
  border-bottom: 1px solid rgba(251, 241, 224, 0.08);
}

.mini-ui-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mini-ui-row:first-child {
  padding-top: 0;
}

.progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(251, 241, 224, 0.1);
  overflow: hidden;
  margin: 0.55rem 0;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
}

.status-chip {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-chip--gold {
  background: rgba(216, 181, 106, 0.16);
  color: var(--gold-bright);
  border: 1px solid rgba(216, 181, 106, 0.36);
}

.status-chip--ivory {
  background: rgba(251, 241, 224, 0.11);
  color: var(--ivory-bright);
}

.sheet-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sheet-tab {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
  padding: 0.38rem 0.7rem;
  border-radius: 8px;
  background: rgba(251, 241, 224, 0.06);
  border: 1px solid rgba(251, 241, 224, 0.13);
  color: var(--ivory-soft);
}

.sheet-tab.active {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(216, 181, 106, 0.14);
}

/* ---------- Philosophy Cards (Modern Ivory Surface) ---------- */
.thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.thesis-card {
  background: #FFFBF2;
  border: 1px solid var(--navy-rule);
  border-radius: var(--radius-md);
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 8px 26px rgba(6, 15, 56, 0.05);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.thesis-card:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 15, 56, 0.24);
  box-shadow: 0 18px 40px rgba(6, 15, 56, 0.09);
}

.thesis-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.thesis-card h3 {
  margin: 0.25rem 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.2;
  color: var(--navy);
}

.thesis-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.66;
  color: var(--navy-ink-soft);
}

/* ---------- Editorial Photography Split ---------- */
.editorial-photo-band {
  margin-top: clamp(2.8rem, 5vw, 4.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  gap: 1.5rem;
  align-items: stretch;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--navy-rule-strong);
  box-shadow: 0 24px 56px rgba(6, 15, 56, 0.14);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 0.75s var(--ease);
}

.photo-frame:hover img {
  transform: scale(1.03);
}

.photo-caption {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.66rem 1rem;
  border-radius: 12px;
  background: rgba(6, 15, 56, 0.82);
  backdrop-filter: blur(14px);
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(216, 181, 106, 0.34);
}

.photo-caption .gold {
  color: var(--gold);
}

.editorial-quote-card {
  background: linear-gradient(160deg, #091547 0%, #050C2B 100%);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.2vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(216, 181, 106, 0.32);
  box-shadow: 0 24px 56px rgba(6, 15, 56, 0.22);
}

.editorial-quote-card blockquote {
  margin: 1.4rem 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.26rem, 1.9vw, 1.54rem);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -0.026em;
  color: var(--ivory-bright);
}

.metric-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding-top: 1.45rem;
  border-top: 1px solid rgba(251, 241, 224, 0.12);
}

.metric-val {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gold-bright);
  line-height: 1.05;
}

.metric-lbl {
  font-size: 0.8rem;
  color: var(--ivory-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* ---------- Workflow Steps (Navy Field) ---------- */
.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.workflow-step {
  padding: 1.55rem 1.65rem;
  border-radius: var(--radius-md);
  background: rgba(251, 241, 224, 0.04);
  border: 1px solid rgba(251, 241, 224, 0.11);
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.workflow-step:hover {
  border-color: rgba(216, 181, 106, 0.38);
  background: rgba(251, 241, 224, 0.065);
}

.step-index {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(216, 181, 106, 0.14);
  border: 1px solid rgba(216, 181, 106, 0.32);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workflow-step h3 {
  margin: 0 0 0.42rem;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.024em;
  color: var(--ivory-bright);
}

.workflow-step p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ivory-soft);
  line-height: 1.62;
}

.huddle-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(251, 241, 224, 0.16);
  background: var(--navy-deep);
  box-shadow: 0 28px 64px rgba(2, 5, 20, 0.5);
}

.huddle-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.huddle-overlay {
  padding: 1.35rem 1.6rem;
  background: rgba(4, 9, 34, 0.94);
  color: var(--ivory);
  border-top: 1px solid rgba(216, 181, 106, 0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.huddle-overlay strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ivory-bright);
}

.huddle-overlay span {
  font-size: 0.84rem;
  color: var(--ivory-muted);
}

/* ---------- Platform Roadmap (Modern 3-Card Suite on Ivory) ---------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin-bottom: clamp(4rem, 7vw, 6rem);
}

.roadmap-card {
  background: #FFFBF2;
  border: 1px solid var(--navy-rule);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(6, 15, 56, 0.05);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.roadmap-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(6, 15, 56, 0.1);
}

.roadmap-card--live {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--gold-rule);
  box-shadow: 0 22px 48px rgba(6, 15, 56, 0.2);
}

.roadmap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.roadmap-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--navy-ink-muted);
}

.roadmap-card--live .roadmap-index {
  color: var(--gold);
}

.roadmap-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.68rem;
  border-radius: 999px;
  border: 1px solid var(--navy-rule-strong);
  color: var(--navy-ink-muted);
}

.roadmap-badge--live {
  background: rgba(216, 181, 106, 0.2);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.roadmap-card h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.roadmap-card--live h3 {
  color: var(--ivory-bright);
}

.roadmap-sub {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0.28rem 0 1rem;
}

.roadmap-card--live .roadmap-sub {
  color: var(--gold);
}

.roadmap-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.64;
  color: var(--navy-ink-soft);
}

.roadmap-card--live p {
  color: var(--ivory-soft);
}

/* ---------- Early Access CTA (High-Contrast Navy + Ivory Split) ---------- */
.access-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #081446 0%, #040A26 100%);
  color: var(--ivory);
  border: 1px solid rgba(216, 181, 106, 0.36);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 4.8vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.2rem, 5vw, 4.2rem);
  align-items: center;
  box-shadow: 0 34px 80px rgba(6, 15, 56, 0.26);
}

.access-glow {
  position: absolute;
  top: -120px;
  left: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 181, 106, 0.16) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.access-left,
.access-right {
  position: relative;
  z-index: 1;
}

.access-title {
  margin: 0.85rem 0 1.1rem;
  font-size: clamp(2.15rem, 3.8vw, 3.15rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.038em;
  color: var(--ivory-bright);
}

.access-copy {
  margin: 0 0 1.85rem;
  font-size: 1.01rem;
  line-height: 1.66;
  color: var(--ivory-soft);
}

.access-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ivory-bright);
}

.access-checklist li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.access-checklist li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(216, 181, 106, 0.18);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.access-form {
  background: var(--ivory-bright);
  color: var(--navy);
  border: 1px solid rgba(216, 181, 106, 0.4);
  border-radius: var(--radius-md);
  padding: clamp(1.65rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  box-shadow: 0 22px 48px rgba(2, 5, 20, 0.42);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-ink-muted);
}

.field input,
.field select {
  width: 100%;
  padding: 0.82rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--navy-rule-strong);
  background: #FFFFFF;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(6, 15, 56, 0.12);
}

.form-note {
  font-size: 0.8rem;
  color: var(--navy-ink-muted);
  margin: 0.1rem 0 0;
}

.form-note a {
  text-decoration: underline;
  color: var(--navy);
  font-weight: 600;
}

.form-success {
  display: none;
  padding: 1.8rem;
  border-radius: var(--radius-md);
  background: rgba(251, 241, 224, 0.08);
  color: var(--ivory);
  border: 1px solid var(--gold);
}

.form-success.visible {
  display: block;
  animation: msgIn 0.35s var(--ease) forwards;
}

.form-success h4 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.form-success p {
  margin: 0 0 1.15rem;
  font-size: 0.93rem;
  color: var(--ivory-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--ivory);
  border-top: 1px solid rgba(251, 241, 224, 0.1);
  padding: 4.5rem 0 2.6rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 0.58fr));
  gap: 2.5rem;
  padding-bottom: 3.2rem;
  border-bottom: 1px solid rgba(251, 241, 224, 0.09);
}

.footer-tagline {
  margin: 1.15rem 0 0;
  font-size: 0.95rem;
  color: var(--ivory-soft);
  max-width: 34ch;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ivory-soft);
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--ivory-bright);
}

.footer-colophon {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.06em;
  color: var(--ivory-muted);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid,
  .section-header,
  .editorial-photo-band,
  .workflow-grid,
  .access-card {
    grid-template-columns: 1fr;
  }

  .bento-card,
  .bento-card--wide,
  .bento-card--medium {
    grid-column: span 12;
  }

  .thesis-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-inner {
    height: 68px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .brand-lockup-img {
    height: 26px;
  }

  .hero-specs {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-spec-item + .hero-spec-item {
    padding-left: 0;
    border-left: 0;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(251, 241, 224, 0.12);
  }

  .chat-canvas {
    min-height: 320px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .huddle-overlay {
    flex-direction: column;
    align-items: flex-start;
  }
}
