/* ===================================================================
   MARKONI v2 — Living Hospitality OS
   System: pitch black canvas + molten halo + Fraunces display +
   Inter Tight body + JetBrains mono labels.
   Restraint: orange ONLY for signal, CTA, active state, data path.
   Section rhythm: alternates dark/light with smooth transitions.
   =================================================================== */

:root {
  /* Brand palette — canonical */
  --molten:     #FFB300;
  --ember:      #FF8A00;
  --light-gold: #FFD166;
  --copper:     #8C5A11;

  --black:      #050505;
  --ink:        #0A0A0A;
  --charcoal:   #111111;
  --rise:       #1A1A1A;
  --raise:      #232220;
  --graphite:   #444444;
  --warm-gray:  #A4A4A6;
  --light-gray: #E6E6E6;

  --pearl:      #F2EDE4;     /* warm cream — light section bg */
  --pearl-2:    #E8E1D4;
  --paper:      #F8F4EB;
  --ink-dark:   #14110C;     /* type on light */
  --ink-mid:    #4A4640;     /* secondary type on light */
  --ink-mute:   #8A857C;     /* tertiary type on light */
  --line-pearl: rgba(20, 17, 12, 0.10);
  --line-pearl-soft: rgba(20, 17, 12, 0.06);

  --line:        rgba(255, 179, 0, 0.20);
  --line-soft:   rgba(255, 255, 255, 0.06);
  --line-mid:    rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --glow:        rgba(255, 138, 0, 0.55);
  --glow-soft:   rgba(255, 138, 0, 0.25);

  /* V1 type system — Inter Tight everywhere; Fraunces italic ONLY for em accents; mono for chrome */
  --sans:    'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif:   'Fraunces', 'Times New Roman', serif;
  --display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --body:    'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  --container: 1320px;
  --gutter: 32px;
  --section-pad: 160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--black); color: #fff; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;                      /* clip avoids creating a scroll context that breaks fixed footer reveal */
}
::selection { background: var(--molten); color: var(--black); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

/* ===================== Section themes ===================== */
.theme-dark { background: var(--black); color: #fff; }
.theme-light {
  background: var(--pearl);
  color: var(--ink-dark);
}
.theme-light a { color: inherit; }

/* Smooth transition between dark <-> light using a warm-tinted bleed */
.section-bleed {
  height: 96px;
  position: relative;
  z-index: 0;
}
.section-bleed.dark-to-light {
  background: linear-gradient(180deg, var(--black) 0%, rgba(20, 16, 8, 0.95) 30%, rgba(180, 145, 80, 0.55) 70%, var(--pearl) 100%);
}
.section-bleed.light-to-dark {
  background: linear-gradient(180deg, var(--pearl) 0%, rgba(180, 145, 80, 0.45) 30%, rgba(20, 16, 8, 0.95) 70%, var(--black) 100%);
}

/* ===================== Type =====================*/
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--molten);
}
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--warm-gray); }
.theme-light .mono { color: var(--ink-mute); }
.serif { font-family: var(--display); font-style: italic; font-weight: 300; letter-spacing: -0.025em; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--molten);
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--molten);
}

.section-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-title em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--molten);
  font-weight: 300;
}
.theme-light .section-title em { color: var(--ember); }
.section-sub {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--light-gray);
  max-width: 56ch;
  font-weight: 400;
}
.theme-light .section-sub { color: var(--ink-mid); }

/* ===================== Section frame ===================== */
.section {
  position: relative;
  padding: var(--section-pad) 0;
}
.section-head {
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: 80px;
  max-width: 720px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head.wide { max-width: 920px; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px;
  font-family: var(--body); font-size: 14.5px; font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 200ms cubic-bezier(.22,1,.36,1), box-shadow 200ms, background 200ms, border-color 200ms, color 200ms;
}
.btn-molten {
  background: linear-gradient(180deg, var(--light-gold) 0%, var(--molten) 60%, var(--ember) 100%);
  color: #1A0F00;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2), 0 12px 32px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,0.45);
  font-weight: 600;
}
.btn-molten:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(0,0,0,0.2), 0 18px 40px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn-molten .arrow { width: 14px; height: 14px; transition: transform 220ms; }
.btn-molten:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: #fff;
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }
.theme-light .btn-ghost { border-color: var(--line-pearl); color: var(--ink-dark); background: rgba(20,17,12,0.02); }
.theme-light .btn-ghost:hover { background: rgba(20,17,12,0.06); border-color: rgba(20,17,12,0.3); }

.btn-link { color: var(--warm-gray); height: 44px; padding: 0; gap: 8px; }
.btn-link:hover { color: #fff; }
.theme-light .btn-link { color: var(--ink-mid); }
.theme-light .btn-link:hover { color: var(--ink-dark); }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--warm-gray);
  background: rgba(255,255,255,0.02);
}
.theme-light .tag { border-color: var(--line-pearl); color: var(--ink-mid); background: rgba(20,17,12,0.02); }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--molten); box-shadow: 0 0 6px var(--glow); }

/* ===================== Nav ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0;
  transition: background 240ms ease, backdrop-filter 240ms ease, padding 240ms ease, border-color 240ms ease, color 240ms ease;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.nav.scrolled {
  background: rgba(5,5,5,0.78);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  padding: 14px 0;
  border-bottom-color: var(--line-soft);
}
.nav.over-light {
  color: var(--ink-dark);
}
.nav.over-light.scrolled {
  background: rgba(242, 237, 228, 0.85);
  border-bottom-color: var(--line-pearl-soft);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: -0.02em;
}
.nav-brand .by { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--warm-gray); margin-left: 4px; text-transform: uppercase; font-weight: 500; }
.nav.over-light .nav-brand .by { color: var(--ink-mute); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 14px;
  color: var(--light-gray);
  transition: color 200ms;
  font-weight: 400;
}
.nav.over-light .nav-links a { color: var(--ink-mid); }
.nav-links a:hover { color: var(--molten); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { height: 40px; padding: 0 18px; font-size: 13.5px; }

/* ===================== HERO — split atmosphere ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid; grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
}
/* corner ornaments */
.hero-corner {
  position: absolute;
  width: 12px; height: 12px;
  color: var(--ink-mid);
  opacity: 0.6;
  z-index: 4;
}
.hero-corner svg { width: 100%; height: 100%; }
.hero-corner.tl { top: 100px; left: 32px; color: var(--warm-gray); }
.hero-corner.bl { bottom: 32px; left: 32px; color: var(--warm-gray); }
.hero-corner.tr { top: 100px; right: 32px; color: var(--warm-gray); opacity: 0.5; }
.hero-corner.br { bottom: 32px; right: 32px; color: var(--warm-gray); opacity: 0.5; }

.hero-left {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 80px 88px;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.06);
  backdrop-filter: blur(12px);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  color: var(--light-gold); text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 30px;
  font-weight: 500;
}
.hero-eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--molten); box-shadow: 0 0 8px var(--glow); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }

.hero-headline {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(56px, 7.6vw, 116px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  max-width: 13ch;
  text-wrap: balance;
}
.hero-headline em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  color: var(--light-gold);
  font-weight: 300;
  letter-spacing: -0.035em;
  filter: drop-shadow(0 0 36px rgba(255, 209, 102, 0.35));
}

.hero-sub {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--light-gray);
  max-width: 38ch;
  text-wrap: balance;
}

.hero-ctas {
  margin-top: 36px;
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}

.hero-foot {
  position: absolute;
  bottom: 36px; left: 88px; right: 88px;
  display: flex; justify-content: space-between; align-items: flex-end;
  z-index: 3;
  pointer-events: none;
}
.hero-foot > * { pointer-events: auto; }
.hero-channels {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  color: var(--warm-gray); text-transform: uppercase; font-weight: 500;
  max-width: 60ch;
}
.hero-channels-label { color: var(--molten); margin-right: 4px; }
.hero-channels-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--graphite); display: inline-block; }
.hero-tagline-right {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  color: var(--warm-gray); text-transform: uppercase;
  text-align: right;
  max-width: 30ch;
  line-height: 1.7;
}
.hero-tagline-right strong { color: var(--light-gold); font-weight: 500; }

/* RIGHT — molten corridor */
.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-corridor {
  position: absolute; inset: 0;
  background:
    /* Vertical light shafts */
    linear-gradient(180deg, transparent 0%, rgba(255, 138, 0, 0.05) 30%, rgba(255, 179, 0, 0.18) 50%, rgba(255, 138, 0, 0.05) 70%, transparent 100%),
    /* Curtain edges */
    linear-gradient(90deg, var(--black) 0%, rgba(15, 10, 5, 0.95) 8%, rgba(80, 50, 15, 0.6) 24%, rgba(255, 138, 0, 0.55) 46%, rgba(255, 209, 102, 0.7) 50%, rgba(255, 138, 0, 0.55) 54%, rgba(80, 50, 15, 0.6) 76%, rgba(15, 10, 5, 0.95) 92%, var(--black) 100%);
}
.hero-corridor::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 30% 80% at 50% 50%, rgba(255, 209, 102, 0.6), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(255, 138, 0, 0.4), transparent 80%);
  filter: blur(40px);
  animation: corridorBreathe 8s ease-in-out infinite;
}
.hero-corridor::after {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(0,0,0,0.06) 20px 21px),
    radial-gradient(ellipse 8% 100% at 50% 50%, rgba(255, 255, 255, 0.5), transparent 70%);
  mix-blend-mode: overlay;
  filter: blur(8px);
}
@keyframes corridorBreathe {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.hero-grain {
  position: absolute; inset: 0;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Wordmark in the glow */
.hero-wordmark {
  position: absolute;
  right: 60px; top: 50%; transform: translateY(-50%);
  font-family: var(--display);
  font-style: italic;
  font-size: 64px;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: rgba(255, 209, 102, 0.25);
  mix-blend-mode: overlay;
  z-index: 2;
  user-select: none;
  pointer-events: none;
}

/* tiny demo card floating in the corridor — like a UI peek */
.hero-peek {
  position: absolute;
  right: 60px; bottom: 110px;
  width: 280px;
  background: linear-gradient(180deg, rgba(20,16,8,0.85), rgba(10,8,4,0.85));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 138, 0, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  z-index: 3;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 20px 60px -10px rgba(255, 138, 0, 0.4), inset 0 1px 0 rgba(255, 209, 102, 0.15);
  animation: peekFloat 6s ease-in-out infinite;
}
@keyframes peekFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-peek-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 8px; border-bottom: 1px solid rgba(255, 138, 0, 0.15);
}
.hero-peek-app {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em;
  color: var(--molten); text-transform: uppercase; font-weight: 500;
}
.hero-peek-app::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--molten);
  box-shadow: 0 0 6px var(--glow); animation: pulse 2s ease-in-out infinite;
}
.hero-peek-meta { font-family: var(--mono); font-size: 9.5px; color: var(--warm-gray); letter-spacing: 0.04em; }
.hero-peek-body { font-size: 12px; color: var(--light-gray); line-height: 1.45; }
.hero-peek-body b { color: #fff; font-weight: 500; }

/* ===================== Trust strip ===================== */
/* Background overridden by Top.jsx — uses theme tokens (cream in light, near-black in dark) */
.trust {
  padding: 56px 0;
  /* background removed — theme-aware version in Top.jsx */
  border-top: 1px solid var(--line-soft);
}
.trust-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 60px; flex-wrap: wrap;
}
.trust-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  color: var(--warm-gray); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.trust-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--molten); box-shadow: 0 0 6px var(--glow); }
.trust-logos {
  display: flex; gap: 56px; align-items: center; flex-wrap: wrap;
  flex: 1; justify-content: center;
}
.trust-logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-size: 19px; color: var(--warm-gray); letter-spacing: -0.005em;
  opacity: 0.75; transition: opacity 200ms, color 200ms;
}
.trust-logo:hover { opacity: 1; color: var(--light-gray); }
.trust-logo .placeholder {
  width: 24px; height: 24px; border-radius: 4px;
  border: 1px solid var(--line-mid);
  background:
    repeating-linear-gradient(135deg, transparent 0 5px, rgba(255,179,0,0.06) 5px 6px);
}

/* ===================== CALCULATOR (light section, conversion moment) ===================== */
.calc-section {
  position: relative;
  padding: 140px 0 160px;
  background:
    radial-gradient(900px 600px at 80% 10%, rgba(255, 138, 0, 0.10), transparent 60%),
    var(--pearl);
  color: var(--ink-dark);
}
.calc-stage {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: stretch;
}
.calc-intro {
  display: flex; flex-direction: column; gap: 24px;
  padding-right: 20px;
}
.calc-intro .section-eyebrow { color: var(--ember); }
.calc-intro .section-eyebrow::before { background: var(--ember); }
.calc-intro .section-title { color: var(--ink-dark); }
.calc-intro .section-sub { color: var(--ink-mid); }

.micro-stats {
  margin-top: 16px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding-top: 32px; border-top: 1px solid var(--line-pearl);
}
.micro-stat { display: flex; flex-direction: column; gap: 6px; }
.micro-stat-num {
  font-family: var(--display); font-size: 36px; line-height: 1;
  color: var(--ember); font-weight: 400;
}
.micro-stat-num em { font-family: var(--serif); font-style: italic; font-weight: 300; }
.micro-stat-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--ink-mute); text-transform: uppercase;
}

.calc-card {
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(255,138,0,0.2);
  border-radius: 16px;
  padding: 40px;
  display: flex; flex-direction: column; gap: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px -16px rgba(20, 16, 8, 0.18), 0 0 0 1px rgba(20,16,8,0.04);
}
.calc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--molten), transparent);
}
.calc-card-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 20px; border-bottom: 1px solid var(--line-soft);
}
.calc-card-head .mono { color: var(--molten); }
.calc-card-head-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; color: var(--molten); letter-spacing: 0.16em; text-transform: uppercase;
}
.calc-card-head-live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--molten);
  box-shadow: 0 0 8px var(--glow); animation: pulse 2s ease-in-out infinite;
}

.calc-readout {
  display: flex; flex-direction: column; gap: 8px;
}
.calc-readout-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em;
  color: var(--warm-gray); text-transform: uppercase;
}
.calc-bignum {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(64px, 7vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #fff;
  display: flex; align-items: baseline;
  text-shadow: 0 0 80px rgba(255, 179, 0, 0.25);
}
.calc-bignum-currency {
  font-size: 0.45em;
  margin-right: 8px;
  color: var(--molten);
  font-style: italic;
  font-family: var(--serif);
  font-weight: 300;
}
.calc-bignum em { font-family: var(--serif); font-style: italic; color: var(--light-gold); margin-left: 0.2em; font-weight: 300; }
.calc-readout-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--warm-gray);
}

.calc-stack-bar {
  display: flex; height: 8px; border-radius: 4px; overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.calc-stack-bar-seg { transition: width 400ms ease; }

.calc-buckets { display: flex; flex-direction: column; gap: 12px; }
.calc-bucket {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 14px; align-items: center;
}
.calc-bucket-dot { width: 8px; height: 8px; border-radius: 2px; }
.calc-bucket-label { font-size: 14px; color: var(--light-gray); }
.calc-bucket-val { font-family: var(--mono); font-size: 13.5px; color: #fff; letter-spacing: 0.02em; }

.calc-controls { display: flex; flex-direction: column; gap: 22px; }
.calc-row { display: flex; flex-direction: column; gap: 8px; }
.calc-row-head { display: flex; justify-content: space-between; align-items: baseline; }
.calc-row-head label { font-size: 13.5px; color: var(--light-gray); font-weight: 400; }
.calc-val { font-family: var(--mono); font-size: 13px; color: var(--molten); }
.calc-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2px;
  background: var(--line-strong);
  border-radius: 1px; outline: none; cursor: pointer;
  position: relative;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px;
  background: linear-gradient(180deg, var(--light-gold), var(--molten));
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 1px var(--molten), 0 0 14px var(--glow);
  cursor: grab;
  transition: transform 150ms;
}
.calc-slider::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.calc-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  background: linear-gradient(180deg, var(--light-gold), var(--molten));
  border-radius: 50%; border: 3px solid var(--ink);
  box-shadow: 0 0 0 1px var(--molten), 0 0 14px var(--glow);
  cursor: grab;
}

.calc-cta {
  margin-top: 8px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.calc-cta-note {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  color: var(--warm-gray); text-transform: uppercase;
}

/* ===================== MEET MARKONI — operating system view (dark) ===================== */
.meet-section {
  padding: var(--section-pad) 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.meet-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 500px at 50% 50%, rgba(255, 138, 0, 0.08), transparent 60%);
  pointer-events: none;
}
.meet-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 380px 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 60px;
}
.meet-stage-orb-col {
  display: flex; align-items: center; justify-content: center;
  position: relative;
  min-height: 480px;
}
.meet-orb {
  width: 280px; height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, var(--light-gold) 0%, var(--molten) 25%, var(--ember) 55%, var(--copper) 90%);
  box-shadow:
    0 0 80px var(--glow),
    0 0 200px rgba(255, 138, 0, 0.4),
    inset -20px -30px 60px rgba(0,0,0,0.4),
    inset 30px 40px 80px rgba(255, 209, 102, 0.4);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.meet-orb::before, .meet-orb::after {
  content: ''; position: absolute;
  border: 1px solid rgba(255, 179, 0, 0.2);
  border-radius: 50%;
  pointer-events: none;
}
.meet-orb::before { inset: -40px; animation: orbRing 4s ease-in-out infinite; }
.meet-orb::after { inset: -80px; animation: orbRing 4s ease-in-out infinite 1.5s; }
@keyframes orbRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0; }
}
.meet-orb-mark {
  width: 100px; height: 100px;
  filter: drop-shadow(0 0 20px rgba(0,0,0,0.6));
  position: relative; z-index: 2;
}
.meet-orb-mark svg { width: 100%; height: 100%; }

.meet-card {
  background: linear-gradient(180deg, var(--rise), var(--charcoal));
  border: 1px solid var(--line-mid);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
  transition: transform 240ms cubic-bezier(.22,1,.36,1), border-color 240ms;
}
.meet-card:hover { transform: translateY(-2px); border-color: rgba(255,179,0,0.3); }
.meet-card-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 8px; border-bottom: 1px solid var(--line-soft);
}
.meet-card-app {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--molten); text-transform: uppercase; font-weight: 500;
}
.meet-card-app-icon {
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px;
  background: rgba(255,138,0,0.12);
  color: var(--molten);
}
.meet-card-app-icon svg { width: 10px; height: 10px; }
.meet-card-meta {
  font-family: var(--mono); font-size: 10.5px; color: var(--warm-gray);
  letter-spacing: 0.05em;
}
.meet-card-body { font-size: 13.5px; line-height: 1.45; color: var(--light-gray); }
.meet-card-body b { color: #fff; font-weight: 500; }
.meet-card-body .quiet { color: var(--warm-gray); }
.meet-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px;
  font-family: var(--mono); font-size: 10px; color: var(--warm-gray);
  letter-spacing: 0.04em;
}

.meet-cards-left, .meet-cards-right {
  display: flex; flex-direction: column; gap: 14px;
  position: relative; z-index: 2;
}

.meet-caption {
  margin-top: 60px; text-align: center;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.22em;
  color: var(--warm-gray); text-transform: uppercase;
}
.meet-caption strong { color: var(--molten); font-weight: 500; }

/* Inline product widgets */
.pms-cal {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  margin-top: 6px;
}
.pms-cal-cell {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 3px;
  color: var(--warm-gray);
}
.pms-cal-cell.booked { background: rgba(255, 138, 0, 0.18); color: var(--molten); border: 1px solid rgba(255,138,0,0.4); }
.pms-cal-cell.head { color: var(--warm-gray); background: none; font-size: 9px; letter-spacing: 0.06em; }

.transcribe { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.transcribe-line { font-size: 13px; line-height: 1.45; }
.transcribe-line.alt { color: var(--molten); }
.transcribe-tag {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px;
  font-family: var(--mono); font-size: 10px;
  color: var(--warm-gray); letter-spacing: 0.04em;
}
.transcribe-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--molten); }

.bookrow {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 12px; align-items: center;
  font-size: 13px; padding: 6px 0;
}
.bookrow + .bookrow { border-top: 1px solid var(--line-soft); }
.bookrow .label { color: var(--warm-gray); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.bookrow .val { color: var(--light-gray); }
.bookrow .val.gold { color: var(--molten); font-family: var(--mono); }

/* ===================== CO-WORKERS (light) ===================== */
.coworkers {
  padding: var(--section-pad) 0;
  background: var(--pearl);
  color: var(--ink-dark);
}
.cw-stage {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 60px; align-items: start; margin-top: 60px;
}
.cw-list {
  list-style: none;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line-pearl);
}
.cw-item {
  display: grid; grid-template-columns: 48px 1fr auto;
  align-items: center; gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-pearl);
  cursor: pointer;
  transition: padding-left 240ms cubic-bezier(.22,1,.36,1);
  position: relative;
}
.cw-item::before {
  content: ''; position: absolute; left: -16px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember); opacity: 0;
  transition: opacity 240ms; box-shadow: 0 0 8px var(--glow);
}
.cw-item:hover { padding-left: 8px; }
.cw-item:hover .cw-name { color: var(--ink-dark); }
.cw-item.active { padding-left: 16px; }
.cw-item.active::before { opacity: 1; }
.cw-item.active .cw-name { color: var(--ember); }
.cw-num { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.06em; }
.cw-name { font-family: var(--display); font-size: 22px; font-weight: 400; letter-spacing: -0.015em; transition: color 240ms; color: var(--ink-mid); }
.cw-tag { font-size: 13px; color: var(--ink-mute); }

.cw-detail {
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
  position: sticky; top: 100px;
  box-shadow: 0 32px 80px -16px rgba(20, 16, 8, 0.2);
}
.cw-detail-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--warm-gray); text-transform: uppercase;
}
.cw-detail-head .live {
  display: inline-flex; align-items: center; gap: 8px; color: var(--molten);
}
.cw-detail-head .live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--molten);
  box-shadow: 0 0 8px var(--glow); animation: pulse 2s ease-in-out infinite;
}
.cw-detail-body { padding: 32px 32px 24px; }
.cw-detail-title { font-family: var(--display); font-size: 36px; font-weight: 300; line-height: 1.05; letter-spacing: -0.025em; }
.cw-detail-tag { margin-top: 8px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 18px; color: var(--light-gold); }
.cw-detail-desc { margin-top: 20px; font-size: 15px; line-height: 1.55; color: var(--light-gray); max-width: 50ch; }
.cw-detail-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cw-detail-screen {
  margin: 0 24px 24px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 14px;
}

/* ===================== STACK + 14-DAY (dark) ===================== */
.stack-section { padding: var(--section-pad) 0; background: var(--black); }
.stack-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: stretch; margin-top: 60px;
}

.stack-diagram {
  display: flex; flex-direction: column;
  background: var(--charcoal);
  border: 1px solid var(--line-mid);
  border-radius: 14px;
  padding: 28px;
}
.stack-row {
  display: grid; grid-template-columns: 110px 1fr;
  gap: 16px; align-items: center;
  padding: 18px 0;
}
.stack-row + .stack-row { border-top: 1px solid var(--line-soft); }
.stack-row.markoni-row {
  background: linear-gradient(180deg, rgba(255,138,0,0.08), rgba(255,138,0,0.02));
  border-radius: 10px;
  padding: 18px;
  margin: 6px -8px;
  border: 1px solid rgba(255, 138, 0, 0.3);
}
.stack-row-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  color: var(--warm-gray); text-transform: uppercase;
}
.stack-row.markoni-row .stack-row-label { color: var(--molten); }
.stack-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-pill {
  padding: 6px 12px;
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--light-gray);
  background: rgba(255,255,255,0.02);
}
.stack-pill-gold {
  border-color: rgba(255, 138, 0, 0.5);
  color: var(--light-gold);
  background: rgba(255, 138, 0, 0.08);
}

.timeline {
  display: flex; flex-direction: column; gap: 16px;
}
.timeline-step {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 24px; align-items: start;
  padding: 24px;
  background: var(--charcoal);
  border: 1px solid var(--line-mid);
  border-radius: 10px;
  position: relative;
}
.timeline-day {
  font-family: var(--display); font-size: 28px; line-height: 1;
  color: var(--molten); font-weight: 400;
}
.timeline-day-sub {
  display: block;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--warm-gray); text-transform: uppercase; margin-top: 4px;
}
.timeline-step h4 { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 6px; }
.timeline-step p { font-size: 13.5px; color: var(--warm-gray); line-height: 1.5; }

/* ===================== FAQ (light) ===================== */
.faq-section { padding: var(--section-pad) 0; background: var(--pearl); color: var(--ink-dark); }
.faq-list { display: flex; flex-direction: column; max-width: 920px; }
.faq-item {
  border-top: 1px solid var(--line-pearl);
  cursor: pointer;
  transition: background 200ms;
}
.faq-item:last-child { border-bottom: 1px solid var(--line-pearl); }
.faq-item:hover { background: rgba(20,17,12,0.02); }
.faq-q {
  display: grid; grid-template-columns: 60px 1fr 32px;
  gap: 24px; align-items: center;
  padding: 24px 16px;
}
.faq-num { font-family: var(--mono); font-size: 11px; color: var(--ember); letter-spacing: 0.08em; }
.faq-q-text { font-family: var(--display); font-size: 22px; font-weight: 400; letter-spacing: -0.015em; color: var(--ink-dark); }
.faq-toggle { font-size: 22px; color: var(--ember); font-weight: 200; text-align: center; line-height: 1; transition: transform 240ms; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  padding: 0 16px 26px 100px;
  font-size: 15px; line-height: 1.6; color: var(--ink-mid);
  max-width: 64ch;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ===================== Final CTA (dark, hot finish) ===================== */
.final-cta {
  padding: 200px 0 220px;
  text-align: center;
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; bottom: -250px; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 700px;
  background: radial-gradient(ellipse, var(--ember), transparent 60%);
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}
.final-cta::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--molten) 50%, transparent);
  opacity: 0.6;
  pointer-events: none;
}
.final-stage { display: flex; flex-direction: column; align-items: center; gap: 28px; position: relative; z-index: 1; }
.final-title {
  font-family: var(--display);
  font-size: clamp(48px, 7.4vw, 116px);
  font-weight: 300; line-height: 0.96; letter-spacing: -0.04em;
  max-width: 14ch; text-wrap: balance;
}
.final-title em { font-family: var(--serif); font-style: italic; color: var(--light-gold); display: inline; filter: drop-shadow(0 0 36px rgba(255, 209, 102, 0.4)); }
.final-sub { font-size: 17px; color: var(--light-gray); max-width: 50ch; line-height: 1.55; }
.final-ctas { display: flex; align-items: center; gap: 20px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }

/* ===================== Footer ===================== */
.footer { background: var(--ink); border-top: 1px solid var(--line-soft); padding: 80px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 60px; padding-bottom: 56px; border-bottom: 1px solid var(--line-soft);
}
.footer-brand-mark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 24px; letter-spacing: -0.02em;
}
.footer-blurb { margin-top: 14px; font-size: 14px; color: var(--warm-gray); max-width: 36ch; line-height: 1.5; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--molten); text-transform: uppercase; margin-bottom: 4px; font-weight: 500; }
.footer-col a { font-size: 14px; color: var(--light-gray); transition: color 200ms; }
.footer-col a:hover { color: var(--molten); }
.footer-foot {
  display: flex; justify-content: space-between; padding-top: 28px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--warm-gray); text-transform: uppercase;
  flex-wrap: wrap; gap: 12px;
}

/* ===================== Annotations toggle ===================== */
.annotation {
  display: none;
  position: absolute; top: 16px; right: 16px;
  max-width: 280px;
  padding: 10px 12px;
  background: rgba(0,0,0,0.85);
  border: 1px dashed var(--molten);
  border-radius: 6px;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--light-gold); letter-spacing: 0.04em; line-height: 1.5;
  z-index: 50;
  pointer-events: none;
  text-transform: none;
}
body.annotations-on .annotation { display: block; }
body.annotations-on .section,
body.annotations-on .calc-section,
body.annotations-on .meet-section,
body.annotations-on .coworkers,
body.annotations-on .stack-section,
body.annotations-on .faq-section,
body.annotations-on .final-cta,
body.annotations-on .hero { outline: 1px dashed rgba(255, 138, 0, 0.20); outline-offset: -1px; }

/* ===================== Responsive ===================== */

/* Tablet — 1100px */
@media (max-width: 1100px) {
  :root { --gutter: 28px; --section-pad: 120px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 120px 28px 240px; }
  .hero-right { display: none; }
  .hero-foot { left: 28px; right: 28px; bottom: 32px; }
  .hero-corner.tr, .hero-corner.br { display: none; }
  .calc-stage { grid-template-columns: 1fr; gap: 56px; }
  .meet-stage { grid-template-columns: 1fr; gap: 48px; }
  .meet-stage-orb-col { order: -1; min-height: 280px; }
  .meet-orb { width: 220px; height: 220px; }
  .cw-stage { grid-template-columns: 1fr; gap: 32px; }
  .cw-detail { position: relative; top: 0; }
  .stack-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .calc-card { padding: 28px; }
}

/* Mobile — 720px (treat as a real design, not a stack) */
@media (max-width: 720px) {
  :root { --gutter: 20px; --section-pad: 88px; }
  body { font-size: 15px; }

  .nav { padding: 16px 0; }
  .nav-cta .btn { display: none; }
  .nav-cta a:first-child { display: none; }
  .nav-brand .by { display: none; }

  .hero-left { padding: 110px 20px 200px; }
  .hero-headline { font-size: clamp(48px, 14vw, 80px); max-width: none; }
  .hero-sub { font-size: 16px; margin-top: 22px; max-width: none; }
  .hero-ctas { margin-top: 28px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 18px; left: 20px; right: 20px; bottom: 28px; }
  .hero-tagline-right { text-align: left; max-width: none; }
  .hero-channels { font-size: 9.5px; gap: 8px; }
  .hero-corner { display: none !important; }

  /* Mobile-only hero ambient: a horizontal molten bar near the bottom of left column */
  .hero-left::after {
    content: ''; position: absolute;
    bottom: 0; left: -20%; right: -20%; height: 220px;
    background: radial-gradient(ellipse 60% 100% at 50% 100%, var(--ember), transparent 70%);
    filter: blur(60px); opacity: 0.5;
    pointer-events: none;
    z-index: -1;
  }

  .trust-inner { gap: 24px; flex-direction: column; align-items: flex-start; }
  .trust-logos { gap: 20px 32px; justify-content: flex-start; }
  .trust-logo { font-size: 16px; }

  .calc-card { padding: 22px; gap: 22px; border-radius: 14px; }
  .calc-card-head { padding-bottom: 16px; }
  .calc-bignum { font-size: 56px; }
  .micro-stats { grid-template-columns: 1fr; gap: 16px; }
  .micro-stat-num { font-size: 28px; }

  .meet-cards-left, .meet-cards-right { gap: 12px; }
  .meet-orb { width: 180px; height: 180px; }
  .meet-orb-mark { width: 70px; height: 70px; }

  .cw-detail-body { padding: 24px 20px 16px; }
  .cw-detail-screen { margin: 0 16px 16px; padding: 16px; }
  .cw-detail-title { font-size: 26px; }
  .cw-item { grid-template-columns: 32px 1fr; padding: 18px 0; }
  .cw-item .cw-tag { display: none; }
  .cw-name { font-size: 19px; }

  .stack-diagram { padding: 18px; }
  .stack-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  .timeline-step { grid-template-columns: 1fr; gap: 8px; padding: 18px; }

  .faq-q { grid-template-columns: 36px 1fr 24px; gap: 14px; padding: 22px 8px; }
  .faq-q-text { font-size: 17px; }
  .faq-a { padding: 0 8px 22px 50px; font-size: 14px; }

  .final-cta { padding: 140px 0 160px; }
  .final-title { font-size: clamp(40px, 12vw, 72px); }

  .footer { padding: 60px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 36px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-foot { flex-direction: column; gap: 8px; padding-top: 20px; }
}
