/* Extrakt sites: base and components. Values come from tokens.css (the design system); type sizes are its text styles. */

@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Serif'; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-serif-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Serif'; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-serif-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

*, *::before, *::after { box-sizing: border-box; }
/* Same-site page changes cross-fade instead of flashing; the nav keeps its place because every page uses one container */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 25px; font-weight: 400; }
img, svg { display: block; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--link); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 20; padding: 8px 12px; background: var(--surface); border-radius: var(--radius-md); }
.skip:focus { top: 12px; }

/* Layout */
.page { min-height: 100vh; padding: 0 clamp(16px, 3vw, 48px); }
.container { max-width: 1184px; margin: 0 auto; display: flex; flex-direction: column; }
.section { display: flex; flex-direction: column; gap: 32px; padding-top: 96px; }
.head { display: flex; flex-direction: column; gap: 8px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 48px; }
.split { display: flex; flex-wrap: wrap; gap: 16px 48px; }
.section.split { flex-direction: row; align-items: flex-start; }
.split > .side { flex: 0 0 288px; display: flex; flex-direction: column; gap: 8px; }
.split > .main { flex: 999 1 420px; min-width: 0; }

/* Type: the design system's styles */
.display { font-size: 56px; line-height: 58px; font-weight: 600; letter-spacing: -0.03em; }
.title { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.025em; }
.h-section { font-size: 25px; line-height: 30px; font-weight: 600; letter-spacing: -0.015em; }
.card-title { font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -0.01em; }
.body-sm { font-size: 14px; line-height: 21px; }
.caption { font-size: 12px; line-height: 16px; font-weight: 500; }
.label { font-family: var(--font-mono); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: 0.06em; }
.ref { font-family: var(--font-mono); font-size: 13px; line-height: 18px; }
.muted { color: var(--ink-muted); }
.figures { font-variant-numeric: tabular-nums; }
.neg { color: var(--negative); }
.strong { font-weight: 500; }
.link { color: var(--link); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 760px) { .display { font-size: 40px; line-height: 44px; letter-spacing: -0.025em; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--radius-md); font: inherit; font-size: 14px; line-height: 21px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn--primary { background: var(--action); color: var(--on-action); border: 0; }
.btn--primary:hover { background: var(--action-hover); }
.btn--primary:active { background: var(--action-pressed); }
.btn--secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--control-border); }
.btn--secondary:hover { background: var(--selection); }
.btn--text { height: 44px; padding: 0 4px; background: none; border: 0; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; }

/* Nav */
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px 0; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.nav-link { color: var(--ink); text-decoration: none; font-size: 14px; line-height: 21px; font-weight: 500; }
.nav-link:hover, .nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.nav-actions { display: flex; gap: 8px; }
/* One width for the page's own call to action ("Join the waitlist", "Talk to us"), so the links never move between pages */
.nav-actions .btn--primary { min-width: 148px; }
.nav-mobile { display: none; align-items: center; gap: 8px; }
.menu { display: none; flex-direction: column; margin-bottom: 24px; padding: 8px 16px 16px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); }
.menu a.nav-link { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--hairline); }
.menu a.nav-link:last-of-type { border-bottom: 0; }
.menu .btn { margin-top: 8px; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-mobile { display: flex; }
  .nav-mobile .btn { padding: 0 16px; }
  .menu.open { display: flex; }
}

/* Surfaces */
.stage { background: var(--surface-sand); border-radius: var(--radius-xl); padding: 48px; }
.stage--figure { margin: 0; display: flex; flex-direction: column; gap: 24px; padding: 32px 40px; }
.soft { background: var(--surface-sand-soft); border-radius: var(--radius-xl); }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); }
.card--on-sand { border-color: var(--clay); }
@media (max-width: 760px) { .stage, .stage--figure { padding: 16px; } }

/* Product screens drawn on the page */
.app { background: var(--surface); border: 1px solid var(--clay); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.app-bar { height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: var(--action); color: var(--surface-sand); }
.app-bar .label { color: var(--surface-sand); }
.app-bar .brand { display: flex; align-items: center; gap: 8px; }
.app-body { flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.rows { display: flex; flex-direction: column; font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.rows > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; border-top: 1px solid var(--hairline); }
.rows > div:last-child { border-bottom: 1px solid var(--hairline); }
.rows .sub { display: block; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.rows > .total { padding: 6px 0; border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink) !important; font-weight: 600; }

/* Pills: icon + word, never colour alone */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 1px 9px 1px 7px; border-radius: var(--radius-full); font-size: 12px; line-height: 18px; font-weight: 500; white-space: nowrap; }
.pill svg { flex-shrink: 0; }
.pill--success { background: var(--success-bg); color: var(--success); }
.pill--warning { background: var(--warning-bg); color: var(--warning); }
.pill--negative { background: var(--negative-bg); color: var(--negative); }
.pill--neutral { background: var(--selection); color: var(--ink); }
.pill--status { gap: 6px; height: 28px; padding: 0 12px 0 10px; background: var(--surface); border: 1px solid var(--clay); color: var(--ink); }

/* Ruled blocks */
.ruled { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--ink); }
.ticks { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.ticks li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.ticks svg { flex-shrink: 0; margin-top: 4px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; line-height: 16px; font-weight: 500; }
.input { height: 44px; padding: 0 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--control-border); border-radius: var(--radius-md); font: inherit; font-size: 16px; }
textarea.input { height: auto; padding: 10px 12px; line-height: 25px; resize: vertical; }
.input::placeholder { color: var(--control-border); }
.input[aria-invalid="true"] { border-color: var(--negative); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; line-height: 21px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--action); }
.error { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--negative); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* FAQ: native details, ruled */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.faq summary svg { flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 0 20px; max-width: 640px; }

/* Proof strip */
.proof { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 20px 24px; }
.proof .statement { flex: 1 1 320px; min-width: 0; font-weight: 500; }

/* Footer */
.footer { margin-top: 96px; padding: 48px 0 64px; border-top: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 24px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Long-form (legal pages) */
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { margin-top: 24px; font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -0.01em; }
.prose ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 20px; }
.prose th, .prose td { text-align: left; padding: 8px 12px 8px 0; border-top: 1px solid var(--hairline); vertical-align: top; }
.prose th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; font-weight: 500; color: var(--ink-muted); }
.table-scroll { overflow-x: auto; }

/* Demo toggles: [data-demo] flips between data-show="idle" and data-show="done" */
[data-demo]:not([data-state="done"]) [data-show="done"] { display: none !important; }
[data-demo][data-state="done"] [data-show="idle"] { display: none !important; }

/* Hub: products share one row grid (subgrid), so logos, lines, text, links and screens line up across */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 12px 48px; }
.product { grid-row: span 7; display: grid; grid-template-rows: subgrid; min-width: 0; }
.product .logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.for { margin-top: -4px; color: var(--ink-muted); }
.product .for { font-size: 14px; line-height: 21px; }
.product .points { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 24px; padding-top: 4px; }
.product .points > div { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--ink); }
.product .go { align-self: start; justify-self: start; padding-top: 4px; }
.product .app { margin-top: 20px; }
@media (max-width: 860px) { .product .app { margin-bottom: 36px; } }

/* Hero stage holding the film */
.hero { max-width: 1184px; margin: 0 auto; background: var(--surface-sand); border-radius: var(--radius-xl); padding: 48px 24px 16px; display: flex; justify-content: center; }
.hero-inner { width: 100%; max-width: 1480px; display: flex; flex-direction: column; gap: 16px; }
.hero-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
@media (max-width: 760px) { .hero { padding: 32px 16px 16px; } }

/* Product pages: hero, comparison figure, audience panels */
.p-hero { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; padding-top: 32px; }
.p-hero > .copy { flex: 1 1 400px; min-width: 0; max-width: 520px; display: flex; flex-direction: column; gap: 24px; }
.p-hero > .stage { flex: 1 1 520px; min-width: 0; margin: 0; padding: 48px 40px; }
.compare { display: flex; flex-direction: column; gap: 24px; }
.compare-row { display: flex; flex-direction: column; gap: 8px; }
.compare-row .name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.compare-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.cell { min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--clay); border-radius: var(--radius-md); }
.cell--late { background: var(--surface-sand-soft); border-style: dashed; border-color: var(--ink-muted); }
.cell .pill { align-self: flex-start; }
.cell .item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 8px 0; border-top: 1px solid var(--hairline); font-size: 14px; line-height: 20px; }
.cell .item > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 0 24px; }
.audience { grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 20px; margin-bottom: 24px; padding: 32px; }
.audience .btn { align-self: end; justify-self: start; }
.records { display: flex; flex-direction: column; gap: 4px; }
.record { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; min-height: 44px; padding: 8px 10px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-md); color: var(--ink); font: inherit; font-size: 14px; line-height: 20px; text-align: left; cursor: pointer; }
.record:hover { background: var(--canvas); }
.record[aria-pressed="true"] { background: var(--selection); border-color: var(--ink); }
.record .ref { width: 112px; line-height: 20px; }
.fix { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--warning-bg); border-radius: var(--radius-md); font-size: 14px; line-height: 21px; }
.fix .head-line { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--warning); }
.queue { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.queue th { padding: 10px 8px; text-align: left; font-family: var(--font-mono); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: 0.06em; color: var(--ink-muted); }
.queue td { padding: 10px 8px; border-top: 1px solid var(--hairline); }
.queue th:first-child, .queue td:first-child { padding-left: 20px; }
.queue th:last-child, .queue td:last-child { padding-right: 20px; text-align: right; }
/* Group site: the VAT3 glimpse beside Books */
.inv-font { font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; }
.vat-box { width: 112px; height: 26px; box-sizing: border-box; border: 1px solid #8FB0A6; border-radius: 2px; display: flex; align-items: center; justify-content: flex-end; padding: 0 8px; font-size: 12px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .labs-glimpse { display: none; } .labs-books { padding: 24px 16px 0 !important; } }
.closing { margin-top: 96px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 48px; padding: 32px; }
