/* ============================================================
   BotBuilders redesign · "Bob's World"
   Palette: cobalt + bone + amber · Type: Gabarito + Instrument Sans
   Radius rule: buttons are pills, cards are 16px, inputs are 12px
   ============================================================ */

:root {
  --cobalt: #1d3ed8;
  --cobalt-deep: #16289b;
  --cobalt-night: #101f66;
  --ink: #10131c;
  --slate: #4e5568;
  --bone: #f2efe7;
  --cream: #faf8f3;
  --amber: #f6a233;
  --amber-ink: #241303;
  --line: rgba(16, 19, 28, 0.12);
  --line-light: rgba(242, 239, 231, 0.22);
  --disp: "Gabarito", "Avenir Next", "Helvetica Neue", sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --shadow: 0 18px 50px rgba(16, 19, 28, 0.12);
  --shadow-deep: 0 24px 70px rgba(9, 14, 50, 0.4);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(246, 162, 51, 0.4); }

img { max-width: 100%; display: block; }
a { color: var(--cobalt); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 4px;
}

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

h1, h2, h3 { font-family: var(--disp); line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 900; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--slate); max-width: 58ch; }
.on-cobalt .lede, .on-cobalt p { color: rgba(242, 239, 231, 0.82); }

.k {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate);
}

/* ---------- buttons (pill rule) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 16.5px;
  border-radius: 999px; padding: 14px 28px; border: 0; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-amber { background: var(--amber); color: var(--amber-ink); box-shadow: 0 10px 26px rgba(246, 162, 51, 0.35); }
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(246, 162, 51, 0.45); }
.btn-cobalt { background: var(--cobalt); color: var(--bone); box-shadow: 0 10px 26px rgba(29, 62, 216, 0.3); }
.btn-cobalt:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(16, 19, 28, 0.35); }
.btn-ghost:hover { border-color: var(--ink); }
.on-cobalt .btn-ghost { color: var(--bone); border-color: rgba(242, 239, 231, 0.5); }
.on-cobalt .btn-ghost:hover { border-color: var(--bone); }
.link-arrow { font-weight: 600; color: var(--cobalt); }
.link-arrow::after { content: " \2192"; }
.on-cobalt .link-arrow { color: var(--amber); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(242, 239, 231, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15.5px; }
.nav-links a:hover { color: var(--cobalt); }
.nav-links a.is-here { color: var(--cobalt); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .login { color: var(--slate); font-size: 14.5px; font-weight: 500; }
.nav-cta .btn { padding: 10px 22px; font-size: 15px; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 4.5px 0; border-radius: 2px; }
@media (max-width: 880px) {
  .nav-links, .nav-cta .login { display: none; }
  .nav-burger { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 16px 24px 20px;
  }
  .nav.open .nav-links a { padding: 10px 0; font-size: 17px; }
}

/* ---------- sections ---------- */
.sec { padding: 96px 0; }
.sec-tight { padding: 56px 0; }
.on-cobalt { background: var(--cobalt); color: var(--bone); }
.on-cobalt h1, .on-cobalt h2, .on-cobalt h3 { color: var(--bone); }
.on-cream { background: var(--cream); }

/* hero */
.hero { background: radial-gradient(85% 120% at 80% 110%, var(--cobalt-deep) 0%, var(--cobalt) 58%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-block: 84px 96px; }
.hero-copy h1 { color: var(--bone); }
.hero-copy h1 .hl { color: var(--amber); }
.hero-copy .lede { color: rgba(242, 239, 231, 0.85); margin-top: 18px; }
.hero-ctas { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-stage { position: relative; padding-top: 96px; }
.hero-bob {
  position: absolute; top: -14px; right: 4px; width: 210px; z-index: 2;
  filter: drop-shadow(0 18px 34px rgba(9, 14, 50, 0.5));
  animation: bobfloat 5.5s ease-in-out infinite;
}
@keyframes bobfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 56px 72px; }
  .hero-bob { width: 150px; top: -40px; }
}

/* ---------- chat card ---------- */
.chat-card {
  position: relative; z-index: 1;
  background: var(--cream); border-radius: 16px; box-shadow: var(--shadow-deep);
  padding: 22px; max-width: 520px;
}
.chat-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chat-head .who { font-family: var(--disp); font-weight: 700; font-size: 17px; color: var(--ink); }
.chat-head .who small { display: block; font-family: var(--body); font-weight: 400; font-size: 12.5px; color: var(--slate); }
.chat-head .live { font-family: var(--mono); font-size: 11px; color: var(--cobalt); letter-spacing: 0.08em; }
.chat-log { display: flex; flex-direction: column; gap: 10px; padding: 16px 0 6px; min-height: 190px; }
.msg {
  max-width: 82%; padding: 11px 15px; border-radius: 14px;
  font-size: 15px; line-height: 1.45; color: var(--ink);
}
.msg.visitor { background: #e6e9f4; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.bob { background: #fdf1de; border: 1px solid rgba(246, 162, 51, 0.45); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.enter { animation: msgin 0.35s ease-out both; }
@keyframes msgin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 5px; padding: 12px 15px; background: #fdf1de; border: 1px solid rgba(246, 162, 51, 0.45); border-radius: 14px; border-bottom-left-radius: 4px; align-self: flex-start; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: tdot 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.18s; }
.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes tdot { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(-4px); opacity: 1; } }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn {
  font-family: var(--body); font-size: 13.5px; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--cobalt); color: var(--cobalt); background: transparent;
  border-radius: 999px; padding: 7px 15px; text-decoration: none; display: inline-block;
}
.chip-btn:hover { background: var(--cobalt); color: var(--cream); }
.chat-input { display: flex; gap: 10px; margin-top: 12px; }
.chat-input input {
  flex: 1; font-family: var(--body); font-size: 15px; color: var(--ink);
  background: #ffffff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 16px;
}
.chat-input input::placeholder { color: #8b8f9c; }
.chat-input input:focus { border-color: var(--cobalt); outline: none; }
.chat-input button {
  background: var(--amber); color: var(--amber-ink); font-weight: 700; font-family: var(--body);
  border: 0; border-radius: 12px; padding: 0 20px; font-size: 15px; cursor: pointer;
}
.chat-note { font-family: var(--mono); font-size: 11px; color: var(--slate); margin-top: 10px; }
.on-cobalt .chat-note { color: rgba(242, 239, 231, 0.65); }

/* ---------- hero load-in choreography ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy h1, .hero-copy .lede, .hero-copy .hero-ctas {
    opacity: 0; transform: translateY(26px);
    animation: riseup 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .hero-copy .lede { animation-delay: 0.12s; }
  .hero-copy .hero-ctas { animation-delay: 0.24s; }
  .hero .chat-card { opacity: 0; transform: translateY(40px) scale(0.97); animation: riseup 0.9s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .hero-bob { opacity: 0; animation: bobpop 0.7s 0.55s cubic-bezier(0.34, 1.5, 0.64, 1) forwards, bobfloat 5.5s 1.3s ease-in-out infinite; }
}
@keyframes riseup { to { opacity: 1; transform: none; } }
@keyframes bobpop { from { opacity: 0; transform: translateY(30px) scale(0.7); } to { opacity: 1; transform: none; } }

/* ---------- nav elevation on scroll ---------- */
.nav { transition: box-shadow 0.25s ease, background 0.25s ease; }
.nav.scrolled { box-shadow: 0 10px 34px rgba(16, 19, 28, 0.14); background: rgba(250, 248, 243, 0.95); }

/* ---------- stats strip · editorial scoreboard ---------- */
.diecut {
  filter:
    drop-shadow(2.5px 0 0 #ffffff) drop-shadow(-2.5px 0 0 #ffffff)
    drop-shadow(0 2.5px 0 #ffffff) drop-shadow(0 -2.5px 0 #ffffff)
    drop-shadow(0 14px 22px rgba(16, 19, 28, 0.18));
}
.stats-wrap { display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.stats-bob { width: 150px; }
@media (prefers-reduced-motion: no-preference) { .stats-bob { animation: bobfloat 5.5s ease-in-out infinite; } }
.stats { display: flex; justify-content: center; align-items: flex-start; gap: clamp(36px, 6vw, 88px); flex-wrap: wrap; }
.stat { text-align: center; }
.stat .num {
  font-family: var(--disp); font-weight: 900; color: var(--ink);
  font-size: clamp(38px, 4vw, 62px); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -0.025em;
  white-space: nowrap;
}
.stat .num .sfx { color: var(--amber); }
.stat .lab { color: var(--slate); font-size: 15px; margin-top: 10px; white-space: nowrap; }
.stats-note { font-family: var(--mono); font-size: 11.5px; color: #8b8f9c; letter-spacing: 0.05em; }
@media (max-width: 880px) {
  .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .stat .num { font-size: clamp(32px, 8vw, 44px); }
  .stat .lab { white-space: normal; }
}

/* ---------- services · expanding slices ---------- */
.slices { display: flex; gap: 14px; margin-top: 44px; min-height: 420px; }
.slice {
  position: relative; flex: 1; border-radius: 16px; overflow: hidden; cursor: pointer;
  transition: flex 0.55s cubic-bezier(0.32, 0.72, 0, 1);
  background: var(--cobalt-night);
}
.slice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, opacity 0.4s ease; opacity: 0.85; }
.slice::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(185deg, transparent 30%, rgba(9, 12, 40, 0.92) 78%);
}
.slice .stxt { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: var(--bone); }
.slice .stxt h3 { color: #ffffff; font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slice .stxt p {
  color: rgba(242, 239, 231, 0.85); font-size: 14.5px; line-height: 1.5; margin-top: 8px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.35s ease 0.12s;
}
.slice .snum {
  position: absolute; top: 16px; left: 22px; z-index: 2;
  font-family: var(--mono); font-size: 12px; color: rgba(242, 239, 231, 0.75);
}
.slice.open, .slice:hover, .slice:focus-visible { flex: 2.7; }
.slice.open img, .slice:hover img, .slice:focus-visible img { transform: scale(1.05); opacity: 1; }
.slice.open .stxt p, .slice:hover .stxt p, .slice:focus-visible .stxt p { max-height: 120px; opacity: 1; }
.slice:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
@media (max-width: 880px) {
  .slices { flex-direction: column; min-height: 0; }
  .slice { min-height: 88px; flex: none; }
  .slice.open { min-height: 250px; }
  .slice .stxt h3 { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .slice, .slice img, .slice .stxt p { transition: none; }
}

/* ---------- night shift timeline ---------- */
.night {
  background:
    linear-gradient(180deg, rgba(10, 17, 55, 0.82) 0%, rgba(12, 23, 67, 0.9) 45%, rgba(16, 31, 102, 0.96) 100%),
    url("assets/night-street.jpg") center / cover no-repeat #0c1743;
  color: #e6e9f4; overflow: hidden;
}
.night h2, .night .k { color: var(--bone); }
.night .k { color: rgba(230, 233, 244, 0.6); }
.night .lede { color: rgba(230, 233, 244, 0.8); }
.night-flow { position: relative; margin-top: 60px; }
.night-path { position: absolute; left: 50%; top: 0; height: 100%; transform: translateX(-50%); }
.night-path path {
  fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0.85;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .night-path path {
      stroke-dashoffset: 1;
      animation: nightdraw linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 75%;
    }
  }
}
@keyframes nightdraw { to { stroke-dashoffset: 0; } }
.night-ev {
  position: relative; width: 44%; margin-bottom: 54px;
  background: rgba(230, 233, 244, 0.06); border: 1px solid rgba(230, 233, 244, 0.16);
  border-radius: 16px; padding: 22px 26px; backdrop-filter: blur(4px);
}
.night-ev:nth-child(even) { margin-left: auto; }
.night-ev .t { font-family: var(--mono); font-size: 12.5px; color: var(--amber); letter-spacing: 0.1em; }
.night-ev h3 { color: #ffffff; margin: 8px 0 6px; font-size: 20px; }
.night-ev p { color: rgba(230, 233, 244, 0.8); font-size: 15px; line-height: 1.55; }
.night-ev .bub {
  margin-top: 12px; background: rgba(246, 162, 51, 0.14); border: 1px solid rgba(246, 162, 51, 0.4);
  border-radius: 12px; border-bottom-left-radius: 4px; padding: 10px 14px;
  font-size: 14px; color: #f6e8d2;
}
.night-note { font-family: var(--mono); font-size: 11px; color: rgba(230, 233, 244, 0.5); letter-spacing: 0.06em; text-align: center; margin-top: 6px; }
.night .link-arrow { color: var(--amber); }
@media (max-width: 760px) {
  .night-path { display: none; }
  .night-ev { width: 100%; }
}

/* ---------- bento hover ---------- */
.bcell img { transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.bcell:hover img { transform: scale(1.05); }

/* ---------- closing pulse rings ---------- */
.closing-stage { position: relative; width: 150px; margin: 0 auto 22px; }
.closing-stage .closing-bob { margin: 0; position: relative; z-index: 2; }
.closing-stage::before, .closing-stage::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 150px; height: 150px; border-radius: 50%;
  border: 1.5px solid rgba(246, 162, 51, 0.5);
  transform: translate(-50%, -50%);
}
@media (prefers-reduced-motion: no-preference) {
  .closing-stage::before { animation: ringout 3.2s ease-out infinite; }
  .closing-stage::after { animation: ringout 3.2s 1.6s ease-out infinite; }
}
@keyframes ringout {
  from { transform: translate(-50%, -50%) scale(0.7); opacity: 0.9; }
  to { transform: translate(-50%, -50%) scale(2.1); opacity: 0; }
}

/* ---------- press strip ---------- */
.press { text-align: center; }
.press img { max-width: 820px; width: 100%; margin: 18px auto 0; opacity: 0.75; }

/* ---------- outcomes bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 42px; }
.bcell {
  border-radius: 16px; overflow: hidden; position: relative; min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.bcell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bcell .btxt {
  position: relative; padding: 22px 24px;
  background: linear-gradient(transparent, rgba(9, 12, 30, 0.82) 38%);
  color: #f6f6f2;
}
.bcell .btxt h3 { color: #ffffff; margin-bottom: 6px; }
.bcell .btxt p { font-size: 14.5px; line-height: 1.5; color: rgba(246, 246, 242, 0.85); max-width: 46ch; }
.bcell.w7 { grid-column: span 7; }
.bcell.w5 { grid-column: span 5; }
@media (max-width: 820px) { .bcell.w7, .bcell.w5 { grid-column: span 12; min-height: 240px; } }

/* ---------- die-cut stickers ---------- */
.stk {
  position: absolute; z-index: 3; pointer-events: none;
  filter:
    drop-shadow(2.5px 0 0 #ffffff) drop-shadow(-2.5px 0 0 #ffffff)
    drop-shadow(0 2.5px 0 #ffffff) drop-shadow(0 -2.5px 0 #ffffff)
    drop-shadow(0 14px 22px rgba(9, 14, 50, 0.35));
}
.stk-peek { clip-path: inset(-24px -24px 2px -24px); }
.has-stk { position: relative; }
.stk-peek { top: -76px; right: 9%; width: 152px; }
.stk-wrench { right: 4%; top: 46%; width: 168px; transform: rotate(7deg); }
.stk-thumbs { right: 6%; top: 60px; width: 140px; transform: rotate(-6deg); }
@media (prefers-reduced-motion: no-preference) {
  .stk-peek { animation: peekbob 4.5s ease-in-out infinite; }
  .stk-wrench { animation: stksway 6s ease-in-out infinite; }
  .stk-thumbs { animation: stksway 5s 1s ease-in-out infinite; }
}
@keyframes peekbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
@keyframes stksway { 0%, 100% { transform: rotate(7deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-10px); } }
@media (max-width: 1100px) { .stk-wrench, .stk-thumbs { display: none; } .stk-peek { width: 100px; top: -56px; } }

.dstick {
  height: 240px; display: grid; place-items: center;
  background: radial-gradient(75% 80% at 50% 100%, rgba(246, 162, 51, 0.18) 0%, transparent 55%),
    linear-gradient(165deg, var(--cobalt) 0%, var(--cobalt-night) 100%);
}
.dstick img {
  height: 190px; width: auto;
  filter:
    drop-shadow(2.5px 0 0 #ffffff) drop-shadow(-2.5px 0 0 #ffffff)
    drop-shadow(0 2.5px 0 #ffffff) drop-shadow(0 -2.5px 0 #ffffff)
    drop-shadow(0 16px 24px rgba(6, 10, 40, 0.5));
}
@media (prefers-reduced-motion: no-preference) {
  .dstick img { animation: bobfloat 5s ease-in-out infinite; }
  .demo-card:nth-child(2) .dstick img { animation-delay: 1.4s; }
}

/* ---------- demo band ---------- */
.demo-band { background: linear-gradient(160deg, var(--cobalt-deep), var(--cobalt-night)); position: relative; }
.demo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.demo-card { background: var(--cream); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-deep); display: flex; flex-direction: column; }
.demo-card > img { height: 240px; width: 100%; object-fit: cover; }
.demo-card .dstick img { height: 190px; width: auto; object-fit: contain; }
.demo-card .dtxt { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.on-cobalt .demo-card h3 { color: var(--ink); }
.demo-card .dtxt p { color: var(--slate); font-size: 15.5px; flex: 1; }
.demo-card .dtxt .btn { align-self: flex-start; }
@media (max-width: 820px) { .demo-cards { grid-template-columns: 1fr; } }

/* ---------- process timeline ---------- */
.steps { margin-top: 42px; display: grid; gap: 0; }
.step-row {
  display: grid; grid-template-columns: 88px 1fr; gap: 26px; align-items: start;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.step-row:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--disp); font-weight: 900; font-size: 52px; color: var(--cobalt);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.step-row h3 { margin-bottom: 6px; }
.step-row p { color: var(--slate); max-width: 62ch; }

/* ---------- story split ---------- */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.story img { transform: rotate(-2deg); filter: drop-shadow(0 20px 40px rgba(16, 19, 28, 0.2)); }
.story h2 { margin-bottom: 16px; }
.story p { color: var(--slate); margin-bottom: 14px; max-width: 58ch; }
@media (max-width: 880px) { .story { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- ratings ---------- */
.ratings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.rating {
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; text-align: center;
}
.rating .score { font-family: var(--disp); font-weight: 900; font-size: 40px; color: var(--cobalt); }
.rating .src { font-weight: 600; font-size: 15px; margin-top: 2px; }
.rating .note { color: var(--slate); font-size: 13px; margin-top: 4px; }
@media (max-width: 880px) { .ratings { grid-template-columns: repeat(2, 1fr); } }

.client-card {
  margin-top: 26px; background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 32px; display: flex; gap: 26px; align-items: center;
}
.client-card img { width: 96px; height: 96px; object-fit: cover; object-position: top; border-radius: 50%; background: #dfe3ee; }
.client-card .cq { font-size: 17px; }
.client-card .cq b { font-family: var(--disp); font-size: 19px; }
.client-card .cq span { display: block; color: var(--slate); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 680px) { .client-card { flex-direction: column; text-align: center; } }

/* ---------- industries ---------- */
.ind-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ind {
  font-weight: 600; font-size: 15.5px; border-radius: 999px; padding: 11px 22px;
}
.ind.a { background: #fdeccd; color: #6b4508; }
.ind.b { background: #dde3f7; color: var(--cobalt-deep); }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.quote-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 28px; display: flex; flex-direction: column; gap: 16px;
}
.quote-card blockquote { font-family: var(--disp); font-weight: 600; font-size: 19px; line-height: 1.4; }
.quote-card .qwho { display: flex; align-items: center; gap: 4px; margin-top: auto; }
.quote-card .qwho img { height: 56px; width: auto; }
.quote-card .stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }
.inc-badges { display: flex; justify-content: center; margin-top: 34px; }
.inc-badges img { max-width: 360px; width: 100%; }

/* ---------- team globe · drag-to-spin roster ---------- */
.orbit-sec {
  background: radial-gradient(110% 130% at 80% 15%, var(--cobalt-deep) 0%, var(--cobalt) 55%, var(--cobalt-night) 100%);
  overflow: hidden;
}
.orbit-grid { display: grid; grid-template-columns: 1fr 560px; gap: 48px; align-items: center; padding: 84px 0; }
.orbit-copy h2 { color: var(--bone); }
.orbit-copy .k { color: rgba(242, 239, 231, 0.65); }
.orbit-copy .lede { color: rgba(242, 239, 231, 0.85); margin-top: 14px; }
.orbit-hint { font-family: var(--mono); font-size: 12.5px; color: var(--amber); letter-spacing: 0.1em; margin-top: 26px; }
.orbit-note {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.07em;
  color: rgba(242, 239, 231, 0.6); text-align: center; margin-top: 8px;
}
.globe {
  position: relative; width: 100%; aspect-ratio: 1; max-width: 560px; margin: 0 auto;
  cursor: grab; touch-action: none;
}
.globe.dragging { cursor: grabbing; }
.globe::before {
  content: ""; position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(242, 239, 231, 0.1), rgba(242, 239, 231, 0.02) 55%, transparent 70%);
  border: 1px solid rgba(242, 239, 231, 0.12);
}
.gcenter {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 108px; z-index: 50; pointer-events: none;
  filter: drop-shadow(0 10px 24px rgba(6, 10, 40, 0.6));
}
.gdot {
  position: absolute; left: 0; top: 0; width: 54px; height: 54px;
  border-radius: 50%; overflow: hidden; padding: 0;
  border: 2px solid rgba(242, 239, 231, 0.5); background: var(--cobalt-night);
  cursor: inherit; will-change: transform, opacity;
}
.gdot img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.gdot:hover { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(246, 162, 51, 0.35); }
.gdot:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
@media (max-width: 960px) {
  .orbit-grid { grid-template-columns: 1fr; gap: 36px; padding: 64px 0; }
  .globe { max-width: 400px; }
  .gdot { width: 44px; height: 44px; }
  .gcenter { width: 84px; }
}

/* ---------- values marquee ---------- */
.values-band { overflow: hidden; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.marquee { display: flex; gap: 72px; width: max-content; animation: marq 38s linear infinite; align-items: center; }
.marquee img { height: 54px; width: auto; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 36px; } }

/* ---------- values grid (about) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.value-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.value-card img { height: 58px; width: auto; }
.value-card p { color: var(--slate); font-size: 15px; line-height: 1.55; }
.value-card.wide { grid-column: span 3; flex-direction: row; align-items: center; gap: 28px; background: var(--cobalt); border: 0; }
.value-card.wide img { height: 64px; filter: brightness(0) invert(1); }
.value-card.wide p { color: rgba(242, 239, 231, 0.9); font-size: 16.5px; max-width: 60ch; }
@media (max-width: 880px) {
  .values-grid { grid-template-columns: 1fr; }
  .value-card.wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
}

/* ---------- automator section ---------- */
.automator { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.automator img { width: 100%; }
.automator .tools { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.automator .tool { font-family: var(--mono); font-size: 12.5px; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 16px; color: var(--slate); }
@media (max-width: 880px) { .automator { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- login card thumbs ---------- */
.login-card { padding: 0; overflow: hidden; }
.login-card img { width: 100%; height: 170px; object-fit: cover; }
.login-card .ltxt { padding: 26px 30px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.login-card .ltxt p { color: var(--slate); flex: 1; }

/* ---------- closing cta ---------- */
.closing { text-align: center; position: relative; overflow: hidden; }
.closing h2 { font-size: clamp(36px, 4.6vw, 60px); }
.closing .hero-ctas { justify-content: center; }
.closing-bob { width: 150px; margin: 0 auto 22px; animation: bobfloat 5.5s ease-in-out infinite; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #b9bdc9; padding: 64px 0 36px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { font-family: var(--disp); color: #f2efe7; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.foot-grid a { display: block; color: #b9bdc9; padding: 4px 0; }
.foot-grid a:hover { color: #ffffff; }
.foot-brand img { height: 30px; margin-bottom: 14px; }
.foot-brand p { max-width: 34ch; line-height: 1.6; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a {
  display: flex; align-items: center; justify-content: center; padding: 0;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(242, 239, 231, 0.25); color: #c6cad4;
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.foot-social a:hover { color: var(--amber); border-color: var(--amber); transform: translateY(-2px); }
.foot-social svg { display: block; }
.foot-base { border-top: 1px solid rgba(242, 239, 231, 0.14); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 72px 0 56px; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { margin-top: 16px; }

/* ---------- faq accordion ---------- */
.faq-list { margin-top: 40px; display: grid; gap: 12px; }
.faq-item { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--disp); font-weight: 700; font-size: 18px; padding: 20px 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--cobalt); font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--slate); max-width: 75ch; }
.faq-item .faq-body a { font-weight: 600; }

/* ---------- forms ---------- */
.form-card { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea, .field select {
  font-family: var(--body); font-size: 16px; color: var(--ink);
  background: #ffffff; border: 1.5px solid rgba(16, 19, 28, 0.22); border-radius: 12px; padding: 13px 16px;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cobalt); outline: none; }
.field .hint { font-size: 13px; color: var(--slate); }
.form-note { font-size: 13.5px; color: var(--slate); margin-top: 14px; }

/* ---------- legal ---------- */
.legal-hero { background: var(--cobalt); color: var(--bone); padding: 64px 0 56px; }
.legal-hero h1 { color: var(--bone); font-size: clamp(34px, 4.4vw, 54px); }
.legal-hero .lmeta { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.legal-hero .lchip {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  border: 1px solid rgba(242, 239, 231, 0.4); border-radius: 999px; padding: 7px 16px;
  color: rgba(242, 239, 231, 0.9);
}
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; padding: 56px 0 80px; }
.toc { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 2px; }
.toc .k { margin-bottom: 10px; }
.toc a {
  color: var(--slate); font-size: 14px; padding: 7px 12px; border-left: 2px solid var(--line);
  line-height: 1.4;
}
.toc a:hover { color: var(--cobalt); border-left-color: var(--cobalt); }
.legal { max-width: 720px; }
.legal p { margin-bottom: 16px; color: #2a2f3d; font-size: 16px; }
.legal h3 {
  margin: 40px 0 14px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 21px; scroll-margin-top: 90px;
}
.legal h3:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-contact {
  margin-top: 44px; background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 28px; font-size: 15px; color: var(--slate);
}
.legal-contact b { color: var(--ink); font-family: var(--disp); font-size: 16.5px; display: block; margin-bottom: 6px; }
@media (max-width: 880px) { .legal-grid { grid-template-columns: 1fr; gap: 20px; } .toc { position: static; flex-direction: row; flex-wrap: wrap; display: none; } }

/* ---------- login cards ---------- */
.login-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.login-card { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.login-card p { color: var(--slate); flex: 1; }
.login-card .btn { align-self: flex-start; }
@media (max-width: 720px) { .login-cards { grid-template-columns: 1fr; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bob, .closing-bob { animation: none; }
  .msg.enter { animation: none; }
}
