/* Pickolo.ai — landing page styles
   Brand reference: "Pickolo.ai — Document Intelligence Platform" deck. */

:root {
  --bg: #FAFAFC;
  --surface: #FFFFFF;
  --panel: #F3F3F9;
  --tint: #EEEEFB;
  --tint-2: #E2E2F7;
  --ink: #0E0F13;
  --ink-2: #2A2D35;
  --muted: #555A66;
  --line: #E4E5EE;
  --line-2: #D5D7E3;
  --accent: #4F51D8;
  --accent-hover: #3F41BF;
  --accent-light: #A9AAF0;
  --dot: #C3C8CE;
  --ok: #157A3C;
  --ok-soft: #E8F5EC;
  --warn: #A5530A;
  --warn-soft: #FDF3E6;
  --dark: #0E0F14;
  --dark-2: #181A22;
  --dark-muted: #A3A7B3;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 15, 19, .04), 0 2px 8px rgba(14, 15, 19, .04);
  --shadow: 0 1px 2px rgba(14, 15, 19, .04), 0 10px 30px rgba(14, 15, 19, .07);
  --shadow-accent: 0 12px 32px rgba(79, 81, 216, .22);
  --maxw: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.nowrap { white-space: nowrap; }
.sprite { position: absolute; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 300;
  background: var(--surface); color: var(--ink); font-weight: 600;
  padding: 12px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.i--sm { width: 16px; height: 16px; }
.i--lg { width: 24px; height: 24px; }

/* ---------- layout ---------- */
.wrap { width: min(var(--maxw), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--white { background: var(--surface); border-block: 1px solid var(--line); }
.section--panel { background: var(--panel); }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
h1, h2 { font-weight: 700; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(38px, 6.2vw, 68px); line-height: 1.04; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px;
  border-radius: 12px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: -.005em;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn .i { transition: transform .18s var(--ease); }
.btn:hover .i--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(79, 81, 216, .25); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--secondary:hover { border-color: var(--ink-2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--tint); }
.btn--sm { min-height: 42px; padding: 9px 16px; font-size: 15px; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--accent);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
  transition: text-decoration-color .18s;
}
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand__mark { width: 30px; height: 30px; }
.wordmark { font-size: 23px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.wordmark span { color: var(--accent); font-weight: 400; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 252, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.header.is-scrolled { background: rgba(255, 255, 255, .92); border-bottom-color: var(--line); }
.nav { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.nav__links { display: flex; gap: 4px; margin-left: 20px; }
.nav__links a {
  display: inline-block; padding: 8px 12px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .18s, background-color .18s;
}
.nav__links a:hover { color: var(--ink); background: var(--tint); }
.nav__tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-link {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 10px; color: var(--muted); transition: color .18s, background-color .18s;
}
.icon-link:hover { color: var(--accent); background: var(--tint); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 10px; place-items: center; }
.nav__toggle:hover { background: var(--tint); }
.nav__toggle .i-close { display: none; }
.nav__toggle[aria-expanded="true"] .i-open { display: none; }
.nav__toggle[aria-expanded="true"] .i-close { display: block; }

.mobile-menu { display: none; }

@media (max-width: 899px) {
  .nav__links, .nav__tools .btn, .nav__tools .icon-link { display: none; }
  .nav__toggle { display: inline-grid; }
  .mobile-menu {
    display: block; border-top: 1px solid var(--line); background: var(--surface);
    padding: 12px var(--gutter) 24px;
    box-shadow: 0 20px 40px rgba(14, 15, 19, .08);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu ul a {
    display: flex; align-items: center; min-height: 52px; padding: 0 4px;
    font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line);
  }
  .mobile-menu .btn { width: 100%; margin-top: 20px; }
  .mobile-menu .text-link { margin-top: 16px; min-height: 44px; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); overflow: hidden; }
.hero__intro { max-width: 940px; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 24px; max-width: 720px; color: var(--ink-2); }
.hero__sub { margin-top: 14px; max-width: 680px; color: var(--muted); font-size: 16px; }
.hero .btn-row { margin-top: 32px; }
.hero__trust {
  display: flex; align-items: center; gap: 10px; margin-top: 28px;
  font-size: 15px; color: var(--muted);
}
.hero__trust .i { color: var(--accent); }

/* hero workflow diagram */
.flow {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.12fr) 72px minmax(0, .95fr) 56px minmax(0, 1fr);
  padding: clamp(20px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.flow__label {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.flow__inputs { background: var(--panel); border-radius: var(--radius); padding: 16px; }
.flow__inputs ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.flow__inputs li {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  padding: 10px 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 15px; font-weight: 500;
}
.flow__inputs li .i { color: var(--muted); }
.flow__core {
  text-align: center; padding: 28px 18px;
  border: 1.5px solid var(--accent); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-accent);
}
.flow__core .brand { justify-content: center; }
.flow__core .brand__mark { width: 34px; height: 34px; }
.flow__core .wordmark { font-size: 28px; }
.flow__core p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.flow__outputs ul { position: relative; display: grid; gap: 8px; padding-left: 26px; }
.flow__outputs ul::before {
  content: ""; position: absolute; left: 0; top: 23px; bottom: 23px;
  border-left: 1.5px solid var(--accent);
}
.flow__outputs li {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
}
.flow__outputs li::before {
  content: ""; position: absolute; left: -26px; top: 50%; width: 20px;
  border-top: 1.5px solid var(--accent);
}
.flow__outputs li::after {
  content: ""; position: absolute; left: -8px; top: calc(50% - 4px);
  border: 4.5px solid transparent; border-left: 6px solid var(--accent); border-right: 0;
}
.flow__outputs .i { color: var(--accent); }
.flow__outputs .is-warn .i { color: var(--warn); }
.flow__outputs .is-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.flow__outputs .is-primary .i { color: #fff; }

.flow__link { position: relative; height: 2px; margin-inline: 10px; }
.flow__link::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 13px);
  background-size: 26px 2px;
  animation: flow-x 1.4s linear infinite;
}
.flow__link::after {
  content: ""; position: absolute; right: -2px; top: -4px;
  border: 5px solid transparent; border-left: 7px solid var(--accent); border-right: 0;
}
.flow__link--out { margin-right: 0; }
.flow__link--out::after { display: none; }
@keyframes flow-x { to { background-position: 26px 0; } }
@keyframes flow-y { to { background-position: 0 26px; } }

@media (max-width: 1023px) {
  .flow { grid-template-columns: minmax(0, 1fr); justify-items: stretch; max-width: 560px; margin-inline: auto; }
  .flow__link { width: 2px; height: 40px; margin: 6px auto; }
  .flow__link::before {
    background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 13px);
    background-size: 2px 26px; animation-name: flow-y;
  }
  .flow__link::after {
    right: auto; left: -4px; top: auto; bottom: -3px;
    border: 5px solid transparent; border-top: 7px solid var(--accent); border-bottom: 0;
  }
  .flow__link--out::after { display: block; }
  .flow__outputs ul { padding-left: 0; }
  .flow__outputs ul::before, .flow__outputs li::before, .flow__outputs li::after { display: none; }
}
@media (max-width: 380px) {
  .flow__inputs li { font-size: 14px; padding: 9px 10px; gap: 8px; }
}

/* ---------- cards ---------- */
.card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 28px);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { margin-top: 16px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.icon-chip {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; background: var(--tint); color: var(--accent);
}
.icon-chip--warn { background: var(--warn-soft); color: var(--warn); }

/* ---------- problem ---------- */
.problem-grid { display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.problem-grid > * { grid-column: span 2; }
.problem-grid > :nth-child(4), .problem-grid > :nth-child(5) { grid-column: span 3; }
.statement {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex; gap: clamp(16px, 3vw, 28px); align-items: flex-start;
  background: var(--dark); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
}
.statement .icon-chip { background: rgba(169, 170, 240, .14); color: var(--accent-light); flex: none; }
.statement p {
  font-size: clamp(22px, 3vw, 34px); line-height: 1.25; font-weight: 600; letter-spacing: -.025em;
}
.statement p span { display: block; color: var(--dark-muted); font-weight: 500; }

@media (max-width: 899px) {
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .problem-grid > *, .problem-grid > :nth-child(4) { grid-column: span 1; }
  .problem-grid > :nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .problem-grid { grid-template-columns: 1fr; }
  .statement { flex-direction: column; }
}

/* ---------- pipeline ---------- */
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.step {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 24px;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -21px; top: 38px;
  width: 14px; height: 14px;
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F51D8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}
.step__top { display: flex; align-items: center; gap: 10px; }
.step__num { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.step h3 { margin-top: 12px; font-size: 24px; letter-spacing: -.03em; }
.step ul { margin-top: 14px; display: grid; gap: 6px; font-size: 15.5px; color: var(--ink-2); }
.step--act { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.step--act .step__num, .step--act h3, .step--act ul { color: #fff; }
.step--act .icon-chip { background: rgba(255, 255, 255, .16); color: #fff; }

@media (max-width: 1099px) {
  .pipeline { grid-template-columns: 1fr; gap: 22px; max-width: 720px; }
  .step { display: grid; grid-template-columns: 180px 1fr; gap: 8px 24px; align-items: start; }
  .step h3 { margin-top: 8px; }
  .step__head { grid-row: span 2; }
  .step ul { margin-top: 2px; display: flex; flex-wrap: wrap; gap: 8px; }
  .step li { padding: 4px 11px; border-radius: 999px; background: var(--panel); font-size: 15px; }
  .step--act li { background: rgba(255, 255, 255, .16); }
  .step:not(:last-child)::after {
    right: auto; left: 38px; top: auto; bottom: -19px; transform: rotate(90deg);
  }
}
@media (max-width: 599px) {
  .step { grid-template-columns: 1fr; }
}

/* ---------- case example ---------- */
.case-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.case-layout .section-head { margin-bottom: 0; }
.case-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.case-card__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--panel);
}
.case-card__title { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.case-card__title .i { color: var(--accent); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
}
.tag--warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); margin-left: auto; }
.case-card__body { display: grid; grid-template-columns: 1fr 1.25fr; }
.case-col { padding: 24px; }
.case-col + .case-col { border-left: 1px solid var(--line); }
.case-col h3 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.doc-list { display: grid; gap: 8px; }
.doc-list li {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 15.5px; font-weight: 500;
}
.doc-list .i { color: var(--muted); }
.checks { display: grid; gap: 10px; font-size: 15.5px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .i { margin-top: 2px; }
.checks .ok .i { color: var(--ok); }
.checks .warn { color: var(--ink); }
.checks .warn .i { color: var(--warn); }
.checks .warn strong { font-weight: 600; }
.checks__divider { border-top: 1px dashed var(--line-2); margin: 6px 0; }
.next-action {
  margin: 0 24px 24px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--tint); display: grid; gap: 10px;
}
.next-action__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.next-action__text { font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.evidence {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  font-size: 14.5px; color: var(--muted);
}
.evidence code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px;
  background: var(--surface); border: 1px solid var(--tint-2); border-radius: 6px; padding: 2px 8px; color: var(--ink-2);
}
.case-note { margin-top: 24px; font-size: 14px; color: var(--muted); }
.case-points { margin-top: 28px; display: grid; gap: 12px; }
.case-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.case-points .i { color: var(--accent); margin-top: 3px; }

@media (max-width: 1023px) {
  .case-layout { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .case-card__body { grid-template-columns: 1fr; }
  .case-col + .case-col { border-left: 0; border-top: 1px solid var(--line); }
  .case-card__bar, .case-col { padding-inline: 18px; }
  .next-action { margin-inline: 18px; padding: 20px; }
  .tag--warn { margin-left: 0; }
}

/* ---------- value ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value-card h3 { font-size: 26px; letter-spacing: -.03em; }
.value-card .value-card__num { position: absolute; top: 24px; right: 24px; font-size: 13px; font-weight: 600; color: var(--dot); letter-spacing: .08em; }
.compare { margin-top: 32px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; }
.compare__col { border-radius: var(--radius); padding: 24px 26px; }
.compare__col--basic { background: var(--panel); }
.compare__col--pickolo { background: var(--tint); border: 1px solid var(--tint-2); }
.compare h3 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.compare__col--pickolo h3 { color: var(--accent); }
.compare ul { margin-top: 14px; display: grid; gap: 10px; font-size: 17px; font-weight: 500; }
.compare li { display: flex; gap: 10px; align-items: flex-start; }
.compare li .i { margin-top: 3px; color: var(--muted); }
.compare__col--pickolo li .i { color: var(--accent); }
.quote-line {
  margin-top: clamp(40px, 5vw, 56px); text-align: center;
  font-size: clamp(22px, 2.8vw, 30px); font-weight: 600; letter-spacing: -.025em; line-height: 1.3;
  text-wrap: balance;
}
.quote-line em { font-style: normal; color: var(--accent); }

@media (max-width: 1023px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 719px) { .compare { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- integration ---------- */
.integration { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.integration .section-head { margin-bottom: 0; }
.bullets { margin-top: 28px; display: grid; gap: 14px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.bullets .icon-chip { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.bullets strong { display: block; color: var(--ink); font-weight: 600; }
.bullets span { font-size: 16px; color: var(--muted); }

.arch { display: grid; }
.arch__box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.arch__title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.015em; }
.arch__title .i { color: var(--accent); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px; font-size: 15px; font-weight: 500;
  background: var(--panel); color: var(--ink-2); border: 1px solid transparent;
}
.pill--outline { background: var(--surface); border-color: var(--line-2); }
.pill .i { color: var(--accent); }
.arch__core { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: var(--shadow-accent); padding: 24px; }
.arch__core .arch__title { font-size: 21px; }
.arch__core .arch__title .i { color: #fff; }
.arch__core .pills .pill { background: rgba(255, 255, 255, .15); color: #fff; }
.arch__link {
  display: flex; align-items: center; gap: 14px; padding: 10px 0 10px 26px;
  font-size: 15px; font-weight: 500; color: var(--muted);
}
.arch__link::before {
  content: ""; width: 12px; height: 44px; flex: none;
  background: no-repeat center / 12px 44px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 44' fill='none' stroke='%234F51D8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2v40M2 6l4-4 4 4M2 38l4 4 4-4'/%3E%3C/svg%3E");
}
@media (max-width: 1023px) { .integration { grid-template-columns: 1fr; } }

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.evidence-sample {
  margin-top: 16px; display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius-sm); background: var(--panel); font-size: 14.5px; line-height: 1.45;
}
.evidence-sample .i { color: var(--warn); margin-top: 1px; }
.evidence-sample strong { display: block; font-weight: 600; color: var(--ink); }
.evidence-sample span { color: var(--muted); }
.governance {
  margin-top: 16px; padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg); background: var(--tint); border: 1px solid var(--tint-2);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 24px 48px; align-items: center;
}
.governance h3 { display: flex; gap: 12px; align-items: center; font-size: 22px; letter-spacing: -.025em; }
.governance h3 .icon-chip { background: var(--surface); flex: none; }
.governance p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.governance .pills { margin-top: 0; }
.governance .pill { background: var(--surface); border-color: var(--tint-2); }
.trust-note { margin-top: 28px; font-size: 16px; color: var(--muted); }

@media (max-width: 899px) { .governance { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- use cases ---------- */
.usecase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.usecase h3 { font-size: 17px; letter-spacing: .02em; text-transform: uppercase; }
.usecase ul { margin-top: 12px; display: grid; gap: 7px; font-size: 15.5px; color: var(--ink-2); }
.usecase li { display: flex; gap: 10px; align-items: baseline; }
.usecase li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-3px); }
.usecase:hover .icon-chip { background: var(--accent); color: #fff; }
.usecase .icon-chip { transition: background-color .2s, color .2s; }
.callout {
  margin-top: 32px; display: flex; gap: 16px; align-items: center;
  padding: 22px 26px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--line-2);
  font-size: 18px; font-weight: 500; color: var(--ink-2);
}
.callout .icon-chip { flex: none; }

@media (max-width: 1099px) { .usecase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) {
  .usecase-grid { grid-template-columns: 1fr; }
  .callout { align-items: flex-start; font-size: 17px; }
}

/* ---------- audience ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fit {
  margin-top: 16px; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 2fr); gap: 20px 40px;
  padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.fit h3 { font-size: 22px; letter-spacing: -.025em; }
.fit ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.fit li { display: flex; gap: 10px; align-items: flex-start; font-size: 16.5px; color: var(--ink-2); }
.fit li .i { color: var(--ok); margin-top: 3px; }
.banner {
  margin-top: 16px; display: flex; gap: 24px 40px; align-items: center; justify-content: space-between;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: var(--accent); color: #fff; box-shadow: var(--shadow-accent);
}
.banner p { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; max-width: 780px; }

@media (max-width: 1099px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 899px) {
  .fit { grid-template-columns: 1fr; }
  .banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 559px) {
  .audience-grid, .fit ul { grid-template-columns: 1fr; }
  .banner .btn { width: 100%; }
}

/* ---------- pilot ---------- */
.pilot-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.pilot-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.pilot-step:not(:last-child)::after {
  content: ""; position: absolute; right: -21px; top: 36px; width: 14px; height: 14px;
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F51D8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}
.pilot-step__num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 16px;
}
.pilot-step p { margin-top: 18px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }

.compare-flows { margin-top: 28px; display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.flow-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px 20px; align-items: center; }
.flow-row h3 { font-size: 15px; font-weight: 600; color: var(--muted); }
.flow-row--new h3 { color: var(--accent); }
.flow-row ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow-row li { display: inline-flex; align-items: center; gap: 8px; }
.flow-row li:not(:last-child)::after {
  content: ""; width: 16px; height: 12px; margin-left: 4px;
  background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239499A6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}
.flow-row--new li:not(:last-child)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F51D8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}
.chip { display: inline-block; padding: 7px 13px; border-radius: 9px; font-size: 15px; font-weight: 500; background: var(--panel); color: var(--ink-2); }
.chip--brand { background: var(--accent); color: #fff; font-weight: 600; }
.chip--tint { background: var(--tint); color: var(--accent-hover); font-weight: 600; }
.flow-row__sep { border-top: 1px solid var(--line); }

.kpis { margin-top: 28px; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 2fr); gap: 16px 40px; align-items: start; }
.kpis h3 { font-size: 22px; letter-spacing: -.025em; }
.kpis p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.kpis .pills { margin-top: 0; }
.pilot-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.pilot-cta p { color: var(--muted); font-size: 16px; }

@media (max-width: 1023px) {
  .pilot-steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pilot-step::after { display: none; }
  .kpis { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  .flow-row { grid-template-columns: 1fr; }
  .flow-row ol { flex-direction: column; align-items: flex-start; gap: 4px; }
  .flow-row li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .flow-row li:not(:last-child)::after { transform: rotate(90deg); margin: 2px 0 0 12px; }
}
@media (max-width: 479px) {
  .pilot-steps { grid-template-columns: 1fr; }
  .pilot-cta .btn { width: 100%; }
}

/* ---------- final CTA ---------- */
.final { padding-block: clamp(64px, 8vw, 104px); }
.final__panel {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff; border-radius: calc(var(--radius-lg) + 6px);
  padding: clamp(36px, 7vw, 88px);
}
.final__panel::after {
  content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 81, 216, .45), rgba(79, 81, 216, 0) 70%);
  pointer-events: none;
}
.final__panel > * { position: relative; z-index: 1; }
.final .eyebrow { color: var(--accent-light); }
.final h2 { color: #fff; margin-top: 14px; max-width: 820px; }
.final__text { margin-top: 18px; font-size: clamp(17px, 1.6vw, 20px); color: var(--dark-muted); max-width: 620px; }
.final .btn-row { margin-top: 36px; align-items: center; }
.final__links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.final__links a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: #fff; font-weight: 500;
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 5px;
  transition: text-decoration-color .18s;
  overflow-wrap: anywhere;
}
.final__links a:hover { text-decoration-color: #fff; }
.final__links .i { color: var(--accent-light); }
.final :focus-visible { outline-color: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: var(--dark-muted); padding-block: 56px 32px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; }
.footer .brand { color: #fff; }
.footer .wordmark span { color: var(--accent-light); }
.footer__tagline { margin-top: 18px; color: #fff; font-size: 17px; font-weight: 500; max-width: 380px; }
.footer__sub { margin-top: 8px; max-width: 380px; }
.footer h2 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer ul { margin-top: 14px; display: grid; gap: 4px; }
.footer ul a, .footer__contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; transition: color .18s; overflow-wrap: anywhere; }
.footer ul a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { margin-top: 14px; display: grid; gap: 4px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer :focus-visible { outline-color: #fff; }
@media (max-width: 899px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- small screens ---------- */
@media (max-width: 599px) {
  body { font-size: 16.5px; }
  .hero .btn-row .btn, .final .btn-row .btn { width: 100%; }
  .hero__trust { align-items: flex-start; }
}

/* ---------- reveal on scroll (enabled by JS only) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
