:root {
  --ink: #26282d;
  --muted: #6d717a;
  --faint: #f6f6f5;
  --line: #dedfdf;
  --blue: #2457dc;
  --blue-dark: #1946bd;
  --green: #2c9c63;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration: none; }
.wrap { width: min(100% - 32px, 608px); margin-inline: auto; }

.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; color: #60626e; }
.brand { width: 92px; height: 24px; display: block; transition: opacity .2s ease; }
.brand:hover { opacity: .72; }
.brand img { display: block; width: 100%; height: 100%; }
nav { display: flex; gap: 12px; align-items: center; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions { gap: 6px; }
.nav-links a { font-size: 13px; text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }
.menu-button { display: none; border: 0; background: transparent; align-items: center; gap: 6px; color: var(--muted); cursor: pointer; }
.menu-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #d3d5d8; border-radius: 7px; padding: 7px 12px; text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: .01em; background: linear-gradient(#fff, #f6f6f6); box-shadow: 0 1px 2px rgb(0 0 0 / .06); transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgb(0 0 0 / .09); }
.button-primary { width: 100%; min-height: 43px; margin-top: 18px; color: #fff; border-color: var(--blue-dark); background: linear-gradient(#3165ed, var(--blue)); box-shadow: inset 0 1px rgb(255 255 255 / .2), 0 2px 4px rgb(31 68 178 / .22); }
.button-primary:hover { background: linear-gradient(#2c60e8, var(--blue-dark)); }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .18s ease; }
.button.book-demo-trigger[aria-expanded="true"] svg { transform: rotate(90deg); }
.button-small { padding: 5px 10px; color: var(--ink); }
.button-login { background: transparent; box-shadow: none; color: #60626e; font-weight: 500; }
.button-header-cta, .button-lavender { border-color: rgb(18 19 24 / .2); background: linear-gradient(to bottom, #cbd2fc, #aab3f3); color: #121318; box-shadow: inset 0 1px 0 rgb(255 255 255 / .62), inset 0 -1px 0 rgb(75 83 145 / .17), 0 1px 2px rgb(31 35 62 / .1); }
.button-header-cta:hover, .button-lavender:hover { background: linear-gradient(to bottom, #d2d8ff, #aab3f3); box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), inset 0 -1px 0 rgb(75 83 145 / .2), 0 2px 5px rgb(31 35 62 / .13); }

main { padding-top: 48px; }
.hero { padding-bottom: 48px; }
.announcement { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 9px 12px; margin-bottom: 34px; border: 1px solid #e1e3e7; border-radius: 8px; background: #f8f9fb; color: #525660; text-decoration: none; font-size: 13px; transition: background .2s ease, transform .2s ease; }
.announcement:hover { background: #f2f4f8; transform: translateY(-1px); }
.announcement strong { color: var(--ink); }
.announcement svg { width: 17px; min-width: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
h1, h2 { font-family: Iowan Old Style, Palatino Linotype, Book Antiqua, Georgia, serif; font-weight: 400; letter-spacing: -.018em; text-wrap: balance; }
h1 { width: 100%; margin: 0 0 16px; font-size: clamp(36px, 7.4vw, 52px); line-height: 1.05; }
h2 { margin: 0; font-size: 24px; line-height: 1.22; }
.lede { margin: 0 0 11px; color: #42454c; font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.fine-print { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.section-intro { width: 100%; margin: 0 0 26px; color: #4b4e55; font-size: 16px; }

.section { padding: 42px 0; scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.text-button { flex: none; color: #52565f; font-size: 12px; font-weight: 600; text-decoration: none; border: 1px solid #d8dadd; border-radius: 6px; padding: 5px 9px; background: #fff; }
.text-button span { padding-left: 3px; }
.status { color: var(--muted); font-size: 11px; white-space: nowrap; }
.status i, .chart-foot i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgb(44 156 99 / .12); }
.metric-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 12px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.metric-summary div { padding: 14px; border-right: 1px solid var(--line); }
.metric-summary div:last-child { border: 0; }
.metric-summary strong, .metric-summary span { display: block; }
.metric-summary strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 17px; font-weight: 500; }
.metric-summary span { margin-top: 1px; color: var(--muted); font-size: 10px; }
.chart-card { border: 1px solid var(--line); border-radius: 9px; padding: 18px 16px 12px; }
.chart-labels { display: flex; justify-content: space-between; color: #9699a0; font-size: 8px; letter-spacing: .08em; }
.chart { position: relative; height: 170px; margin-top: 8px; }
.chart-grid { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0, transparent 41px, #ececed 42px); }
.chart svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.chart .area { fill: url(#area); }
.chart .line { fill: none; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart circle { fill: #fff; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-foot { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.chart-foot i { background: var(--blue); box-shadow: none; }

.execution-modes { display: grid; grid-template-columns: 1fr; gap: 10px; margin: -4px 0 18px; }
.execution-modes figure { margin: 0; padding: 13px 14px 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fafafa; }
.execution-modes figcaption { display: flex; flex-direction: column; margin-bottom: 4px; line-height: 1.35; }
.execution-modes figcaption strong { color: var(--ink); font-size: 12px; }
.execution-modes figcaption span { color: var(--muted); font-size: 9px; }
.execution-modes svg { display: block; width: 100%; height: auto; }
.stream-mode svg { height: 64px; }
.batch-mode { padding-bottom: 13px !important; }
.batch-mode figcaption { flex-direction: row; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.batch-mode figcaption > span { display: flex; flex-direction: column; }
.batch-mode figcaption em { flex: none; padding: 3px 7px; border: 1px solid #b9d8c4; border-radius: 99px; background: #e9f5ed; color: #34704d; font-size: 9px; font-style: normal; font-weight: 600; }
.flow-line, .flow-arrow { fill: none; stroke: #c6c9d1; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.stream-event { fill: #b9c6ec; stroke: #fff; stroke-width: 2; }
.stream-output { fill: var(--blue); stroke: #fff; stroke-width: 2; }
.function-box { fill: #f0f3fc; stroke: #8fa7e7; stroke-width: 1.3; }
.function-symbol { fill: var(--blue); font: 18px Georgia, serif; }
.batch-label { fill: #9699a0; font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.batch-record { fill: #fff; stroke: #c5c8cf; stroke-width: 1; }
.batch-result { fill: #f4f6fc; stroke: #afbee8; stroke-width: 1; }
.batch-row-lines, .batch-result-lines { fill: none; stroke: #d0d2d8; stroke-width: 1.2; stroke-linecap: round; }
.batch-result-lines { stroke: #c2cdec; }
.batch-function { fill: #e9eefb; stroke: #8fa7e7; stroke-width: 1; }
.batch-function-symbol { fill: var(--blue); font: 14px Georgia, serif; }

.learning-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 28px; align-items: center; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.learning-copy h3 { margin: 0; font-family: Iowan Old Style, Palatino Linotype, Book Antiqua, Georgia, serif; font-size: 20px; font-weight: 400; line-height: 1.25; letter-spacing: -.018em; text-wrap: balance; }
.learning-copy p { margin: 16px 0 0; color: #4b4e55; font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.learning-visual { --accent-blue: #50a2ea; --accent-orange: #f06b29; margin: 0; padding: 0; overflow: hidden; border: 0; background: transparent; }
.learning-visual svg { display: block; width: 100%; height: auto; }
.learning-label { fill: #9fa1ac; font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.learning-event { fill: #fff; stroke: #cdcfd6; }
.learning-event.is-flagged { fill: color-mix(in srgb, var(--accent-orange) 7%, white); stroke: color-mix(in srgb, var(--accent-orange) 55%, #cdcfd6); }
.learning-event-dot { fill: #9fa1ac; }
.learning-event-dot.is-flagged { fill: color-mix(in srgb, var(--accent-orange) 72%, #60626e); }
.learning-event-lines { fill: none; stroke: #cdcfd6; stroke-width: 1.2; stroke-linecap: round; }
.learning-connector { fill: none; stroke: #cdcfd6; stroke-width: 1.4; stroke-linecap: round; }
.learning-connector.is-flagged { stroke: color-mix(in srgb, var(--accent-orange) 60%, #cdcfd6); }
.learning-function { fill: color-mix(in srgb, var(--accent-blue) 9%, white); stroke: color-mix(in srgb, var(--accent-blue) 58%, #cdcfd6); }
.learning-function.is-flagged { fill: color-mix(in srgb, var(--accent-orange) 9%, white); stroke: color-mix(in srgb, var(--accent-orange) 58%, #cdcfd6); }
.learning-function-symbol { fill: color-mix(in srgb, var(--accent-blue) 52%, #393d44); font: 15px Georgia, serif; }
.learning-function.is-flagged + .learning-function-symbol { fill: color-mix(in srgb, var(--accent-orange) 58%, #393d44); }
.learning-result { fill: #fff; stroke: #cdcfd6; }
.learning-result.is-flagged { fill: color-mix(in srgb, var(--accent-orange) 7%, white); stroke: color-mix(in srgb, var(--accent-orange) 55%, #cdcfd6); }
.learning-result-text { fill: #60626e; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.learning-result-text.is-flagged, .learning-confidence.is-flagged { fill: color-mix(in srgb, var(--accent-orange) 55%, #393d44); }
.learning-confidence { fill: #60626e; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.learning-feedback, .learning-feedback-arrow { fill: none; stroke: color-mix(in srgb, var(--accent-orange) 58%, #cdcfd6); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.learning-queue { fill: color-mix(in srgb, var(--accent-orange) 7%, white); stroke: color-mix(in srgb, var(--accent-orange) 50%, #cdcfd6); }
.learning-queue-dot { fill: color-mix(in srgb, var(--accent-orange) 65%, #60626e); }
.learning-queue-text, .learning-queue-count { fill: color-mix(in srgb, var(--accent-orange) 52%, #393d44); font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; letter-spacing: .04em; }

.function-table-header { margin: 0; padding: 10px 14px; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; background: #f4f5f7; color: #62666f; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.function-list { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 0 0 10px 10px; overflow: hidden; }
.function-list article { display: grid; grid-template-columns: 24px 1fr; gap: 8px; min-height: 118px; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.function-list article:nth-child(odd) { border-right: 1px solid var(--line); }
.function-list article:nth-last-child(-n + 2) { border-bottom: 0; }
.function-list article > span, .process-list > li > span { padding-top: 3px; color: #a1a4aa; font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.function-list article > .function-icon { display: block; width: 18px; height: 18px; padding-top: 1px; color: #858a94; }
.function-icon svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.function-list h3, .process-list h3 { margin: 0 0 5px; font-size: 14px; }
.function-list p, .process-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.function-note { width: 100%; margin: 24px 0 0; color: #4b4e55; font-size: 16px; line-height: 1.6; text-wrap: pretty; }

.process-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: steps; }
.process-list li { display: grid; grid-template-columns: 48px 1fr; padding: 21px 0; border-bottom: 1px solid var(--line); }
.process-list h3 { font-size: 15px; }
.process-list p { max-width: 520px; font-size: 14px; line-height: 1.55; }
.process-list strong { color: var(--ink); }

.optimizer-section-heading { margin-top: 46px; }
.optimizer-demo-block { margin-top: 20px; }
.optimizer-demo-block > h3 { margin: 0 0 4px; font-size: 15px; }
.optimizer-demo-block > p { width: 100%; margin: 0 0 26px; color: #4b4e55; font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.optimizer-shell { padding: 12px; border-radius: 10px; background: #f2f2f1; }
.optimizer-window { overflow: hidden; border: 1px solid #d7d9dd; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.optimizer-browser-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 34px; padding: 0 10px; border-bottom: 1px solid #e2e3e5; background: #fafafa; }
.browser-dots { display: flex; gap: 5px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: #efaaa8; }
.browser-dots i:nth-child(2) { background: #ead792; }
.browser-dots i:nth-child(3) { background: #9dd5ad; }
.browser-address { color: #8a8d94; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.optimizer-content { position: relative; min-height: 348px; padding: 16px; transition: min-height .35s ease; }
.optimizer-content.is-review-complete { min-height: 254px; }
.optimizer-content.is-review-complete .optimization-ready { min-height: 142px; padding: 26px 24px 18px; }
.optimizer-content.is-optimizing { min-height: 254px; }
.optimizer-prompt { overflow: hidden; border: 1px solid #e0e2e6; border-radius: 6px; background: #f8f9fb; transition: border-color .2s ease, background .2s ease; }
.optimizer-prompt.is-updated { border-color: #aebeea; background: #f3f6fd; }
.optimizer-prompt-header { display: flex; justify-content: space-between; align-items: center; min-height: 28px; padding: 0 12px; color: #9699a0; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.optimizer-prompt-actions { display: flex; align-items: center; gap: 6px; }
.optimizer-prompt-header #diff-status { display: flex; align-items: center; gap: 5px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.optimizer-prompt-header i { width: 6px; height: 6px; border-radius: 50%; background: #dba447; animation: optimizer-pulse 1s ease-in-out infinite; }
.optimizer-prompt-header .is-complete i { background: var(--green); animation: none; }
.optimizer-prompt-header .is-model-tag { padding: 3px 6px; border: 1px solid #cbd5ed; border-radius: 99px; background: #eef2fb; color: #526895; }
.optimizer-copy { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 1px solid #cbd5ed; border-radius: 5px; background: #fff; color: #66749a; cursor: pointer; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.optimizer-copy[hidden] { display: none; }
.optimizer-copy:hover { border-color: #9badd8; background: #eef2fb; color: var(--blue-dark); }
.optimizer-copy.is-copied { border-color: #a9cdb5; background: #e9f5ed; color: #34704d; }
.optimizer-copy svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.optimizer-prompt code { display: block; padding: 0 12px 11px; color: #3f434b; font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-line; }
.optimizer-prompt.is-diff code { display: flex; flex-direction: column; padding: 5px 0 10px; white-space: normal; }
.optimizer-content.is-optimizing .optimizer-prompt code { min-height: 190px; }
.optimizer-score { display: grid; grid-template-columns: auto minmax(120px, 1fr); gap: 12px; align-items: center; margin: 9px 1px 0; padding: 8px 10px; border: 1px solid #e1e3e7; border-radius: 6px; background: #fbfbfb; }
.optimizer-score[hidden] { display: none; }
.optimizer-score span { display: block; margin-bottom: 1px; color: #9699a0; font-size: 7px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.optimizer-score strong { color: #38404c; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.optimizer-score-meter { height: 6px; overflow: hidden; border-radius: 99px; background: #e2e5eb; }
.optimizer-score-meter i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--blue); transition: width .9s cubic-bezier(.22, .75, .24, 1); }
.optimizer-deployment { max-height: 0; margin: 0 1px; padding: 0 10px; overflow: hidden; border: 0 solid #d9e5dd; border-radius: 6px; background: #f5faf7; opacity: 0; transform: translateY(-3px); transition: max-height .35s ease, margin .35s ease, padding .35s ease, border-width .35s ease, opacity .25s ease, transform .35s ease; }
.optimizer-deployment.is-visible { max-height: 116px; margin-top: 9px; padding: 9px 10px; border-width: 1px; opacity: 1; transform: translateY(0); }
.deployment-heading { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; color: #34704d; font-size: 9px; }
.deployment-heading > span { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: #dff1e6; font-size: 8px; }
.deployment-endpoint { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 7px; min-height: 23px; border-top: 1px solid #e1ebe5; }
.deployment-endpoint > span { color: #888d94; font-size: 7px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.deployment-endpoint code { color: #47534c; font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.deployment-cost { color: #668071; font: 7px ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.optimizer-progress { display: flex; justify-content: space-between; align-items: center; margin: 14px 1px 8px; color: var(--muted); font-size: 9px; }
.optimizer-progress > div { display: flex; gap: 4px; }
.optimizer-progress i { width: 16px; height: 3px; border-radius: 99px; background: #dfe1e5; }
.optimizer-progress i.is-complete, .optimizer-progress i.is-current { background: var(--blue); }
.optimizer-progress i.is-current { opacity: .55; }
.annotation-card { min-height: 214px; padding: 18px; border: 1px solid #dfe1e5; border-radius: 8px; background: #fff; transition: opacity .15s ease, transform .15s ease; }
.annotation-card.is-leaving { opacity: 0; transform: translateX(-8px); }
.annotation-card h4 { margin: 0 0 14px; font-family: Iowan Old Style, Palatino Linotype, Book Antiqua, Georgia, serif; font-size: 18px; font-weight: 400; line-height: 1.3; }
.annotation-labeler { position: relative; padding: 12px; border-radius: 6px; background: #f7f8fa; }
.annotation-labeler > span:not(.annotation-cursor) { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: #747880; font-size: 9px; font-weight: 600; }
.annotation-labeler > span em { color: #66749a; font-size: 8px; font-style: normal; font-weight: 600; }
.annotation-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.annotation-choices button { min-height: 78px; padding: 9px 10px; border: 1px solid #d4d7dc; border-radius: 6px; background: #fff; color: #4c5058; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease; }
.annotation-choices button strong, .annotation-choices button span { display: block; }
.annotation-choices button strong { margin-bottom: 5px; font-size: 10px; }
.annotation-choices button span { color: #777b83; font-size: 8px; font-weight: 400; line-height: 1.4; white-space: pre-line; }
.annotation-choices button:hover:not(:disabled) { border-color: #9aaee5; background: #f2f5fd; color: var(--blue-dark); transform: translateY(-1px); }
.annotation-choices button:first-child.is-selected { border-color: #9dcdb0; background: #e4f5eb; color: #28704a; }
.annotation-choices button:last-child.is-selected { border-color: #d3aaa6; background: #f2e9e8; color: #8b4842; }
.annotation-choices button:disabled { cursor: default; }
.optimizer-content.is-auto-playing .annotation-choices,
.optimizer-content.is-auto-playing .optimize-button { pointer-events: none; }
.optimizer-content.is-demo-paused *,
.optimizer-content.is-demo-paused *::before,
.optimizer-content.is-demo-paused *::after { animation-play-state: paused !important; }
.annotation-cursor, .optimize-cursor { z-index: 3; width: 17px; height: 20px; margin: 0; pointer-events: none; opacity: 0; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .2)); }
.annotation-cursor { position: absolute; top: 18px; left: 70%; }
.annotation-cursor svg, .optimize-cursor svg { position: relative; z-index: 2; display: block; width: 17px; height: 20px; fill: #fff; stroke: #39404d; stroke-width: 1.5; stroke-linejoin: round; }
.annotation-cursor i, .optimize-cursor i { position: absolute; z-index: 1; top: -5px; left: -5px; width: 17px; height: 17px; border: 1px solid rgb(36 87 220 / .5); border-radius: 50%; opacity: 0; }
.annotation-cursor.is-clicking-true { --cursor-target: 25%; animation: annotation-auto-click 1.3s cubic-bezier(.4, 0, .2, 1) forwards; }
.annotation-cursor.is-clicking-false { --cursor-target: 74%; animation: annotation-auto-click 1.3s cubic-bezier(.4, 0, .2, 1) forwards; }
.annotation-cursor.is-clicking-true i, .annotation-cursor.is-clicking-false i,
.optimize-cursor.is-clicking i { animation: auto-click-ring 1.3s ease forwards; }
.optimize-button { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 34px; margin-top: 13px; border: 1px solid #d4d7dc; border-radius: 6px; background: linear-gradient(#fff, #f5f5f5); color: #454850; font-size: 10px; font-weight: 600; cursor: pointer; }
.optimization-ready { min-height: 303px; padding: 56px 24px 24px; text-align: center; }
.ready-check { display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 10px; border-radius: 50%; background: #e8f0ff; color: var(--blue); font-size: 15px; }
.optimization-ready strong { display: block; font-size: 14px; }
.optimization-ready p { margin: 5px 0 18px; color: var(--muted); font-size: 11px; }
.optimize-button { position: relative; max-width: 240px; margin: 0 auto; border-color: var(--blue-dark); background: linear-gradient(#3165ed, var(--blue)); color: #fff; box-shadow: inset 0 1px rgb(255 255 255 / .2), 0 2px 4px rgb(31 68 178 / .18); }
.optimize-button:hover { background: var(--blue-dark); }
.optimize-button.is-auto-press { animation: optimize-button-press .38s ease; }
.optimize-cursor { position: absolute; top: 48%; left: 58%; }
.optimize-cursor.is-clicking { animation: optimize-auto-click 1.3s cubic-bezier(.4, 0, .2, 1) forwards; }
.optimizer-reset { justify-self: end; display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #92969e; font: 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; cursor: pointer; transition: background .15s ease, color .15s ease, transform .15s ease; }
.optimizer-reset:hover { background: #eceef2; color: #4e5561; transform: rotate(-18deg); }
.optimizer-reset:focus-visible { outline: 2px solid #91a9e8; outline-offset: 2px; }
.diff-line { display: block; padding: 4px 13px; opacity: 0; transform: translateY(3px); transition: opacity .2s ease, transform .2s ease; }
.diff-line.is-visible { opacity: 1; transform: translateY(0); }
.diff-line.is-removed { background: #fff0ef; color: #984f48; }
.diff-line.is-added { background: #edf8f1; color: #296948; }
@keyframes optimizer-pulse { 50% { opacity: .35; } }

.video-length { color: var(--muted); font-size: 11px; }
.video-placeholder { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #d9dce4; border-radius: 10px; background: linear-gradient(145deg, #f7f8fc, #e9edf7); }
.mock-window { position: absolute; display: grid; grid-template-columns: 22% 1fr; width: 78%; height: 78%; overflow: hidden; border: 1px solid #d3d7e2; border-radius: 7px; background: #fff; box-shadow: 0 18px 42px rgb(50 63 99 / .13); transform: rotate(-1.5deg) translateY(7%); }
.mock-sidebar { padding: 20px 12px; border-right: 1px solid #e5e7ed; background: #f8f9fb; }
.mock-sidebar i { display: block; width: 75%; height: 6px; margin-bottom: 13px; border-radius: 4px; background: #d9dce5; }
.mock-sidebar i:first-child { width: 42%; background: #7695e8; }
.mock-content { padding: 22px; }
.mock-title { width: 45%; height: 10px; margin-bottom: 20px; border-radius: 5px; background: #31343b; }
.mock-row { display: flex; justify-content: space-between; margin-bottom: 8px; padding: 10px; border: 1px solid #e2e4e9; border-radius: 5px; color: #7a7e87; font-size: 8px; }
.mock-row b { color: #34373e; font-size: 9px; }
.mock-row.selected { border-color: #9fb4ed; background: #f2f5fd; }
.play-button { position: relative; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--blue-dark); border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 7px 18px rgb(36 87 220 / .3); transition: transform .18s ease, background .18s ease; }
.play-button:hover { transform: scale(1.06); background: var(--blue-dark); }
.play-button svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.video-caption { margin: 10px 0 0; color: var(--muted); font-size: 11px; }

.proof > p:not(.eyebrow) { width: 100%; margin: 16px 0 12px; color: #4b4e55; }
.audience-block { margin-top: 26px; }
.audience-label { display: flex; align-items: center; gap: 12px; margin: 0 0 11px; color: #747880; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.audience-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.audience-grid article { min-width: 0; padding: 16px 14px; border-right: 1px solid var(--line); }
.audience-grid article:last-child { border-right: 0; }
.audience-grid h4 { margin: 0 0 6px; font-size: 12px; line-height: 1.35; }
.audience-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.customer-quote { margin: 24px 0 14px; }
.customer-quote > p { margin: 0; }
.customer-quote footer { gap: 7px; }
.customer-quote footer strong { padding-right: 7px; border-right: 1px solid #d5d7da; }
.text-link { color: var(--blue); font-size: 13px; font-weight: 600; }
.pricing-card { display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px 32px; align-items: center; margin-top: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #f8f8f7; }
.pricing-price { grid-row: span 2; }
.pricing-price > span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; }
.pricing-price p { margin: 0; color: var(--muted); font-size: 13px; }
.pricing-price strong { color: var(--ink); font-family: Iowan Old Style, Palatino Linotype, Book Antiqua, Georgia, serif; font-size: 32px; font-weight: 400; letter-spacing: -.025em; }
.pricing-price small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.pricing-card > p { margin: 0; color: #4b4e55; font-size: 13px; line-height: 1.55; }
.pricing-card .text-link { align-self: start; }
.pricing-plus { margin: 3px 0 -9px; color: #a1a4aa; text-align: center; font-size: 15px; line-height: 1; }
.batch-calculator { margin-top: 12px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; }
.calculator-heading { display: flex; align-items: start; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.calculator-heading h3 { margin: 0 0 5px; font-size: 15px; }
.calculator-heading p { max-width: 340px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.calculator-price { flex: none; text-align: right; }
.calculator-price span { display: block; margin-bottom: 1px; color: var(--muted); font-size: 10px; }
.calculator-price output { display: block; font-family: Iowan Old Style, Palatino Linotype, Book Antiqua, Georgia, serif; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.stepper-label { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; font-size: 12px; }
.stepper-label span { color: var(--muted); }
.stepper-label strong { font-weight: 500; }
.record-stepper { --step-progress: .42857; --step-purple: #b2bcfa; --step-purple-dark: #aab3f3; }
.stepper-dots { position: relative; display: flex; justify-content: space-between; padding-bottom: 18px; }
.stepper-dots::before, .stepper-dots::after { content: ""; position: absolute; top: 12px; left: 14px; height: 4px; border-radius: 99px; pointer-events: none; }
.stepper-dots::before { right: 14px; background: #dfe1e7; }
.stepper-dots::after { right: 14px; background: linear-gradient(to right, var(--step-purple), var(--step-purple-dark)); transform: scaleX(var(--step-progress)); transform-origin: left; }
.step-dot { position: relative; z-index: 1; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.step-dot::before { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; background: #cdcfd6; box-shadow: 0 0 0 1px #9fa1ac; transform: translate(-50%, -50%); transition: width .14s ease, height .14s ease, background .14s ease, box-shadow .14s ease; }
.step-dot.is-reached::before { background: var(--step-purple); box-shadow: 0 0 0 1px var(--step-purple-dark); }
.step-dot.is-selected::before { width: 18px; height: 18px; background: var(--step-purple-dark); box-shadow: 0 0 0 1px var(--step-purple-dark), 0 2px 5px rgb(75 83 145 / .2); }
.step-dot:hover::before { width: 18px; height: 18px; }
.step-dot:focus-visible { outline: 2px solid var(--step-purple-dark); outline-offset: 2px; border-radius: 50%; }
.step-dot span { position: absolute; top: 29px; left: 50%; color: #9fa1ac; font-size: 9px; font-weight: 500; white-space: nowrap; transform: translateX(-50%); transition: color .14s ease, font-weight .14s ease; }
.step-dot.is-selected span { color: var(--ink); font-weight: 700; }
.final-cta { text-align: center; }
.final-cta h2 { max-width: 480px; margin-inline: auto; font-size: 30px; }
.final-cta .button { max-width: 320px; }
.booking-panel[hidden] { display: none; }
.booking-panel { width: calc(100vw - 32px); margin: 14px 0 0 50%; transform: translateX(-50%); }
#my-cal-inline-demo { min-height: 680px; }

.terminal { padding: 14px; border-radius: 10px; background: #f3f3f2; }
.terminal > * { background: #fff; }
.terminal-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px 7px 0 0; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.terminal-dots { display: flex; gap: 5px; }
.terminal-dots i { width: 9px; height: 9px; border-radius: 50%; background: #efaaa8; }
.terminal-dots i:nth-child(2) { background: #ead792; }
.terminal-dots i:nth-child(3) { background: #9dd5ad; }
.copy-button { justify-self: end; padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 10px; cursor: pointer; }
pre { margin: 0; padding: 18px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 7px 7px; overflow-x: auto; font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; }
pre span { color: #8b8e94; }
.steps { margin: 28px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 42px 1fr; gap: 2px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li > span { color: #a1a4aa; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; padding-top: 4px; }
.steps h3 { margin: 0 0 3px; font-size: 15px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }

.wordmarks { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 4px; color: #8a8d92; font: 700 11px/1.2 ui-sans-serif, sans-serif; letter-spacing: .04em; }
.wordmarks span:nth-child(2) { font-family: Georgia, serif; font-size: 15px; font-weight: 400; letter-spacing: -.02em; }
.wordmarks span:nth-child(3) { font-weight: 500; letter-spacing: .1em; }
blockquote { margin: 4px 0 0; padding: 20px; border: 1px solid #e3e4e5; border-radius: 11px; background: #f8f8f7; color: #4b4e55; font-size: 16px; }
blockquote footer { display: flex; align-items: center; gap: 9px; margin-top: 16px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.avatar { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #dfe4f2; color: #4d5b7d; font-size: 9px; font-weight: 700; }
blockquote footer strong { color: var(--ink); font-weight: 600; }

.faq-list { margin-top: 20px; }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 17px 30px 17px 0; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 3px; color: #8a8d93; font-size: 20px; font-weight: 300; line-height: 1; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: -7px 0 18px; padding-right: 32px; color: var(--muted); font-size: 14px; }
.about > p { width: 100%; margin: 0; color: #4b4e55; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 34px; padding-bottom: 44px; border-top: 1px solid var(--line); color: #60626e; font-size: 11px; }
.site-footer p { margin: 0; }
.site-footer p:nth-child(2) { text-align: right; }
.site-footer p:last-child { grid-column: 1 / -1; }
.footer-links { display: flex; gap: 12px; font-size: 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.plain-main { min-height: calc(100vh - 196px); padding-top: 64px; padding-bottom: 96px; }
.plain-document { max-width: 560px; }
.plain-document h1 { margin-bottom: 18px; }
.plain-document > p { margin: 0; color: #4b4e55; line-height: 1.7; }
.plain-document > p + p { margin-top: 14px; }
.legal-document h2 { margin: 36px 0 10px; font-family: inherit; font-size: 16px; font-weight: 650; line-height: 1.4; letter-spacing: 0; }
.legal-document p, .legal-document li { color: #4b4e55; font-size: 14px; line-height: 1.7; }
.legal-document p { margin: 0; }
.legal-document p + p { margin-top: 14px; }
.legal-document .legal-updated { margin: -9px 0 28px; color: var(--muted); font-size: 12px; }
.legal-document ul { margin: 12px 0 18px; padding-left: 22px; }
.legal-document li + li { margin-top: 6px; }

@media (min-width: 1025px) {
  .site-header.wrap, .site-footer.wrap { width: min(100% - 64px, 720px); }
  .site-header { position: relative; }
  .site-header .brand { position: absolute; left: 0; }
  .site-header nav { display: grid; grid-template-columns: 1fr auto 1fr; width: 100%; }
  .site-header .nav-links { grid-column: 2; justify-self: center; }
  .site-header .nav-actions { grid-column: 3; justify-self: end; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 608px); }
  .site-header { position: relative; min-height: 64px; }
  .menu-button { display: flex; }
  nav { display: none; position: absolute; z-index: 5; top: 55px; right: 0; width: 190px; padding: 10px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 14px 30px rgb(0 0 0 / .09); }
  nav.open { display: flex; }
  nav .nav-links, nav .nav-actions { display: contents; }
  nav a { padding: 8px; }
  nav .button { margin-top: 4px; }
  main { padding-top: 32px; }
  .plain-main { min-height: calc(100vh - 172px); padding-top: 48px; padding-bottom: 72px; }
  .hero { padding-bottom: 38px; }
  .section { padding: 36px 0; }
  .metric-summary { grid-template-columns: 1fr; }
  .metric-summary div { border-right: 0; border-bottom: 1px solid var(--line); }
  .wordmarks { display: grid; grid-template-columns: 1fr 1fr; row-gap: 24px; text-align: center; }
  .function-list { grid-template-columns: 1fr; }
  .function-list article, .function-list article:nth-child(odd), .function-list article:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .function-list article:last-child { border-bottom: 0; }
  .execution-modes { gap: 8px; }
  .execution-modes figure { padding-inline: 10px; }
  .learning-layout { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; padding-top: 24px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .audience-grid article:last-child { border-bottom: 0; }
  .mock-window { width: 88%; height: 80%; }
  .pricing-card { grid-template-columns: 1fr; gap: 14px; }
  .pricing-price { grid-row: auto; }
  .calculator-heading { gap: 18px; }
  .optimizer-shell { padding: 8px; }
  .optimizer-browser-bar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .browser-address { justify-self: end; max-width: 205px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .optimizer-content { padding: 12px; }
  .annotation-card { padding: 15px; }
  .annotation-card h4 { font-size: 16px; }
  .optimizer-deployment.is-visible { max-height: 150px; }
  .deployment-endpoint { grid-template-columns: 52px minmax(0, 1fr); padding: 5px 0; }
  .deployment-cost { grid-column: 2; }
  .booking-panel { width: calc(100vw - 20px); }
  #my-cal-inline-demo { min-height: 760px; }
  .site-footer { grid-template-columns: 1fr; gap: 12px; padding-bottom: 28px; }
  .site-footer p:nth-child(2) { text-align: left; }
  .site-footer p:last-child { grid-column: auto; }
  .footer-links { flex-wrap: wrap; row-gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .annotation-cursor, .optimize-cursor { display: none; animation: none; }
}

@keyframes annotation-auto-click {
  0% { top: 18px; left: 70%; opacity: 0; transform: rotate(-8deg) scale(1); }
  15% { opacity: 1; }
  72% { top: 76px; left: var(--cursor-target); opacity: 1; transform: rotate(-8deg) scale(1); }
  77% { transform: rotate(-8deg) scale(.8); }
  84% { transform: rotate(-8deg) scale(1); }
  92% { opacity: 1; }
  100% { top: 76px; left: var(--cursor-target); opacity: 0; transform: rotate(-8deg) scale(1); }
}

@keyframes optimize-auto-click {
  0% { opacity: 0; transform: translate(75px, -58px) rotate(-8deg) scale(1); }
  15% { opacity: 1; }
  70% { opacity: 1; transform: translate(0, 0) rotate(-8deg) scale(1); }
  77% { transform: translate(0, 0) rotate(-8deg) scale(.8); }
  84% { transform: translate(0, 0) rotate(-8deg) scale(1); }
  92% { opacity: 1; }
  100% { opacity: 0; transform: translate(0, 0) rotate(-8deg) scale(1); }
}

@keyframes optimize-button-press {
  0% { transform: translateY(0) scale(1); box-shadow: inset 0 1px rgb(255 255 255 / .2), 0 2px 4px rgb(31 68 178 / .18), 0 0 0 0 rgb(36 87 220 / .28); }
  38% { transform: translateY(1px) scale(.985); box-shadow: inset 0 2px 4px rgb(20 47 122 / .28), 0 1px 2px rgb(31 68 178 / .12), 0 0 0 0 rgb(36 87 220 / .28); }
  72% { transform: translateY(0) scale(1); box-shadow: inset 0 1px rgb(255 255 255 / .2), 0 2px 4px rgb(31 68 178 / .18), 0 0 0 5px rgb(36 87 220 / 0); }
  100% { transform: translateY(0) scale(1); box-shadow: inset 0 1px rgb(255 255 255 / .2), 0 2px 4px rgb(31 68 178 / .18), 0 0 0 7px rgb(36 87 220 / 0); }
}

@keyframes auto-click-ring {
  0%, 72% { opacity: 0; transform: scale(.35); }
  77% { opacity: .85; transform: scale(.55); }
  90%, 100% { opacity: 0; transform: scale(1.45); }
}
