:root {
  --primary: #cc8066;
  --ink: #111827;
  --muted: #4b5563;
  --accent: #334155;
  --surface: #191c21;
  --surface-2: #242932;
  --line: #e5e7eb;
  --soft: #f7f7f6;
  --white: #fff;
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1440px;
  --section: clamp(80px, 9vw, 144px);
  --radius: 8px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --text: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* taste-skill-ignore: the supplied design system calls for JetBrains Mono in technical labels. */
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; /* taste-skill-ignore: supplied design system label font */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.04em; }
h1, h2, h3 { overflow-wrap: anywhere; }
h1 { font-size: clamp(48px, 6.2vw, 88px); line-height: 1.04; }
h2 { font-size: clamp(40px, 5vw, 70px); line-height: 1.05; }
h3 { font-size: clamp(22px, 2.1vw, 31px); line-height: 1.12; }
p { text-wrap: pretty; }
::selection { background: var(--primary); color: var(--ink); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }
.frame { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.mono-label, .card-meta { font: 600 11px/1.2 var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.mono-label { color: var(--muted); }
.section-dark .mono-label { color: #a7b0bc; }
.card-meta { color: currentColor; opacity: .7; }
.skip-link { position: absolute; top: 12px; left: var(--gutter); z-index: 20; padding: 10px 14px; background: var(--white); border: 1px solid var(--line); transform: translateY(-180%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.site-header { width: min(100%, var(--max)); margin: auto; min-height: 88px; padding: 18px var(--gutter); display: flex; align-items: center; gap: 28px; background: var(--white); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; line-height: 1.05; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius); background: var(--primary); color: var(--ink); font: 600 11px/1 var(--mono); }
.site-header nav { display: flex; gap: 30px; margin-left: auto; }
.site-header nav a { padding: 10px 0; color: var(--muted); font-size: 14px; }
.site-header nav a:hover { color: var(--ink); }
.tabs-enabled { scroll-padding-top: calc(var(--header-height, 88px) + 16px); }
.tabs-enabled .site-header { position: sticky; top: 0; z-index: 10; width: 100%; padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.tabs-enabled .page-tabs { min-width:0; overflow-x:auto; scrollbar-width:thin; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.tabs-enabled .brand, .tabs-enabled .header-action { flex-shrink:0; }
.tabs-enabled .page-tabs a { display: inline-flex; flex-shrink:0; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border-radius: 5px; font-weight: 500; white-space: nowrap; }
.tabs-enabled .page-tabs a:hover { background: #edece9; }
.tabs-enabled .page-tabs a[aria-selected="true"] { background: var(--primary); color: var(--ink); }
.page-view[hidden] { display: none; }
.page-view:focus { outline: none; }
.page-view:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
.page-view { min-height: calc(100svh - var(--header-height, 88px)); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 13px 18px; border-radius: var(--radius); background: var(--primary); color: var(--ink); font-weight: 600; transition: transform .2s var(--ease), background .2s ease; }
.button:hover { transform: translateY(-3px); background: #d89078; }
.button:active { transform: translateY(1px) scale(.98); }
.button-dark { background: var(--surface); color: var(--white); }
.button-dark:hover { background: var(--accent); }
.header-action { font-size: 14px; }
.text-link, .closing-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link span, .button span, .closing-link span { transition: transform .2s var(--ease); }
.text-link:hover span, .button:hover span, .closing-link:hover span { transform: translate(3px, -2px); }

.hero { position: relative; isolation: isolate; overflow: hidden; width: 100%; min-height: calc(100svh - var(--header-height, 88px)); display: grid; background: var(--surface); color: var(--white); }
.hero-content { display: grid; grid-template-rows: 1fr auto; gap: clamp(40px, 7svh, 80px); padding-top: clamp(56px, 8svh, 112px); padding-bottom: 24px; }
.hero-background { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-background img, .hero-background video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-background video { opacity: 0; transition: opacity .4s ease; }
.hero-background video.is-playing { opacity: 1; }
.hero-background video::-webkit-media-controls { display: none !important; }
.hero-background video::-webkit-media-controls-enclosure { display: none !important; }
.hero-background::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(17 24 39 / .6), transparent 28%), linear-gradient(90deg, rgb(17 24 39 / .86), rgb(17 24 39 / .68) 46%, rgb(17 24 39 / .3)); }
.hero-copy .mono-label, .hero .hero-lede, .hero .hero-foot { color: #e2e7ed; }
.hero-copy { align-self: center; max-width: 820px; }
.hero-copy h1 { max-width: 760px; margin-top: 24px; }
.hero-copy h1 span { color: #eea68d; }
.hero-lede { max-width: 570px; margin-top: 28px; font-size: 20px; line-height: 1.45; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.screen-bar, .demo-heading, .method-panel-top, .list-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; padding-top: 18px; color: var(--muted); font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .02em; }

.section-heading { display: grid; grid-template-columns: minmax(190px, .65fr) minmax(280px, 1.2fr) minmax(240px, .8fr); gap: 30px; align-items: start; }
.section-heading > *, .grant-bento > *, .scope-grid > *, .app-bento > *, .scenario-grid > *, .partner-bento > * { min-width:0; }
.section-heading h2 { grid-column: 2; }
.section-heading > p:last-child { padding-top: 8px; color: var(--muted); }
.section-heading-dark > p:last-child { color: #c0c8d1; }
.grant { width: 100%; max-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); background: var(--soft); }
.grant-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.feature-card, .fact-panel, .partner-card { padding: 24px; border-radius: var(--radius); }
.feature-card { min-height: 360px; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 44px); }
.feature-card h3 { max-width: 520px; margin-top: 64px; font-size: clamp(32px, 3.2vw, 46px); }
.feature-card p { max-width: 520px; margin-top: 22px; font-size: 17px; opacity: .8; }
.feature-card-dark { background: var(--surface); color: var(--white); }
.feature-card-coral { background: var(--primary); color: var(--ink); }
.card-index { margin-top: auto; font: 600 11px/1.2 var(--mono); opacity: .65; }
.fact-panel { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; min-height: 210px; align-items: start; background: var(--white); border: 1px solid var(--line); }
.fact-panel > div { padding: 12px 16px; }
.fact-panel dt { font: 600 11px/1.2 var(--mono); color: var(--muted); text-transform: uppercase; }
.fact-panel dd { margin-top: 12px; font-size: clamp(21px, 2vw, 28px); line-height: 1.25; letter-spacing: -.03em; }
.fact-panel small { color: var(--muted); font-size: 13px; }
.grant-bottom { display: flex; justify-content: space-between; gap: 32px; align-items: center; margin-top: 28px; padding-top: 24px; }
.grant-bottom p { max-width: 660px; color: var(--muted); }

.scope, .market-section { background: var(--surface); color: var(--white); }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.method-panel, .application-list { padding: 24px; border: 1px solid #363d47; border-radius: var(--radius); background: var(--surface-2); }
.method-panel-top { padding-bottom: 26px; }
.pill { display: inline-flex; align-items: center; min-height: 25px; padding: 5px 9px; border-radius: 9999px; background: #303944; color: #dbe2ea; font: 600 10px/1 var(--mono); text-transform: uppercase; }
.method-row { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 25px 0; }
.method-row + .method-row { margin-top: 2px; }
.method-number { font: 600 11px/1.2 var(--mono); color: var(--primary); text-transform: uppercase; }
.method-row h3 { font-size: 21px; }
.method-row p { max-width: 460px; margin-top: 8px; color: #b8c1cb; font-size: 14px; }
.application-list { padding: 0; }
.list-heading { padding: 24px; }
.application-item { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 17px 24px; }
.application-item + .application-item { margin-top: 2px; }
.application-item span { font-size: 16px; }
.application-item small { color: #aeb8c3; font-size: 12px; text-align: right; }

.app-bento { display: grid; grid-template-columns: minmax(270px, .8fr) minmax(300px, 1.2fr); gap: 16px; margin-top: 64px; align-items: stretch; }
.app-screen { display: flex; flex-direction: column; padding: 16px; border-radius: var(--radius); background: var(--surface); color: var(--white); }
.screen-bar { padding: 4px 3px 16px; }
.app-screen picture { display:block; min-width:0; margin-block:auto; }
.app-screen img { width: 100%; max-height: 470px; object-fit: contain; object-position: top; margin: auto; }
.app-screen figcaption { padding-top: 16px; color: #aeb8c3; font-size: 12px; }
.app-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 4vw, 56px); border-radius: var(--radius); background: var(--accent); color: var(--white); }
.app-copy .card-meta { color: #c5ced8; }
.app-copy h3 { margin-top: 24px; font-size: clamp(36px, 4vw, 58px); }
.app-copy p { max-width: 510px; margin-top: 20px; color: #d3dae1; }
.app-copy .button { align-self: flex-start; margin-top: 32px; }

.scenarios { background: var(--soft); }
.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.scenario-card { display: flex; flex-direction: column; min-height: 340px; padding: clamp(24px, 2.5vw, 36px); border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: var(--radius); background: var(--white); }
.scenario-card .card-meta { color: var(--muted); opacity: 1; }
.scenario-card h3 { margin-top: 28px; }
.scenario-card > p { margin-top: 18px; color: var(--muted); }
.scenario-card .scenario-question { margin-top: auto; padding-top: 28px; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.5; }
.scenario-footer { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 28px; }
.scenario-footer p { max-width: 620px; color: var(--muted); font-size: 14px; }
.scenario-footer .text-link { flex-shrink: 0; font-size: 14px; }

.market-demo { margin-top: 64px; padding: 24px; border: 1px solid #363d47; border-radius: var(--radius); background: var(--surface-2); }
.demo-heading { color: #aeb8c3; font: 600 11px/1.2 var(--mono); text-transform: uppercase; }
.demo-heading .pill { background: var(--primary); color: var(--ink); }
.demo-main { display: grid; grid-template-columns: 1.5fr .8fr; gap: 7%; align-items: center; margin-top: 48px; }
.chart-unit, .chart-scale, .range-labels { color: #aeb8c3; font: 500 11px/1.2 var(--mono); }
.offer-plot { position: relative; display: flex; gap: 4px; height: 250px; margin-top: 18px; padding-top: 28px; }
.offer-block { position: relative; display: flex; flex: var(--share); flex-direction: column; justify-content: flex-end; }
.offer-block > div { min-height: 12px; height: var(--height); border-radius: 3px 3px 0 0; background: #5c6673; transition: background .3s var(--ease), transform .3s var(--ease); }
.offer-block.is-dispatched > div { background: var(--primary); }
.offer-block > span:first-child { margin-bottom: 8px; color: #e3e8ec; font: 500 11px/1.2 var(--mono); }
.offer-block > span:last-child { position: absolute; bottom: -30px; color: #aeb8c3; font-size: 11px; white-space: nowrap; }
.demand-marker { position: absolute; top: 0; left: var(--demand); width: 2px; height: 100%; background: var(--white); transition: left .2s var(--ease); pointer-events: none; }
.chart-scale { display: flex; justify-content: space-between; margin-top: 48px; }
.demo-result { padding: 24px; border-radius: var(--radius); background: #2d3540; }
.demo-result > span { color: #aeb8c3; font: 500 11px/1.2 var(--mono); text-transform: uppercase; }
.demo-result > p:first-of-type { margin-top: 10px; font-size: 30px; line-height: 1.1; letter-spacing: -.05em; }
.demo-result > p:first-of-type > span { color: #aeb8c3; font-size: 14px; letter-spacing: 0; }
.demo-result #market-finding { margin-top: 22px; color: #d8dfe6; font-size: 14px; }
.demo-result #dispatch-output { display: block; margin-top: 20px; color: #f0b09a; font: 600 11px/1.2 var(--mono); text-transform: uppercase; }
.demand-control { margin-top: 50px; }
.demand-control label { display: flex; justify-content: space-between; font-size: 14px; }
.demand-control output { color: var(--primary); font: 600 12px/1.2 var(--mono); }
.demand-control input { width: 100%; height: 42px; margin: 10px 0; accent-color: var(--primary); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; }
.demo-note { max-width: 760px; margin-top: 26px; color: #aeb8c3; font-size: 12px; }
.market-demo noscript p { margin-top: 18px; color: var(--white); }

.partner-bento { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 16px; margin-top: 64px; }
.partner-card { min-height: 250px; display: flex; flex-direction: column; }
.partner-card h3 { max-width: 300px; margin-top: 40px; }
.partner-card p { margin-top: 14px; color: var(--muted); font-size: 14px; }
.partner-card .text-link { margin-top: auto; }
.partner-card-dark { background: var(--surface); color: var(--white); }
.partner-card-dark p { color: #bac3cc; }
.partner-logo-card { border: 1px solid var(--line); background: var(--soft); }
.partner-logo-card img { width: 100%; height: 105px; object-fit: contain; object-position: left center; margin-top: 40px; }
.partner-logo-card p { margin-top: auto; }
.partner-card-light { grid-column: 1 / -1; min-height: 170px; border: 1px solid var(--line); background: var(--white); }
.partner-card-light h3 { margin-top: 20px; }
.partner-card-light p { max-width: 420px; }
.partner-card-light .text-link { margin-top: auto; }

.closing { background: var(--primary); text-align: center; }
.closing .mono-label { color: #62483f; }
.closing h2 { margin-top: 18px; font-size: clamp(48px, 7vw, 94px); }
.closing-actions { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 34px; }
.closing-link { text-decoration-color: var(--ink); }
.closing > div > p:last-child { margin-top: 28px; }
.site-footer { padding-top: 64px; padding-bottom: 56px; }
.tabs-enabled .site-footer { padding-top: 32px; padding-bottom: 32px; }
.tabs-enabled .footer-top h2 { font-size: 36px; }
.tabs-enabled .footer-details { margin-top: 24px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.footer-top h2 { margin-top: 16px; font-size: clamp(42px, 5vw, 70px); }
.footer-details { display: flex; justify-content: space-between; gap: 32px; margin-top: 48px; padding-top: 20px; color: var(--muted); font-size: 13px; }
.footer-details > div { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.footer-details a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline; text-underline-offset: 4px; }
.cms-text-section { background: var(--white); }
.cms-prose { max-width: 760px; margin: 56px auto 0; font-size: 18px; line-height: 1.65; }
.cms-prose p + p { margin-top: 20px; }
.cms-prose .text-link { margin-top: 26px; font-size: 15px; }
.credits-page { max-width: 1100px; margin: auto; padding: 64px var(--gutter) 96px; }
.credits-page h1 { margin: 24px 0; font-size: clamp(44px, 6vw, 80px); }
.credits-page h2 { margin: 56px 0 18px; font-size: 28px; }
.credits-page p + p { margin-top: 20px; }
.credits-page a { text-decoration: underline; text-underline-offset: 4px; }
small { font-size: 13px; }
.mono-label, .card-meta, .brand-mark, .hero-foot, .card-index, .fact-panel dt, .method-number, .demo-heading, .chart-unit, .chart-scale, .range-labels, .demo-result > span, .demo-result #dispatch-output, .offer-block > span:first-child, .offer-block > span:last-child { font-size: 13px !important; }
.app-screen .mono-label, .method-panel .mono-label, .application-list .mono-label, .market-demo .mono-label { color: #d3dae1; }
.mono-label, .card-meta, .card-index, .method-number, .demo-heading, .chart-unit, .chart-scale, .range-labels, .demo-result > span, .demo-result #dispatch-output, .application-item small, .demo-note, .app-screen figcaption, .footer-details, .offer-block > span:first-child, .offer-block > span:last-child { font-size: 12px; }
.pill { font-size: 12px; }

@media (max-width: 1300px) and (min-width: 701px) {
  .grant-bento { grid-template-columns: 1fr; }
  .feature-card { min-height: 330px; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: auto 1fr auto; column-gap: clamp(40px, 7vw, 100px); }
  .feature-card .card-meta { grid-column: 1 / -1; }
  .feature-card h3 { grid-column: 1; align-self: center; margin-top: 36px; }
  .feature-card p { grid-column: 2; align-self: center; margin-top: 36px; }
  .feature-card .card-index { grid-column: 1 / -1; }
}

@media (max-width: 1050px) {
  :root { --gutter: clamp(20px, 3vw, 36px); }
  .section-heading { grid-template-columns: .5fr 1fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .section-heading h2 { grid-column: 2; }
  .grant-bento { grid-template-columns: 1fr; }
  .fact-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scenario-footer { align-items: flex-start; }
  .partner-bento { grid-template-columns: 1fr 1fr; }
  .partner-card-dark, .partner-card-light { grid-column: 1 / -1; }
  .partner-logo-card { min-height: 230px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 16px; }
  .tabs-enabled { scroll-padding-top: calc(var(--header-height, 128px) + 16px); }
  .tabs-enabled .site-header { min-height: 128px; gap: 12px; padding-block: 12px; }
  .tabs-enabled .brand { font-size: 14px; gap: 10px; }
  .tabs-enabled .brand-mark { width: 30px; height: 30px; }
  .tabs-enabled .header-action { min-height: 44px; padding: 10px 12px; gap: 10px; font-size: 12px; }
  .tabs-enabled .page-tabs a { flex: 1 0 auto; min-width: 70px; padding-inline: 8px; font-size: 13px; }
  .tabs-enabled .hero, .tabs-enabled .page-view { min-height: calc(100svh - var(--header-height, 128px)); }
  .site-header { min-height: 118px; flex-wrap: wrap; gap: 18px; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; margin: 0; }
  .header-action { margin-left: auto; }
  .hero { min-height: calc(100svh - 118px); }
  .hero-content { gap: 40px; padding-top: 48px; }
  .hero-background::after { background: rgb(17 24 39 / .76); }
  .hero-background img, .hero-background video { object-position: 58% center; }
  .hero-copy h1 { margin-top: 18px; font-size: clamp(42px, 11.5vw, 64px); }
  .hero-lede { margin-top: 20px; font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 26px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 12px; line-height: 1.7; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 18px; }
  .section-heading > p:last-child { margin-top: 20px; padding: 0; }
  .grant-bento, .scope-grid, .app-bento, .scenario-grid, .partner-bento { display: flex; flex-direction: column; margin-top: 40px; }
  .feature-card { min-height: 260px; }
  .feature-card h3 { margin-top: 44px; }
  .fact-panel { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .grant-bottom { display: block; margin-top: 24px; }
  .grant-bottom .text-link { margin-top: 20px; }
  .method-panel, .application-list, .market-demo { padding: 18px; }
  .application-item { display: block; padding: 16px 18px; }
  .application-item small { display: block; margin-top: 4px; text-align: left; }
  .app-screen { min-height: 400px; }
  .app-screen img { max-height: 360px; }
  .app-copy { min-height: 430px; padding: 28px; }
  .scenario-card { min-height: 0; }
  .scenario-footer { flex-direction: column; gap: 14px; }
  .demo-main { display: flex; flex-direction: column; gap: 38px; margin-top: 34px; }
  .offer-plot { height: 210px; }
  .demo-result { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .demo-result > p:first-of-type { justify-self: end; margin: 0; }
  .demo-result #market-finding, .demo-result #dispatch-output { grid-column: 1 / -1; }
  .demand-control { margin-top: 34px; }
  .partner-card { min-height: 230px; }
  .partner-logo-card img { height: 90px; }
  .partner-card-light { min-height: 210px; }
  .closing-actions { flex-direction: column; gap: 14px; }
  .footer-top { display: block; }
  .footer-top > .text-link { margin-top: 20px; }
  .footer-details { display: block; margin-top: 34px; }
  .footer-details > div { align-items: flex-start; margin-top: 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise .8s var(--ease) both; }
  .hero-foot { animation: rise .7s .2s var(--ease) both; }
  [data-reveal].is-arriving { animation: rise .75s var(--ease) both; }
  .feature-card:hover, .partner-card:hover { transform: translateY(-4px); }
  .feature-card, .partner-card { transition: transform .25s var(--ease); }
  @keyframes rise { from { opacity: .35; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (prefers-reduced-motion: reduce) { .hero-background video { display: none; } }

/* Resized cards wrap within their section; text is never clipped. */
.grant-bento.has-card-layout, .scenario-grid.has-card-layout, .partner-bento.has-card-layout { display:flex; flex-wrap:wrap; align-items:flex-start; gap:16px; }
.has-card-layout > .feature-card { --cms-card-default-width:50; --cms-card-default-height:360px; display:flex; flex-direction:column; }
.has-card-layout > .scenario-card { --cms-card-default-width:33.333333; --cms-card-default-height:340px; }
.has-card-layout > .partner-card { --cms-card-default-width:29.82456; --cms-card-default-height:250px; }
.partner-bento.has-card-layout > .partner-card:first-child { --cms-card-default-width:40.350877; }
.partner-bento.has-card-layout > .partner-card-light { --cms-card-default-width:100; --cms-card-default-height:170px; }
.has-card-layout > :is(.feature-card,.scenario-card,.partner-card) {
  --cms-card-percent:var(--cms-card-width,var(--cms-card-default-width));
  flex:0 0 calc((100% + 16px) * var(--cms-card-percent) / 100 - 16px);
  max-width:100%; min-width:0; min-height:var(--cms-card-height,var(--cms-card-default-height));
  height:auto; overflow-wrap:anywhere; align-self:flex-start;
}
.grant-bento.has-card-layout > .fact-panel { flex:0 0 100%; }
.has-card-layout > .feature-card h3 { align-self:auto; }
@media (max-width:700px) {
  .has-card-layout > :is(.feature-card,.scenario-card,.partner-card) { flex-basis:auto; width:100%; min-height:0; }
}

/* Exact section sizes written by the local content editor. */
section[data-custom-heading-size] h2 { font-size: min(var(--cms-heading-size), 12vw) !important; }
section[data-custom-heading-size] h3 { font-size: min(calc(var(--cms-heading-size) * .56), 8vw) !important; }
.hero[data-custom-heading-size] h1 { font-size: min(var(--cms-heading-size), 14vw) !important; }
section[data-custom-text-size] .hero-lede,
section[data-custom-text-size] .section-heading > p:last-child,
section[data-custom-text-size] .feature-card > p,
section[data-custom-text-size] .method-row p,
section[data-custom-text-size] .application-item small,
section[data-custom-text-size] .app-copy > p,
section[data-custom-text-size] .scenario-card > p:not(.scenario-question),
section[data-custom-text-size] .partner-card > p,
section[data-custom-text-size] .cms-prose p,
section[data-custom-text-size] .person-bio,
section[data-custom-text-size].closing > .frame > p:last-child { font-size: min(var(--cms-text-size), 5.2vw) !important; }
