/* =========================================================
   Tamba Tech · website
   Brand: Sora only · navy #0B1B33 · ivory #F6F3EC · gold as accent
   ========================================================= */

:root {
  --navy: #0B1B33;
  --navy-up: #13274A;
  --ivory: #F6F3EC;
  --white: #FFFFFF;
  --gold: #C9A24B;        /* on navy */
  --gold-dark: #A8862F;   /* symbol and large text on light */
  --gold-text: #7A5F22;   /* small text on light */
  --slate: #5A6478;       /* support text on light */
  --mist: #94A0B5;        /* support text on navy */
  --line-light: #E4DFD3;
  --line-dark: rgba(148, 160, 181, 0.18);

  --font: "Sora", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 28px;
  --gutter: clamp(20px, 5vw, 80px);
  --maxw: 1240px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
.hero-arc, .contact-arc { max-width: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-weight: 600;
  font-size: clamp(48px, 8.4vw, 124px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0;
}
.display-sm {
  font-weight: 600;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}
.title {
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
}
.lead {
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 34em;
}
.overline {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gold { color: var(--gold); }
.gold-text { color: var(--gold-text); }
.muted { color: var(--slate); }
.muted-dark { color: var(--mist); }

.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.theme-light .dot { background: var(--gold-dark); }

/* ---------- Themes ---------- */
.theme-dark { background: var(--navy); color: var(--ivory); }
.theme-light { background: var(--ivory); color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px;
  border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D6B160; }
.btn-ghost { color: var(--ivory); border: 1px solid rgba(246, 243, 236, 0.28); }
.btn-ghost:hover { border-color: var(--ivory); }
.btn-sm { height: 36px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--navy);
  display: grid; place-items: center;
}
.pl-symbol { width: 84px; height: 84px; overflow: visible; }
html:not(.js) .preloader { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  transition: transform 0.6s var(--ease), background-color 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.nav.is-scrolled[data-on="dark"] { background: rgba(11, 27, 51, 0.72); border-color: var(--line-dark); }
.nav.is-scrolled[data-on="light"] { background: rgba(246, 243, 236, 0.76); border-color: rgba(11, 27, 51, 0.08); }
.nav.is-hidden { transform: translateY(-100%); }

.nav-inner {
  height: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.nav-logo { position: relative; width: 132px; height: 35px; flex: none; }
.nav-logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.4s; }
.nav-logo img { margin-left: -6%; }
.logo-on-light { opacity: 0; }
.nav[data-on="light"] .logo-on-light { opacity: 1; }
.nav[data-on="light"] .logo-on-dark { opacity: 0; }

.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-size: 14px; letter-spacing: -0.005em;
  opacity: 0.78; transition: opacity 0.25s, color 0.4s;
}
.nav-links a:hover, .nav-links a.is-current { opacity: 1; }
.nav[data-on="dark"] { color: var(--ivory); }
.nav[data-on="light"] { color: var(--navy); }

.lang { display: flex; align-items: center; gap: 2px; flex: none; }
.lang button {
  font-size: 12px; letter-spacing: 0.08em; padding: 6px 7px; border-radius: 999px;
  opacity: 0.55; transition: opacity 0.25s, color 0.4s;
}
.lang button:hover { opacity: 1; }
.lang button.is-active { opacity: 1; font-weight: 600; }

.nav-burger { display: none; width: 40px; height: 40px; position: relative; }
.nav-burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.nav-burger span:first-child { top: 16px; }
.nav-burger span:last-child { top: 23px; }
.menu-open .nav-burger span:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-open .nav-burger span:last-child { top: 19.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--navy); color: var(--ivory);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu a {
  font-size: 32px; font-weight: 600; letter-spacing: -0.03em; padding: 6px 0;
  transform: translateY(12px); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.menu a.menu-cta { color: var(--gold); margin-top: 18px; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-open .menu a { transform: none; opacity: 1; }
.menu-open .menu a:nth-child(2) { transition-delay: 0.04s; }
.menu-open .menu a:nth-child(3) { transition-delay: 0.08s; }
.menu-open .menu a:nth-child(4) { transition-delay: 0.12s; }
.menu-open .menu a:nth-child(5) { transition-delay: 0.16s; }
.menu-open .menu a:nth-child(6) { transition-delay: 0.20s; }
.menu-open .nav { color: var(--ivory); background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .nav .logo-on-light { opacity: 0; }
.menu-open .nav .logo-on-dark { opacity: 1; }
.menu-open .nav-cta { opacity: 0; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 120px;
  overflow: hidden;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.22fr 0.78fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero-over { color: var(--gold); }
.hero-title { margin-bottom: 36px; font-size: clamp(44px, 5.9vw, 86px); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-title .line > span { display: inline-block; }
.hero-lead { color: var(--mist); margin-bottom: 44px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-arc {
  position: absolute; z-index: 1;
  width: min(92vh, 900px); height: min(92vh, 900px);
  right: max(-26vw, -420px); top: 50%;
  margin-top: calc(min(92vh, 900px) / -2);
  overflow: visible;
  pointer-events: none;
}

/* hero: the product in the first screen */
.hero-visual { position: relative; z-index: 2; justify-self: end; width: 100%; max-width: 440px; }
.js .hero-visual { opacity: 0; }
.device-hero { min-height: 0; border: 1px solid rgba(246, 243, 236, 0.1); }
.device-hero .price { gap: 12px; }
.device-hero .margin-bars { height: 60px; }
.device-bar .live {
  margin-left: auto; font-style: normal; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text);
  display: inline-flex; align-items: center; gap: 6px;
}
.device-bar .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-dark); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 32px; z-index: 2;
  width: 24px; height: 40px; margin-left: -12px;
  border: 1.5px solid rgba(246, 243, 236, 0.35); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--gold);
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  80% { transform: translateY(16px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Statement ---------- */
.statement { padding: clamp(120px, 20vw, 240px) 0; }
.statement-text {
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 19em;
}
.statement-text .w { opacity: 1; }
.js .statement-text .w { opacity: 0.14; }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(48px, 7vw, 88px); max-width: 820px; }
.solutions { padding: 0 0 clamp(100px, 14vw, 180px); }

/* ---------- Levers: more revenue, lower cost ---------- */
.levers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: clamp(64px, 9vw, 120px); }
.lever {
  --lp: clamp(28px, 3.4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: var(--lp);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.lever-dark { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.lever h3 {
  font-weight: 600; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -0.035em;
  margin: 0 0 14px;
}
.lever > p { margin: 0 0 28px; color: var(--slate); max-width: 26em; }
.lever-dark > p { color: var(--mist); }
.lever ul { list-style: none; margin: auto 0 0; padding: 0; }
.lever li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line-light); font-size: 16px; }
.lever-dark li { border-color: var(--line-dark); }
.lever-dark .card-kicker { color: var(--gold) !important; }
.lever-dark .dot { background: var(--gold); }
.lever-link {
  display: inline-block; align-self: flex-start;
  margin-top: 28px; padding-bottom: 2px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--gold-text); border-bottom: 1px solid currentColor;
  transition: opacity 0.3s;
}
.lever-dark .lever-link { color: var(--gold); }
.lever-link:hover { opacity: 0.7; }
/* lever: a strip of the product, cropped by the card's bottom edge */
.lever-shot {
  margin: 32px calc(var(--lp) * -1) calc(var(--lp) * -1);
  padding: 18px var(--lp) calc(var(--lp) + 6px);
  border-radius: 22px 22px 0 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13.5px; line-height: 1.45;
}
.shot-dark { background: var(--navy); color: var(--ivory); }
.shot-light { background: var(--ivory); color: var(--navy); border-top: 1px solid var(--line-light); }
.shot-bar { display: flex; justify-content: space-between; align-items: center; font-size: 12px; margin-bottom: 6px; }
.shot-bar em { font-style: normal; font-weight: 600; letter-spacing: -0.01em; }
.shot-dark .shot-bar { color: var(--mist); }
.shot-light .shot-bar { color: var(--slate); }
.shot-dark .msg-in { background: var(--navy-up); border-color: transparent; color: var(--ivory); }
.shot-dark .msg-out { background: var(--ivory); color: var(--navy); }
.lever-shot .msg { font-size: 13.5px; padding: 10px 14px; }
.shot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-light); }
.shot-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-row b { flex: none; font-weight: 400; font-size: 12px; padding: 4px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-light); color: var(--slate); }
.shot-row b.ok { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.shot-row b.flag { border-color: var(--gold-dark); color: var(--gold-text); }
.shot-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; margin-top: 4px; }
.shot-foot span { white-space: nowrap; }
.shot-dark .shot-foot { color: var(--gold); }
.shot-dark .shot-foot .dot { background: var(--gold); }
.shot-light .shot-foot { color: var(--gold-text); }
.shot-light .shot-foot .dot { background: var(--gold-dark); }
.shot-foot .sep { margin: 0 2px; }
.js .lever-shot .msg-out, .js .lever-shot .shot-row b, .js .lever-shot .shot-foot {
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}
.js .lever.is-in .lever-shot .msg-out, .js .lever.is-in .lever-shot .shot-row b, .js .lever.is-in .lever-shot .shot-foot { opacity: 1; transform: none; }
.js .lever.is-in .lever-shot .msg-out { transition-delay: 0.7s; }
.js .lever.is-in .lever-shot .shot-row:nth-child(2) b { transition-delay: 0.4s; }
.js .lever.is-in .lever-shot .shot-row:nth-child(3) b { transition-delay: 0.7s; }
.js .lever.is-in .lever-shot .shot-row:nth-child(4) b { transition-delay: 1.0s; }
.js .lever.is-in .lever-shot .shot-foot { transition-delay: 1.3s; }

.sub-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 820px; }
.sub-head .overline { margin-bottom: 12px; }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.card {
  grid-column: span 3;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 48px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 460px;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.card-lg {
  grid-column: span 6;
  flex-direction: row; align-items: center;
  min-height: 420px;
}
.card-lg .card-copy { flex: 1 1 0; max-width: 460px; }
.card-lg .viz { flex: 1 1 0; }
.card-dark { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.card-dark p { color: var(--mist); }
.card h3 {
  font-weight: 600; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.card p { margin: 0; color: var(--slate); max-width: 30em; }
.card-kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-text) !important; margin-bottom: 18px !important;
}
.card-dark .card-kicker { color: var(--gold) !important; }
.card-dark .dot { background: var(--gold); }

/* bento: three equal "how we deliver" cards */
.bento-how .card { grid-column: span 2; min-height: 400px; }
.bento-how .card-lg { flex-direction: column; align-items: stretch; }
.bento-how .card-lg .card-copy { max-width: none; }
.bento-how .card h3 { font-size: clamp(22px, 2vw, 28px); }

/* viz: timeline */
.viz-timeline { display: flex; flex-direction: column; gap: 18px; }
.tl-row { display: grid; grid-template-columns: 70px 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 6px; align-items: center; }
.tl-week { font-size: 13px; color: var(--slate); grid-row: span 2; }
.tl-bar {
  height: 10px; border-radius: 10px; background: var(--navy);
  width: var(--w); transform-origin: left center;
}
.js .tl-bar { transform: scaleX(0); transition: transform 1.2s var(--ease); }
.js .is-in .tl-bar { transform: scaleX(1); }
.js .is-in .tl-row:nth-child(2) .tl-bar { transition-delay: 0.12s; }
.js .is-in .tl-row:nth-child(3) .tl-bar { transition-delay: 0.24s; }
.js .is-in .tl-row:nth-child(4) .tl-bar { transition-delay: 0.36s; }
.tl-bar-gold { background: var(--gold-dark); }
.tl-label { font-size: 13px; color: var(--navy); }

/* viz: ticker */
.viz-ticker {
  height: 190px; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
          mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
}
.ticker { list-style: none; margin: 0; padding: 0; animation: tick 18s linear infinite; }
.ticker li {
  font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.03em;
  line-height: 1; padding: 11px 0;
  color: rgba(246, 243, 236, 0.28);
}
.ticker li:nth-child(3n+1) { color: var(--ivory); }
@keyframes tick { to { transform: translateY(-50%); } }

/* viz: stages */
.viz-stages {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.viz-stages::before {
  content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: var(--line-light);
}
.viz-stages li { position: relative; padding-top: 28px; font-size: 14px; color: var(--slate); }
.viz-stages li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--white); border: 1px solid #C9C2B2;
  transition: background-color 0.4s, border-color 0.4s;
}
.viz-stages li.on { color: var(--navy); }
.viz-stages li.on::before { background: var(--gold-dark); border-color: var(--gold-dark); }

/* ---------- Practice ---------- */
.practice { padding: clamp(100px, 14vw, 180px) 0; }
.tabs {
  display: inline-flex; gap: 6px; padding: 6px;
  background: var(--navy-up); border-radius: 999px;
  margin-bottom: 28px;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; flex: none;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; color: var(--mist);
  transition: background-color 0.4s var(--ease), color 0.4s;
  overflow: hidden;
}
.tab:hover { color: var(--ivory); }
.tab.is-active { background: var(--ivory); color: var(--navy); }
.tab-lever { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-right: 10px; }
.tab.is-active .tab-lever { color: var(--gold-text); }
.tab-progress { position: absolute; left: 22px; right: 22px; bottom: 7px; height: 2px; border-radius: 2px; overflow: hidden; }
.tab-progress i { display: block; height: 100%; width: 100%; background: var(--gold-dark); transform: scaleX(0); transform-origin: left; }

.stage {
  background: var(--navy-up);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 64px);
  min-height: 560px;
  position: relative;
}
.demo {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.demo[hidden] { display: none; }
.demo-copy h3 {
  font-weight: 600; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 18px;
}
.demo-copy p { color: var(--mist); margin: 0; max-width: 28em; }
.footnote { font-size: 13px; margin: 18px 0 0; }

.device {
  background: var(--ivory); color: var(--navy);
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
  display: flex; flex-direction: column;
}
.device-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 18px; border-bottom: 1px solid var(--line-light);
  background: var(--white);
}
.device-bar span { width: 10px; height: 10px; border-radius: 50%; background: #DDD7CA; }
.device-bar em { font-style: normal; font-size: 13px; color: var(--slate); margin-left: 10px; }

/* phone frame (customer service demo) */
.device-phone {
  max-width: 350px; width: 100%; margin: 0 auto;
  border-radius: 40px; border: 8px solid var(--navy);
  min-height: 500px;
}
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 4px; font-size: 12px; font-weight: 600; background: var(--white); }
.phone-top i { width: 20px; height: 9px; border: 1.5px solid var(--navy); border-radius: 3px; position: relative; opacity: 0.8; }
.phone-top i::after { content: ""; position: absolute; left: 2px; top: 2px; bottom: 2px; width: 10px; background: var(--navy); border-radius: 1px; }
.phone-head { display: flex; align-items: center; gap: 12px; padding: 10px 18px 12px; background: var(--white); border-bottom: 1px solid var(--line-light); }
.phone-head b { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--ivory); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.phone-head strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.phone-head em { font-style: normal; font-size: 12px; color: var(--gold-text); }
.device-phone .chat { padding: 18px; gap: 10px; }
.device-phone .msg { max-width: 88%; font-size: 13.5px; }

/* chat */
.chat { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; }
.msg-in { background: var(--white); border: 1px solid var(--line-light); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg-out { background: var(--navy); color: var(--ivory); border-bottom-right-radius: 6px; align-self: flex-end; }
.steps { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-end; justify-content: flex-end; }
.chip {
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-light); color: var(--slate); background: var(--white);
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}
.chip.on { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.resolved { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gold-text); margin-top: auto; }
.resolved .dot { background: var(--gold-dark); }
.resolved .sep { margin: 0 2px; }

/* demo: pricing */
.price { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.steps-left { align-self: flex-start; justify-content: flex-start; }
.sale, .offer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; font-size: 14px; }
.sale { background: var(--white); border: 1px solid var(--line-light); }
.sale span { color: var(--slate); }
.sale strong, .offer strong { font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.offer { background: var(--navy); color: var(--ivory); }
.offer strong { display: block; }
.offer em { font-style: normal; font-size: 12px; color: var(--mist); }
.offer b { flex: none; font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.margin { margin-top: auto; padding-top: 6px; }
.margin-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; align-items: end; height: 72px; }
.margin-bars i { display: block; height: var(--h); background: var(--navy); opacity: 0.3; border-radius: 6px 6px 3px 3px; transform-origin: bottom; transform: scaleY(0); }
.margin-bars i:last-child { background: var(--gold-dark); opacity: 1; }
.margin-note { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 12px 0 0; font-size: 13px; color: var(--slate); }
.margin-note strong { color: var(--navy); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.margin-note b { font-weight: 600; }

/* docs */
.docs { padding: 10px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.docs-head, .doc-row, .docs-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.docs-head { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.doc-row { padding: 18px 0; border-bottom: 1px solid var(--line-light); font-size: 14px; }
.doc-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-status { position: relative; height: 26px; min-width: 132px; text-align: right; flex: none; }
.doc-status b {
  position: absolute; right: 0; top: 0;
  font-weight: 400; font-size: 12px; white-space: nowrap;
  padding: 4px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line-light); color: var(--slate);
  opacity: 0;
}
.doc-status b:first-child { opacity: 1; }
.doc-status b.ok { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.doc-status b.flag { background: var(--white); border-color: var(--gold-dark); color: var(--gold-text); }
.docs-foot { margin-top: auto; padding-top: 22px; font-size: 13px; color: var(--slate); flex-wrap: wrap; row-gap: 10px; }
.docs-foot strong { color: var(--navy); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin-right: 6px; }

/* dashboard */
.dash { padding: 24px; display: flex; flex-direction: column; gap: 24px; flex: 1; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { background: var(--white); border: 1px solid var(--line-light); border-radius: 16px; padding: 14px 16px; }
.kpi span { display: block; font-size: 12px; color: var(--slate); margin-bottom: 4px; }
.kpi strong { font-weight: 600; font-size: 28px; letter-spacing: -0.03em; }
.kpi strong.gold { color: var(--gold-dark); }
.kpi b { font-weight: 600; }
.bars { flex: 1; min-height: 170px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; }
.bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.bar i { display: block; width: 100%; height: var(--h); background: var(--navy); border-radius: 8px 8px 4px 4px; transform-origin: bottom; transform: scaleY(0); }
.bar-peak i { background: var(--gold-dark); }
.bar span { font-size: 12px; color: var(--slate); }
.dash-note { display: flex; align-items: center; gap: 10px; font-size: 13.5px; margin: 0; color: var(--navy); }
.dash-note .dot { background: var(--gold-dark); }

/* ---------- Process ---------- */
.process { position: relative; }
.process-pin { min-height: 100vh; display: flex; align-items: center; padding: clamp(100px, 12vw, 140px) 0; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.process-visual { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: center; }
.orbit { width: 100%; height: 100%; overflow: visible; }
.orbit-track { stroke: rgba(11, 27, 51, 0.12); }
.orbit-fill { stroke: var(--gold-dark); }
.orbit-dot { fill: var(--gold-dark); }
.orbit-center {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.orbit-num { font-weight: 600; font-size: clamp(72px, 9vw, 132px); line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.orbit-of { font-size: 14px; color: var(--slate); margin-top: 10px; letter-spacing: 0.06em; }
.process-steps { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; }
.p-step { padding: 22px 0; border-top: 1px solid var(--line-light); transition: opacity 0.5s var(--ease); }
.p-step:last-child { border-bottom: 1px solid var(--line-light); }
.p-step h3 { font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 6px; display: flex; align-items: center; gap: 12px; }
.p-step h3::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-dark); opacity: 0; transition: opacity 0.4s; }
.p-step p { margin: 0; color: var(--slate); max-width: 30em; }
.js .p-step { opacity: 0.32; }
.js .p-step.is-active { opacity: 1; }
.p-step.is-active h3::before { opacity: 1; }

/* ---------- Principles ---------- */
.principles { padding: 0 0 clamp(100px, 14vw, 180px); }
.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.principle { padding: 32px 28px 0 0; }
.principle + .principle { padding-left: 28px; border-left: 1px solid var(--line-light); }
.principle-mark { display: block; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 10px; }
.principle p { margin: 0; color: var(--slate); font-size: 15px; }

/* ---------- Incubation ---------- */
.incubation { padding: clamp(100px, 14vw, 180px) 0; overflow: hidden; }
.incubation-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 36px 0 44px; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; align-items: center; gap: 14px; font-size: 17px; }
.symbol-explain { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.big-symbol { width: min(320px, 70vw); height: auto; overflow: visible; }
.legend { margin: 0; display: grid; gap: 18px; width: 100%; max-width: 420px; }
.legend div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.legend dt { font-weight: 600; color: var(--gold); }
.legend dd { margin: 0; color: var(--mist); }

/* ---------- Origin ---------- */
.origin { padding: clamp(100px, 14vw, 180px) 0; overflow: hidden; }
.origin-words {
  display: flex; flex-direction: column;
  font-weight: 600;
  font-size: clamp(64px, 14vw, 220px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin: 8px 0 clamp(64px, 9vw, 120px);
}
.ow { display: block; will-change: transform; }
.ow:nth-child(2) { color: var(--gold-dark); padding-left: 0.5em; }
.ow:nth-child(3) { padding-left: 1em; }
.origin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); }
.origin-text p { margin: 0 0 20px; font-size: 18px; line-height: 1.65; }
.origin-text p.muted { font-size: 15px; margin-top: 32px; }
.say { display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: 0.04em; color: var(--slate); margin: 4px 0 0; }

/* the river: the one video on the site, edge to edge */
.river { width: 100vw; margin: clamp(56px, 7vw, 96px) 0 0 calc(50% - 50vw); }
.river video {
  display: block; width: 100%; height: clamp(260px, 50vw, 760px);
  object-fit: cover; background: var(--navy);
}
.river figcaption {
  max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 16px auto 0; padding: 0 var(--gutter);
  font-size: 13px; color: var(--slate);
}

.traits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: clamp(64px, 8vw, 104px) 0;
}
.trait {
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 32px 28px;
}
.trait h3 {
  font-weight: 600; font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -0.03em; line-height: 1;
  margin: 0 0 28px;
}
.trait dl { margin: 0; }
.trait dt { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.trait dd { margin: 0 0 24px; font-size: 15px; line-height: 1.6; color: var(--slate); }
.trait dd:last-child { margin-bottom: 0; color: var(--navy); }

.origin-close { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.origin-quote {
  font-weight: 600; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -0.035em;
  margin: 0; color: var(--navy);
}

@media (max-width: 1020px) {
  .traits { grid-template-columns: 1fr 1fr; }
  .origin-close { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .traits { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact { position: relative; padding: clamp(110px, 14vw, 180px) 0; overflow: hidden; }
.contact-arc {
  position: absolute; width: 760px; height: 760px; left: -420px; bottom: -380px;
  overflow: visible; pointer-events: none; opacity: 0.9;
}
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact-meta { display: flex; align-items: center; gap: 12px; margin-top: 40px; color: var(--mist); font-size: 14px; }

.form {
  background: var(--navy-up); border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 44px);
  display: flex; flex-direction: column; gap: 14px;
}
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 16px; color: var(--ivory);
  background: transparent;
  border: 1px solid var(--line-dark); border-radius: 14px;
  padding: 26px 16px 10px;
  transition: border-color 0.3s;
  resize: vertical;
}
.field textarea { min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field label {
  position: absolute; left: 17px; top: 18px;
  font-size: 16px; color: var(--mist);
  pointer-events: none; transform-origin: left top;
  transition: transform 0.3s var(--ease), color 0.3s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(0.75);
}
.field input:focus + label, .field textarea:focus + label { color: var(--gold); }
.field.has-error input { border-color: #E07A6B; }

.pills { border: 0; padding: 4px 0 6px; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills legend { font-size: 13px; color: var(--mist); padding: 0; margin-bottom: 10px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  font-size: 14px; color: var(--mist);
  border: 1px solid var(--line-dark);
  transition: all 0.3s var(--ease);
}
.pills input:checked + span { background: var(--ivory); border-color: var(--ivory); color: var(--navy); }
.pills input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form .btn { margin-top: 8px; }
.form-note { margin: 4px 0 0; font-size: 14px; color: var(--mist); min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 36px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-grid img { width: 150px; height: auto; margin-left: -9px; }
.footer-tag { margin-top: 18px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--mist); transition: color 0.25s; }
.footer-links a:hover { color: var(--ivory); }
.footer-base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  font-size: 13px; color: var(--mist);
}
.footer-base span { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Reveal (JS enhanced) ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-links, .nav-cta { display: none; }
  .lang { margin-left: auto; }
  .nav-burger { display: block; }
  .levers { grid-template-columns: 1fr; }
  .card, .bento-how .card { grid-column: span 6; min-height: 0; }
  .card-lg { flex-direction: column; align-items: stretch; }
  .card-lg .card-copy { max-width: none; }
  .demo { grid-template-columns: 1fr; }
  .stage { min-height: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-visual { max-width: 340px; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(3) { padding-left: 0; border-left: 0; }
  .principle:nth-child(n+3) { margin-top: 32px; }
  .incubation-grid, .origin-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-arc { width: 120vw; height: 120vw; right: -70vw; top: auto; bottom: -30vw; margin-top: 0; opacity: 0.85; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-title { font-size: clamp(44px, 8.4vw, 96px); }
  .hero-visual { justify-self: start; max-width: 460px; }
}

@media (max-width: 640px) {
  :root { --radius: 22px; }
  .hero { align-items: flex-end; padding-bottom: 110px; }
  .hero-grid { gap: 40px; }
  .hero-visual { max-width: none; }
  .device-hero .price { padding: 16px; }
  .lever-shot { margin-top: 26px; }
  .device-phone { border-width: 6px; border-radius: 34px; min-height: 0; }
  .hero-arc { width: 112vw; height: 112vw; right: -58vw; top: -40vw; bottom: auto; }
  .hero-cta .btn { flex: 1 1 auto; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 24px 0 0; border-left: 0; margin-top: 0 !important; }
  .principle + .principle { border-top: 1px solid var(--line-light); margin-top: 24px !important; }
  .kpis { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .kpi { padding: 12px; }
  .kpi strong { font-size: 22px; }
  .kpi span { font-size: 11px; }
  .chat, .dash, .price { padding: 18px; }
  .lever h3 { font-size: 32px; }
  .lever li { font-size: 15px; }
  .tab-lever { display: none; }
  .docs { padding: 6px 18px 18px; }
  .doc-row { font-size: 13px; }
  .doc-status { min-width: 112px; }
  .device { min-height: 380px; }
  .tab { padding: 0 16px; font-size: 14px; }
  .tab-progress { left: 16px; right: 16px; }
  .ow:nth-child(2) { padding-left: 0.3em; }
  .ow:nth-child(3) { padding-left: 0.6em; }
  .legend div { grid-template-columns: 80px 1fr; }
  .contact-arc { width: 520px; height: 520px; left: -330px; bottom: -280px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .statement-text .w { opacity: 1; }
  .js .p-step { opacity: 1; }
  .js .tl-bar { transform: none; }
  .bar i, .margin-bars i { transform: none; }
  .js .hero-visual { opacity: 1; }
  .js .lever-shot .msg-out, .js .lever-shot .shot-row b, .js .lever-shot .shot-foot { opacity: 1; transform: none; }
}

/* ---------- Process: pinned layout must fit one screen ---------- */
@media (min-width: 1021px) {
  .js .process-pin { padding: calc(var(--nav-h) + 16px) 0 32px; }
  .js .process-visual { max-width: min(520px, 62vh); }
  .js .process .title { font-size: clamp(34px, min(4.6vw, 7vh), 64px); }
  .js .process-steps { margin-top: clamp(20px, 4vh, 40px); }
  .js .p-step { padding: clamp(14px, 2.4vh, 22px) 0; }
  .js .p-step p {
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height 0.6s var(--ease), opacity 0.4s var(--ease), margin-top 0.6s var(--ease);
  }
  .js .p-step.is-active p { max-height: 7em; opacity: 1; margin-top: 8px; }
}
@media (min-width: 1021px) and (prefers-reduced-motion: reduce) {
  .js .p-step p { max-height: none; opacity: 1; }
}

/* ---------- Babson campus photo and credit (origin section) ---------- */
.campus-head { margin-top: clamp(80px, 11vw, 150px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-light); }
.campus-head .title, .campus-head .lead { max-width: 820px; }
.campus { margin: clamp(40px, 5vw, 64px) 0 0; }
.campus img {
  width: 100%; height: clamp(220px, 28vw, 420px);
  object-fit: cover; object-position: 55% 45%;
  border-radius: var(--radius);
}
.campus figcaption {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  margin: 16px 0 0; font-size: 13px; color: var(--slate);
}
.campus figcaption img { width: 160px; height: auto; flex: none; border-radius: 0; }
@media (max-width: 640px) {
  .campus figcaption { flex-direction: column; align-items: flex-start; gap: 14px; }
  .campus figcaption img { width: 140px; }
}
