/* Chattery landing. Apple-style pacing: one idea per section, centred headlines, short copy.
   Hookable-style clarity: a live product demo right under the hero, a floating pill nav,
   step pills that follow the demo, reveal-on-scroll. Flat colour only: no gradients anywhere. */
@font-face {
  font-family: Pretendard;
  src: url(/assets/pretendard.woff2) format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
:root {
  --bg: #ffffff;
  --panel: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --rule: #e5e5ea;
  --link: #0066cc;
  --brand: #0071e3;
  --hand: #c2410c;
  --font: Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
a.skip:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- Reveal on scroll ---------- */
html.motion .rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
html.motion .rv.in {
  opacity: 1;
  transform: none;
}
html.motion .demo.rv {
  transform: translateY(40px) scale(0.96);
}
html.motion .demo.rv.in {
  transform: none;
}
html.motion .tiles .rv:nth-child(2),
html.motion .steps .rv:nth-child(2),
html.motion .fit-list .rv:nth-child(2) {
  transition-delay: 0.1s;
}
html.motion .tiles .rv:nth-child(3),
html.motion .steps .rv:nth-child(3),
html.motion .fit-list .rv:nth-child(3) {
  transition-delay: 0.2s;
}
html.motion .hero .rv:nth-child(2) {
  transition-delay: 0.08s;
}
html.motion .hero .rv:nth-child(3) {
  transition-delay: 0.16s;
}
html.motion .hero .rv:nth-child(4) {
  transition-delay: 0.24s;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #000;
  transform: translateY(-1px);
}
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.button.wide {
  width: 100%;
}
.more {
  color: var(--link);
  font-size: 1.02rem;
  text-decoration: none;
}
.more:hover {
  text-decoration: underline;
}

/* ---------- Masthead: flat bar that becomes a floating pill on scroll ---------- */
.mast {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 12px;
}
.mast-in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1200px;
  height: 64px;
  margin: 0 auto;
  padding: 0 8px 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0);
  transition:
    max-width 0.5s var(--ease),
    margin 0.5s var(--ease),
    height 0.5s var(--ease),
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.mast.scrolled .mast-in {
  max-width: 1000px;
  height: 56px;
  margin-top: 10px;
  border-color: var(--rule);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.18);
}
.wordmark {
  justify-self: start;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.mast nav {
  display: flex;
  gap: 30px;
  font-size: 0.93rem;
  color: #424245;
}
.mast nav a {
  text-decoration: none;
  transition: color 0.2s;
}
.mast nav a:hover {
  color: var(--ink);
}
.mast-action {
  justify-self: end;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
@media (max-width: 900px) {
  .mast-in {
    grid-template-columns: 1fr auto;
  }
  .mast nav {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(56px, 9vw, 120px) var(--gut) clamp(56px, 7vw, 96px);
  text-align: center;
}
.pill {
  display: inline-block;
  margin-bottom: 26px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--panel);
  color: #424245;
  font-weight: 500;
  font-size: 0.9rem;
}
h1 {
  display: grid;
  gap: 4px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.h1-light {
  color: #424245;
  font-weight: 500;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
}
.h1-strong {
  font-size: clamp(2.3rem, 1.2rem + 4.6vw, 4.8rem);
}
.lede {
  margin-top: 26px;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.35rem);
  line-height: 1.55;
}
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 28px;
  color: #424245;
  font-size: 0.97rem;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-checks li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1fb45a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}
html.motion .hero .rv:nth-child(5) {
  transition-delay: 0.32s;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 28px;
  margin-top: 36px;
}

/* ---------- Demo band ---------- */
.demo-band {
  padding: clamp(28px, 4vw, 48px) clamp(12px, 3vw, 40px) clamp(40px, 5vw, 64px);
  background: var(--panel);
}
.try-label {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 22px;
  color: var(--ink-2);
  font-size: 0.93rem;
  text-align: center;
}
.try-label b {
  color: var(--ink);
}
.try-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1fb45a;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}
.demo-head {
  margin-bottom: 18px;
}
.demo {
  --p: 1;
  max-width: 1160px;
  margin: 0 auto;
  perspective: 1600px;
}
/* Scroll-linked rise: small, tilted and low until the window reaches its place. */
html.motion .demo .buyer {
  transform-origin: 50% 0;
  transform: translateY(calc((1 - var(--p)) * 140px))
    rotateX(calc((1 - var(--p)) * 18deg))
    scale(calc(0.8 + var(--p) * 0.2));
  opacity: calc(0.25 + var(--p) * 0.75);
  will-change: transform;
}
.buyer {
  min-width: 0;
}
.owner {
  display: flex;
  justify-content: center;
}
.win {
  border: 1px solid #d9d9de;
  border-radius: 14px !important;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.35) !important;
}
.phases {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 28px auto 0;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--rule);
}
.phases li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--ink-3);
  font-weight: 600;
  font-size: 0.88rem;
  transition:
    background 0.35s,
    color 0.35s;
}
.phases li b {
  display: none;
}
.phases li::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid #c7c7cc;
  border-radius: 50%;
  transition:
    background 0.35s,
    border-color 0.35s;
}
.phases li.on {
  color: var(--ink);
}
.phases li.on::before {
  content: "✓";
  display: grid;
  place-items: center;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
}
.phases li.cur {
  background: var(--ink);
  color: #fff;
}
.phases li.cur::before {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}
.fine {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 0.84rem;
  text-align: center;
}

/* ---------- Browser window holding the customer's site ---------- */
.win {
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #fff;
  box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.35);
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #eef0f3;
  border-bottom: 1px solid #e1e4e8;
}
.win-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d3d7dd;
}
.win-bar span {
  margin-left: 8px;
  padding: 2px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.78rem;
}
.win-body {
  position: relative;
  display: flex;
  height: 640px;
}

/* ---------- The customer's site (fictional DOYUN PRECISION) ---------- */
.site {
  --s-ink: #0d1b2a;
  --s-ink-2: #51606f;
  --s-rule: #e4e8ed;
  --s-accent: #ff5a1f;
  position: relative;
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  container-type: inline-size;
  background: #fff;
  color: var(--s-ink);
  font-size: 15px;
  line-height: 1.55;
  word-break: normal;
}
.s-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 24px;
  background: #fff;
  border-bottom: 1px solid var(--s-rule);
  font-size: 0.85rem;
}
.s-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.s-logo span {
  margin-left: 4px;
  font-weight: 400;
  color: var(--s-ink-2);
}
.s-logo svg {
  width: 22px;
  height: 22px;
  fill: var(--s-ink);
}
.s-logo svg circle {
  fill: var(--s-accent);
}
.s-links {
  display: flex;
  gap: 20px;
  color: var(--s-ink-2);
}
.s-lang {
  margin-left: auto;
  color: var(--s-ink-2);
  font-weight: 600;
}
.s-quote {
  padding: 8px 14px;
  border: 0;
  border-radius: 6px;
  background: var(--s-ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
}
.s-quote:hover {
  background: var(--s-accent);
}
.s-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 36px 24px 22px;
}
.s-eyebrow {
  margin-bottom: 12px;
  color: var(--s-accent);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.s-copy h3 {
  font-size: clamp(1.5rem, 3.4cqi, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.s-sub {
  margin-top: 14px;
  color: var(--s-ink-2);
  font-size: 0.92rem;
}
.s-draw {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--s-rule);
  border-radius: 10px;
  background: #fbfcfd;
}
.s-draw svg {
  display: block;
  width: 100%;
  height: auto;
}
.s-draw .cl {
  stroke: #9aa4af;
  stroke-width: 0.8;
  stroke-dasharray: 12 4 2 4;
}
.s-draw .mt {
  fill: #e3e7ec;
}
.s-draw .hl {
  fill: #ffffff;
  opacity: 0.85;
}
.s-draw .sh {
  fill: #9aa5b1;
  opacity: 0.45;
}
.s-draw .ol {
  stroke: #2b3946;
  stroke-width: 1.2;
}
.s-draw .th {
  stroke: #6f7c8a;
  stroke-width: 0.8;
}
.s-draw .ext {
  stroke: #b7c0c9;
  stroke-width: 0.8;
}
.s-draw .dim,
.s-draw .lead {
  stroke: #ff5a1f;
  stroke-width: 1;
  fill: none;
}
.s-draw .tolbox {
  fill: #fff;
  stroke: #ff5a1f;
}
.s-draw text {
  font-family: var(--font);
  text-anchor: middle;
}
.s-draw .dt,
.s-draw .tt {
  fill: #ff5a1f;
  font-size: 10px;
  font-weight: 600;
}
.s-draw .tt {
  font-size: 11px;
}
.s-draw .lab {
  fill: #5b6672;
  font-size: 9.5px;
}
.s-draw .lab.l {
  text-anchor: start;
}

/* The agent, built into the site as an ask bar. */
.s-ask {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 24px;
  padding: 7px 7px 7px 14px;
  border: 1.5px solid var(--s-ink);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px -16px rgba(13, 27, 42, 0.45);
}
.s-ask:focus-within {
  border-color: var(--s-accent);
}
.s-ask-ic {
  flex: none;
  width: 18px;
  height: 18px;
  fill: var(--s-accent);
}
.s-ask input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 0.92rem;
  outline: none;
}
.s-ask button {
  padding: 9px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--s-ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.s-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 24px 4px;
}
.s-suggest button {
  padding: 5px 11px;
  border: 1px solid var(--s-rule);
  border-radius: 999px;
  background: #f6f8fa;
  color: var(--s-ink);
  font-size: 0.78rem;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.s-suggest button:hover {
  border-color: var(--s-accent);
  background: #fff4ef;
}
.s-caps,
.s-ind {
  padding: 30px 24px 0;
}
.s-caps h4,
.s-ind h4 {
  margin: 0 0 12px;
  color: var(--s-ink-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.s-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.s-cards article {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 14px;
  border: 1px solid var(--s-rule);
  border-radius: 10px;
  background: #fff;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}
.s-cards span {
  color: var(--s-ink-2);
  font-size: 0.74rem;
}
.s-cards b {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.s-cards small {
  color: var(--s-ink-2);
  font-size: 0.74rem;
  line-height: 1.4;
}
.s-cards article.cited {
  border-color: var(--s-accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.16);
  transform: translateY(-2px);
}
.s-cards article.cited::after {
  content: "Source " attr(data-n);
  position: absolute;
  top: -9px;
  right: 10px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--s-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.66rem;
}
/* A scan line sweeping the spec cards while the agent reads them. */
.s-caps.scanning .s-cards::after {
  content: "";
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: 0;
  width: 2px;
  background: var(--s-accent);
  box-shadow: 0 0 0 1px rgba(255, 90, 31, 0.15);
  animation: sweep 0.7s ease-in-out;
}
.s-caps.scanning .s-cards article {
  border-color: #f3c3ad;
}
@keyframes sweep {
  from {
    left: 0;
  }
  to {
    left: 100%;
  }
}
.s-ind p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-weight: 600;
  font-size: 0.88rem;
}
.s-ind i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c2c9d1;
}
.s-foot {
  margin-top: 30px;
  padding: 16px 24px 22px;
  border-top: 1px solid var(--s-rule);
  color: var(--s-ink-2);
  font-size: 0.76rem;
}
@container (max-width: 820px) {
  .s-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@container (max-width: 620px) {
  .s-links {
    display: none;
  }
  .s-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 26px;
  }
  .s-draw {
    max-width: 360px;
  }
  .s-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Agent panel: slides in from the right and pushes the site ---------- */
.assist {
  flex: none;
  width: 0;
  overflow: hidden;
  border-left: 1px solid #e1e4e8;
  background: #f7f8fa;
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.win.open .assist {
  width: 370px;
}
.agent-in {
  display: flex;
  flex-direction: column;
  width: 370px;
  height: 100%;
}
.a-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid #e6e9ed;
}
.a-head > i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #0d1b2a;
  color: #fff;
  font-style: normal;
  font-weight: 800;
}
.a-head b {
  display: block;
  font-size: 0.92rem;
}
.a-head small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7785;
  font-size: 0.75rem;
}
.live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1fb45a;
}
.a-head button {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #6b7785;
  font-size: 1.3rem;
  cursor: pointer;
}
.a-head button:hover {
  background: #eef0f3;
}
.chat-log {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.bubble {
  flex-shrink: 0;
  max-width: 92%;
  font-size: 0.87rem;
  line-height: 1.55;
  animation: rise 0.25s ease-out;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
.bubble.buyer {
  align-self: flex-end;
  padding: 9px 13px;
  border-radius: 14px 14px 4px 14px;
  background: #0d1b2a;
  color: #fff;
}
.bubble.agent {
  align-self: flex-start;
  color: #18222d;
}
.bubble.intro {
  padding: 10px 13px;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  border: 1px solid #e6e9ed;
}
.bubble.msg {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}
.trace {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
}
.trace:empty {
  display: none;
}
.trace li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5b6672;
  font-size: 0.78rem;
  animation: rise 0.25s ease-out;
}
.trace li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.trace li.run::before {
  border: 2px solid #d5dae0;
  border-top-color: #ff5a1f;
  animation: spin 0.7s linear infinite;
}
.trace li.ok::before {
  content: "✓";
  display: grid;
  place-items: center;
  background: #1fb45a;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
}
.trace li.miss::before {
  content: "!";
  display: grid;
  place-items: center;
  background: #ff5a1f;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  animation: rise 0.25s ease-out;
}
.sources button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 3px;
  border: 1px solid #f1c6b3;
  border-radius: 999px;
  background: #fff;
  font-size: 0.76rem;
  cursor: pointer;
}
.sources b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff5a1f;
  color: #fff;
  font-size: 0.66rem;
}
.ans {
  padding: 11px 13px;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  border: 1px solid #e6e9ed;
}
.ans.typing-now::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: #ff5a1f;
  animation: blink 0.8s infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.bubble.msg small {
  display: block;
  padding: 0 4px;
  color: #6b7785;
  font-size: 0.78rem;
  animation: rise 0.25s ease-out;
}
.bubble .tag {
  justify-self: start;
  padding: 1px 8px;
  border-radius: 999px;
  background: #e5f4ea;
  color: #1f7a45;
  font-weight: 600;
  font-size: 0.72rem;
  animation: rise 0.25s ease-out;
}
.rfq-card {
  border: 1px solid #e6e9ed;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  animation: rise 0.25s ease-out;
}
.rfq-card p {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px dashed #e1e4e8;
  font-weight: 700;
  font-size: 0.78rem;
}
.rfq-card p span {
  color: #ff5a1f;
}
.rfq-card dl {
  margin: 0;
  padding: 6px 12px 10px;
}
.rfq-card dl div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  padding: 3px 0;
  font-size: 0.8rem;
  animation: rise 0.3s ease-out both;
  animation-delay: calc(var(--i) * 160ms);
}
.rfq-card dt {
  color: #6b7785;
}
.rfq-card dd {
  margin: 0;
  font-weight: 600;
}
.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.slots button {
  padding: 6px 12px;
  border: 1px solid #0d1b2a;
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}
.slots button:hover {
  background: #0d1b2a;
  color: #fff;
}
.chat-input {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  background: #fff;
  border-top: 1px solid #e6e9ed;
}
.chat-input input {
  flex: 1;
  min-width: 0;
  padding: 9px 14px;
  border: 1px solid #dde1e6;
  border-radius: 999px;
  font-size: 0.88rem;
}
.chat-input button {
  flex: none;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #0d1b2a;
  color: #fff;
  cursor: pointer;
}

/* ---------- Owner's report: a phone-style notification over the site ---------- */
.report {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 6;
  width: 320px;
  max-width: calc(100% - 36px);
  padding: 10px;
  border-radius: 22px;
  background: rgba(242, 242, 247, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.report {
  cursor: pointer;
  transition:
    width 0.4s var(--ease),
    padding 0.4s var(--ease);
}
.report.folded {
  width: auto;
  padding: 8px 12px;
}
.report.folded .notes {
  display: none;
}
.report.folded .report-head {
  margin-bottom: 0;
}
.report.pop {
  animation: slideup 0.55s var(--ease);
}
@keyframes slideup {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
}
.report-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 4px 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
}
.report-head i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-style: normal;
  font-size: 0.62rem;
}
.report-head span {
  color: var(--ink-3);
  font-weight: 500;
}
.report-head .count {
  margin-left: auto;
}
@media (max-width: 640px) {
  .report {
    top: 8px;
    bottom: auto;
    left: 8px;
    right: 8px;
    width: auto;
    max-width: none;
  }
  /* Folded, it parks in the browser bar so it never covers the chat. */
  .report.folded {
    top: -37px;
    left: auto;
    right: 8px;
    padding: 4px 10px;
    box-shadow: none;
  }
  .report-head span {
    display: none;
  }
  @keyframes slidedown {
    from {
      opacity: 0;
      transform: translateY(-30px) scale(0.96);
    }
  }
  .report.pop {
    animation-name: slidedown;
  }
}
.report .notes {
  min-height: 0;
  max-height: 260px;
  overflow-y: auto;
}
/* Newest notification on top, older ones collapse behind it. */
.report .notes {
  display: flex;
  flex-direction: column-reverse;
}
.report .note:not(:nth-last-child(-n + 2)) {
  display: none;
}
.report .note {
  box-shadow: none;
}

/* ---------- Owner's phone ---------- */
.phone {
  width: 280px;
  padding: 20px 12px 16px;
  border: 7px solid #15171b;
  border-radius: 40px;
  background: #f2f3f7;
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(10, 14, 40, 0.55);
}
.phone-clock {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.phone-date {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink-3);
  font-size: 0.8rem;
}
.count {
  padding: 0 8px;
  border-radius: 999px;
  background: #ff4d4f;
  color: #fff;
  font-weight: 600;
  font-size: 0.72rem;
}
.notes {
  display: grid;
  gap: 8px;
  min-height: 330px;
  align-content: start;
}
.note {
  display: grid;
  gap: 1px;
  padding: 11px 13px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(20, 22, 25, 0.06);
}
.note.new {
  animation: drop 0.35s ease-out;
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}
.note.dim {
  opacity: 0.6;
}
.note-app {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-3);
  font-size: 0.72rem;
}
.note-app i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 0.6rem;
}
.note-app span {
  margin-left: auto;
}
.note b {
  font-weight: 700;
  font-size: 0.9rem;
}
.note p:not(.note-app) {
  color: var(--ink-2);
}
.note-cta {
  justify-self: start;
  margin-top: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.76rem;
}
.note dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1px 10px;
  margin: 6px 0 0;
  font-size: 0.77rem;
}
.note dt {
  color: var(--ink-3);
}
.note dd {
  margin: 0;
}
.brief-hint {
  padding: 8px;
  text-align: center;
  color: var(--ink-3);
  font-size: 0.8rem;
}
@media (max-width: 1000px) {
  .demo {
    grid-template-columns: minmax(0, 1fr);
  }
  .owner {
    margin: 8px auto 32px;
  }
  .notes {
    min-height: 0;
  }
}
@media (max-width: 640px) {
  .win-body {
    height: 600px;
  }
  .assist {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-left: 0;
  }
  .win.open .assist {
    width: 100%;
    transform: none;
  }
  .agent-in {
    width: 100%;
  }
  .s-nav {
    padding: 12px 16px;
  }
  .s-lang,
  .s-logo span {
    display: none;
  }
  .s-logo {
    white-space: nowrap;
  }
  .s-quote {
    margin-left: auto;
    white-space: nowrap;
  }
  .s-hero,
  .s-caps,
  .s-ind {
    padding-inline: 16px;
  }
  .s-ask {
    margin-inline: 16px;
  }
  .s-suggest {
    padding-inline: 16px;
  }
  .phone {
    width: min(280px, 100%);
  }
}

/* ---------- Shared section rhythm ---------- */
.service,
.scope,
.fit,
.how,
.faq,
.diagnosis {
  padding: clamp(96px, 12vw, 160px) var(--gut);
}
.center-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
h2 {
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.center-head p {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.25rem);
}

/* ---------- Service ---------- */
.ba {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  max-width: 1080px;
  margin: 0 auto;
}
.ba-side {
  margin: 0;
}
.ba-side figcaption {
  margin-top: 16px;
  color: var(--ink-2);
  text-align: center;
}
.ba-side figcaption b {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
}
.ba-side:last-child figcaption b {
  color: var(--brand);
}
.mini {
  overflow: hidden;
  height: 260px;
  border: 1px solid #dedee3;
  border-radius: 14px;
  background: #fff;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
}
.mini-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  background: #eeeef1;
}
.mini-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d1d1d6;
}
.mini-bar span {
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-3);
  font-size: 10px;
}
.old {
  filter: saturate(0.85);
}
.old-banner {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px;
  background: #2f5f9c;
  color: #fff;
}
.old-banner b {
  font-size: 15px;
}
.old-banner small {
  opacity: 0.8;
}
.old-nav {
  display: flex;
  background: #f0f2f5;
  border-bottom: 2px solid #f0b72f;
}
.old-nav span {
  padding: 6px 10px;
  border-right: 1px solid #d9dde2;
  font-weight: 700;
  font-size: 11px;
}
.old-body {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 10px;
}
.old-box {
  padding: 8px;
  border: 1px solid #9bb5d6;
  background: #f5f8fc;
  font-size: 10.5px;
}
.old-box b {
  display: block;
  color: #2a568d;
}
.old-photo {
  display: grid;
  place-items: center;
  height: 78px;
  background: #e3e7ec;
  color: #8a939d;
}
.old-main i {
  display: block;
  height: 7px;
  margin-top: 7px;
  border-radius: 3px;
  background: #eceff2;
}
.old-main i.s {
  width: 60%;
}
/* The AI rep docked on the unchanged old site. */
.with-rep {
  position: relative;
}
.rep {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  justify-items: end;
  gap: 8px;
  width: 64%;
}
.rep-panel {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e1e4e8;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.35);
}
.rep-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  font-weight: 700;
  font-size: 11px;
}
.rep-head i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #0d1b2a;
  color: #fff;
  font-style: normal;
  font-size: 9px;
}
.rep-head span {
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: #1fb45a;
}
.rep-q,
.rep-a {
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 10.5px;
  line-height: 1.35;
}
.rep-q {
  margin-left: 18%;
  background: #0d1b2a;
  color: #fff;
}
.rep-a {
  margin: 5px 18% 0 0;
  background: #f1f3f5;
}
.rep-btn {
  padding: 6px 12px;
  border-radius: 999px;
  background: #0d1b2a;
  color: #fff;
  font-weight: 700;
  font-size: 10.5px;
}
html.motion .ba.rv .rep {
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transform-origin: 100% 100%;
  transition:
    opacity 0.6s var(--ease) 0.6s,
    transform 0.6s var(--ease) 0.6s;
}
html.motion .ba.rv.in .rep {
  opacity: 1;
  transform: none;
}
.new-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #e4e8ed;
  font-size: 11px;
}
.new-nav b {
  letter-spacing: 0.06em;
}
.new-nav span {
  margin-left: auto;
  color: #6b7785;
}
.new-nav em {
  padding: 3px 8px;
  border-radius: 4px;
  background: #0d1b2a;
  color: #fff;
  font-style: normal;
  font-weight: 600;
}
.new-hero {
  padding: 18px 14px 12px;
}
.new-hero b {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.new-ask {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1.5px solid #0d1b2a;
  border-radius: 8px;
  color: #6b7785;
}
.new-ask i {
  width: 9px;
  height: 9px;
  background: #ff5a1f;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.new-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 4px 14px;
}
.new-cards span {
  padding: 8px 6px;
  border: 1px solid #e4e8ed;
  border-radius: 6px;
  font-weight: 700;
  font-size: 11px;
  text-align: center;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: clamp(48px, 6vw, 80px) auto 0;
}
.tiles li {
  padding: clamp(28px, 3vw, 40px);
  border-radius: 28px;
  background: var(--panel);
}
.tile-k {
  margin-bottom: 14px;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
}
.tiles li.opt {
  background: #fff;
  border: 1px dashed #c7c7cc;
}
.tiles li.opt .tile-k {
  color: var(--ink-2);
}
.tiles h3 {
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.tiles p:last-child {
  color: var(--ink-2);
}
@media (max-width: 860px) {
  .ba,
  .tiles {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Scope: the dark section ---------- */
.scope {
  background: #000;
  color: #f5f5f7;
}
.scope .center-head p {
  color: #a1a1a6;
}
.scope-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.scope-col {
  padding: clamp(28px, 3vw, 40px);
  border-radius: 28px;
  background: #1d1d1f;
}
.scope-col h3 {
  margin-bottom: 10px;
  color: #2ecc71;
  font-size: 1.05rem;
}
.scope-col.handoff h3 {
  color: #ff9f0a;
}
.qa li {
  padding: 16px 0;
  border-top: 1px solid #333336;
}
.qa li:first-child {
  border-top: 0;
}
.qa q {
  display: block;
  color: #f5f5f7;
  font-weight: 600;
  font-size: 1.1rem;
  quotes: "“" "”";
}
.qa span {
  display: block;
  margin-top: 4px;
  color: #a1a1a6;
}
@media (max-width: 860px) {
  .scope-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Fit ---------- */
.fit-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.fit-list li {
  padding: 24px 28px;
  border-radius: 20px;
  background: var(--panel);
  font-weight: 600;
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.25rem);
  letter-spacing: -0.02em;
}
.fit-not {
  max-width: 820px;
  margin: 24px auto 0;
  color: var(--ink-2);
  text-align: center;
}

/* ---------- How ---------- */
.how {
  background: var(--panel);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.steps li {
  padding: clamp(28px, 3vw, 40px);
  border-radius: 28px;
  background: #fff;
}
.when {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  letter-spacing: -0.04em;
}
.steps p {
  color: var(--ink-2);
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-list details {
  border-bottom: 1px solid var(--rule);
}
.faq-list details:first-child {
  border-top: 1px solid var(--rule);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 4px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  color: var(--ink-3);
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  padding: 0 4px 24px;
  color: var(--ink-2);
}

/* ---------- Form ---------- */
.diagnosis {
  border-top: 1px solid var(--rule);
}
.form {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background: var(--panel);
}
#fields {
  display: grid;
}
.form label {
  margin: 18px 0 8px;
  font-weight: 600;
  font-size: 0.93rem;
}
.form label:first-child {
  margin-top: 0;
}
.optional {
  color: var(--ink-3);
  font-weight: 400;
}
.form input:not([type="checkbox"]),
.form select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form input:focus,
.form select:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}
.form [aria-invalid="true"] {
  border-color: #e30000 !important;
}
.hint {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 0.83rem;
}
.form .consent {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  color: var(--ink-2);
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.5;
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--brand);
}
.privacy {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 0.83rem;
}
.privacy summary {
  cursor: pointer;
}
.privacy p {
  margin-top: 6px;
}
#challenge:not(:empty) {
  margin-top: 16px;
}
#submit {
  margin-top: 24px;
  min-height: 56px;
}
#message:not(:empty) {
  margin-top: 12px;
  color: #e30000;
  font-weight: 600;
  font-size: 0.93rem;
}
.done {
  padding: 8px 0;
  text-align: center;
  outline: none;
}
.done h3 {
  margin-bottom: 8px;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}
.done p {
  color: var(--ink-2);
}

/* ---------- Footer ---------- */
.foot {
  padding: 28px var(--gut) calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rule);
  background: var(--panel);
  color: var(--ink-3);
  font-size: 0.85rem;
}
.foot-in {
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.foot .wordmark {
  color: var(--ink);
  font-size: 1rem;
}

/* ---------- Sticky CTA (phones only) ---------- */
.sticky-cta {
  display: none;
}
@media (max-width: 760px) {
  .sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
    transform: translateY(160%);
    transition: transform 0.35s var(--ease);
  }
  .sticky-cta.on {
    transform: none;
  }
  .foot {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}
