/* Aira marketing site: shared tokens, layout and components.
   Breakpoints: desktop >= 1024px, tablet 600-1023px, mobile < 600px.
   Page-specific rules live in css/pages/<page>.css. */

/* ---------- Tokens ---------- */
:root {
  /* Original Aira palette: near-black and white, with a muted blue accent. */
  --ink: #0c0f11;
  --ink-rgb: 12 15 17;
  --body: #4a525a;
  --muted: #a7afb6;
  --accent: #4f6f94;
  --cream: #f4f5f6;
  --line: #e3e6e8;
  --mint: #edf1f5;
  --white: #ffffff;
  --dark-line: #262626;
  /* Original Aira turquoise: decoration only (checks, underlines, marks). Too light for text on white. */
  --pulse: #45d6c4;

  /* Product UI mock palette */
  --ui-text: #0a0a0a;
  --ui-muted: #737373;
  --ui-line: #e5e5e5;
  --ui-bg: #fafafa;
  /* Success states use the original turquoise. The text shade is darker so it stays readable. */
  --ok-bg: #e8f9f6;
  --ok-fg: #137a6e;
  --ok-line: rgba(69, 214, 196, 0.4);
  --ok-solid: #45d6c4;
  --info-bg: #e5edff;
  --info-fg: #3d5a7a;
  --info-solid: #4f6f94;
  --info-line: rgba(21, 93, 252, 0.2);
  --bad-bg: #fce3e4;
  --bad-fg: #ae030b;
  --bad-line: rgba(231, 0, 11, 0.2);
  --evidence: #4f6f94;
  --include: #4f6f94;

  /* Inter everywhere, to match the seed deck. */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: var(--sans);
  --display: var(--sans);

  --gutter: clamp(48px, 6.667vw, 96px);
  --section-y: 120px;
  --stack: 56px;
  --content: 1248px;
  --nav-h: 80px;
  --radius-card: 24px;
  --radius-media: 28px;
  --shadow-float: 0 12px 32px -8px rgba(42, 50, 66, 0.18);
  /* In-section spacing: eyebrow/title/lead, card grids, two-column splits. Heading to content uses --stack. */
  --head-gap: 16px;
  --grid-gap: 20px;
  --split: 72px;
}

@media (max-width: 1023px) {
  :root { --gutter: 48px; --section-y: 88px; --stack: 48px; --nav-h: 64px; --split: 48px; }
}
@media (max-width: 599px) {
  :root { --gutter: 20px; --section-y: 64px; --stack: 36px; --split: 36px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 16px/24px var(--sans);
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px; }
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
:root {
  --print-blue: linear-gradient(90deg, var(--ink) 35%, rgb(var(--ink-rgb) / 68%)), var(--ink) url("/assets/img/hero-flow.webp") right 60% / cover no-repeat;
  --print-pale: linear-gradient(100deg, var(--mint) 35%, rgb(237 241 245 / 90%)), var(--mint) url("/assets/img/hero-flow.webp") right 60% / cover no-repeat;
}
.section { padding-block: var(--section-y); background: var(--white); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--print-blue); color: var(--muted); }
.print-dark {
  background: var(--print-blue);
}
.print-paper {
  background: linear-gradient(110deg, var(--cream) 35%, rgb(244 245 246 / 90%) 78%, rgb(237 241 245 / 89%)),
              var(--cream) url("/assets/img/hero-flow.webp") right 52% / cover no-repeat;
}
.solution-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
.solution-hero__copy { display: grid; justify-items: start; gap: 24px; }
.solution-hero__copy .display { max-width: 17ch; text-wrap: balance; }
.solution-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.solution-hero__visual {
  margin: 0;
  padding: clamp(20px, 4vw, 48px);
  border-radius: var(--radius-media);
  background: var(--print-blue);
}
.solution-hero__visual .panel { gap: 12px; }
.solution-hero__visual .criteria > li { padding-block: 10px; }
@media (max-width: 899px) {
  .solution-hero__layout { grid-template-columns: minmax(0, 1fr); }
  .solution-hero__copy .display { max-width: 21ch; }
}
.stack { display: flex; flex-direction: column; gap: var(--stack); }
.section__head { display: flex; flex-direction: column; gap: var(--head-gap); }
.section__head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__head--row > :first-child { display: flex; flex-direction: column; gap: var(--head-gap); }
@media (max-width: 599px) {
  .section__head--row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Type ---------- */
.eyebrow { font: 600 12px/16px var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
.eyebrow--muted { color: var(--muted); }
.eyebrow--body { color: var(--body); }
/* On dark surfaces the original turquoise reads well, so it carries the labels there. */
.on-dark .eyebrow:not(.eyebrow--muted), .cta-card .eyebrow, .site-footer__col h2 { color: var(--pulse); }

.backers { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: 10px; row-gap: 4px; color: var(--ink); }
.backers__label { font: 600 11px/16px var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--body); }
.backers__name { font: 600 14px/18px var(--display); }
.backers__name + .backers__name::before { content: "·"; margin-right: 10px; color: var(--muted); }
.backers:hover .backers__name { text-decoration: underline; }
.backers--dark { color: var(--white); }
.backers--dark .backers__label { color: #c5d2df; }

.display, .h-hero, .h2, .h3, .h4, .stat__value, .big-num { font-family: var(--serif); font-weight: 400; color: var(--ink); }
.display { font-size: 80px; line-height: 84px; letter-spacing: -0.015em; }
.h-hero { font-size: 104px; line-height: 104px; letter-spacing: -0.02em; }
.h2 { font-size: 56px; line-height: 62px; letter-spacing: -0.012em; }
.h3 { font-size: 42px; line-height: 48px; letter-spacing: -0.01em; }
.h4 { font-size: 30px; line-height: 36px; letter-spacing: -0.005em; }
.big-num { font-size: 104px; line-height: 104px; letter-spacing: -0.02em; }
/* Second line of a two-tone headline */
.tone { display: block; color: var(--muted); }
.on-dark .display, .on-dark .h-hero, .on-dark .h2, .on-dark .h3, .on-dark .h4 { color: var(--white); }

.lead { font: 400 19px/30px var(--display); color: var(--body); }
.on-dark .lead { color: var(--muted); }
.body-sm { font-size: 14px; line-height: 20px; }
.caption { font-size: 12px; line-height: 16px; }

@media (max-width: 1023px) {
  .display { font-size: 60px; line-height: 64px; }
  .h-hero { font-size: 88px; line-height: 88px; }
  .h2 { font-size: 46px; line-height: 52px; }
  .h3 { font-size: 36px; line-height: 42px; }
  .h4 { font-size: 26px; line-height: 32px; }
  .big-num { font-size: 88px; line-height: 88px; }
}
@media (max-width: 599px) {
  .display { font-size: 42px; line-height: 46px; }
  .h-hero { font-size: 56px; line-height: 56px; }
  .h2 { font-size: 34px; line-height: 40px; }
  .h3 { font-size: 28px; line-height: 34px; }
  .h4 { font-size: 22px; line-height: 28px; }
  .big-num { font-size: 64px; line-height: 64px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 500 14px/20px var(--display); white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #2a3a4d; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--cream); }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: #d8ceba; background: var(--cream); }
.btn--ghost-dark { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.24); }
.btn--ghost-dark:hover { border-color: rgba(255, 255, 255, 0.5); }
.btn--arrow::after {
  content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4l4 4-4 4'/%3E%3C/svg%3E") center / 16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4l4 4-4 4'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.btn--light.btn--arrow::after, .btn--outline.btn--arrow::after { background: var(--ui-text); }
.link-arrow { font: 600 14px/20px var(--sans); color: var(--ink); }
.link-arrow:hover { color: var(--accent); }

/* ---------- Nav ---------- */
.site-nav { position: sticky; top: 0; z-index: 50; background: var(--white); }
.site-nav__bar { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-nav__logo img { width: 96px; height: 28px; }
.site-nav__links { display: flex; gap: 32px; }
.site-nav__links a { font: 500 14px/20px var(--sans); color: var(--body); }
.site-nav__links a:hover, .site-nav__links a[aria-current="page"] { color: var(--ink); }
.site-nav__actions { display: flex; align-items: center; gap: 12px; }
.site-nav__toggle { display: none; width: 40px; height: 40px; margin-right: -8px; border: 0; background: none; padding: 8px; }
.site-nav__toggle span, .site-nav__toggle span::before, .site-nav__toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 1px; background: var(--ink); position: relative; transition: transform .2s ease, background-color .2s ease;
}
.site-nav__toggle span::before, .site-nav__toggle span::after { content: ""; position: absolute; left: 0; }
.site-nav__toggle span::before { top: -6px; }
.site-nav__toggle span::after { top: 6px; }
.site-nav[data-open] .site-nav__toggle span { background: transparent; }
.site-nav[data-open] .site-nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.site-nav[data-open] .site-nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav__panel { display: none; }

/* Dark variant (device partners) */
.site-nav--dark { background: var(--print-blue); }
.site-nav--dark .site-nav__links a { color: var(--muted); }
.site-nav--dark .site-nav__links a:hover, .site-nav--dark .site-nav__links a[aria-current="page"] { color: var(--white); }
.site-nav--dark .site-nav__toggle span, .site-nav--dark .site-nav__toggle span::before, .site-nav--dark .site-nav__toggle span::after { background: var(--white); }
.site-nav--dark[data-open] .site-nav__toggle span { background: transparent; }
.site-nav--dark .site-nav__panel { background: var(--print-blue); border-color: rgba(255, 255, 255, 0.1); }
.site-nav--dark .site-nav__panel a { color: var(--white); border-color: rgba(255, 255, 255, 0.1); }

@media (max-width: 1023px) {
  .site-nav__bar { padding-inline: 20px; max-width: none; }
  .site-nav__links, .site-nav__signin { display: none; }
  .site-nav__actions .btn { height: 40px; padding: 0 16px; }
  .site-nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav__panel {
    position: absolute; inset: var(--nav-h) 0 auto 0; background: var(--white); border-top: 1px solid var(--line);
    padding: 8px 20px 24px; box-shadow: 0 24px 32px -24px rgb(var(--ink-rgb) / 25%);
  }
  .site-nav[data-open] .site-nav__panel { display: block; }
  .site-nav__panel a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 16px/24px var(--sans); color: var(--ink); }
  .site-nav__panel .btn { margin-top: 20px; width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--print-blue); color: var(--muted); padding-top: 96px; overflow: hidden; }
.site-footer__top { display: flex; gap: 80px; }
.site-footer__brand { width: 340px; flex: none; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.site-footer__brand > a img { width: 120px; height: 35px; }
.site-footer__brand p { max-width: 300px; }
.site-footer__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-dark { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid rgb(255 255 255 / 26%); border-radius: 999px; font: 500 12px/16px var(--sans); color: var(--white); }
.pill-dark img { width: 24px; height: 24px; object-fit: contain; }
.site-footer__cols { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col h2 { font: 600 12px/16px var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin: 0; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer__col a { font: 400 14px/20px var(--sans); color: var(--white); }
.site-footer__col a:hover { color: #8fd3c6; }
.site-footer__rule { height: 1px; background: var(--dark-line); margin-top: 40px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 8px; margin-top: 40px; padding-bottom: 48px; font: 400 12px/16px var(--sans); }
.site-footer__bottom .eyebrow { color: var(--muted); }
@media (max-width: 1023px) {
  .site-footer { padding-top: 72px; }
  .site-footer .container { padding-inline: 20px; }
  .site-footer__top { flex-direction: column; gap: 48px; }
  .site-footer__brand { width: auto; }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .site-footer__bottom { flex-direction: column; gap: 8px; }
}

/* ---------- Cards and surfaces ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); }
.card--pad { padding: 32px; }
.card--float { box-shadow: var(--shadow-float); }
.media-card {
  position: relative; overflow: hidden; border-radius: var(--radius-media); background: var(--ink); color: var(--white); isolation: isolate;
}
.media-card > .media-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.media-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(var(--ink-rgb) / 70%) 0%, rgb(var(--ink-rgb) / 55%) 60%, rgb(var(--ink-rgb) / 90%) 100%);
}
@media (max-width: 599px) { .media-card { border-radius: 20px; } }

/* Tag / category chip */
.chip { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font: 500 12px/16px var(--sans); color: var(--ink); white-space: nowrap; }
.chip--lg { padding: 10px 16px; font-size: 14px; line-height: 20px; }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Logo strip ---------- */
.logos { display: flex; flex-direction: column; align-items: center; gap: 32px; padding-block: 56px; }
.logos__label { font: 500 14px/20px var(--sans); color: var(--body); text-align: center; }
.logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px 56px; list-style: none; margin: 0; padding: 0; }
.logos__row img { height: 42px; width: auto; max-width: 150px; object-fit: contain; opacity: 0.7; transition: opacity .2s; }
.logos__row img:hover { opacity: 1; }
.logos__row img.is-tall { height: 60px; }
@media (max-width: 1023px) { .logos { padding-block: 48px; } }
@media (max-width: 599px) {
  .logos { padding-block: 40px; }
  .logos__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; justify-items: center; }
}
/* Scrolling logo strip: js/site.js appends a hidden copy so the loop is seamless. */
.marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; margin: 0; padding: 0 32px; list-style: none; animation: marquee 50s linear infinite; }
.marquee__track img { display: block; height: 44px; width: auto; max-width: 170px; object-fit: contain; }
.marquee__track img.is-tall { height: 60px; }
.marquee__track img.is-square { height: 72px; }
/* Logos supplied on a solid background read as small badges. */
.marquee__track img.is-badge { border-radius: 6px; }
/* This logo has white lettering, so it needs its original dark background. */
.marquee__track img.is-dark { height: 60px; padding: 6px 10px; background: #000; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 32px 48px; }
  .marquee__track [aria-hidden] { display: none; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.stat__value { font-size: 104px; line-height: 104px; letter-spacing: -0.02em; }
.stat__value--sm { font-size: 80px; line-height: 84px; }
.stat__caption { font-size: 16px; line-height: 24px; color: var(--body); }
.on-dark .stat { border-color: rgba(255, 255, 255, 0.14); }
.on-dark .stat__value { color: var(--white); }
.on-dark .stat__caption { color: var(--muted); }
@media (max-width: 1023px) {
  .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat__value { font-size: 64px; line-height: 64px; }
  .stat__value--sm { font-size: 60px; line-height: 64px; }
}
@media (max-width: 599px) {
  .stats, .stats--4 { grid-template-columns: 1fr; gap: 32px; }
  .stat__value, .stat__value--sm { font-size: 56px; line-height: 56px; }
}

/* ---------- Bordered tile grid (segments, frameworks) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tile__kicker { font: 600 12px/16px var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--body); }
@media (max-width: 1023px) {
  .tiles, .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { padding: 28px; }
}
@media (max-width: 599px) {
  .tiles, .tiles--4 { grid-template-columns: 1fr; }
  .tile { padding: 24px; }
}

/* ---------- Numbered step / feature cards ---------- */
.num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex: none; border-radius: 999px; background: var(--line); font: 600 12px/16px var(--sans); color: var(--ink); }
.step { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.step__head { display: flex; align-items: center; gap: 10px; font: 600 16px/24px var(--sans); color: var(--ink); }
.step__note { font-size: 14px; line-height: 20px; color: var(--body); }

/* ---------- Product UI mocks ---------- */
.panel { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); font-family: var(--sans); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel__title { font: 600 11px/16px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ui-muted); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border: 1px solid var(--ui-line); border-radius: 9999px; background: var(--ui-bg); font: 600 12px/16px var(--sans); color: var(--ui-muted); white-space: nowrap; }
.badge--ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-fg); }
.badge--bad { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad-fg); }
.badge--ok.badge--icon::before {
  content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.25'/%3E%3Cpath d='M5.5 8.2l1.7 1.7 3.3-3.6'/%3E%3C/svg%3E") center / 16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.25'/%3E%3Cpath d='M5.5 8.2l1.7 1.7 3.3-3.6'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.kv { display: flex; flex-direction: column; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; line-height: 20px; }
.kv > div + div { border-top: 1px solid var(--ui-line); }
.kv dt { color: var(--ui-muted); }
.kv dd { font-weight: 500; color: var(--ui-text); text-align: right; }
.policy { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--info-line); border-radius: 10px; background: var(--info-bg); color: var(--info-fg); font-size: 14px; line-height: 20px; }
.policy::before {
  content: ""; width: 16px; height: 16px; margin-top: 2px; flex: none; background: var(--info-solid);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.25'/%3E%3Cpath d='M8 7.25v3.5M8 5.25v.01'/%3E%3C/svg%3E") center / 16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.25'/%3E%3Cpath d='M8 7.25v3.5M8 5.25v.01'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.policy strong { display: block; font-weight: 500; }
/* Matched policy: turquoise card, as in the Aira app. */
.policy--ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ui-text); }
.policy--ok::before { background: var(--ok-solid); -webkit-mask: none; mask: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; box-shadow: 0 0 0 4px var(--ok-line); }
.policy--ok strong { margin-bottom: 4px; font: 600 12px/16px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ok-fg); }
.policy--ok .badge { display: flex; width: fit-content; margin-top: 8px; background: var(--white); }
.criteria { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.criteria > li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; }
.criteria > li:first-child { padding-top: 0; }
.criteria > li + li { border-top: 1px solid var(--ui-line); }
.criterion__label { display: flex; align-items: center; gap: 8px; min-height: 24px; font-size: 14px; line-height: 20px; color: var(--ui-text); }
.criterion__label::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 6px; box-shadow: 0 1px 2px rgba(42, 50, 66, 0.06);
  background: var(--pulse) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.2l3 3 6-6.4'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.criterion__label--open::before { background: transparent; border: 1px solid var(--ui-muted); box-shadow: none; }
.criterion__detail { padding-left: 24px; font-size: 12px; line-height: 16px; color: var(--ui-muted); }
.criterion__evidence { padding-left: 24px; font: 500 12px/16px var(--sans); color: var(--ok-fg); }
.doc { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 14px; background: var(--cream); }
.doc__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.doc__name { font: 600 14px/20px var(--sans); color: var(--ink); }
.doc__meta { font-size: 12px; line-height: 16px; color: var(--body); }
.doc__why { font: 500 12px/16px var(--sans); color: var(--body); }
.doc__why--in { color: var(--include); }
.toggle { width: 44px; height: 24px; flex: none; border-radius: 9999px; background: var(--muted); padding: 2px; display: flex; justify-content: flex-start; }
.toggle::after { content: ""; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(42, 50, 66, 0.06); }
.toggle--on { background: var(--ok-solid); justify-content: flex-end; }
.skeleton { display: flex; flex-direction: column; gap: 8px; }
.skeleton span { display: block; height: 12px; border-radius: 8px; background: var(--ui-line); }
.skeleton span:first-child { height: 16px; width: 140px; }
.skeleton span:nth-child(2) { width: 224px; }
.skeleton span:nth-child(3) { width: 184px; }

/* Audit trail mock */
.audit { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.audit__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 600 16px/24px var(--sans); color: var(--ink); }
.audit__events { list-style: none; margin: 0; padding: 0; }
.audit__events li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.audit__time { width: 56px; flex: none; font: 500 12px/16px var(--sans); color: var(--accent); }
.audit__what { flex: 1; font: 500 14px/20px var(--sans); color: var(--ink); }
.audit__who { font-size: 12px; line-height: 16px; color: var(--body); white-space: nowrap; }
.audit__foot { font-size: 12px; line-height: 16px; color: var(--body); }

/* ---------- Testimonials ---------- */
.quote-feature { display: flex; flex-direction: column; gap: 32px; }
.quote-feature blockquote { font: 400 42px/48px var(--serif); letter-spacing: -0.01em; color: var(--ink); }
.quote-slides { display: grid; }
.quote-slides > figure { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 32px; transition: opacity .4s ease; }
.quote-slides > figure[hidden] { display: flex; visibility: hidden; opacity: 0; }
.who { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; flex: none; border-radius: 999px; background: var(--line); display: inline-flex; align-items: center; justify-content: center; font: 600 14px/20px var(--sans); color: var(--ink); }
.avatar--sm { width: 40px; height: 40px; font-size: 13px; }
.who__name { display: block; font: 600 16px/24px var(--sans); color: var(--ink); }
.who__role { display: block; font-size: 14px; line-height: 20px; color: var(--body); }
.pager { display: flex; gap: 6px; }
.pager button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--line); transition: width .25s ease, background-color .25s ease; }
.pager button[aria-current="true"] { width: 24px; background: var(--ink); }
.pager button::before { content: ""; display: block; margin: -12px -4px; height: 32px; }
@media (max-width: 1023px) { .quote-feature blockquote { font-size: 32px; line-height: 40px; } }
@media (max-width: 599px) { .quote-feature blockquote { font-size: 24px; line-height: 32px; } }

.quote-card { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 32px; }
.quote-card blockquote { font: 400 22px/30px var(--serif); color: var(--ink); }
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 599px) { .quote-grid { grid-template-columns: 1fr; } .quote-card { padding: 24px; } }

/* ---------- Case study cards ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
.case-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-card { display: flex; flex-direction: column; gap: 16px; padding: 32px; transition: border-color .2s ease, box-shadow .2s ease; }
.case-card:hover { border-color: #d8ceba; box-shadow: var(--shadow-float); }
.case-card__logo { height: 40px; width: 140px; object-fit: contain; object-position: left center; }
.case-card__org { font: 600 12px/16px var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--body); }
.case-card__metric { font: 600 14px/20px var(--sans); color: var(--accent); }
.case-card__link { margin-top: auto; font: 600 14px/20px var(--sans); color: var(--ink); }
.case-card:hover .case-card__link { color: var(--accent); }
@media (max-width: 1023px) { .case-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .case-grid, .case-grid--3 { grid-template-columns: 1fr; } .case-card { padding: 24px; } }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.post-card { display: flex; flex-direction: column; gap: 16px; }
.post-card__cover { aspect-ratio: 400 / 220; border-radius: 20px; overflow: hidden; }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card__cover { background: var(--mint); }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 16px; color: var(--body); }
.post-card__excerpt { color: var(--body); }
.post-card:hover .h4 { color: var(--accent); }
@media (max-width: 1023px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .post-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: var(--split); align-items: start; }
.faq__head { display: flex; flex-direction: column; gap: var(--head-gap); }
.faq__items { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; list-style: none; cursor: pointer;
  font: 500 16px/24px var(--sans); color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; width: 16px; height: 16px; flex: none; background: var(--ui-text); transition: transform .2s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") center / 16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__answer { padding: 0 32px 20px 0; margin-top: -8px; color: var(--body); }
.faq__answer p + p { margin-top: 12px; }
@media (max-width: 1023px) { .faq { grid-template-columns: 1fr; gap: var(--stack); } }
@media (max-width: 599px) { .faq__answer { padding-right: 0; } }

/* ---------- CTA: email form card ---------- */
.cta { padding-block: 96px; }
.cta-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 40px; padding: 64px; border-radius: 32px; background: var(--print-blue); }
.cta-card__copy { display: flex; flex-direction: column; gap: 16px; }
.cta-card .h2 { color: var(--white); }
.cta-card .lead { color: var(--muted); }
.cta-card > .btn { justify-self: end; }
@media (max-width: 1023px) {
  .cta { padding-block: 72px; }
  .cta-card { grid-template-columns: minmax(0, 1fr); padding: 48px; gap: 32px; border-radius: 28px; }
  .cta-card > .btn { justify-self: start; }
}
@media (max-width: 599px) {
  .cta { padding-block: 48px; }
  .cta-card { padding: 32px 24px; border-radius: 24px; }
}

/* ---------- CTA: video band ---------- */
.cta-video { padding: 96px 24px; }
.cta-video .media-card { min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 96px; border-radius: 32px; text-align: center; }
.cta-video .lead { max-width: 640px; color: var(--muted); }
@media (max-width: 1023px) { .cta-video { padding: 72px 16px; } .cta-video .media-card { min-height: 460px; padding: 48px; } }
@media (max-width: 599px) { .cta-video { padding: 48px 8px; } .cta-video .media-card { min-height: 440px; padding: 24px; border-radius: 20px; } }

/* ---------- Page header (dark rounded band) ---------- */
.page-header { padding: 8px 24px 0; }
.page-header__card { border-radius: var(--radius-media); background: var(--print-blue); color: var(--muted); padding: 120px var(--gutter); }
.page-header__card .container { padding-inline: 0; }
@media (max-width: 1023px) { .page-header { padding-inline: 16px; } .page-header__card { padding-block: 88px; } }
@media (max-width: 599px) { .page-header { padding-inline: 8px; } .page-header__card { padding: 64px 20px; border-radius: 20px; } }

/* ---------- Check list ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; color: var(--body); }
.checklist li::before {
  content: ""; width: 20px; height: 20px; margin-top: 2px; flex: none; border-radius: 999px;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231f8a7a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.on-dark .checklist li { color: #d4d4d4; }
.on-dark .checklist li::before { background-color: rgba(255, 255, 255, 0.08); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 500 14px/20px var(--sans); color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  font: 400 16px/24px var(--sans); color: var(--ink);
}
.field select { appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230a0a0a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") right 16px center / 16px no-repeat; text-overflow: ellipsis; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 111, 148, 0.2); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
