/*
 * marketing.css: marketing blocks of the OAIT Design System 2.1.0.
 *
 * Components: hero and compact page hero, trust strip, decoration kit (shapes, hand-drawn underline),
 * section header, feature card, stat tile and stat grid, steps row, CTA band (the inverse band) and
 * its glows, FAQ, and Pause control.
 *
 * Implements: canonical §10.27, §10.11, §10.18 (steps row), §10.23 (status dot), §10.25 (FAQ), §7.5,
 * §7.6, §9, §11 row 1; D-CSN-05, D-CSN-08, D-CSN-19, D-CSN-27, D-CSN-31, D-CSN-35, D-CSN-36, D-CSN-37,
 * D-SEM-07, D-SEM-12, D-SEM-17, D-SEM-19, D-BCP-17, D-BCP-37, D-LAY-07, D-LAY-08, D-ARC-07, D-ARC-20,
 * D-ARC-23, D-ARC-25, D-ARC-27, C-4, C-5, V-1.
 *
 * Composes (other units' blocks, used in markup only): .oa-panel (+ --hero, --feature, --inverse),
 * .oa-card, .oa-tile, .oa-accordion (c-containers); .oa-btn, .oa-dot-pill, .oa-link (c-actions);
 * .oa-field (c-inputs); .oa-status (+ --lg, --success, --pending; __dot) (c-feedback); .oa-eyebrow,
 * .oa-icon, .oa-visually-hidden, [data-motion="paused"] (base).
 *
 * Tokens read: --color-primary, --color-on-primary, --color-primary-ink, --color-inverse-primary,
 * --color-inverse-on-surface-variant, --color-on-surface, --color-on-surface-variant,
 * --color-outline-variant, --color-surface-container-low, --color-surface-container-lowest,
 * --color-pastel-peach, --color-pastel-lavender, --color-pastel-mint, --color-pastel-sand,
 * --color-secondary, --color-success, --color-success-container, --color-on-success-container,
 * --color-warning-container, --color-on-warning-container, --color-error-container,
 * --color-on-error-container; --text-hero-lg, --text-hero-md, --text-lead, --text-title-lg,
 * --text-title-sm, --text-body-lg, --text-body-md, --text-label-md, --text-numeral-lg (each with its
 * --line-height, --letter-spacing, and --font-weight companions), --font-weight-medium;
 * --space-1, -2, -3, -4, -6, -8, -10, -28, --space-card, --space-card-medium, --space-grid,
 * --space-section-head, --space-split, --space-split-expanded, --space-stack-group;
 * --container-reading, --container-measure; --size-tile-lg, --size-tile-md, --size-touch-target;
 * --radius-full, --radius-box, --radius-card; --opacity-decor, --opacity-decor-soft,
 * --opacity-state-hover, --opacity-state-pressed; --animate-rise, --animate-drift,
 * --animate-drift-slow; --duration-short-3, --ease-standard; --z-behind.
 * Context properties: --oa-state (set on :hover and :active of the Pause control; documentation
 * pages force it inline). Component-local: --oa-shape-size, --oa-shape-fill, --oa-shape-mask.
 *
 * Classes: .oa-hero (+ --compact; __text, __title, __accent, __lead, __actions, __form, __trust,
 * __trust--safety, __art, __stage), .oa-trust-strip (+ __item), .oa-shape (+ --circle, --squircle,
 * --blob, --clover, --cookie, --flower, --sunny, --peach, --lavender, --mint, --sand, --soft,
 * --turn-12, --turn-18, --drift, --drift-slow), .oa-underline, .oa-section-header (+ --center,
 * --action; __text, __title, __lead, __action, __status), .oa-feature-card,
 * .oa-stat (+ --success, --warning, --error; __label, __value, __note, __icon), .oa-stat-grid,
 * .oa-steps (+ __step, __disc, __num, __title, __body), .oa-cta-band (+ __glow, __glow--secondary,
 * __actions, __principles, __principle, __icon, __name, __desc), .oa-faq (+ __list), .oa-pause.
 *
 * Breakpoints are written as rem literals because custom properties do not work in media queries:
 * 40rem = --breakpoint-sm (640px), 64rem = --breakpoint-lg (1024px).
 */

/* ---------------------------------------------------------------------------------------------
 * Hero (canonical §10.27, §4.4, §4.5; D-CSN-35, D-LAY-08, C-5)
 * The surface is the tonal panel of panel.css, which also positions, isolates, and clips it for the
 * shapes: <section class="oa-panel oa-panel--hero oa-hero">. The compact page hero uses the
 * feature padding: <section class="oa-panel oa-panel--feature oa-hero oa-hero--compact">.
 * ------------------------------------------------------------------------------------------- */

.oa-hero {
  display: grid;
  align-items: center;
  gap: var(--space-split);
}

@media (min-width: 64rem) {
  .oa-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: var(--space-split-expanded);
  }
}

/* The compact page hero: one column, no art, a hero-md title (canonical §3.5 "long heroes"). */
.oa-hero--compact {
  display: block;
}

.oa-hero__text {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: var(--space-6);
  min-inline-size: 0;
  animation: var(--animate-rise);
}

.oa-hero--compact .oa-hero__text {
  max-inline-size: var(--container-reading);
}

.oa-hero__title {
  margin: 0;
  max-inline-size: 13em;
  font-size: var(--text-hero-lg);
  line-height: var(--text-hero-lg--line-height);
  letter-spacing: var(--text-hero-lg--letter-spacing);
  font-weight: var(--text-hero-lg--font-weight);
  text-wrap: balance;
}

.oa-hero--compact .oa-hero__title {
  font-size: var(--text-hero-md);
  line-height: var(--text-hero-md--line-height);
  letter-spacing: var(--text-hero-md--letter-spacing);
  font-weight: var(--text-hero-md--font-weight);
}

/* The second beat of a two-beat statement (D-BCP-17), on a line of its own so a long first beat
   never breaks around it; the box hugs the words, so the hand-drawn underline spans the beat. */
.oa-hero__accent {
  position: relative;
  display: block;
  inline-size: fit-content;
  max-inline-size: 100%;
  color: var(--color-primary-ink);
}

.oa-hero__lead {
  margin: 0;
  max-inline-size: 30em;
  font-size: var(--text-lead);
  line-height: var(--text-lead--line-height);
  letter-spacing: var(--text-lead--letter-spacing);
  font-weight: var(--text-lead--font-weight);
  color: var(--color-on-surface-variant);
  text-wrap: pretty;
}

/* CTA row: the page button pair of button.css (.oa-actions.oa-actions--page): filled lg first,
   then outlined lg, 12px apart; full width and stacked, the filled one on top, below 640px.
   The row sits 32px under the lead (24px gap + 8px). */
.oa-hero__actions {
  align-self: stretch;
  margin-block-start: var(--space-2);
}

/* Sign-up form in the action slot (Tamakkan): the field grows, the button sits at its end with the
   bottoms aligned; below 640px both are full width, the button under the field. */
.oa-hero__form {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: var(--space-3);
  margin-block-start: var(--space-2);
}

@media (min-width: 40rem) {
  .oa-hero__form {
    flex-direction: row;
    align-items: end;
  }

  .oa-hero__form > :first-child {
    flex: 1 1 auto;
    min-inline-size: 0;
  }
}

.oa-hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  font-size: var(--text-body-md);
  line-height: var(--text-body-md--line-height);
  letter-spacing: var(--text-body-md--letter-spacing);
  font-weight: var(--text-body-md--font-weight);
  color: var(--color-on-surface-variant);
}

.oa-hero__trust > .oa-icon {
  flex: none;
  color: var(--color-primary-ink);
}

/* Safety claims ("Free for job seekers", "Never pay to apply") take the success ink. */
.oa-hero__trust--safety > .oa-icon {
  color: var(--color-success);
}

/* The art column is the product slot, at most 480px (canonical §10.27). */
.oa-hero__art {
  position: relative;
  justify-self: center;
  inline-size: 100%;
  max-inline-size: 30rem; /* 480px, a component constant (canonical §10.27; container-art is a 1.1 token request) */
  min-inline-size: 0;
  animation: var(--animate-rise);
}

/* The entrance is a one-shot that ends within 5 seconds (canonical §7.5), so a pause never holds
   it: under a paused ancestor (a Pause region drawn around the whole hero, a page-wide pause) a
   column that has not finished rising shows its resting style at once instead of the first,
   invisible frame of oa-rise; pressing Play lets an unfinished entrance run again. */
[data-motion="paused"] :is(.oa-hero__text, .oa-hero__art) {
  animation-duration: 0s; /* lint-ok: a paused one-shot completes at once (canonical §7.4: the base style is the resting state) */
}

/* The motion region inside the art column: the product's art, the drifting shapes, and the Pause
   control. It sits inside the rising column, so pausing it never freezes the entrance. */
.oa-hero__stage {
  position: relative;
  aspect-ratio: 4 / 3;
}

.oa-hero__stage > .oa-pause {
  position: absolute;
  inset-block-end: 0;
  inset-inline-end: 0;
}

/* ---------------------------------------------------------------------------------------------
 * Trust strip (canonical §11 row 1): 3–4 items, a 20px icon and one line each.
 * ------------------------------------------------------------------------------------------- */

.oa-trust-strip {
  display: grid;
  gap: var(--space-3) var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .oa-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .oa-trust-strip {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }
}

.oa-trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-body-md);
  line-height: var(--text-body-md--line-height);
  letter-spacing: var(--text-body-md--letter-spacing);
  font-weight: var(--font-weight-medium);
  color: var(--color-on-surface-variant);
}

.oa-trust-strip__item > .oa-icon {
  flex: none;
  color: var(--color-primary-ink);
}

/* ---------------------------------------------------------------------------------------------
 * Decoration kit (canonical §9; D-BCP-37, D-SEM-07): pastel shapes behind content.
 * Size with --oa-shape-size (72–340px; a clamp() such as clamp(96px, 34%, 160px) lets a shape scale
 * with an art column); place with logical insets in the markup. Shapes stay square (aspect-ratio).
 * ------------------------------------------------------------------------------------------- */

.oa-shape {
  --oa-shape-size: 160px;
  position: absolute;
  z-index: var(--z-behind);
  display: block;
  inline-size: var(--oa-shape-size);
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  background-color: var(--oa-shape-fill, var(--color-pastel-peach));
  opacity: var(--opacity-decor);
  pointer-events: none;
}

.oa-shape--circle {
  border-radius: var(--radius-full);
}

.oa-shape--squircle {
  border-radius: 25%; /* the kit's squircle: a quarter of its size */
}

.oa-shape--blob {
  border-radius: 42% 58% 55% 45%; /* the kit's organic blob */
}

/* The four scalloped and lobed masks from assets/shapes/, embedded so the file works from any
   folder. Never below 32px (D-SEM-07). */
.oa-shape--clover,
.oa-shape--cookie,
.oa-shape--flower,
.oa-shape--sunny {
  border-radius: 0;
  -webkit-mask: var(--oa-shape-mask) center / contain no-repeat;
  mask: var(--oa-shape-mask) center / contain no-repeat;
}

.oa-shape--clover {
  --oa-shape-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M84.6 84.6 L83 86 L81.2 87.2 L79.2 88.1 L77.1 88.7 L74.9 89.1 L72.6 89.2 L70.3 89.1 L68.1 88.8 L65.9 88.3 L63.7 87.8 L61.7 87.1 L59.8 86.5 L57.9 85.8 L56.2 85.2 L54.6 84.7 L53 84.3 L51.5 84.1 L50 84 L48.5 84.1 L47 84.3 L45.4 84.7 L43.8 85.2 L42.1 85.8 L40.2 86.5 L38.3 87.1 L36.3 87.8 L34.1 88.3 L31.9 88.8 L29.7 89.1 L27.4 89.2 L25.1 89.1 L22.9 88.7 L20.8 88.1 L18.8 87.2 L17 86 L15.4 84.6 L14 83 L12.8 81.2 L11.9 79.2 L11.3 77.1 L10.9 74.9 L10.8 72.6 L10.9 70.3 L11.2 68.1 L11.7 65.9 L12.2 63.7 L12.9 61.7 L13.5 59.8 L14.2 57.9 L14.8 56.2 L15.3 54.6 L15.7 53 L15.9 51.5 L16 50 L15.9 48.5 L15.7 47 L15.3 45.4 L14.8 43.8 L14.2 42.1 L13.5 40.2 L12.9 38.3 L12.2 36.3 L11.7 34.1 L11.2 31.9 L10.9 29.7 L10.8 27.4 L10.9 25.1 L11.3 22.9 L11.9 20.8 L12.8 18.8 L14 17 L15.4 15.4 L17 14 L18.8 12.8 L20.8 11.9 L22.9 11.3 L25.1 10.9 L27.4 10.8 L29.7 10.9 L31.9 11.2 L34.1 11.7 L36.3 12.2 L38.3 12.9 L40.2 13.5 L42.1 14.2 L43.8 14.8 L45.4 15.3 L47 15.7 L48.5 15.9 L50 16 L51.5 15.9 L53 15.7 L54.6 15.3 L56.2 14.8 L57.9 14.2 L59.8 13.5 L61.7 12.9 L63.7 12.2 L65.9 11.7 L68.1 11.2 L70.3 10.9 L72.6 10.8 L74.9 10.9 L77.1 11.3 L79.2 11.9 L81.2 12.8 L83 14 L84.6 15.4 L86 17 L87.2 18.8 L88.1 20.8 L88.7 22.9 L89.1 25.1 L89.2 27.4 L89.1 29.7 L88.8 31.9 L88.3 34.1 L87.8 36.3 L87.1 38.3 L86.5 40.2 L85.8 42.1 L85.2 43.8 L84.7 45.4 L84.3 47 L84.1 48.5 L84 50 L84.1 51.5 L84.3 53 L84.7 54.6 L85.2 56.2 L85.8 57.9 L86.5 59.8 L87.1 61.7 L87.8 63.7 L88.3 65.9 L88.8 68.1 L89.1 70.3 L89.2 72.6 L89.1 74.9 L88.7 77.1 L88.1 79.2 L87.2 81.2 L86 83 Z'/%3E%3C/svg%3E");
}

.oa-shape--cookie {
  --oa-shape-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 1.4 L52.1 1.7 L54.1 2.6 L56.1 4 L57.8 5.7 L59.4 7.4 L61 9 L62.5 10.3 L64.2 11.1 L65.9 11.5 L67.9 11.5 L70.1 11.3 L72.5 11 L74.9 10.9 L77.3 11.1 L79.4 11.7 L81.2 12.8 L82.6 14.4 L83.6 16.4 L84.2 18.7 L84.5 21.1 L84.6 23.4 L84.8 25.6 L85.1 27.6 L85.9 29.3 L87 30.8 L88.5 32.1 L90.3 33.3 L92.3 34.6 L94.2 36.1 L95.9 37.7 L97.2 39.5 L97.9 41.6 L97.9 43.7 L97.4 45.9 L96.3 48 L95 50 L93.6 51.9 L92.3 53.7 L91.3 55.4 L90.8 57.2 L90.7 59 L91 61 L91.6 63.1 L92.3 65.4 L92.8 67.7 L93.1 70.1 L92.9 72.3 L92.1 74.3 L90.8 76 L88.9 77.3 L86.8 78.2 L84.5 78.9 L82.2 79.5 L80 80 L78.2 80.7 L76.6 81.7 L75.4 83.1 L74.4 84.8 L73.4 86.8 L72.5 89 L71.4 91.1 L70.1 93.1 L68.5 94.6 L66.6 95.7 L64.5 96.1 L62.3 95.9 L60 95.3 L57.8 94.3 L55.7 93.2 L53.7 92.3 L51.8 91.6 L50 91.4 L48.2 91.6 L46.3 92.3 L44.3 93.2 L42.2 94.3 L40 95.3 L37.7 95.9 L35.5 96.1 L33.4 95.7 L31.5 94.6 L29.9 93.1 L28.6 91.1 L27.5 89 L26.6 86.8 L25.6 84.8 L24.6 83.1 L23.4 81.7 L21.8 80.7 L20 80 L17.8 79.5 L15.5 78.9 L13.2 78.2 L11.1 77.3 L9.2 76 L7.9 74.3 L7.1 72.3 L6.9 70.1 L7.2 67.7 L7.7 65.4 L8.4 63.1 L9 61 L9.3 59 L9.2 57.2 L8.7 55.4 L7.7 53.7 L6.4 51.9 L5 50 L3.7 48 L2.6 45.9 L2.1 43.7 L2.1 41.6 L2.8 39.5 L4.1 37.7 L5.8 36.1 L7.7 34.6 L9.7 33.3 L11.5 32.1 L13 30.8 L14.1 29.3 L14.9 27.6 L15.2 25.6 L15.4 23.4 L15.5 21.1 L15.8 18.7 L16.4 16.4 L17.4 14.4 L18.8 12.8 L20.6 11.7 L22.7 11.1 L25.1 10.9 L27.5 11 L29.9 11.3 L32.1 11.5 L34.1 11.5 L35.8 11.1 L37.5 10.3 L39 9 L40.6 7.4 L42.2 5.7 L43.9 4 L45.9 2.6 L47.9 1.7 Z'/%3E%3C/svg%3E");
}

.oa-shape--flower {
  --oa-shape-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 1 L52.1 1.3 L54.2 2.1 L56.1 3.3 L57.9 4.9 L59.6 6.9 L61 8.9 L62.3 11.1 L63.4 13.1 L64.5 15 L65.6 16.6 L66.7 17.9 L68 18.8 L69.5 19.5 L71.1 19.8 L73.1 19.9 L75.2 19.9 L77.6 19.9 L80.1 19.9 L82.6 20.2 L85 20.6 L87.4 21.3 L89.4 22.4 L91.1 23.8 L92.4 25.5 L93.3 27.5 L93.6 29.7 L93.5 32 L93 34.4 L92.1 36.7 L91.1 39 L89.9 41.2 L88.7 43.2 L87.6 45.1 L86.7 46.8 L86.2 48.4 L86 50 L86.2 51.6 L86.7 53.2 L87.6 54.9 L88.7 56.8 L89.9 58.8 L91.1 61 L92.1 63.3 L93 65.6 L93.5 68 L93.6 70.3 L93.3 72.5 L92.4 74.5 L91.1 76.2 L89.4 77.6 L87.4 78.7 L85 79.4 L82.6 79.8 L80.1 80.1 L77.6 80.1 L75.2 80.1 L73.1 80.1 L71.1 80.2 L69.5 80.5 L68 81.2 L66.7 82.1 L65.6 83.4 L64.5 85 L63.4 86.9 L62.3 88.9 L61 91.1 L59.6 93.1 L57.9 95.1 L56.1 96.7 L54.2 97.9 L52.1 98.7 L50 99 L47.9 98.7 L45.8 97.9 L43.9 96.7 L42.1 95.1 L40.4 93.1 L39 91.1 L37.7 88.9 L36.6 86.9 L35.5 85 L34.4 83.4 L33.3 82.1 L32 81.2 L30.5 80.5 L28.9 80.2 L26.9 80.1 L24.8 80.1 L22.4 80.1 L19.9 80.1 L17.4 79.8 L15 79.4 L12.6 78.7 L10.6 77.6 L8.9 76.2 L7.6 74.5 L6.7 72.5 L6.4 70.3 L6.5 68 L7 65.6 L7.9 63.3 L8.9 61 L10.1 58.8 L11.3 56.8 L12.4 54.9 L13.3 53.2 L13.8 51.6 L14 50 L13.8 48.4 L13.3 46.8 L12.4 45.1 L11.3 43.2 L10.1 41.2 L8.9 39 L7.9 36.7 L7 34.4 L6.5 32 L6.4 29.7 L6.7 27.5 L7.6 25.5 L8.9 23.8 L10.6 22.4 L12.6 21.3 L15 20.6 L17.4 20.2 L19.9 19.9 L22.4 19.9 L24.8 19.9 L26.9 19.9 L28.9 19.8 L30.5 19.5 L32 18.8 L33.3 17.9 L34.4 16.6 L35.5 15 L36.6 13.1 L37.7 11.1 L39 8.9 L40.4 6.9 L42.1 4.9 L43.9 3.3 L45.8 2.1 L47.9 1.3 Z'/%3E%3C/svg%3E");
}

.oa-shape--sunny {
  --oa-shape-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M98.4 50 L98.2 51.6 L97.6 53.1 L96.7 54.6 L95.6 56 L94.5 57.3 L93.5 58.6 L92.6 59.9 L92.1 61.3 L91.9 62.7 L92 64.2 L92.2 65.9 L92.5 67.6 L92.7 69.4 L92.8 71.1 L92.5 72.7 L91.9 74.2 L90.9 75.5 L89.7 76.5 L88.1 77.3 L86.5 78 L84.8 78.6 L83.3 79.2 L82 79.9 L80.8 80.8 L79.9 82 L79.2 83.3 L78.6 84.8 L78 86.5 L77.3 88.1 L76.5 89.7 L75.5 90.9 L74.2 91.9 L72.7 92.5 L71.1 92.8 L69.4 92.7 L67.6 92.5 L65.9 92.2 L64.2 92 L62.7 91.9 L61.3 92.1 L59.9 92.6 L58.6 93.5 L57.3 94.5 L56 95.6 L54.6 96.7 L53.1 97.6 L51.6 98.2 L50 98.4 L48.4 98.2 L46.9 97.6 L45.4 96.7 L44 95.6 L42.7 94.5 L41.4 93.5 L40.1 92.6 L38.7 92.1 L37.3 91.9 L35.8 92 L34.1 92.2 L32.4 92.5 L30.6 92.7 L28.9 92.8 L27.3 92.5 L25.8 91.9 L24.5 90.9 L23.5 89.7 L22.7 88.1 L22 86.5 L21.4 84.8 L20.8 83.3 L20.1 82 L19.2 80.8 L18 79.9 L16.7 79.2 L15.2 78.6 L13.5 78 L11.9 77.3 L10.3 76.5 L9.1 75.5 L8.1 74.2 L7.5 72.7 L7.2 71.1 L7.3 69.4 L7.5 67.6 L7.8 65.9 L8 64.2 L8.1 62.7 L7.9 61.3 L7.4 59.9 L6.5 58.6 L5.5 57.3 L4.4 56 L3.3 54.6 L2.4 53.1 L1.8 51.6 L1.6 50 L1.8 48.4 L2.4 46.9 L3.3 45.4 L4.4 44 L5.5 42.7 L6.5 41.4 L7.4 40.1 L7.9 38.7 L8.1 37.3 L8 35.8 L7.8 34.1 L7.5 32.4 L7.3 30.6 L7.2 28.9 L7.5 27.3 L8.1 25.8 L9.1 24.5 L10.3 23.5 L11.9 22.7 L13.5 22 L15.2 21.4 L16.7 20.8 L18 20.1 L19.2 19.2 L20.1 18 L20.8 16.7 L21.4 15.2 L22 13.5 L22.7 11.9 L23.5 10.3 L24.5 9.1 L25.8 8.1 L27.3 7.5 L28.9 7.2 L30.6 7.3 L32.4 7.5 L34.1 7.8 L35.8 8 L37.3 8.1 L38.7 7.9 L40.1 7.4 L41.4 6.5 L42.7 5.5 L44 4.4 L45.4 3.3 L46.9 2.4 L48.4 1.8 L50 1.6 L51.6 1.8 L53.1 2.4 L54.6 3.3 L56 4.4 L57.3 5.5 L58.6 6.5 L59.9 7.4 L61.3 7.9 L62.7 8.1 L64.2 8 L65.9 7.8 L67.6 7.5 L69.4 7.3 L71.1 7.2 L72.7 7.5 L74.2 8.1 L75.5 9.1 L76.5 10.3 L77.3 11.9 L78 13.5 L78.6 15.2 L79.2 16.7 L79.9 18 L80.8 19.2 L82 20.1 L83.3 20.8 L84.8 21.4 L86.5 22 L88.1 22.7 L89.7 23.5 L90.9 24.5 L91.9 25.8 L92.5 27.3 L92.8 28.9 L92.7 30.6 L92.5 32.4 L92.2 34.1 L92 35.8 L91.9 37.3 L92.1 38.7 L92.6 40.1 L93.5 41.4 L94.5 42.7 L95.6 44 L96.7 45.4 L97.6 46.9 L98.2 48.4 Z'/%3E%3C/svg%3E");
}

.oa-shape--peach {
  --oa-shape-fill: var(--color-pastel-peach);
}

.oa-shape--lavender {
  --oa-shape-fill: var(--color-pastel-lavender);
}

.oa-shape--mint {
  --oa-shape-fill: var(--color-pastel-mint);
}

.oa-shape--sand {
  --oa-shape-fill: var(--color-pastel-sand);
}

/* Shapes of 224px and more: --opacity-decor-soft (0.7). */
.oa-shape--soft {
  opacity: var(--opacity-decor-soft);
}

/* Rotation 0°, 12°, or 18° only. The rotate property composes with the drift keyframes. */
.oa-shape--turn-12 {
  rotate: 12deg;
}

.oa-shape--turn-18 {
  rotate: 18deg;
}

/* At most two drifting shapes per hero, inside the region of its Pause control (D-SEM-17). */
.oa-shape--drift {
  animation: var(--animate-drift);
}

.oa-shape--drift-slow {
  animation: var(--animate-drift-slow);
}

/* ---------------------------------------------------------------------------------------------
 * Hand-drawn underline (canonical §9): one per page, under the hero's accent beat.
 * ------------------------------------------------------------------------------------------- */

.oa-underline {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: -0.2em;
  inline-size: 100%;
  block-size: 0.16em;
  overflow: visible;
  color: var(--color-primary);
  pointer-events: none;
}

/* Arabic lines are taller (line-height 1.45), so the stroke moves up to keep it under the words. */
.oa-underline:lang(ar) {
  inset-block-end: 0.04em;
}

[dir="rtl"] .oa-underline {
  transform: scaleX(-1);
}

/* ---------------------------------------------------------------------------------------------
 * Section header (canonical §10.27; D-CSN-36, D-ARC-27): eyebrow → 12px → h2 → 16px → lead.
 * ------------------------------------------------------------------------------------------- */

.oa-section-header,
.oa-section-header__text {
  display: flex;
  flex-direction: column;
  align-items: start;
  max-inline-size: var(--container-reading);
}

.oa-section-header .oa-eyebrow {
  margin-block: 0 var(--space-3);
}

.oa-section-header__title {
  margin: 0;
  font-size: var(--text-hero-md);
  line-height: var(--text-hero-md--line-height);
  letter-spacing: var(--text-hero-md--letter-spacing);
  font-weight: var(--text-hero-md--font-weight);
  text-wrap: balance;
}

.oa-section-header__lead {
  margin-block: var(--space-4) 0;
  max-inline-size: var(--container-measure);
  font-size: var(--text-lead);
  line-height: var(--text-lead--line-height);
  letter-spacing: var(--text-lead--letter-spacing);
  font-weight: var(--text-lead--font-weight);
  color: var(--color-on-surface-variant);
  text-wrap: pretty;
}

/* Centered: short intros and the closing statement. */
.oa-section-header--center {
  align-items: center;
  margin-inline: auto;
  text-align: center;
}

/* Trailing action: the text block at the start, a standalone link at the end, bottom-aligned. */
.oa-section-header--action {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  max-inline-size: none;
}

.oa-section-header__action {
  flex: none;
}

/* The status variant: an .oa-status.oa-status--lg element (feedback.css draws the 12px dot and its
   5px halo) inside the h2, before its words; this rule only places it in the line. The words carry
   the status; the dot is decorative and static (--success, --pending; never --live, which pulses). */
.oa-section-header__status {
  display: inline-flex;
  vertical-align: middle;
  margin-inline-end: var(--space-3);
}

.oa-section-header__status > .oa-status__dot {
  margin-block-start: 0;
}

/* ---------------------------------------------------------------------------------------------
 * Feature card (canonical §10.10; D-CSN-05, D-ARC-20): an outlined card (.oa-card) holding a
 * 56px pastel tile (.oa-tile --lg), a title, a body, an optional meta line, and an optional link,
 * in one column at every width. The list of cards is a ul.oa-grid: base.css drops its bullets and
 * indent (the markup keeps role="list").
 * ------------------------------------------------------------------------------------------- */

/* The card's own column does the rest: blocks 16px apart, title and body 8px apart (card.css).
   Items keep their own width, so the link's ring hugs the link. */
.oa-feature-card {
  align-items: start;
}

/* Tile to title: 16px, 20px from 640px (D-CSN-05). */
@media (min-width: 40rem) {
  .oa-feature-card > .oa-tile {
    margin-block-end: var(--space-1);
  }
}

/* The meta line's lead word ("For") is emphasized in the title's ink, as oait draws it. */
.oa-feature-card > .oa-card__meta > strong {
  color: var(--color-on-surface);
}

/* The optional link sits at the foot of the card, so links line up across a grid row. */
.oa-feature-card > .oa-link {
  margin-block-start: auto;
}

/* ---------------------------------------------------------------------------------------------
 * Stat tile (canonical §10.27; D-CSN-37, D-ARC-20, D-ARC-25): a filled card holding one
 * <dt>/<dd> group of a <dl class="oa-stat-grid">.
 * ------------------------------------------------------------------------------------------- */

.oa-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-grid);
  margin: 0;
}

@media (min-width: 40rem) {
  .oa-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* From 1024px one column per tile, five at most. */
@media (min-width: 64rem) {
  .oa-stat-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }
}

.oa-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-block-size: var(--space-28); /* min-h-28: 112px */
  min-inline-size: 0;
  padding: var(--space-card);
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  background-color: var(--color-surface-container-low);
  color: var(--color-on-surface);
  container-type: inline-size; /* the value's numeral shrinks to the tile, never wraps (below) */
}

@media (min-width: 40rem) {
  .oa-stat {
    padding: var(--space-card-medium);
  }
}

/* Label above the value; the optional 24px icon sits at the inline end of the label row. */
.oa-stat__label {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-2);
  margin: 0;
  font-size: var(--text-body-md);
  line-height: var(--text-body-md--line-height);
  letter-spacing: var(--text-body-md--letter-spacing);
  font-weight: var(--font-weight-medium);
  color: var(--color-on-surface-variant);
}

.oa-stat__icon {
  flex: none;
  margin-block: -2px; /* the 24px icon keeps the 20px label line, so values align across a row */
  color: var(--color-on-surface-variant);
}

/* The numeral is numeral-lg (40px) and never wraps; in a tile narrower than its number (a two-column
   grid at 320px) it shrinks to 38% of the tile's content width, so "1,016" stays on one line at
   about 36px and is 40px again from 360px. A value of six characters or more uses numeral-md or a
   short form ("12k"). */
.oa-stat__value {
  margin: 0;
  font-size: var(--text-numeral-lg);
  font-size: min(var(--text-numeral-lg), 38cqi);
  line-height: var(--text-numeral-lg--line-height);
  letter-spacing: var(--text-numeral-lg--letter-spacing);
  font-weight: var(--text-numeral-lg--font-weight);
  font-variant-numeric: tabular-nums;
  white-space: nowrap; /* a number never breaks inside itself ("1,01" then "6") */
}

.oa-stat__note {
  margin: 0;
  font-size: var(--text-body-md);
  line-height: var(--text-body-md--line-height);
  letter-spacing: var(--text-body-md--letter-spacing);
  font-weight: var(--text-body-md--font-weight);
  color: var(--color-on-surface-variant);
}

/* Tonal only when the number is itself a status; always with a status icon and its word. */
.oa-stat--success {
  background-color: var(--color-success-container);
  color: var(--color-on-success-container);
}

.oa-stat--warning {
  background-color: var(--color-warning-container);
  color: var(--color-on-warning-container);
}

.oa-stat--error {
  background-color: var(--color-error-container);
  color: var(--color-on-error-container);
}

:is(.oa-stat--success, .oa-stat--warning, .oa-stat--error) :is(.oa-stat__label, .oa-stat__icon, .oa-stat__note) {
  color: inherit;
}

/* ---------------------------------------------------------------------------------------------
 * Steps row (canonical §10.18; D-CSN-19, D-ARC-20): an <ol> of 3–4 bare steps. Stacked 32px apart
 * with a connector down the disc column below 1024px; 3–4 columns with a connector across from
 * 1024px.
 * ------------------------------------------------------------------------------------------- */

.oa-steps {
  display: grid;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}

.oa-steps__step {
  position: relative;
  display: grid;
  grid-template-columns: var(--size-tile-lg) minmax(0, 1fr);
  align-items: start;
  column-gap: var(--space-4);
}

.oa-steps__disc {
  grid-column: 1;
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  inline-size: var(--size-tile-lg);
  block-size: var(--size-tile-lg);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

.oa-steps__num,
.oa-steps__title,
.oa-steps__body {
  grid-column: 2;
}

.oa-steps__num {
  font-size: var(--text-label-md);
  line-height: var(--text-label-md--line-height);
  letter-spacing: var(--text-label-md--letter-spacing);
  font-weight: var(--text-label-md--font-weight);
  font-variant-numeric: tabular-nums;
  color: var(--color-primary-ink);
}

.oa-steps__title {
  margin: var(--space-1) 0 0;
  font-size: var(--text-title-lg);
  line-height: var(--text-title-lg--line-height);
  letter-spacing: var(--text-title-lg--letter-spacing);
  font-weight: var(--text-title-lg--font-weight);
  text-wrap: balance;
}

.oa-steps__body {
  margin: var(--space-2) 0 0;
  max-inline-size: 36ch;
  font-size: var(--text-body-lg);
  line-height: var(--text-body-lg--line-height);
  letter-spacing: var(--text-body-lg--letter-spacing);
  font-weight: var(--text-body-lg--font-weight);
  color: var(--color-on-surface-variant);
  text-wrap: pretty;
}

/* The connector: 2px outline-variant, from 8px below one disc to 8px above the next. */
.oa-steps__step:not(:last-child)::before {
  content: "";
  position: absolute;
  inset-inline-start: calc(var(--size-tile-lg) / 2 - 1px);
  inset-block-start: calc(var(--size-tile-lg) + var(--space-2));
  inset-block-end: calc(var(--space-2) - var(--space-8));
  inline-size: 2px; /* connector thickness, a component constant (canonical §10.18) */
  border-radius: var(--radius-full);
  background-color: var(--color-outline-variant);
}

@media (min-width: 64rem) {
  .oa-steps {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }

  .oa-steps__step {
    grid-template-columns: minmax(0, 1fr);
  }

  .oa-steps__disc {
    grid-row: auto;
  }

  .oa-steps__num,
  .oa-steps__title,
  .oa-steps__body {
    grid-column: 1;
  }

  .oa-steps__num {
    margin-block-start: var(--space-4);
  }

  /* Across, at the discs' center: from 16px after one disc to 16px before the next. */
  .oa-steps__step:not(:last-child)::before {
    inset-block: calc(var(--size-tile-lg) / 2 - 1px) auto;
    inset-inline: calc(var(--size-tile-lg) + var(--space-4)) calc(var(--space-4) - var(--space-8));
    inline-size: auto;
    block-size: 2px;
  }
}

/* ---------------------------------------------------------------------------------------------
 * CTA band (canonical §10.27 "Inverse band", §10.11; D-CSN-08, D-ARC-07, V-1): the page's one
 * inverse panel: <section class="oa-panel oa-panel--inverse oa-panel--feature oa-cta-band">.
 * Everything inside writes the inverse roles explicitly; there is no subtree theme.
 * ------------------------------------------------------------------------------------------- */

/* The surface, the ring, and the link color come from .oa-panel--inverse (panel.css), which also
   positions, isolates, and clips the band for its glows. */
.oa-cta-band {
  display: flex;
  flex-direction: column;
  align-items: start;
}

/* Glows (canonical §9, D-SEM-12, D-BCP-37): two blurred discs behind the band's content, aria-hidden
   and clipped by the panel; 1.0.0 has no glow token, so the hue at 20% through color-mix and
   blur(64px) are documented art constants. Placed in the corners, away from the start-aligned text;
   where a disc still reaches text on a phone, the text keeps 4.5:1 (5.68:1 at the worst, computed). */
.oa-cta-band__glow {
  position: absolute;
  inset-block-start: -12rem; /* lint-ok: art constant, the disc's offset outside the panel (oait.app's top glow) */
  inset-inline-end: -8rem; /* lint-ok: art constant (oait.app's top glow) */
  z-index: var(--z-behind);
  inline-size: 28rem; /* lint-ok: art constant, a 448px disc (oait.app's top glow) */
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  background-color: color-mix(in srgb, var(--color-primary) 20%, transparent); /* lint-ok: the glow recipe, the hue at 20% (canonical §9; opacity-glow is a 1.1 request) */
  filter: blur(64px); /* lint-ok: art constant, Tailwind blur-3xl (blur-glow is a 1.1 request) */
  pointer-events: none;
}

.oa-cta-band__glow--secondary {
  inset-block: auto -12rem; /* lint-ok: art constant (oait.app's bottom glow) */
  inset-inline: -8rem auto; /* lint-ok: art constant (oait.app's bottom glow) */
  inline-size: 26rem; /* lint-ok: art constant, a 416px disc (oait.app's bottom glow) */
  background-color: color-mix(in srgb, var(--color-secondary) 20%, transparent); /* lint-ok: the glow recipe, the hue at 20% (canonical §9) */
}

/* base.css draws .oa-eyebrow in the panel's --oa-link (inverse-primary here); the band states it,
   so its eyebrow never falls back to primary-ink (1.85:1 on the band). */
.oa-cta-band .oa-eyebrow {
  color: var(--color-inverse-primary);
}

.oa-cta-band .oa-section-header__lead {
  color: var(--color-inverse-on-surface-variant);
}

/* The action row is the page button pair of button.css (.oa-actions.oa-actions--page): at most one
   filled button and a text link, 32px under the header. */
.oa-cta-band__actions {
  align-self: stretch;
  margin-block-start: var(--space-stack-group);
}

.oa-cta-band__principles {
  display: grid;
  gap: var(--space-8) var(--space-10);
  align-self: stretch;
  margin: var(--space-section-head) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .oa-cta-band__principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .oa-cta-band__principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.oa-cta-band__principle {
  display: flex;
  align-items: start;
  gap: var(--space-4);
}

/* A 48px tile drawn with a hairline in inverse-on-surface-variant (V-1), icon in inverse-primary. */
.oa-cta-band__icon {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: var(--size-tile-md);
  block-size: var(--size-tile-md);
  border: 1px solid var(--color-inverse-on-surface-variant);
  border-radius: var(--radius-box);
  color: var(--color-inverse-primary);
}

.oa-cta-band__name {
  margin: 0;
  font-size: var(--text-title-sm);
  line-height: var(--text-title-sm--line-height);
  letter-spacing: var(--text-title-sm--letter-spacing);
  font-weight: var(--text-title-sm--font-weight);
}

.oa-cta-band__desc {
  margin: var(--space-1) 0 0;
  font-size: var(--text-body-md);
  line-height: var(--text-body-md--line-height);
  letter-spacing: var(--text-body-md--letter-spacing);
  font-weight: var(--text-body-md--font-weight);
  color: var(--color-inverse-on-surface-variant);
  text-wrap: pretty;
}

/* ---------------------------------------------------------------------------------------------
 * FAQ (canonical §10.25, §11 row 1; D-CSN-31): a section header with an h2, then up to six
 * <details> rows of the accordion (.oa-accordion), 48px below.
 * ------------------------------------------------------------------------------------------- */

.oa-faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-section-head);
}

.oa-faq__list {
  inline-size: 100%;
  max-inline-size: var(--container-reading);
}

/* ---------------------------------------------------------------------------------------------
 * Pause control (canonical §7.5, §10.2; D-SEM-17, C-4): the 48px outlined icon button that pauses
 * every loop in its region by setting data-motion="paused" on it. Hidden under reduced motion.
 * ------------------------------------------------------------------------------------------- */

.oa-pause {
  --oa-state: 0; /* never inherit a layer from a pressed or hovered container around it */
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  flex: none;
  inline-size: var(--size-touch-target);
  block-size: var(--size-touch-target);
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-full);
  background-color: var(--color-surface-container-lowest);
  color: var(--color-on-surface-variant);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* The layer covers the border box (inset -1px over the 1px hairline), so hover shows no lighter rim. */
.oa-pause::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: var(--z-behind);
  border-radius: inherit;
  background: currentColor;
  opacity: var(--oa-state, 0);
  pointer-events: none;
  transition: opacity var(--duration-short-3) var(--ease-standard);
}

@media (hover: hover) {
  .oa-pause:hover {
    --oa-state: var(--opacity-state-hover);
  }
}

.oa-pause:active {
  --oa-state: var(--opacity-state-pressed);
}

/* Press shows at once; release fades over short-3 (canonical §7.2). */
.oa-pause:active::before {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .oa-pause {
    display: none;
  }
}

/* ---------------------------------------------------------------------------------------------
 * Print: decoration and motion controls never print (canonical §9).
 * ------------------------------------------------------------------------------------------- */

@media print {
  .oa-shape,
  .oa-cta-band__glow,
  .oa-pause {
    display: none;
  }
}
