/* =========================================================
   Inticube — light redesign
   Tokens come from the cube logo (orange / yellow / red).
   Orange is decoration + focus, never small text on white.
   ========================================================= */

@font-face {
  font-family: "Pretendard";
  src: url("../fonts/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --cloud: #f3f5f8;
  --cloud-2: #e9edf2;
  --ink: #18202c;
  --slate: #596373;
  --line: #e3e7ed;

  --orange: #ee7f1b;
  --yellow: #f6c016;
  --red: #e32c2c;
  --orange-tint: #fff3e8;
  --yellow-tint: #fff8dc;
  --red-tint: #fdeeee;

  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;

  --lift: 0 1px 2px rgba(24, 32, 44, .06), 0 14px 36px -12px rgba(24, 32, 44, .18);

  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 72px;

  /* brand stage: the three cube colours as soft light */
  --mesh:
    radial-gradient(52% 70% at 10% 14%, rgba(246, 192, 22, .30), transparent 70%),
    radial-gradient(46% 64% at 90% 8%, rgba(238, 127, 27, .26), transparent 70%),
    radial-gradient(60% 70% at 70% 105%, rgba(227, 44, 44, .16), transparent 70%),
    linear-gradient(180deg, #fffaf2, #fff6f0);
  --cube-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Crect x='6' y='6' width='44' height='44' rx='9' fill='none' stroke='%23ffffff' stroke-opacity='.75' stroke-width='1.2'/%3E%3C/svg%3E");

  --fs-12: .75rem;
  --fs-14: .875rem;
  --fs-15: .9375rem;
  --fs-17: 1.0625rem;
  --fs-20: 1.25rem;
  --fs-25: clamp(1.25rem, 1.1rem + .6vw, 1.5625rem);
  --fs-32: clamp(1.625rem, 1.3rem + 1.3vw, 2rem);
  --fs-44: clamp(2rem, 1.35rem + 2.6vw, 3rem);
  --fs-60: clamp(2.5rem, 1.5rem + 4vw, 4.25rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: var(--fs-17);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-sm);
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.icon { width: 22px; height: 22px; flex: none; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sec { padding-block: 112px; }
.sec-tight { padding-block: 80px; }
.sec-alt { background: var(--cloud); }
.sec:not(.sec-alt) + .sec:not(.sec-alt) { padding-top: 0; }
.sec-alt + .sec-alt { padding-top: 0; }

.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }

/* ---------- type ---------- */

.display {
  font-size: var(--fs-60);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -.045em;
}
.h2 {
  font-size: var(--fs-44);
  font-weight: 640;
  line-height: 1.2;
  letter-spacing: -.04em;
}
.h3 {
  font-size: var(--fs-25);
  font-weight: 660;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.h4 {
  font-size: var(--fs-20);
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -.02em;
}
.lead {
  margin-top: 20px;
  font-size: var(--fs-20);
  line-height: 1.6;
  color: var(--slate);
  max-width: 36em;
}
.sec-head .lead { font-size: var(--fs-17); line-height: 1.7; }
.muted { color: var(--slate); }
.small { font-size: var(--fs-14); line-height: 1.6; }
.note {
  margin-top: 24px;
  font-size: var(--fs-14);
  color: var(--slate);
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  font-size: var(--fs-14);
  color: var(--slate);
}
.crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumb span[aria-hidden] { opacity: .5; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  font-size: var(--fs-15);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: var(--orange); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-15);
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: #2b3544; }
.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: #cdd3dc;
}
.btn-line:hover { background: var(--cloud); border-color: #b9c1cc; }
.btn-soft {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn-soft:hover { background: var(--cloud); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-14); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 1.1875rem;
  letter-spacing: -.02em;
}
.brand img { width: 26px; height: 26px; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  font-size: var(--fs-15);
  font-weight: 520;
  color: #353e4c;
  transition: background-color .15s, color .15s;
}
.nav-link:hover,
.nav-link[aria-expanded="true"] { background: var(--cloud); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  width: 440px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--lift);
}
.nav-panel[hidden] { display: none; }
.nav-panel a {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2px 14px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
}
.nav-panel a:hover { background: var(--cloud); }
.nav-panel .ico {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cloud);
}
.nav-panel a:hover .ico { background: var(--paper); }
.nav-panel strong { font-size: var(--fs-15); font-weight: 680; line-height: 1.3; }
.nav-panel small { font-size: var(--fs-14); color: var(--slate); line-height: 1.4; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
}
.menu-btn:hover { background: var(--cloud); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  overflow-y: auto;
  padding: 16px var(--gutter) 40px;
  background: var(--paper);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav h2 {
  margin: 24px 0 8px;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--slate);
}
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: var(--fs-17);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a[aria-current="page"] { color: #b4540b; }
.mobile-nav .btn { display: flex; margin-top: 28px; border-bottom: 0; color: #fff; }

/* ---------- hero (home) ---------- */

.hero { padding: 80px 0 0; }
.hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 64px;
  align-items: end;
}
.hero-side .lead { margin-top: 0; font-size: var(--fs-17); line-height: 1.75; }
.hero-side .btn-row { margin-top: 28px; }

.cube {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex: none;
}
.cube-customer { background: var(--yellow); }
.cube-ai { background: var(--orange); }
.cube-agent { background: var(--red); }

/* brand stage used by the hero showcase, sub-page visuals and the CTA */
.showcase,
.page-hero-visual,
.cta {
  position: relative;
  isolation: isolate;
  background: var(--mesh);
}
.showcase::before,
.page-hero-visual::before,
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cube-grid);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 20%, transparent 75%);
  border-radius: inherit;
  will-change: transform;
}

.showcase {
  margin-top: 64px;
  padding: 64px 64px 0;
  border-radius: 32px;
  overflow: hidden;
}
.showcase-caption {
  position: absolute;
  top: 22px;
  right: 28px;
  font-size: var(--fs-12);
  color: #7b644c;
}

/* agent workspace mock */
.ws {
  background: var(--paper);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 0 1px rgba(24, 32, 44, .06), 0 40px 80px -36px rgba(122, 64, 18, .45);
  overflow: hidden;
  font-size: var(--fs-14);
}
.ws-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
.ws-dots { display: flex; gap: 6px; }
.ws-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--cloud-2); }
.ws-title { font-size: var(--fs-12); font-weight: 650; color: var(--slate); }
.ws-search {
  justify-self: end;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--cloud);
  font-size: var(--fs-12);
  color: #8a93a1;
}
.ws-body {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr) 296px;
  height: 540px;
}
.ws-list { border-right: 1px solid var(--line); background: #fbfbfc; overflow: hidden; }
.ws-list-head { display: flex; align-items: center; gap: 8px; padding: 18px 18px 10px; font-size: var(--fs-15); }
.ws-count { padding: 1px 8px; border-radius: 999px; background: var(--cloud-2); font-size: var(--fs-12); font-weight: 650; color: var(--slate); }
.ws-tabs { display: flex; gap: 4px; padding: 0 14px 12px; border-bottom: 1px solid var(--line); }
.ws-tabs span { padding: 4px 10px; border-radius: 8px; font-size: var(--fs-12); font-weight: 600; color: var(--slate); }
.ws-tabs .is-on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(24, 32, 44, .08); }
.ws-list ul { padding: 8px; }
.ws-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
}
.ws-list li.is-active { background: var(--paper); box-shadow: 0 1px 3px rgba(24, 32, 44, .08); }
.ws-list b { display: block; font-size: var(--fs-14); font-weight: 650; line-height: 1.35; }
.ws-list small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: var(--fs-12); color: var(--slate); }
.ws-av {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.av-y { background: var(--yellow-tint); color: #7a5a00; }
.av-o { background: var(--orange-tint); color: #8a4308; }
.av-r { background: var(--red-tint); color: #9b2222; }
.av-g { background: var(--cloud-2); color: var(--slate); }
.ws-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--orange-tint);
  color: #97470a;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.ws-tag.tag-done { background: var(--cloud-2); color: var(--slate); }
.ws-tag.tag-agent { background: var(--red-tint); color: #a3231f; }

.ws-chat { display: flex; flex-direction: column; min-width: 0; }
.ws-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.ws-chat-head b { display: block; font-size: var(--fs-15); font-weight: 650; }
.ws-chat-head small { font-size: var(--fs-12); color: var(--slate); }
.ws-chat { position: relative; }
.ws-chat .chat {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  justify-content: flex-end;
  padding: 20px 24px;
}
/* a light veil instead of a mask: older messages fade under it */
.ws-chat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 62px;
  height: 56px;
  z-index: 1;
  background: linear-gradient(#fff, rgba(255, 255, 255, 0));
  pointer-events: none;
}
.ws-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 16px 16px;
  padding: 12px 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #98a0ac;
  font-size: var(--fs-14);
}
.ws-send { width: 28px; height: 28px; border-radius: 9px; background: var(--ink); opacity: .9; }

.ws-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-left: 1px solid var(--line);
  background: #fbfbfc;
}
.ws-card { padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.ws-card h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: var(--fs-14); font-weight: 680; }
.ws-card p { font-size: var(--fs-14); line-height: 1.6; color: #3b4452; }
.ws-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: var(--fs-14); }
.ws-dl dt { color: var(--slate); }
.ws-dl dd { font-weight: 600; }
.ws-wait p { color: var(--slate); }
.ws-ai { display: none; border-color: #f6c9c4; box-shadow: 0 0 0 3px rgba(227, 44, 44, .08); }
.ws-ai.is-on { display: block; animation: msg-in .45s ease-out both; }
.ws-ai.is-on ~ .ws-wait { display: none; }
.ws-suggest { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--orange-tint); }
.ws-suggest small { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; color: #8a4308; }
.ws-suggest p { color: var(--ink); }

.stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-14);
  font-weight: 650;
}
.stage-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cloud);
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
}
.stage-status .cube { width: 8px; height: 8px; border-radius: 2px; }

.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 24px;
  min-height: 300px;
}
.msg {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  max-width: 88%;
}
.msg .cube { margin-bottom: 10px; }
.msg-body {
  padding: 11px 15px;
  border-radius: 16px;
  font-size: var(--fs-15);
  line-height: 1.55;
}
.msg-who {
  display: block;
  margin-bottom: 2px;
  font-size: var(--fs-12);
  font-weight: 650;
  color: var(--slate);
}
.msg.customer { align-self: flex-end; flex-direction: row-reverse; }
.msg.customer .msg-body { background: var(--yellow-tint); border-bottom-right-radius: 6px; }
.msg.ai .msg-body { background: var(--cloud); border-bottom-left-radius: 6px; }
.msg.agent .msg-body { background: var(--red-tint); border-bottom-left-radius: 6px; }
.msg.sys {
  align-self: center;
  max-width: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cloud);
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--slate);
}
.msg.is-in { animation: msg-in .35s ease-out both; }
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #a3abb7;
  animation: dot 1s infinite ease-in-out;
}
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

/* ---------- logos ---------- */

.logo-wall { padding: 88px 0 8px; text-align: center; }
.logo-wall p { font-size: var(--fs-15); color: var(--slate); }
.logo-wall ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 32px;
}
.logo-wall li { display: grid; place-items: center; min-width: 0; height: 84px; padding: 0 16px; }
.logo-wall img {
  max-height: 30px;
  max-width: min(128px, 100%);
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .58;
}
.logo-wall img.is-white { filter: brightness(0); opacity: .55; }

/* ---------- section head, split ---------- */

.sec-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.sec-split .lead { margin-top: 0; font-size: var(--fs-17); line-height: 1.75; }

/* ---------- bento: three product moments ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bento-card {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: var(--cloud);
  overflow: hidden;
}
.bento-visual {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 32px 28px;
}
.bento-card:nth-child(1) .bento-visual { background: radial-gradient(70% 80% at 30% 20%, rgba(238, 127, 27, .14), transparent 70%); }
.bento-card:nth-child(2) .bento-visual { background: radial-gradient(70% 80% at 70% 20%, rgba(227, 44, 44, .11), transparent 70%); }
.bento-card:nth-child(3) .bento-visual { background: radial-gradient(70% 80% at 40% 20%, rgba(246, 192, 22, .18), transparent 70%); }
.bv-stack { display: grid; gap: 12px; width: 100%; max-width: 330px; }
.bv-stack .msg { max-width: 100%; }
.bv-stack .msg-body { box-shadow: 0 1px 2px rgba(24, 32, 44, .05); }
.bv-stack .msg.ai .msg-body { background: var(--paper); }
.bv-intent,
.bv-handoff,
.bv-report {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(24, 32, 44, .05), 0 12px 28px -14px rgba(24, 32, 44, .18);
}
.bv-intent { display: flex; align-items: center; gap: 12px; }
.bv-intent small { display: block; font-size: var(--fs-12); color: var(--slate); }
.bv-intent b { font-size: var(--fs-15); font-weight: 680; }
.bv-dot { width: 32px; height: 32px; border-radius: 10px; background: var(--orange-tint); position: relative; flex: none; }
.bv-dot::after { content: ""; position: absolute; inset: 11px; border-radius: 3px; background: var(--orange); }
.bv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bv-chips .chip { background: var(--paper); font-size: var(--fs-12); }
.bv-handoff-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: var(--fs-14); font-weight: 680; }
.bv-report-head { margin-bottom: 12px; font-size: var(--fs-14); }
.bv-report ul { display: grid; gap: 10px; }
.bv-report li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: center; font-size: var(--fs-12); color: #3b4452; }
.bv-report i {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange) var(--w), var(--cloud-2) var(--w));
}
.bv-note { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: var(--fs-12); color: var(--slate); }
.bento-text { padding: 4px 32px 36px; }
.bento-step {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-12);
  font-weight: 700;
}
.bento-text p { margin-top: 8px; font-size: var(--fs-15); color: var(--slate); line-height: 1.7; }

/* ---------- stats band ---------- */

.stats-band { padding: 104px 0 16px; }
.stats-title { font-size: var(--fs-25); font-weight: 650; letter-spacing: -.025em; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.stat { padding: 36px 32px 0 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat b {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: clamp(3rem, 1.8rem + 4.2vw, 5.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
}
.stat b span { font-size: .34em; font-weight: 600; letter-spacing: -.02em; color: var(--slate); }
.stat p { margin-top: 16px; font-size: var(--fs-15); color: var(--slate); }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 12px;
}
.logo-grid li {
  display: grid;
  place-items: center;
  height: 92px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.sec-alt .logo-grid li { border-color: transparent; }
.logo-grid img {
  max-height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .8;
}
/* logo files made for dark backgrounds are white: render as dark silhouettes */
.logo-grid img.is-white { filter: brightness(0); opacity: .62; }
/* logo files with a baked-in light background */
.logo-grid img.has-bg { mix-blend-mode: multiply; }
.logo-grid img.is-square { max-height: 52px; }

/* ---------- solution explorer ---------- */

.explorer {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}
.explorer-list { display: flex; flex-direction: column; gap: 4px; }
.explorer-tab {
  display: block;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  border-radius: 18px;
  background: none;
  text-align: left;
  transition: background-color .2s;
}
.explorer-tab:hover { background: rgba(255, 255, 255, .6); }
.explorer-tab[aria-selected="true"] { background: var(--paper); box-shadow: 0 1px 2px rgba(24, 32, 44, .06); }
.explorer-tab strong {
  display: block;
  font-size: var(--fs-20);
  font-weight: 700;
  letter-spacing: -.015em;
}
.explorer-tab span {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-15);
  color: var(--slate);
  line-height: 1.55;
}

.explorer-view {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  min-height: 460px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.explorer-panel[hidden] { display: none; }
.panel-more { margin-top: 24px; }
.panel-lead { display: none; margin-bottom: 16px; font-size: var(--fs-15); color: var(--slate); }
.explorer-panel { animation: fade .3s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* mock UI pieces used inside panels */
.mock {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
}
.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-14);
  font-weight: 650;
}
.mock-body { padding: 16px; }
.mock-title { font-size: var(--fs-14); font-weight: 650; margin-bottom: 12px; }
.mock-caption { margin-top: 16px; font-size: var(--fs-12); color: var(--slate); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cloud);
  font-size: var(--fs-14);
  font-weight: 560;
  line-height: 1.3;
}
.sec-alt .feature .chip { background: var(--cloud); }
.chip-on { background: var(--ink); color: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.stack { display: grid; gap: 12px; }
.stack-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.kpi {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--cloud);
}
.kpi b { display: block; font-size: 1.5rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; }
.kpi span { font-size: var(--fs-12); color: var(--slate); }

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding-top: 8px;
}
.bars i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: var(--cloud-2);
}
.bars i.hot { background: var(--orange); }
.bars-label {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: var(--fs-12);
  color: var(--slate);
}

.ask {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--cloud);
  font-size: var(--fs-14);
}
.answer {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: var(--fs-14);
  line-height: 1.6;
}

.tree { display: grid; gap: 8px; font-size: var(--fs-14); }
.tree-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--cloud);
}
.tree-row.lvl2 { margin-left: 28px; background: var(--paper); border: 1px solid var(--line); }
.tree-row.lvl3 { margin-left: 56px; background: var(--paper); border: 1px dashed #cdd3dc; }
.tree-row kbd {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: var(--fs-12);
  font-weight: 700;
}
.tree-row.lvl2 kbd, .tree-row.lvl3 kbd { background: var(--cloud); }

.phone {
  width: 260px;
  margin-inline: auto;
  padding: 14px;
  border-radius: 34px;
  background: var(--ink);
}
.phone-screen {
  display: grid;
  gap: 10px;
  padding: 18px 14px 26px;
  border-radius: 24px;
  background: var(--cloud);
  min-height: 320px;
}
.phone-time { text-align: center; font-size: 2.25rem; font-weight: 300; letter-spacing: -.02em; margin: 8px 0 12px; }
.notif {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  font-size: var(--fs-12);
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(24, 32, 44, .06);
}
.notif strong { display: block; font-size: var(--fs-14); }

/* ---------- services rows ---------- */

.service-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  border-radius: 28px;
  background: var(--cloud);
}
.service-row p { margin-top: 10px; color: var(--slate); }
.service-row .link { margin-top: 20px; }
.service-row .steps-inline li::before { background: var(--paper); }
.service-row .steps-inline li::after { background: #d9dee5; }

.steps-inline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: s;
}
.steps-inline li {
  position: relative;
  padding: 36px 8px 0 0;
  font-size: var(--fs-15);
  font-weight: 600;
  counter-increment: s;
}
.steps-inline li::before {
  content: counter(s);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--cloud);
  font-size: var(--fs-12);
  font-weight: 700;
  z-index: 1;
}
.steps-inline li::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 26px;
  right: 0;
  height: 2px;
  background: var(--line);
}
.steps-inline li:last-child::after { display: none; }

/* ---------- tabs (industries etc.) ---------- */

.tablist {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--cloud);
  margin-bottom: 32px;
}
.sec-alt .tablist { background: var(--cloud-2); }
.tab {
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: var(--fs-15);
  font-weight: 600;
  color: var(--slate);
  transition: background-color .2s, color .2s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"],
.tab[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(24, 32, 44, .08); }
[role="tabpanel"][hidden] { display: none; }
[role="tabpanel"] { animation: fade .3s ease both; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.split-top { align-items: start; }

.panel {
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--cloud);
}
.sec-alt .panel { background: var(--paper); }

.checks { display: grid; gap: 10px; margin-top: 24px; }
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--fs-15);
}
.checks li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 6px;
  background: var(--orange-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c2570a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* mini chat inside panels */
.mini-chat { display: grid; gap: 10px; }
.mini-chat .msg { max-width: 92%; }

/* ---------- proof ---------- */

.proof {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 32px;
  align-items: end;
  padding-block: 56px;
  border-block: 1px solid var(--line);
}
.proof-intro .h3 { max-width: 12em; }
.fig b {
  display: block;
  font-size: var(--fs-44);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.fig b small { font-size: .5em; font-weight: 650; margin-left: 2px; }
.fig span { display: block; margin-top: 8px; font-size: var(--fs-15); color: var(--slate); }

/* ---------- try (demo) ---------- */

.try {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.scenario-list { display: grid; gap: 8px; margin-top: 32px; }
.scenario {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  text-align: left;
  font-size: var(--fs-17);
  font-weight: 650;
  transition: border-color .2s, background-color .2s;
}
.scenario small { display: block; font-size: var(--fs-14); font-weight: 450; color: var(--slate); }
.scenario:hover { border-color: #c9d0da; }
.scenario[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.scenario .icon { color: var(--slate); }

.demo {
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.demo .chat { min-height: 380px; }
.demo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-12);
  color: var(--slate);
}
.demo-empty {
  margin: auto;
  text-align: center;
  color: var(--slate);
  font-size: var(--fs-15);
}

/* ---------- CTA band ---------- */

.cta {
  overflow: hidden;
  padding: 88px 72px;
  border-radius: 32px;
}
.cta-cubes {
  position: absolute;
  right: 48px;
  top: 50%;
  width: 190px;
  transform: translateY(-50%);
}
.cta .h2 { max-width: 13em; }
.cta p { margin-top: 16px; color: #5a4a3a; max-width: 30em; }
.cta .btn-soft { border-color: rgba(24, 32, 44, .12); }

/* ---------- page hero (sub pages) ---------- */

.page-hero { padding: 64px 0 88px; }
.page-hero .split { gap: 64px; }
.page-hero .lead { margin-top: 20px; }
.page-hero-visual {
  padding: 44px;
  border-radius: var(--r-lg);
}
.page-hero-visual .mock,
.page-hero-visual .process li {
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(24, 32, 44, .05), 0 24px 48px -28px rgba(122, 64, 18, .4);
}
.page-hero-visual .phone { box-shadow: 0 30px 60px -30px rgba(24, 32, 44, .5); }

/* feature grid: text-first, not boxed */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.features-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.features-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature {
  padding: 32px 28px;
  border-radius: 24px;
  background: var(--cloud);
}
.sec-alt .feature { background: var(--paper); }
.feature .ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(24, 32, 44, .06);
}
.sec-alt .feature .ico { background: var(--cloud); box-shadow: none; }
.feature .chip { background: var(--paper); }
.feature p { margin-top: 8px; color: var(--slate); font-size: var(--fs-15); line-height: 1.7; }
.feature .h4 + .chip-row { margin-top: 14px; }

/* numbered process (only for real sequences) */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: p;
}
.process li {
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--paper);
  counter-increment: p;
}
.sec:not(.sec-alt) .process li { background: var(--cloud); }
.process li::before {
  content: counter(p);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-14);
  font-weight: 700;
}
.process p { margin-top: 8px; font-size: var(--fs-15); color: var(--slate); }
.process-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-1 { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
.process-1 li { display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; padding: 20px; }
.process-1 li::before { grid-row: span 2; margin-bottom: 0; }
.process-1 p { margin-top: 2px; }

/* architecture flow (AICC) */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}
.flow-col {
  padding: 24px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.flow-col.core { background: var(--ink); color: #fff; border-color: var(--ink); }
.flow-col.core .chip { background: rgba(255, 255, 255, .1); color: #fff; }
.flow-col.core .flow-sub { color: #b9c1cc; }
.flow-col h3 { font-size: var(--fs-17); font-weight: 700; margin-bottom: 4px; }
.flow-sub { font-size: var(--fs-14); color: var(--slate); margin-bottom: 16px; }
.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--orange);
}
.flow-arrow svg { width: 28px; height: 28px; }

/* step tabs (consulting / outsourcing) */
.step-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.step-tab {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  text-align: left;
  font-size: var(--fs-15);
  font-weight: 650;
  transition: border-color .2s, background-color .2s;
}
.step-tab small { display: block; font-size: var(--fs-12); font-weight: 600; color: var(--slate); margin-bottom: 2px; }
.step-tab:hover { border-color: #c9d0da; }
.step-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.step-tab[aria-selected="true"] small { color: #b9c1cc; }
.step-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  padding: 40px;
  border-radius: var(--r-lg);
  background: var(--paper);
}
.sec:not(.sec-alt) .step-panel { background: var(--cloud); }
.step-panel .deliver {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--cloud);
}
.sec:not(.sec-alt) .step-panel .deliver { background: var(--paper); }
.deliver h4 { font-size: var(--fs-14); font-weight: 650; color: var(--slate); margin-bottom: 10px; }
.deliver ul { display: grid; gap: 8px; font-weight: 650; }

/* compare table */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--fs-15); }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--cloud); font-size: var(--fs-14); font-weight: 650; color: var(--slate); }
.compare thead th.hl { color: var(--ink); }
.compare tbody th { font-weight: 650; white-space: nowrap; }
.compare td b { display: block; font-weight: 650; }
.compare td span { font-size: var(--fs-14); color: var(--slate); }
.compare .hl-col { background: #fffaf4; }

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq details {
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2318202c' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M10 4v12M4 10h12'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--slate); font-size: var(--fs-15); }

/* timeline (company) */
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 40px 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--orange);
}
.timeline li:nth-child(2)::before { background: var(--yellow); }
.timeline li:nth-child(3)::before { background: var(--red); }
.timeline time { font-size: var(--fs-14); font-weight: 700; color: var(--slate); }
.timeline h3 { margin-top: 4px; }
.timeline p { margin-top: 6px; color: var(--slate); font-size: var(--fs-15); }

/* resource / story cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color .2s;
}
a.card:hover { border-color: #c9d0da; }
.card-cover {
  height: 148px;
  margin: -12px -12px 24px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.card-tag { font-size: var(--fs-14); font-weight: 600; color: var(--slate); }
.card .h4 { margin-top: 6px; }
.card p { margin-top: 10px; font-size: var(--fs-15); color: var(--slate); flex: 1; }
.card .link { margin-top: 20px; align-self: flex-start; }
.card[hidden] { display: none; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.filter-bar .tablist { margin-bottom: 0; }
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 280px;
  padding: 0 16px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.search:focus-within { border-color: var(--ink); }
.search input { flex: 1; border: 0; outline: 0; background: none; font-size: var(--fs-15); }
.empty {
  padding: 48px 24px;
  text-align: center;
  border-radius: 22px;
  background: var(--cloud);
  color: var(--slate);
}
.empty[hidden] { display: none; }

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.contact-direct { display: grid; gap: 12px; margin-top: 36px; }
.contact-direct a,
.contact-direct div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--cloud);
  font-weight: 600;
}
.contact-direct a:hover { background: var(--cloud-2); }
.contact-direct small { display: block; font-size: var(--fs-12); font-weight: 500; color: var(--slate); }

.form {
  padding: 40px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.form legend, .field label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-14);
  font-weight: 650;
}
.req { color: #c2410c; }
.radio-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-chips label { position: relative; }
.radio-chips input { position: absolute; opacity: 0; inset: 0; }
.radio-chips span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: var(--fs-14);
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.radio-chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.radio-chips input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #d5dbe3;
  background: var(--paper);
  font-size: var(--fs-15);
  transition: border-color .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(238, 127, 27, .25); }
.field [aria-invalid="true"] { border-color: #c2410c; }
.field-error { margin-top: 6px; font-size: var(--fs-12); color: #b3390b; }
.field-error:empty { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 28px; font-size: var(--fs-14); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.form-result {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--cloud);
}
.form-result[hidden] { display: none; }
.form-result h3 { font-size: var(--fs-17); font-weight: 700; }
.form-result p { margin-top: 6px; font-size: var(--fs-15); color: var(--slate); }

/* ---------- misc components ---------- */

.logo-text { font-size: var(--fs-15); font-weight: 700; color: #6b7482; text-align: center; line-height: 1.3; }

.partner-pair {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  font-size: var(--fs-25);
  color: var(--slate);
}
.partner-pair img { height: 30px; width: auto; }

.add-list { display: grid; gap: 0; margin-top: 12px; }
.add-list li {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-15);
}
.add-list li:first-child { border-top: 0; }
.add-list span { color: var(--slate); }

.refs { margin-top: 20px; font-size: var(--fs-14); }
.refs summary { cursor: pointer; font-weight: 650; color: var(--slate); }
.refs ul { display: grid; gap: 8px; margin-top: 12px; }
.refs .link { font-size: var(--fs-14); font-weight: 500; }

/* WFM schedule mock */
.sched { display: grid; gap: 6px; font-size: var(--fs-12); }
.sched-row { display: grid; grid-template-columns: 56px repeat(10, 1fr); gap: 3px; align-items: center; }
.sched-row span:first-child { color: var(--slate); font-weight: 600; }
.sched-row i { height: 20px; border-radius: 4px; background: var(--cloud-2); }
.sched-row i.w { background: #ffd7ad; }
.sched-row i.b { background: var(--yellow-tint); }
.sched-row i.p { background: var(--orange); }
.sched-head span { color: var(--slate); text-align: center; }
.sched-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: var(--fs-12); color: var(--slate); }
.sched-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sched-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* article (resources) */
.article { max-width: 720px; }
.article + .article { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--line); }
.article .card-tag { display: block; margin-bottom: 10px; }
.article > p:first-of-type { margin-top: 20px; font-size: var(--fs-20); line-height: 1.6; color: var(--slate); }
.article h3 { margin-top: 40px; font-size: var(--fs-20); font-weight: 700; letter-spacing: -.015em; }
.article p { margin-top: 12px; line-height: 1.8; }
.article ul { margin-top: 12px; }
.article .checks { margin-top: 16px; }
.article-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.cover-a { background: var(--orange-tint); }
.cover-b { background: var(--yellow-tint); }
.cover-c { background: var(--red-tint); }
.card-cover .cube { position: absolute; width: 36px; height: 36px; border-radius: 8px; }

.brand-visual { display: grid; place-items: center; padding: 56px; }
.brand-visual svg { width: min(260px, 70%); height: auto; }
.ico-sq {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--cloud);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--cloud-2);
  padding: 72px 0 40px;
  background: var(--cloud);
  font-size: var(--fs-15);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.footer-brand p { margin-top: 14px; color: var(--slate); max-width: 18em; }
.site-footer h2 { font-size: var(--fs-14); font-weight: 650; color: var(--slate); margin-bottom: 14px; }
.site-footer li + li { margin-top: 8px; }
.site-footer li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--cloud-2);
  font-size: var(--fs-14);
  color: var(--slate);
}

/* ---------- v3: hero entrance, layered views, finishing details ---------- */

.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px;
  font-size: var(--fs-14);
  color: var(--slate);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 18px; height: 18px; color: #9aa3b0; }

/* entrance: headline lines rise, then the product settles onto the stage */
.js [data-intro] .hero-title .line > span {
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.2, .8, .2, 1);
}
.js [data-intro] .hero-title .line:nth-child(2) > span { transition-delay: .09s; }
.js [data-intro] .hero-side {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s ease .3s, transform .8s ease .3s;
}
.js [data-intro] .ws-frame {
  opacity: 0;
  transform: perspective(2200px) rotateX(16deg) translateY(56px) scale(.96);
  transform-origin: 50% 0;
  transition: opacity 1s ease .4s, transform 1.5s cubic-bezier(.18, .76, .14, 1) .4s;
}
.js [data-intro] .ws-phone {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .9s ease .95s, transform 1.2s cubic-bezier(.18, .76, .14, 1) .95s;
}
.js [data-intro].is-ready .hero-title .line > span,
.js [data-intro].is-ready .hero-side,
.js [data-intro].is-ready .ws-frame,
.js [data-intro].is-ready .ws-phone { opacity: 1; transform: none; }

/* stage layout with the customer's phone layered over the agent workspace */
.showcase { padding: 72px 64px 0 216px; }
.ws-body { grid-template-columns: 232px minmax(0, 1fr) 276px; }

/* agent's point of view: customer on the left, AI and agent on the right */
.ws-chat .msg.customer { align-self: flex-start; flex-direction: row; }
.ws-chat .msg.customer .msg-body { border-bottom-right-radius: 16px; border-bottom-left-radius: 6px; }
.ws-chat .msg.ai,
.ws-chat .msg.agent { align-self: flex-end; flex-direction: row-reverse; }
.ws-chat .msg.ai .msg-body,
.ws-chat .msg.agent .msg-body { border-bottom-left-radius: 16px; border-bottom-right-radius: 6px; }
.ws-chat .msg.ai .msg-body { background: #f1f3f7; }

.ws-phone {
  position: absolute;
  left: 28px;
  bottom: -84px;
  z-index: 2;
  width: 236px;
  padding: 9px;
  border-radius: 38px;
  background: #1c222c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 40px 70px -30px rgba(40, 20, 6, .55);
}
.ws-phone-screen {
  display: flex;
  flex-direction: column;
  height: 470px;
  border-radius: 30px;
  background: var(--paper);
  overflow: hidden;
}
.ws-phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 26px 16px 12px;
  border-bottom: 1px solid var(--line);
}
.ws-phone-head b { display: block; font-size: 13px; font-weight: 680; line-height: 1.3; }
.ws-phone-head small { font-size: 11px; color: var(--slate); }
.chat-phone {
  flex: 1;
  min-height: 0;
  gap: 8px;
  padding: 14px 12px;
  overflow: hidden;
  justify-content: flex-end;
}
.ws-phone-screen { position: relative; }
.ws-phone-screen::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  height: 40px;
  z-index: 1;
  background: linear-gradient(#fff, rgba(255, 255, 255, 0));
  pointer-events: none;
}
.chat-phone .msg { max-width: 92%; gap: 6px; }
.chat-phone .msg .cube { display: none; }
.chat-phone .msg-who { display: none; }
.chat-phone .msg-body { padding: 8px 11px; font-size: 12.5px; line-height: 1.5; border-radius: 14px; }
.chat-phone .msg.sys { font-size: 10.5px; padding: 4px 10px; }
.ws-phone-input {
  margin: 0 10px 14px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--cloud);
  font-size: 12px;
  color: #98a0ac;
}

.ws-toast {
  position: absolute;
  top: 96px;
  right: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 0 0 1px rgba(24, 32, 44, .06), 0 20px 40px -18px rgba(24, 32, 44, .3);
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  transition: opacity .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.ws-toast.is-on { opacity: 1; transform: none; }
.ws-toast b { display: block; font-size: var(--fs-14); font-weight: 680; }
.ws-toast small { font-size: var(--fs-12); color: var(--slate); }
.showcase-caption { left: 216px; right: auto; top: 26px; }

/* footer wordmark */
.footer-mark {
  margin-top: 72px;
  font-size: min(8.1vw, 7.3rem);
  font-weight: 650;
  letter-spacing: -.05em;
  line-height: 1;
  white-space: nowrap;
  color: #dfe3e9;
  user-select: none;
}

/* CTA cubes assemble */
.js .cta-cubes rect {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: translateY(28px) scale(.55);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .5s ease;
}
.js .cta-cubes rect:nth-child(2) { transition-delay: .07s; }
.js .cta-cubes rect:nth-child(3) { transition-delay: .14s; }
.js .cta-cubes rect:nth-child(4) { transition-delay: .21s; }
.js .cta-cubes rect:nth-child(5) { transition-delay: .28s; }
.js .cta-cubes rect:nth-child(6) { transition-delay: .35s; }
.js .cta-cubes.is-in rect { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .caption-phone { display: none; }
  .showcase { padding: 64px 40px 0; }
  .showcase-caption { left: 40px; }
  .ws-phone { display: none; }
  .ws-toast { top: 84px; right: 16px; }
}
@media (max-width: 560px) {
  .showcase { padding: 44px 12px 0; }
  .showcase-caption { left: 16px; top: 16px; }
  .ws-toast { left: 20px; right: 20px; top: auto; bottom: 20px; }
  .hero-trust { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-intro] .hero-title .line > span,
  .js [data-intro] .hero-side,
  .js [data-intro] .ws-frame,
  .js [data-intro] .ws-phone,
  .js .cta-cubes rect { opacity: 1; transform: none; }
}

/* ---------- v3: richer explorer mockups ---------- */

.explorer-view {
  position: sticky;
  isolation: isolate;
  background: var(--mesh);
  border: 0;
  padding: 40px;
}
.explorer-view::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cube-grid);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 20%, transparent 75%);
  border-radius: inherit;
  will-change: transform;
}
.explorer-view .mock {
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(24, 32, 44, .05), 0 28px 56px -30px rgba(122, 64, 18, .42);
}
.explorer-view .panel-lead { color: #5a4a3a; }

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--red-tint);
  color: #a3231f;
  font-size: var(--fs-12);
  font-weight: 650;
}
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: live 1.6s ease-in-out infinite; animation-play-state: paused; }
@keyframes live { 50% { opacity: .35; } }

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 64px;
  padding: 0 4px;
}
.wave i {
  flex: 1;
  height: var(--h);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--orange), #f6a54f);
  transform-origin: center;
  animation: wave 1.8s ease-in-out infinite;
  animation-play-state: paused;
}
.is-visible .wave i,
.is-visible .live i { animation-play-state: running; }
.wave i:nth-child(3n) { animation-delay: -.4s; }
.wave i:nth-child(3n + 1) { animation-delay: -.9s; }
.wave i:nth-child(4n) { animation-delay: -1.3s; }
@keyframes wave { 50% { transform: scaleY(.45); } }

.transcript { display: grid; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--cloud); font-size: var(--fs-14); line-height: 1.6; }
.transcript b { display: block; font-size: var(--fs-12); font-weight: 700; color: var(--slate); }

.handoff-strip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #f6c9c4;
  background: #fffafa;
  font-size: var(--fs-14);
}
.handoff-strip .cube { margin-top: 5px; }
.handoff-strip b { display: block; font-weight: 680; }
.handoff-strip span:not(.cube) { color: var(--slate); font-size: var(--fs-12); }

/* IVR flow canvas */
.flowcanvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 28px 16px 32px;
  background-color: #fbfbfc;
  background-image: radial-gradient(#d9dee6 1px, transparent 1px);
  background-size: 16px 16px;
  border-radius: 0 0 var(--r-md) var(--r-md);
}
.fnode {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 4px 10px -6px rgba(24, 32, 44, .2);
  font-size: var(--fs-14);
  font-weight: 600;
  white-space: nowrap;
}
.fnode .icon { width: 16px; height: 16px; color: var(--orange); }
.fn-start { box-shadow: 0 0 0 1.5px var(--orange), 0 4px 10px -6px rgba(24, 32, 44, .2); }
.fn-end { background: var(--ink); color: #fff; box-shadow: none; }
/* connectors */
.flowcanvas > .fnode + .fnode::before,
.fcol .fnode + .fnode::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1.5px;
  height: 22px;
  background: #c4cbd5;
}
.fbranch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  padding-top: 22px;
}
.fbranch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16.6%;
  right: 16.6%;
  height: 12px;
  border: 1.5px solid #c4cbd5;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}
.fbranch::after {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: 1.5px;
  height: 22px;
  background: #c4cbd5;
}
.fcol { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.fcol .fnode { font-size: var(--fs-12); padding: 8px 10px; }
.flabel {
  margin: -14px 0 -12px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--orange-tint);
  color: #8a4308;
  font-size: 11px;
  font-weight: 700;
}

/* chart with grid + callout */
.chart { position: relative; }
.chart .bars {
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 25%;
  background-position: 0 0;
  border-bottom: 1px solid var(--line);
}
.chart-tip {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-4%);
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .explorer-view { position: relative; padding: 24px; }
}
@media (max-width: 560px) {
  .explorer-view { padding: 16px; }
  .fcol .fnode { white-space: normal; text-align: center; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav, .header-actions .hide-md { display: none; }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .proof { grid-template-columns: repeat(3, 1fr); }
  .proof-intro { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .features-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
  .ws-body { grid-template-columns: minmax(0, 1fr) 280px; }
  .ws-list { display: none; }
  .showcase { padding: 48px 40px 0; }
  .logo-wall ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .sec { padding-block: 80px; }
  .hero { padding: 40px 0 0; }
  .hero-head, .sec-split, .service-rows { grid-template-columns: 1fr; gap: 24px; }
  .sec-split { margin-bottom: 40px; }
  .showcase { margin-top: 40px; }
  .logo-wall { padding-top: 64px; }
  .stats-band { padding: 72px 0; }
  .split, .explorer, .try, .contact-grid, .service-row, .step-panel { grid-template-columns: 1fr; }
  .explorer-view { position: relative; top: auto; min-height: 0; }
  .explorer { gap: 20px; }
  .explorer-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 6px;
    scrollbar-width: none;
  }
  .explorer-list::-webkit-scrollbar { display: none; }
  .explorer-tab { flex: none; width: auto; padding: 10px 16px; border-radius: 999px; background: var(--cloud-2); }
  .explorer-tab:hover { background: var(--line); }
  .explorer-tab strong { font-size: var(--fs-15); }
  .explorer-tab span { display: none; }
  .explorer-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
  .panel-lead { display: block; }
  .service-row { padding: 28px; gap: 28px; }
  .service-rows { gap: 16px; }
  .features, .features-3 { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-3 { grid-template-columns: 1fr; }
  .process-1 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .step-tabs { grid-template-columns: repeat(2, 1fr); }
  .step-panel { padding: 28px; gap: 28px; }
  .cta { padding: 56px 28px 180px; }
  .page-hero-visual { padding: 28px; }
  .cta-cubes { top: auto; bottom: 28px; right: 28px; width: 120px; transform: none; }
  .page-hero { padding: 40px 0 64px; }
  .page-hero .split { gap: 40px; }
  .form { padding: 28px 22px; }
}

@media (max-width: 560px) {
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid li { height: 80px; }
  .add-list li { grid-template-columns: 1fr; gap: 4px; }
  .sched-row { grid-template-columns: 44px repeat(10, 1fr); }
  :root { --gutter: 16px; }
  .btn-row .btn { flex: 1 1 100%; }
  .proof { grid-template-columns: 1fr; gap: 24px; }
  .steps-inline { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .steps-inline li:nth-child(2)::after { display: none; }
  .features-4, .process { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .stack-2 { grid-template-columns: 1fr 1fr; }
  .search { min-width: 0; width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .tablist { display: flex; border-radius: 20px; }
  .tab { flex: 1 1 auto; }
  .explorer-view, .page-hero-visual, .panel { padding: 16px; }
  .showcase { padding: 36px 12px 0; border-radius: 24px; }
  .showcase-caption { top: 12px; right: 16px; }
  .ws-body { grid-template-columns: 1fr; height: 470px; }
  .ws-side { display: none; }
  .ws-search { display: none; }
  .ws-chat .chat { padding: 16px; }
  .logo-wall ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-wall li { height: 64px; padding: 0 8px; }
  .logo-wall img { max-height: 22px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .bento-text { padding: 4px 24px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
