/* AI-first front page and product pages. Loaded after chrome.css, which holds the fonts, colours, header, footer and buttons. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ai-first { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 'Open Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.ai-first img { max-width: 100%; height: auto; }
.ai-first h1, .ai-first h2, .ai-first h3, .ai-first p, .ai-first ul, .ai-first ol, .ai-first figure, .ai-first blockquote { margin: 0; }
.ai-first h1 { font-size: clamp(38px, 6vw, 80px); line-height: 1.06; font-weight: 700; letter-spacing: -.02em; }
.ai-first h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.14; font-weight: 700; letter-spacing: -.015em; max-width: 22ch; }
.ai-first h3 { font-size: 21px; line-height: 1.3; font-weight: 600; }
.ai-first a { color: inherit; }
.ai-first ul, .ai-first ol { padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.ai-first h2.center { max-width: 26ch; margin-left: auto; margin-right: auto; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac-2); margin-bottom: 14px !important; }
.dark .eyebrow, .scene .eyebrow { color: var(--amber); }
.lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 62ch; margin-top: 18px !important; }
.ai-first section { padding: clamp(64px, 9vw, 130px) 0; }
.dark { background: var(--ink); color: var(--cream); }

/* Scene */
.ai-first section.scene { padding: 0; height: 380vh; position: relative; background: var(--night); color: var(--cream); }
.scene__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scene__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s; }
.scene.is-ready .scene__canvas { opacity: 1; }
.scene.is-static .scene__stage { background: linear-gradient(#0d0a2e 0%, #4b3f8f 62%, #f0935c 100%); }
.scene__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 10, 46, .72) 0%, rgba(13, 10, 46, .28) 46%, rgba(13, 10, 46, 0) 70%), linear-gradient(180deg, rgba(13, 10, 46, .5) 0%, rgba(13, 10, 46, 0) 22%); pointer-events: none; }
.scene__copy { position: absolute; left: var(--pad); right: var(--pad); top: 50%; transform: translateY(-46%) translateY(18px); max-width: 780px; opacity: 0; visibility: hidden; transition: opacity .55s, transform .55s, visibility 0s .55s; }
.scene__copy.is-on { opacity: 1; visibility: visible; transform: translateY(-46%); transition: opacity .55s .1s, transform .55s .1s; }
.scene__copy .lead { max-width: 54ch; color: #e9e6f7; }
.scene__copy p + p { margin-top: 28px; }
.scene__copy--ask, .scene__copy--answer { top: auto; bottom: 11vh; transform: translateY(18px); max-width: 620px; }
.scene__copy--ask.is-on, .scene__copy--answer.is-on { transform: none; }
.bubble { display: inline-block; font-size: clamp(20px, 2.3vw, 30px); line-height: 1.3; font-weight: 600; padding: 18px 26px; border-radius: 24px 24px 24px 6px; }
.bubble--ask { background: var(--cream); color: var(--ink); }
.bubble--answer { background: rgba(30, 19, 75, .82); border: 1px solid rgba(255, 255, 255, .16); border-radius: 24px 24px 6px 24px; font-size: clamp(17px, 1.7vw, 22px); font-weight: 400; backdrop-filter: blur(6px); }
.bubble--answer strong { color: var(--amber); font-weight: 600; }
.hint { color: var(--lilac); max-width: 46ch; margin-top: 16px !important; }
.year { font-size: clamp(64px, 11vw, 150px); line-height: .9; font-weight: 600; color: var(--amber); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-bottom: 18px !important; }
.scene__labels { position: absolute; inset: 0; pointer-events: none; }
.scene__label { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--cream); background: rgba(30, 19, 75, .78); border: 1px solid rgba(255, 255, 255, .2); padding: 4px 10px; border-radius: 999px; opacity: 0; transition: opacity .4s; }
.scene__note { position: absolute; left: var(--pad); right: var(--pad); bottom: 18px; font-size: 12px; color: var(--lilac); }

/* AI */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split__text > p:not(.eyebrow) { margin-top: 18px; }
.steps { margin-top: 28px !important; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; padding: 16px 0 16px 46px; border-bottom: 1px solid var(--line); position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 15px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 600; display: grid; place-items: center; }
/* The conversation, in the look of the assistant inside the product: a light panel, the question in a
   tinted box, a folded "Thinking" row, the answer as plain text, and the input with its tools. */

/* Cards */
.cards { display: grid; gap: 22px; margin-top: clamp(32px, 4vw, 56px); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.card h3 { margin-bottom: 10px; }
.card__n { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--lilac-2); margin-bottom: 18px !important; text-transform: uppercase; }
.pillars { background: var(--paper); } .pillars .card { background: var(--cream); }
.card--app { display: block; text-decoration: none; padding: 0 0 26px; overflow: hidden; transition: transform .2s, box-shadow .2s; } .card--app:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(30, 19, 75, .4); }
.card--app img { display: block; width: 100%; height: 210px; object-fit: cover; object-position: center top; background: #000; border-bottom: 1px solid var(--line); }
.card--app h3 { margin: 22px 26px 8px; } .card--app p { margin: 0 26px !important; font-size: 15.5px; }
.card--app h3::after { content: ' →'; color: var(--amber); }
.apps__next { margin-top: 30px !important; padding: 24px 30px; border-radius: 20px; background: var(--ink); color: var(--cream); }
.apps__next strong { color: var(--amber); font-weight: 600; margin-right: 6px; }
.asks { display: grid; gap: 8px; margin-top: 6px !important; }
.asks li { background: var(--cream); border-radius: 14px 14px 14px 4px; padding: 9px 14px; font-weight: 600; font-size: 15px; }

/* Data platform */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; margin-top: clamp(36px, 4vw, 60px); align-items: stretch; }
.flow__col { border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 26px; }
.flow__col h3 { color: var(--lilac); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.flow__col li { padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 15px; }
.flow__core { background: linear-gradient(160deg, #3b2a85, #251865); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.flow__core::before, .flow__core::after { content: '→'; position: absolute; top: 50%; transform: translateY(-50%); color: var(--amber); font-size: 22px; }
.flow__core::before { left: -19px; } .flow__core::after { right: -19px; }
.flow__ai { align-self: flex-start; background: var(--amber); color: var(--ink); font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.flow__stages { display: grid; gap: 10px; flex: 1; }
.flow__stages div { background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px 18px; display: grid; }
.flow__stages strong { font-weight: 600; } .flow__stages span { font-size: 14px; color: var(--lilac); }
.flow__stages div:last-child { background: var(--cream); color: var(--ink); } .flow__stages div:last-child span { color: var(--lilac-2); }
.flow__std { font-size: 13px; color: var(--lilac); letter-spacing: .04em; }

/* Security */
.safety h2 { max-width: 24ch; }
.guards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: clamp(36px, 4vw, 60px); }
.guard { border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; background: rgba(255, 255, 255, .03); }
.guard__tag { align-self: flex-start; background: var(--amber); color: var(--ink); font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.guard h3 { font-size: 24px; }
.guard > p:not(.guard__tag) { color: #dcd8ee; }
.stop { display: grid; gap: 6px; }
.stop__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lilac) !important; margin-top: 6px !important; }
.stop__msg { background: var(--cream); color: var(--ink) !important; padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.stop__msg mark { background: rgba(236, 97, 75, .22); color: #b3261a; padding: 1px 6px; border-radius: 5px; text-decoration: line-through; }
.stop__verdict { border: 1px dashed rgba(255, 255, 255, .3); color: var(--cream) !important; padding: 12px 16px; border-radius: 12px; font-size: 15px; }
.ticks li, .watch li { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 15px; color: #dcd8ee; }
.ticks strong, .watch strong { color: var(--cream); font-weight: 600; }
.watch strong { display: block; }
.watch li { padding-left: 26px; position: relative; } .watch li::before { content: '✕'; position: absolute; left: 0; top: 10px; color: var(--hot); font-weight: 700; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 44px !important; }
.facts li { font-size: 15px; color: #dcd8ee; } .facts strong { display: block; color: var(--cream); font-size: 17px; font-weight: 600; margin-bottom: 6px; }

/* Customer logos */
.ai-first section.logos { padding: 44px 0 40px; background: var(--paper); border-bottom: 1px solid var(--line); }
.logos__title { text-align: center; font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.logos__belt { overflow: hidden; margin-top: 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__row { display: flex; align-items: center; width: max-content; will-change: transform; }
.logos__row li { flex: 0 0 210px; display: grid; place-items: center; height: 60px; }
/* Each logo carries its own height, set so they all have about the same weight. */
.logos__row img { display: block; width: auto; max-width: 176px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logos__row img:hover { filter: none; opacity: 1; }

/* Customers */
.quote blockquote { font-size: 17px; line-height: 1.55; }
.quote figcaption { margin-top: 18px; font-size: 15px; color: var(--lilac-2); } .quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.quote--big { max-width: 900px; } .quote--big blockquote { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.quote--big blockquote::before { content: '“'; display: block; font-size: 90px; line-height: .6; color: var(--amber); margin-bottom: 8px; }
.customers .cards .quote { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px; }

/* Stats: a light band, so it does not run together with the dark security section above it */
.stats { background: var(--paper); }
.stats__grid { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 28px; align-items: start; }
.stats h2 { font-size: clamp(26px, 2.8vw, 38px); }
.stats p { font-size: 14px; color: var(--lilac-2); border-top: 2px solid var(--amber); padding-top: 16px; }
.stats strong { display: block; font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; color: var(--ink); letter-spacing: -.01em; margin-bottom: 6px; }

/* News */
.news { background: var(--cream); }
.ai-first section.events { background: var(--cream); padding-bottom: 0; }
.ai-first section.events + section.news { padding-top: clamp(56px, 7vw, 96px); }
/* news and the section after it share a background, so only one of the two paddings is kept */
.ai-first section.news { padding-bottom: 0; }
.ai-first section.news + section.start { padding-top: clamp(56px, 7vw, 96px); }
.events__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; margin-top: 40px; }
.event { display: flex; align-items: center; gap: 22px; padding: 20px 24px; background: var(--paper); border: 1px solid rgba(30, 19, 75, .12); border-radius: 18px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.event:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(30, 19, 75, .1); }
.event__date { flex: none; width: 78px; padding: 10px 0; border-radius: 12px; background: var(--ink); color: var(--cream); text-align: center; display: grid; gap: 2px; }
.event__date b { font-size: 30px; line-height: 1; font-weight: 700; color: var(--amber); }
.event__date span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.event__title { min-width: 0; overflow-wrap: anywhere; font-size: 19px; font-weight: 600; line-height: 1.3; }
.event__go { margin-left: auto; font-size: 22px; color: var(--lilac-2); }
.card--news { background: var(--paper); padding: 0 0 26px; overflow: hidden; }
.card--news .card__img img { display: block; width: 100%; height: 210px; object-fit: cover; object-position: center 28%; }
.card--news .card__n { margin: 22px 26px 8px !important; }
.card--news h3 { margin: 0 26px; font-size: 19px; } .card--news h3 a { text-decoration: none; } .card--news h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news__all { margin-top: 28px !important; } .news__all .link { margin-left: 0; }

/* How we start */
.start__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.start__grid p:not(.eyebrow) { margin-top: 18px; max-width: 54ch; }
.start__cta { margin-top: 30px !important; }
.start__photo img { display: block; width: 100%; border-radius: 22px; box-shadow: 0 30px 70px -34px rgba(30, 19, 75, .5); }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; } .rv.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .split, .flow, .cards--3, .stats__grid { grid-template-columns: 1fr; }
  .start__grid, .guards { grid-template-columns: 1fr; }
  .cards--2, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__core::before, .flow__core::after { display: none; }
}
@media (max-width: 600px) {
  .cards--2, .facts { grid-template-columns: 1fr; }
  .logos__row li { flex-basis: 150px; } .logos__row img { transform: scale(.74); }
  .scene__shade { background: linear-gradient(180deg, rgba(13, 10, 46, .78) 0%, rgba(13, 10, 46, .35) 60%, rgba(13, 10, 46, .1) 100%); }
  .scene__copy { top: 44%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .msg, .scene__copy { transition: none; } .rv { opacity: 1; transform: none; }
}

/* Anchors land below the fixed bar */
.ai-first section[id] { scroll-margin-top: 70px; }

/* Product pages */
.ai-first section.product-hero { background: var(--ink); color: var(--cream); padding: clamp(130px, 14vw, 190px) 0 clamp(60px, 7vw, 100px); }
.ai-first section.product-hero--photo { background: linear-gradient(90deg, rgba(30, 19, 75, .86) 0%, rgba(30, 19, 75, .6) 50%, rgba(30, 19, 75, .34) 100%), var(--photo) center / cover no-repeat var(--ink); }
.product-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
html:not(:lang(en)) .ai-first :is(.scene, .product-hero) h1 { overflow-wrap: normal; hyphens: manual; -webkit-hyphens: manual; }  /* js/site.js makes the title fit instead */
.ai-first .product-hero h1 { font-size: clamp(32px, 3.5vw, 50px); line-height: 1.1; }
.product-hero .lead { color: #e9e6f7; } .product-hero .eyebrow { color: var(--amber); }
.product-hero__cta { margin-top: 30px !important; }
.shot { border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); border: 1px solid rgba(255, 255, 255, .12); }
.shot--light { background: #fff; }
.shot img { display: block; width: 100%; }
.product-ask { background: var(--paper); }
.product-ask .asks { max-width: 720px; margin-top: 30px !important; } .product-ask .asks li { font-size: 17px; padding: 13px 18px; }
.product-more .cards { margin-top: 30px; }
.product-more a.card { text-decoration: none; padding: 22px 26px; font-weight: 600; } .product-more a.card:hover { border-color: var(--amber); }
.product-quote { background: var(--paper); }
.product-intro { background: var(--cream); } .ai-first .product-intro h2 { max-width: 24ch; } .product-intro .lead { margin-top: 20px; max-width: 70ch; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .card--q { padding: 24px; } .card--q h3 { font-size: 18px; }
.product-steps { background: var(--paper); }
.psteps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: clamp(32px, 4vw, 56px) !important; }
.psteps li { counter-increment: step; border-top: 3px solid var(--amber); padding-top: 20px; }
.psteps li::before { content: counter(step); display: block; font-size: 40px; font-weight: 700; line-height: 1; color: var(--ink); margin-bottom: 14px; }
.psteps h3 { margin-bottom: 8px; }
.ai-first section.product-rows { background: var(--paper); padding-top: clamp(40px, 5vw, 70px); }
.prow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.prow:first-child { border-top: 0; }
.prow:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .prow:nth-child(even) .prow__text { order: 2; }
.ai-first .prow h2 { font-size: clamp(24px, 2.5vw, 34px); max-width: 20ch; }
.prow__text > p:not(.eyebrow) { margin-top: 16px; }
.prow.prow--text { grid-template-columns: 1fr; } .prow--text .prow__text { max-width: 78ch; order: 0 !important; } .ai-first .prow--text h2 { max-width: 30ch; }
.prow__shot { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(30, 19, 75, .55); background: #fff; }
.prow__shot img { display: block; width: 100%; height: auto; }
.pticks { list-style: none; padding: 0; margin-top: 18px !important; display: grid; gap: 10px; }
.pticks li { position: relative; padding-left: 26px; }
.pticks li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
.ai-first section.product-stats { background: var(--ink); color: var(--cream); padding: clamp(48px, 6vw, 84px) 0; }
.pstats { display: grid; gap: 28px; } .pstats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pstats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pstats strong { display: block; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; font-weight: 700; color: var(--amber); margin-bottom: 10px; white-space: nowrap; }
.pstats span { color: #dcd8ee; }
.pstats__note { margin-top: 30px !important; color: var(--lilac); font-size: 15px; max-width: 80ch; }
.product-grid { background: var(--cream); }
.product-table { background: var(--paper); }
.ptable { overflow-x: auto; margin-top: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 16px; }
.ptable table { width: 100%; min-width: 620px; border-collapse: collapse; }
.ptable th, .ptable td { text-align: left; padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.ptable tr:first-child th { border-top: 0; background: var(--ink); color: var(--cream); }
.ptable td:nth-child(2) { font-weight: 600; background: var(--cream); } .ptable td:nth-child(3) { color: var(--lilac-2); }
@media (max-width: 960px) {
  .product-hero__grid, .prow, .prow:nth-child(even), .psteps { grid-template-columns: 1fr; }
  .prow:nth-child(even) .prow__text { order: 0; }
  .cards--4, .pstats--4, .pstats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .cards--4, .pstats--3 { grid-template-columns: 1fr; } }

/* A customer's words lead the section; the reasons follow; two more customers under them */
.lead-quote { max-width: 980px; margin: 0 auto !important; text-align: center; }
.lead-quote blockquote { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.18; font-weight: 700; letter-spacing: -.015em; }
.lead-quote blockquote::before { content: '“'; display: block; font-size: 84px; line-height: .55; color: var(--amber); margin-bottom: 6px; font-weight: 700; }
.lead-quote figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; text-align: left; font-size: 15px; color: var(--lilac-2); }
.lead-quote figcaption strong { display: block; color: var(--ink); font-weight: 700; font-size: 16px; }
.lead-quote .face { flex-basis: 60px; width: 60px; height: 60px; }
.saids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.said { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 14px; padding: 22px 24px; }
.said blockquote { font-size: 15.5px; line-height: 1.55; flex: 1; }
.said figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: var(--lilac-2); }
.said figcaption strong { display: block; color: var(--ink); font-weight: 700; }
.face { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
@media (max-width: 760px) { .saids { grid-template-columns: 1fr; } }

/* Two rows shared by the three columns, so the reasons line up and the quotes line up. */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; grid-auto-flow: column; gap: 16px 22px; margin-top: clamp(32px, 4vw, 56px); }
.reason { display: contents; }
.said { flex: 1; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 14px; padding: 22px 24px; }
.said blockquote { font-size: 15.5px; line-height: 1.55; flex: 1; }
.said figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: var(--lilac-2); }
.said figcaption strong { display: block; color: var(--ink); font-weight: 700; }
.face { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.face--initials { display: grid; place-items: center; background: var(--ink); color: var(--cream); font-weight: 700; font-size: 16px; letter-spacing: .02em; }
@media (max-width: 960px) { .reasons { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } .said { margin-bottom: 14px; } }

/* Agents, under the applications */
.agents { margin-top: clamp(48px, 6vw, 84px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.ai-first .agents__title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.01em; }
.agents__lead { max-width: 66ch; margin-top: 12px !important; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 30px; }
.card--agent { padding: 24px; }
.ai-first .card--agent h4 { margin: 0 0 10px; font-size: 17px; line-height: 1.3; font-weight: 700; }
.card--agent h4::before { content: ''; display: block; width: 30px; height: 4px; border-radius: 2px; background: var(--amber); margin-bottom: 16px; }
.card--agent p { font-size: 15px; }
.card--own { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.agents__ask { background: rgba(255, 255, 255, .1); border-radius: 12px 12px 12px 4px; padding: 12px 14px; font-weight: 600; }
@media (max-width: 1100px) { .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards--4 { grid-template-columns: 1fr; } }

/* The AI builds the platform: when the diagram comes into view its four blocks appear one after the other,
   each showing its step of a pipeline run. */
.build { flex: 1; display: flex; flex-direction: column; gap: 12px; border: 1px solid rgba(239, 158, 112, .4); border-radius: 16px; padding: 12px; background: rgba(13, 10, 46, .28); }
.build__ai { display: flex; align-items: center; gap: 10px; color: var(--amber); font-weight: 700; font-size: 14px; padding: 2px 4px 4px; }
.build__ai > span:nth-child(2) { white-space: nowrap; }
.build__live { font-size: 11px !important; }
.build__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #9be0b4; }
.build__live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #5fd08a; box-shadow: 0 0 0 0 rgba(95, 208, 138, .7); animation: live 2.2s ease-out infinite; }
@keyframes live { to { box-shadow: 0 0 0 9px rgba(95, 208, 138, 0); } }
.build__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.build__part { position: relative; overflow: hidden; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 16px 14px; display: grid; gap: 4px; align-content: start; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.build__row { position: relative; }
.build__row::before, .build__row::after { content: '→'; position: absolute; top: 50%; transform: translate(-50%, -50%); color: var(--amber); font-size: 17px; }
.build__row::before { left: calc(33.333% - 3.5px); } .build__row::after { left: calc(66.666% + 3.5px); }
.build__part strong { font-weight: 700; font-size: 16px; } .build__part span { font-size: 13.5px; line-height: 1.4; color: var(--lilac); }
.build__part--ready { background: var(--cream); color: var(--ink); border-color: var(--cream); } .build__part--ready span { color: var(--lilac-2); }
.build__part--power { background: linear-gradient(120deg, rgba(239, 158, 112, .22), rgba(255, 255, 255, .05)); border-color: rgba(239, 158, 112, .45); display: block; }
.build__part--power strong { color: var(--amber); margin-right: 6px; } .build__part--power span { color: var(--cream); font-size: 15px; }
@media (max-width: 600px) { .build__row { grid-template-columns: 1fr; } .build__row::before, .build__row::after { display: none; } }



/* The assistant on its own, wide, under one heading */
.ai .eyebrow.center { text-align: center; }
.ai .chat { max-width: 980px; margin: clamp(28px, 3.4vw, 44px) auto 0; }
.ai .chat__body { height: 400px; }

/* The assistant's avatar as in the dashboard: the mark in the primary purple on a pale purple disc. */

/* The number that makes the firewall concrete */
.guard__stat { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(239, 158, 112, .14); border: 1px solid rgba(239, 158, 112, .4); }
.guard__stat strong { font-size: clamp(30px, 3.2vw, 44px); line-height: 1; font-weight: 700; color: var(--amber); letter-spacing: -.02em; }
.guard__stat span { color: var(--cream) !important; font-size: 15px; line-height: 1.4; }

/* Section headings: centred, at most two lines, and so is the line under them */
.ai-first main section:not(.scene) > .wrap > .eyebrow, .ai-first main section:not(.scene) > .wrap > h2, .ai-first main section:not(.scene) > .wrap > .lead { text-align: center; margin-left: auto; margin-right: auto; }
.ai-first main section:not(.scene) > .wrap > h2 { max-width: 30ch; text-wrap: balance; }
.ai-first main section:not(.scene) > .wrap > .lead { max-width: 74ch; text-wrap: balance; }
.ai-first .agents > .eyebrow, .ai-first .agents__title, .ai-first .agents__lead { text-align: center; margin-left: auto; margin-right: auto; }
.ai-first .agents__lead { text-wrap: balance; }
.news__all { text-align: center; }

/* Security fits on one screen on a desktop: one-line heading, tight cards */
.ai-first section.safety { padding: clamp(48px, 5vw, 72px) 0; }
.ai-first .safety h2 { max-width: none; font-size: clamp(26px, 2.9vw, 40px); }
.safety .guards { margin-top: 28px; gap: 18px; }
.safety .guard { padding: 22px 24px; gap: 10px; }
.safety .guard h3 { font-size: 20px; }
.safety .guard__stat { padding: 10px 16px; } .safety .guard__stat strong { font-size: clamp(26px, 2.6vw, 36px); }
.safety .stop { grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.safety .stop__label { margin-top: 2px !important; } .safety .stop__label:nth-child(3) { grid-column: 2; grid-row: 1; }
.safety .stop__msg, .safety .stop__verdict { padding: 10px 14px; font-size: 14px; }
.safety .ticks li, .safety .watch li { padding: 8px 0; font-size: 14.5px; }
.safety .watch li { padding-left: 26px; } .safety .watch li::before { top: 8px; }
@media (max-width: 960px) { .safety .stop { grid-template-columns: 1fr; } .safety .stop__label:nth-child(3) { grid-column: auto; grid-row: auto; } }

/* ---------------------------------------------------------------- phones */
@media (max-width: 760px) {
  body.ai-first { font-size: 16px; }
  .ai-first section { padding: 54px 0; }
  .ai-first h1 { font-size: 36px; }
  .ai-first h2 { font-size: 27px; }
  .ai-first section.scene { height: 420vh; }      /* long enough that one flick of the thumb does not pass a whole step */
  .scene__copy .lead { font-size: 16px; }
  .scene__copy p + p { margin-top: 20px; }
  .scene__copy--ask, .scene__copy--answer { bottom: 12vh; }
  .year { font-size: 60px; margin-bottom: 10px !important; }
  .bubble { font-size: 18px; padding: 14px 18px; } .bubble--answer { font-size: 16px; }
  .scene__labels { display: none; }
  .scene__shade { background: linear-gradient(180deg, rgba(13, 10, 46, .72) 0%, rgba(13, 10, 46, .3) 45%, rgba(13, 10, 46, .55) 100%); }

  /* Rows of cards become rows to swipe through, so the page does not run on for ever */
  .cards--3, .cards--4, .saids { display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 2px var(--pad) 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cards--3::-webkit-scrollbar, .cards--4::-webkit-scrollbar, .saids::-webkit-scrollbar { display: none; }
  .cards--3 > *, .cards--4 > *, .saids > * { flex: 0 0 82%; scroll-snap-align: start; }
  .card { padding: 22px; } .card--app { padding: 0 0 20px; } .card--app img { height: 170px; } .card--app h3 { margin: 18px 20px 6px; } .card--app p { margin: 0 20px !important; }
  .card--news .card__img img { height: 170px; }
  .lead-quote blockquote { font-size: 24px; } .lead-quote blockquote::before { font-size: 60px; }

  .ai .chat__body { height: 360px; }
  /* Sources and outputs as two tight columns either side of the diagram */
  .flow { gap: 14px; } .flow__col { padding: 18px; }
  .flow__col ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; } .flow__col li { font-size: 13.5px; padding: 8px 0; }
  .flow__core { padding: 16px; }
  .guard { padding: 22px; } .guard h3 { font-size: 20px; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; } .stats h2 { grid-column: 1 / -1; }
  .agents { margin-top: 40px; padding-top: 34px; }
  .start__grid { gap: 26px; }
  /* product pages */
  .ai-first section.product-hero { padding: 110px 0 48px; }
}

/* Phones: the scene fills the upper part of the screen and all three texts sit at the bottom, clear of it.
   svh keeps them above the browser's own bar; the sizes shrink again on short screens. */
@media (max-width: 760px) {
  .scene__copy, .scene__copy--ask, .scene__copy--answer { top: auto; bottom: 26px; transform: translateY(14px); }
  .scene__copy.is-on, .scene__copy--ask.is-on, .scene__copy--answer.is-on { transform: none; }
  .ai-first .scene h1 { font-size: 30px; }
  .scene .eyebrow { margin-bottom: 8px !important; }
  .scene__copy .lead { font-size: 15px; line-height: 1.45; margin-top: 10px !important; }
  .scene__copy p + p { margin-top: 14px; }
  .scene__copy .btn { padding: 12px 20px; font-size: 15px; } .scene__copy .link { display: inline; margin: 0 0 0 16px; }
  .scene__shade { background: linear-gradient(180deg, rgba(13, 10, 46, .45) 0%, rgba(13, 10, 46, 0) 16%, rgba(13, 10, 46, 0) 48%, rgba(13, 10, 46, .9) 78%, rgba(13, 10, 46, .96) 100%); }
  .year { font-size: 48px; margin-bottom: 6px !important; }
  .hint { font-size: 14px; margin-top: 10px !important; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .ai-first .scene h1 { font-size: 26px; }
  .scene__copy .lead { font-size: 14px; }
  .scene__copy { bottom: 16px; }
  .year { font-size: 40px; }
}

/* The pipeline run inside the data platform diagram */
.build__ai { flex-wrap: wrap; }
.build__live.is-building { color: var(--amber); } .build__live.is-building::before { background: var(--amber); box-shadow: none; animation: none; }
.build__part { transition: opacity .4s, border-color .4s; }
.build__part.is-queued { opacity: .5; }
.build__part.is-running { border-color: var(--amber); }
.run { display: grid; gap: 6px; margin-top: 8px; }
.build__part .run__text { font-size: 12.5px; line-height: 1.35; font-weight: 600; color: var(--lilac); min-height: 2.7em; }
.build__part--power .run__text { min-height: 0; }
.run__bar { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.run__bar i { display: block; height: 100%; width: 0; background: var(--amber); transition: width 1.45s cubic-bezier(.3, .1, .2, 1), background .3s; }
.is-done .run__text { color: #9be0b4; } .is-done .run__bar i { background: #5fd08a; }
.build__part--ready .run__text { color: var(--lilac-2); } .build__part--ready .run__bar { background: rgba(30, 19, 75, .14); }
.build__part--ready.is-done .run__text { color: #1f7a45; } .build__part--ready.is-done .run__bar i { background: #2f9e5c; }
.build__part--power .run__text { color: var(--cream); }
@media (max-width: 1200px) { .build__live { flex-basis: 100%; margin-left: 44px; } }
@media (max-width: 760px) { .build__part .run__text { min-height: 0; } .build__live { margin-left: 34px; } }

/* A plain text page on the application template (privacy and terms): editor content in one readable column. */
.prose .wrap { max-width: 820px; }
.ai-first main section.prose > .wrap > h2 { text-align: left; max-width: none; margin: 44px 0 12px; font-size: clamp(24px, 2.4vw, 30px); }
.ai-first main section.prose > .wrap > h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { list-style: revert; padding-left: 1.3em; margin: 0 0 16px; }
.prose h3 { margin: 28px 0 8px; }
.prose a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }

/* A quoted person's name links to their LinkedIn profile: same colour as the name, a small mark after it. */
a.person { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a.person::after { content: 'in'; display: inline-block; margin-left: 7px; padding: 0 4px; border-radius: 3px; background: currentColor; font-size: .72em; font-weight: 700; line-height: 1.5; vertical-align: 1px; }
a.person::after { color: transparent; background: #0a66c2; -webkit-text-fill-color: #fff; }

.product-ask .chat { max-width: 980px; margin-top: 30px; }

/* Key capabilities, who it is for, how it works: three lists side by side, one under the other on a phone. */
.product-lists { background: var(--cream); }
.plists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.ai-first main section.product-lists .plists h2 { font-size: clamp(22px, 2.2vw, 28px); text-align: left; max-width: none; margin: 0; }
@media (max-width: 900px) { .plists { grid-template-columns: 1fr; } }
