/* ============================================================================
   Kudosoft — theme-style.css
   Single consolidated stylesheet built from the 13 per-page CSS files.
   ============================================================================ */

/*  Cascade order:
      1.  Shared base              — styles.css (used by every page)
      2..12. One section per page  — that page's own component layer
      13. Legacy token reference   — Kudosoft-ui-tokens.css (unused, kept for reference)

    No declaration was re-typed: every rule body is byte-identical to its source.
    Rules keep their original position within their page section, so for each page
    the cascade is exactly styles.css followed by that page's own file.

    The page layers were already namespaced, so concatenating them is safe. Four
    selectors were shared between page files and needed care; each was scoped, in
    place, to the page body class that declared it:

      .section-note                    (agents 18px vs orchestration 20px — genuinely different)
      .section-note::before            (agents has `flex: none`, orchestration does not)
      .nav__panel-item[aria-current="page"]   (identical in 6 files)
      .menu__group a[aria-current="page"]     (identical in 5 files)

    Those additions raise specificity by one class. Nothing else targets these
    selectors, so the winning declaration is unchanged on every page.

    Finally, the unused tokens file declared a global `*, *::before, *::after`
    reduced-motion rule. It is scoped to `.el-page` (no page uses it) so that
    including the file cannot affect the live site.

    Page body classes: .nr-page .rs-page .ag-page .ao-page .apd-page .pe-page
                       .ent-page .saas-page   (index/about/careers/contact use <body>)
   ------------------------------------------------------------------------- */
/* ============================================================================
   1. SHARED BASE — styles.css
   Tokens, reset, nav, footer, home-page components. Used by all 12 pages.
   ============================================================================ */

/* ==========================================================================
   Kudosoft — Home page
   Layout: Anthropic / Think Company / Base Power / Mistral references
   Type + palette: Anthropic skin
   ========================================================================== */

:root {
  --page: #FAF9F5;
  --cream: #F5F4ED;
  --cream-deep: #E8E6DC;
  --paper: #FAF9F5;
  --ink: #141413;
  --ink-soft: #3D3D3A;
  --gray: #73726C;
  --gray-3: #87867F;
  --line: #DEDCD1;
  --ring: #DEDCD1;
  --ring-strong: #D1CFC5;
  --footer: #141413;
  --footer-text: #FAF9F5;
  --footer-muted: #B0AEA5;
  --clay: #7c9e6b;
  --clay-deep: #658655;
  --olive: #788C5D;
  --sky: #6A9BCC;
  --oat: #E3DACC;
  --cactus: #BCD1CA;
  --coral: #EBCECE;
  --iris: #DFDBFD;
  --hover-ink: #30302E;
  --hover-paper: #F0EEE6;

  --font-display: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Sans", ui-monospace, ui-sans-serif, system-ui, monospace;

  --outer: 20px;
  --nav-h: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (min-width: 640px) {
  :root { --outer: 40px; }
}

@media (min-width: 1280px) {
  :root { --outer: 64px; --nav-h: 80px; }
}

/* Reset ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.529;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--clay); color: var(--page); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex: none; }
.icon--chevron { width: 10px; height: 10px; }
.icon--flip { transform: rotate(180deg); }
.icon--mark { width: 16px; height: 16px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--page);
  font-size: 14px;
  text-decoration: none;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform .15s ease;
}
.skip-link:focus { transform: none; }

/* Layout ----------------------------------------------------------------- */

.container {
  width: min(calc(100% - 2 * var(--outer)), calc(1306px - 2 * var(--outer)));
  margin-inline: auto;
}

.rail {
  width: min(calc(100vw - 2 * var(--outer) - 24px), 1154px);
  margin-inline: auto;
}

.section { padding-block: 120px 24px; }

main > section + section { border-top: 1px solid var(--line); }
main > section:last-child { border-bottom: 1px solid var(--line); }

@media (min-width: 1024px) {
  .section { padding-block: 100px; }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
}

/* Buttons + links --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .1s ease, border-color .15s ease;
}
.btn--primary { background: var(--ink); border-color: var(--ink); color: var(--page); }
.btn--primary:hover { background: var(--hover-ink); border-color: var(--hover-ink); }
.btn--secondary { background: var(--cream); border-color: var(--line); color: var(--ink); }
.btn--secondary:hover { background: var(--hover-paper); }
.btn:active { transform: scale(.98); }
.btn--nav { height: 36px; padding: 0 16px; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .15s ease;
}
.textlink:hover { border-color: var(--clay); }
.textlink .icon { width: 14px; height: 14px; }
.textlink--small { margin-top: 24px; }

/* Nav -------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--page);
  transition: transform .24s ease, box-shadow .2s ease;
}
.nav.is-scrolled { box-shadow: 0 .5px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "left logo right";
  align-items: center;
  gap: 16px;
}

.nav__left { grid-area: left; display: flex; align-items: center; gap: 2px; min-width: 0; }
.nav__right { grid-area: right; display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.nav__links { display: flex; align-items: center; gap: 2px; }

.wordmark {
  grid-area: logo;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
  padding: 8px 10px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .18em;
  text-decoration: none;
  border-radius: 8px;
}
.wordmark__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease;
}
.nav__link:hover { background: var(--cream-deep); }
.nav__link .icon { opacity: .55; transition: transform .15s ease; }
.nav__drop.is-open .nav__link .icon { transform: rotate(180deg); }

.nav__drop { position: relative; }

.nav__panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 120;
  width: 480px;
  padding: 8px;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: 0 0 0 .5px var(--line), 0 18px 44px rgba(20, 20, 19, .10), 0 2px 6px rgba(20, 20, 19, .04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav__panel--small { width: 320px; }
.nav__panel--right { left: auto; right: 0; }
.nav__drop.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; }

.nav__panel-item {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color .15s ease;
}
.nav__panel-item:hover { background: var(--cream-deep); }
.nav__panel-title { display: block; font-size: 14px; line-height: 21px; font-weight: 500; }
.nav__panel-desc { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--gray); }
.nav__panel-item--overview {
  margin-bottom: 4px;
  padding-bottom: 12px;
  border-bottom: .5px solid var(--line);
  border-radius: 10px 10px 0 0;
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .24s ease, opacity .24s ease, top .24s ease;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 21.5px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 1279px) {
  .nav__inner { grid-template-columns: auto 1fr; grid-template-areas: "logo right"; }
  .nav__left, .nav__links { display: none; }
  .nav__right { justify-self: end; }
  .burger { display: block; }
  .wordmark { justify-self: start; margin-left: -10px; }
}

/* Mobile menu ------------------------------------------------------------ */

.menu {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 90;
  overflow-y: auto;
  padding: 8px var(--outer) 40px;
  background: var(--page);
}
.menu[hidden] { display: none; }

.menu__group { border-bottom: .5px solid var(--line); }
.menu__group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  list-style: none;
  font-size: 20px;
  line-height: 28px;
  cursor: pointer;
}
.menu__group summary::-webkit-details-marker { display: none; }
.menu__group summary .icon { width: 12px; height: 12px; color: var(--gray); transition: transform .15s ease; }
.menu__group[open] summary .icon { transform: rotate(180deg); }
.menu__group a {
  display: block;
  padding: 12px 0 12px 16px;
  font-size: 17px;
  line-height: 24px;
  color: var(--ink-soft);
  text-decoration: none;
}
.menu__group a:last-child { padding-bottom: 20px; }
.menu__direct {
  display: block;
  padding: 18px 0;
  border-bottom: .5px solid var(--line);
  font-size: 20px;
  line-height: 28px;
  text-decoration: none;
}
.menu__cta { width: 100%; margin-top: 28px; }

/* Hero ------------------------------------------------------------------- */

.hero {
  display: flex;
  min-height: calc(100svh - var(--nav-h));
  background: var(--page);
}

.hero__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px var(--outer);
}

.hero__content {
  width: min(100%, 1000px);
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero h1 .hero__line { display: inline; }
.nowrap { white-space: nowrap; }

.hero__lead {
  max-width: 620px;
  margin: 24px auto 0;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: .005em;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 639px) {
  .hero__actions { flex-wrap: wrap; gap: 16px 24px; }
}

@media (min-width: 640px) {
  .hero h1 { font-size: 56px; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 72px; line-height: 1.055; }
  .hero h1 .hero__line { display: block; }
  .hero__lead { font-size: 20px; line-height: 30px; }
}

/* Statement -------------------------------------------------------------- */

.statement {
  position: relative;
  height: auto;
  background: var(--page);
}

.statement__screen {
  position: static;
  height: auto;
  min-height: 0;
  display: block;
  padding: 120px 0 24px;
}

.statement__inner { position: relative; }

.statement .eyebrow { margin-bottom: 24px; }

.statement__text {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.19;
  font-weight: 400;
  letter-spacing: -.015em;
  max-width: 1178px;
  text-wrap: pretty;
}

.word { display: inline-block; }

.statement.is-scrub .word {
  opacity: .28;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.statement.is-scrub .word.is-in { opacity: 1; transform: none; }

.statement__support { max-width: 620px; margin-top: 40px; }
.statement__bold { font-size: 17px; line-height: 26px; font-weight: 600; }
.statement__muted { margin-top: 10px; font-size: 17px; line-height: 26px; color: var(--gray); }

.statement__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 40px;
}

.statement.is-scrub .statement__support,
.statement.is-scrub .statement__actions {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
}
.statement.is-scrub .statement__support.is-in,
.statement.is-scrub .statement__actions.is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 1024px) {
  html.js .statement { height: 240svh; }
  html.js .statement__screen {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    align-items: center;
    padding: var(--nav-h) 0 48px;
  }
  .statement__inner { width: min(calc(100% - 2 * var(--outer)), calc(1306px - 2 * var(--outer))); margin-inline: auto; }
  .statement .eyebrow { margin-bottom: 32px; }
  .statement__text { font-size: 52px; line-height: 1.115; }
  .statement__support { margin-top: 56px; }
}

/* Section headers -------------------------------------------------------- */

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 24px;
  margin-bottom: 40px;
}
.section-head > .eyebrow { grid-column: 1 / -1; }
.section-head h2 {
  max-width: 640px;
  font-size: 28px;
  line-height: 1.21;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.section-head__body { max-width: 620px; font-size: 17px; line-height: 26px; }
.section-head__body p { margin: 0; }

@media (min-width: 900px) {
  .section-head {
    grid-template-columns: 1fr 1fr;
    column-gap: 52px;
    row-gap: 16px;
    margin-bottom: 48px;
  }
  .section-head h2 { grid-column: 1; font-size: 40px; line-height: 1.15; }
  .section-head__body { grid-column: 2; max-width: 530px; }
}

/* Development cards ------------------------------------------------------ */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.disc-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 24px;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: inset 0 0 0 .5px var(--ring);
  color: var(--ink);
  text-decoration: none;
}

.disc-card__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
}
.disc-card__head span:last-child { color: var(--gray-3); }

.disc-card h3 {
  max-width: 290px;
  font-size: 22px;
  line-height: 1.27;
  font-weight: 600;
}
.disc-card > p {
  max-width: 300px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 22px;
  color: var(--gray);
}

.disc-card__details { margin-top: auto; padding-top: 32px; }
.disc-card__details > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 2px;
  border-top: .5px solid var(--line);
}
.disc-card dt { font-size: 13px; line-height: 20px; color: var(--gray); }
.disc-card dd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 210px;
  font-size: 15px;
  line-height: 22px;
  text-align: right;
  color: var(--ink);
}
.disc-card dd .icon { width: 14px; height: 14px; transition: transform .15s ease; }

.disc-card:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.disc-card:hover dd .icon { transform: translateX(3px); }

@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .disc-card { min-height: 400px; }
  .disc-card:last-child { grid-column: 1 / -1; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .disc-card:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    align-content: start;
    min-height: 0;
  }
  .disc-card:last-child .disc-card__head { grid-column: 1 / -1; }
  .disc-card:last-child h3 { grid-column: 1; }
  .disc-card:last-child > p { grid-column: 1; }
  .disc-card:last-child .disc-card__details {
    grid-column: 2;
    grid-row: 2 / span 3;
    align-self: end;
    margin-top: 0;
    padding-top: 0;
  }
}

@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .disc-card { padding: 24px; }
  .disc-card:last-child { grid-column: auto; }
  .disc-card h3 { font-size: 24px; line-height: 1.25; }
  .disc-card__details { padding-top: 40px; }
  .disc-card__details > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .disc-card dd { max-width: none; text-align: left; }
}

@media (min-width: 1280px) {
  .disc-card { padding: 32px; }
  .disc-card__details > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
  }
  .disc-card dd { max-width: 210px; text-align: right; }
}

/* Solutions chapters ----------------------------------------------------- */

.chapters {
  width: min(calc(100% - 2 * var(--outer)), calc(1306px - 2 * var(--outer)));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chapter {
  position: relative;
  display: block;
  height: 480px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ink);
  color: var(--page);
  text-decoration: none;
  isolation: isolate;
}
.chapter > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.chapter__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 19, .20) 0%,
    rgba(20, 20, 19, .12) 35%,
    rgba(20, 20, 19, .55) 72%,
    rgba(20, 20, 19, .84) 100%
  );
}
.chapter__index {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.02em;
  color: rgba(250, 249, 245, .72);
}
.chapter__body {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  max-width: 640px;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(250, 249, 245, .35);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(250, 249, 245, .85);
}
.chapter h3 {
  max-width: 640px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.14;
  font-weight: 400;
  letter-spacing: -.01em;
}
.chapter p {
  display: -webkit-box;
  max-width: 520px;
  margin-top: 12px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 17px;
  line-height: 26px;
  color: rgba(250, 249, 245, .88);
}
.chapter__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.chapter__link .icon { width: 14px; height: 14px; transition: transform .2s ease; }
.chapter:hover > img { transform: scale(1.03); }
.chapter:hover .chapter__link .icon { transform: translateX(3px); }

@media (min-width: 768px) {
  .chapters { gap: 24px; }
  .chapter { height: 600px; border-radius: 16px; }
  .chapter__index { top: 40px; left: 40px; font-size: 64px; }
  .chapter__body { left: 40px; bottom: 40px; }
  .chapter h3 { font-size: 40px; line-height: 1.1; }
}

/* Products bento --------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.bento__cell {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: var(--cream);
  color: inherit;
  text-decoration: none;
}
.bento__cell + .bento__cell { border-top: 1px solid var(--line); }

.bento__chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--ring);
  border-radius: 8px;
  background: var(--paper);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}

.bento__stage {
  display: grid;
  place-items: center;
  height: 240px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--cream-deep);
}
.bento__stage img {
  width: 82%;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0 8px 18px rgba(20, 20, 19, .10));
  transition: transform .3s ease;
}

.bento__strip {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.bento__text { display: block; max-width: 460px; }
.bento__tagline { display: block; font-size: 15px; line-height: 22px; font-weight: 600; }
.bento__body { display: block; margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--gray); }
.bento__arrow { width: 18px; height: 18px; margin-bottom: 3px; transition: transform .15s ease; }
.bento__cell:hover .bento__stage img { transform: scale(1.03); }
.bento__cell:hover .bento__arrow { transform: translateX(3px); }

@media (min-width: 768px) {
  .bento__cell { padding: 24px; min-height: 520px; }
  .bento__stage { height: 320px; margin-top: 24px; border-radius: 12px; }
}

@media (min-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; border-radius: 16px; }
  .bento__cell + .bento__cell { border-top: 0; border-left: 1px solid var(--line); }
}

/* Resources -------------------------------------------------------------- */

.section-head__body p + p { margin-top: 8px; }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 12px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.resource-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray);
}

.resource-card__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 30px;
  height: 18px;
  border-radius: 9px;
  background: var(--cream);
  flex: none;
}
.resource-card__dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-3);
}

.resource-card__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream-deep);
  box-shadow: inset 0 0 0 1px var(--ring-strong);
}
.resource-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.resource-card h3 {
  margin-top: 16px;
  font-size: 22px;
  line-height: 1.27;
  font-weight: 600;
  text-wrap: balance;
}
.resource-card p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 22px;
  color: var(--gray);
}

.resource-card:hover .resource-card__media img { transform: scale(1.03); }
.resource-card:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (min-width: 1024px) {
  .resource-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .resource-card p { font-size: 14px; line-height: 21px; }
}

@media (min-width: 1280px) {
  .resource-card p { font-size: 15px; line-height: 22px; }
}

@media (max-width: 639px) {
  .resource-grid { gap: 32px 12px; }
  .resource-card__meta { gap: 8px; margin-bottom: 10px; font-size: 11px; line-height: 16px; }
  .resource-card__dots { width: 24px; height: 16px; border-radius: 8px; }
  .resource-card__media { border-radius: 6px; }
  .resource-card h3 { margin-top: 12px; font-size: 18px; line-height: 1.3; }
  .resource-card p { margin-top: 6px; font-size: 13px; line-height: 19px; }
}

/* Engineering work carousel ---------------------------------------------- */

.work__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding: 14px 0;
  border-top: .5px solid var(--line);
  border-bottom: .5px solid var(--line);
}
.work__bar-count { color: var(--gray-3); }

.carousel { position: relative; margin-top: 24px; }

.carousel__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }

.slide { flex: 0 0 78%; scroll-snap-align: start; min-width: 0; }

.work-card { display: block; color: inherit; text-decoration: none; }
.work-card__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream-deep);
  box-shadow: inset 0 0 0 1px var(--ring-strong);
}
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.work-card__meta { display: block; margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--gray); }
.work-card h3 { margin-top: 14px; font-size: 20px; line-height: 1.28; font-weight: 600; }
.work-card p { margin-top: 6px; font-size: 13px; line-height: 20px; color: var(--gray); }

.work-card:hover .work-card__media img { transform: scale(1.03); }
.work-card:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}
.ctrl {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 .5px var(--ring), 0 1px 2px rgba(20, 20, 19, .06);
  cursor: pointer;
  transition: background-color .15s ease;
}
.ctrl:hover { background: var(--hover-paper); }
.ctrl:disabled { opacity: .35; cursor: default; }
.ctrl .icon { width: 16px; height: 16px; }
.carousel__count {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .08em;
  color: var(--gray);
}

@media (min-width: 640px) {
  .slide { flex-basis: 42%; }
}

@media (min-width: 1024px) {
  .slide { flex-basis: 30%; }
  .work-card h3 { font-size: 22px; }
}

@media (min-width: 1280px) {
  .carousel__track { overflow: visible; scroll-snap-type: none; }
  .slide { flex: 1 1 0; max-width: 279.2px; }
  .carousel__controls { display: none; }
}

/* Closing CTA ------------------------------------------------------------ */

.cta {
  padding: 96px 0;
  text-align: center;
}
.cta h2 {
  max-width: 760px;
  margin: 16px auto 0;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.cta__body {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--gray);
  font-size: 17px;
  line-height: 26px;
}
.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  max-width: 320px;
  margin: 40px auto 0;
}

@media (min-width: 640px) {
  .cta { padding: 160px 0; }
  .cta h2 { font-size: 44px; line-height: 1.09; }
  .cta__actions { flex-direction: row; align-items: center; max-width: none; }
}

/* Footer ----------------------------------------------------------------- */

.footer {
  padding: 80px 0;
  background: var(--footer);
  color: var(--footer-text);
}
.footer a { color: var(--footer-text); }

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
}

.footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; }
.wordmark--footer { justify-self: start; margin-left: -10px; padding-left: 10px; color: var(--footer-text); }
.footer__tagline {
  max-width: 240px;
  margin-top: 24px;
  font-size: 15px;
  line-height: 22px;
  color: var(--footer-muted);
}
.footer__copy { margin-top: 40px; font-size: 13px; line-height: 20px; color: var(--footer-muted); }

.footer__group h4 {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--footer-muted);
}
.footer__group li { margin-bottom: 7px; }
.footer__group a {
  font-size: 14px;
  line-height: 21px;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
}
.footer__group a:hover { color: var(--ring-strong); }
.footer__group a:focus-visible { outline-color: var(--page); }

@media (min-width: 768px) {
  .footer { padding: 120px 0; }
  .footer__grid {
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    gap: 40px 12px;
  }
  .footer__brand { grid-column: auto; grid-row: span 2; }
  .footer__copy { margin-top: auto; padding-top: 40px; }
}

/* Reduced motion --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav { transition: none; }
  .nav.is-hidden { transform: none; }
  html.js .statement { height: auto; }
  html.js .statement__screen { position: static; height: auto; display: block; padding: 120px 0 24px; }
  .statement.is-scrub .word,
  .statement.is-scrub .statement__support,
  .statement.is-scrub .statement__actions { opacity: 1; transform: none; }
  .chapter > img,
  .work-card__media img,
  .bento__stage img { transition: none; }
  .chapter:hover > img,
  .work-card:hover .work-card__media img,
  .bento__cell:hover .bento__stage img { transform: none; }
  .btn:active { transform: none; }
}

/* Small phones ----------------------------------------------------------- */

@media (max-width: 639px) {
  .rail { width: calc(100% - 24px); }
  .chapter p { -webkit-line-clamp: 4; }
  .footer__grid { gap: 32px 20px; }
}

/* ============================================================================
   2. About — /about
   Source: about.css · used by about.html · <body>
   ============================================================================ */

/* ==========================================================================
   Kudosoft — About (/about)
   Editorial "document" layout: a hairline frame with breadcrumb masthead,
   stat band, capability strip, people, story cards, narrative, beliefs,
   numbered capabilities, products, outlook and closing CTA.

   Tokens, reset, type scale, buttons, text links, nav and footer come from
   styles.css; this file only adds the about components.
   ========================================================================== */

:root {
  --ab-sec: 48px;
}

@media (min-width: 900px) {
  :root { --ab-sec: 72px; }
}

/* The frame is the site container (styles.css): same width and margins as
   every other page. Sections draw their own hairline separators. */
.ab-frame > section + section { border-top: 1px solid var(--line); }

/* Breadcrumb -------------------------------------------------------------- */

.ab-crumbs {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.ab-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 18px;
  color: var(--gray);
}

.ab-crumbs li { display: inline-flex; align-items: center; gap: 8px; }

.ab-crumbs li + li::before {
  content: "/";
  color: var(--ring-strong);
}

.ab-crumbs a {
  color: var(--gray);
  text-decoration: none;
  transition: color .15s ease;
}
.ab-crumbs a:hover { color: var(--ink); }

.ab-crumbs [aria-current="page"] { color: var(--ink-soft); }

/* Hero -------------------------------------------------------------------- */

.ab-hero {
  position: relative;
  overflow: hidden;
}

.ab-hero::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -20px;
  width: 420px;
  height: 240px;
  background-image: radial-gradient(var(--ring-strong) 1px, transparent 1.2px);
  background-size: 14px 14px;
  opacity: .6;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at 70% 20%, #000 25%, transparent 72%);
  pointer-events: none;
}

.ab-hero__inner {
  position: relative;
  padding: 36px 0 44px;
}

.ab-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.ab-hero__brand { color: var(--clay-deep); }

.ab-hero__lede {
  max-width: 560px;
  margin-top: 20px;
}

.ab-hero__lede p {
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-soft);
}

.ab-hero__lede p + p { margin-top: 10px; }

.ab-hero__actions { margin-top: 22px; }

/* Stats ------------------------------------------------------------------- */

.ab-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.ab-stat {
  padding: 16px 18px 18px;
  border-left: 1px solid var(--line);
}

.ab-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
.ab-stat:nth-child(even) { padding-right: 0; }
.ab-stat:nth-child(n + 3) { border-top: 1px solid var(--line); }

.ab-stat dt {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.ab-stat dd {
  margin: 5px 0 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.01em;
}

@media (min-width: 760px) {
  .ab-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ab-stat { padding: 16px 24px 18px; border-top: 0; }
  .ab-stat:nth-child(odd) { border-left: 1px solid var(--line); padding-left: 24px; }
  .ab-stat:nth-child(even) { padding-right: 24px; }
  .ab-stat:nth-child(n + 3) { border-top: 0; }
  .ab-stat:first-child { border-left: 0; padding-left: 0; }
  .ab-stat:last-child { padding-right: 0; }
}

/* Capability strip -------------------------------------------------------- */

.ab-capstrip {
  padding: 22px 0 24px;
  text-align: center;
}

.ab-capstrip__label {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.ab-capstrip ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 0;
  margin: 10px 0 0;
}

.ab-capstrip li {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--ink-soft);
}

.ab-capstrip li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 16px;
  border-radius: 50%;
  background: var(--ring-strong);
  flex: none;
}

.ab-capstrip a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .15s ease, border-color .15s ease;
}

.ab-capstrip a:hover {
  color: var(--clay-deep);
  border-color: var(--clay);
}

@media (max-width: 639px) {
  .ab-capstrip ul { gap: 4px 20px; }
  .ab-capstrip li + li::before { display: none; }
}

/* Section scaffolding ----------------------------------------------------- */

.ab-section { padding: var(--ab-sec) 0; }

.ab-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clay-deep);
}

.ab-kicker::before {
  content: "";
  width: 2px;
  height: 13px;
  background: var(--clay);
  flex: none;
}

.ab-sec-head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.ab-sec-head h2 {
  max-width: 560px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.ab-sec-head__body {
  max-width: 520px;
  font-size: 15px;
  line-height: 24px;
  color: var(--gray);
}

.ab-sec-head__body p + p { margin-top: 8px; }

@media (min-width: 900px) {
  .ab-sec-head {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    grid-template-areas:
      "kicker ."
      "title body";
    column-gap: 56px;
    row-gap: 12px;
    align-items: start;
    margin-bottom: 40px;
  }
  .ab-sec-head .ab-kicker { grid-area: kicker; }
  .ab-sec-head h2 { grid-area: title; }
  .ab-sec-head__body { grid-area: body; align-self: start; padding-top: 2px; font-size: 16px; line-height: 26px; }
}

/* People ------------------------------------------------------------------ */

.ab-lead {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.ab-lead__media {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--oat);
}

.ab-lead__media img { width: 100%; height: 100%; object-fit: cover; }

.ab-lead__body { max-width: 520px; }

.ab-label {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.ab-lead h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -.02em;
}

.ab-lead__role {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
}

.ab-lead__note {
  margin-top: 14px;
  font-size: 15px;
  line-height: 24px;
  color: var(--ink-soft);
}

@media (min-width: 640px) and (max-width: 899px) {
  .ab-lead {
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 32px;
    align-items: center;
  }
  .ab-lead__media { max-width: none; }
  .ab-lead h3 { font-size: 24px; }
  .ab-lead__note { font-size: 15px; line-height: 24px; }
}

@media (min-width: 900px) {
  .ab-lead {
    grid-template-columns: 280px minmax(0, 1fr);
    column-gap: 48px;
    align-items: center;
    margin-bottom: 48px;
  }
  .ab-lead__media { max-width: none; }
  .ab-lead h3 { font-size: 30px; }
  .ab-lead__note { font-size: 16px; line-height: 26px; }
}

.ab-team {
  padding-top: 20px;
}

.ab-team__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
}

.ab-team__bar h3 {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.01em;
}

.ab-team__bar p {
  font-size: 13px;
  line-height: 20px;
  color: var(--gray);
}

.ab-team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.ab-person {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.ab-person__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
}

.ab-person__media img { width: 100%; height: 100%; object-fit: cover; }

.ab-person__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}

.ab-person h4 {
  font-size: 15px;
  line-height: 21px;
  font-weight: 700;
  text-wrap: balance;
}

.ab-person p {
  margin-top: 2px;
  font-size: 13px;
  line-height: 18px;
  color: var(--gray);
}

.ab-person__num {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .08em;
  color: var(--gray-3);
  flex: none;
}

.ab-team__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

@media (min-width: 1024px) {
  .ab-team__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}

/* Timeline ---------------------------------------------------------------- */

.ab-track {
  display: grid;
  gap: 12px;
}

.ab-phase {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
}

.ab-phase--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--page);
}

.ab-phase--oat { background: var(--oat); }

.ab-phase__year {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.02em;
}

.ab-phase__step {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
}

.ab-phase--ink .ab-phase__step { color: var(--footer-muted); }

.ab-phase h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.ab-phase p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 22px;
  color: var(--gray);
}

.ab-phase--ink p { color: rgba(250, 249, 245, .72); }

.ab-phase img {
  width: 100%;
  height: auto;
  margin-top: 20px;
}

@media (min-width: 900px) {
  .ab-track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .ab-phase { padding: 24px; min-height: 400px; }
  .ab-phase h3 { font-size: 20px; }
  .ab-phase img { margin-top: auto; padding-top: 20px; }
}

/* Story ------------------------------------------------------------------- */

.ab-story__grid { display: grid; gap: 20px; }

.ab-story__head .ab-kicker { margin-bottom: 14px; }

.ab-story__head h2 {
  max-width: 460px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.ab-story__body {
  max-width: 600px;
  font-size: 16px;
  line-height: 27px;
  color: var(--ink-soft);
}

.ab-story__body p + p { margin-top: 16px; }

.ab-story__emphasis {
  font-weight: 600;
  color: var(--ink);
}

@media (min-width: 900px) {
  .ab-story__grid {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    column-gap: 64px;
  }
  .ab-story__head h2 { position: sticky; top: calc(var(--nav-h) + 32px); }
}

/* Beliefs ----------------------------------------------------------------- */

.ab-beliefs__grid { display: grid; }

.ab-belief {
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
}

.ab-belief__num {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .08em;
  color: var(--clay-deep);
}

.ab-belief h3 {
  margin-top: 10px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  text-wrap: balance;
}

.ab-belief p {
  max-width: 420px;
  margin-top: 6px;
  font-size: 14px;
  line-height: 22px;
  color: var(--gray);
}

@media (min-width: 760px) {
  .ab-beliefs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; }
  .ab-belief:nth-child(odd) { padding-right: 32px; }
  .ab-belief:nth-child(even) {
    padding-left: 32px;
    border-left: 1px solid var(--line);
  }
}

/* Capability rows --------------------------------------------------------- */

.ab-rows { margin-top: 8px; }

.ab-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.ab-rows .ab-row:last-child { border-bottom: 1px solid var(--line); }

.ab-row__num {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .08em;
  color: var(--gray-3);
}

.ab-row h3 {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.01em;
}

.ab-row__body p {
  max-width: 520px;
  font-size: 14px;
  line-height: 22px;
  color: var(--gray);
}

.ab-row__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink);
}

.ab-row__link .icon { width: 12px; height: 12px; transition: transform .15s ease; }

.ab-row:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.ab-row:hover .ab-row__link .icon { transform: translateX(3px); }

@media (min-width: 760px) {
  .ab-row {
    display: grid;
    grid-template-columns: 56px minmax(0, .95fr) minmax(0, 1.25fr);
    column-gap: 24px;
    align-items: start;
    padding: 26px 0;
  }
  .ab-row__num { grid-column: 1; padding-top: 3px; }
  .ab-row h3 { grid-column: 2; font-size: 20px; }
  .ab-row__body { grid-column: 3; }
  .ab-row__body p { font-size: 14px; line-height: 22px; }
}

/* Figure ------------------------------------------------------------------ */

.ab-figure {
  overflow: hidden;
  margin: 36px 0 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.ab-figure__frame { display: block; }
.ab-figure picture { display: block; }
.ab-figure img { display: block; width: 100%; height: auto; }

.ab-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 18px;
  color: var(--gray);
}

.ab-figure figcaption span:last-child {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-3);
}

/* Products ---------------------------------------------------------------- */

.ab-products__list { margin-top: 8px; }

.ab-product {
  display: grid;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.ab-products__list .ab-product:last-child { border-bottom: 1px solid var(--line); }

.ab-product__text { max-width: 440px; }

.ab-product__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.01em;
}

.ab-product__name .icon { width: 16px; height: 16px; color: var(--clay); }

.ab-product__tagline {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.015em;
}

.ab-product__copy {
  margin-top: 8px;
  font-size: 14px;
  line-height: 22px;
  color: var(--gray);
}

.ab-product__text .textlink { margin-top: 16px; }

.ab-product__media {
  padding: 14px;
  overflow: hidden;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.ab-product__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  filter: drop-shadow(0 6px 14px rgba(20, 20, 19, .10));
}

@media (min-width: 900px) {
  .ab-product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 48px;
    align-items: center;
    padding: 36px 0;
  }
  .ab-product--flip .ab-product__media { order: -1; }
  .ab-product--flip .ab-product__text { order: 1; }
  .ab-product__media { padding: 18px; }
  .ab-product__tagline { font-size: 23px; }
  .ab-product__copy { font-size: 15px; line-height: 23px; }
}

/* Looking ahead ----------------------------------------------------------- */

.ab-ahead__grid { display: grid; gap: 28px; }

.ab-ahead__copy h2 {
  max-width: 520px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.ab-ahead__prose { max-width: 520px; margin-top: 16px; }

.ab-ahead__prose p {
  font-size: 15px;
  line-height: 25px;
  color: var(--ink-soft);
}

.ab-ahead__prose p + p { margin-top: 12px; }

.ab-ahead__close {
  max-width: 520px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: -.02em;
  text-wrap: pretty;
}

.ab-ahead__close em { font-style: normal; color: var(--clay-deep); }

.ab-ahead__art {
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink);
}

.ab-ahead__art img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .ab-ahead__grid {
    grid-template-columns: minmax(0, 1fr) 400px;
    column-gap: 56px;
    align-items: center;
  }
  .ab-ahead__art { max-width: none; }
}

/* Closing CTA ------------------------------------------------------------- */

.ab-cta {
  padding: 52px 0 60px;
  text-align: center;
}

.ab-cta h2 {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.ab-cta .eyebrow { margin-bottom: 14px; }

.ab-cta__body {
  max-width: 520px;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 25px;
  color: var(--gray);
}

.ab-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  max-width: 320px;
  margin: 24px auto 0;
}

@media (min-width: 640px) {
  .ab-cta { padding: 64px 0 72px; }
  .ab-cta__actions { flex-direction: row; align-items: center; max-width: none; }
}

/* Small phones ------------------------------------------------------------ */

@media (max-width: 479px) {
  .ab-hero h1 { font-size: 36px; }
  .ab-hero__inner { padding-top: 30px; }
  .ab-stat { padding: 14px 16px 16px; }
  .ab-stat dd { font-size: 16px; }
  .ab-capstrip li { font-size: 13px; }
  .ab-capstrip li + li::before { margin: 0 10px; }
  .ab-person__body { padding: 10px 10px 12px; }
  .ab-product { padding: 22px 0; }
  .ab-cta__actions .btn { width: 100%; }
}

/* Reduced motion ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ab-crumbs a,
  .ab-row__link .icon { transition: none; }
  .ab-row:hover .ab-row__link .icon { transform: none; }
}

/* ============================================================================
   3. Careers — /careers
   Source: careers.css · used by careers.html · <body>
   ============================================================================ */

/* ==========================================================================
   Kudosoft — Careers (/careers)
   Editorial document layout: framed breadcrumb masthead, hero + facts band,
   principles ledger, technology feature grid, fit rows, approach, expandable
   role listings, internship panel, team tiles and a closing band.

   Tokens, reset, type scale, buttons, text links, nav and footer come from
   styles.css; this file only adds the careers components.
   ========================================================================== */

:root {
  --cr-sec: 48px;
}

@media (min-width: 900px) {
  :root { --cr-sec: 72px; }
}

/* Sections draw their own hairline separators inside the frame. */
.cr-frame > section + section { border-top: 1px solid var(--line); }

/* Breadcrumb -------------------------------------------------------------- */

.cr-crumbs {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cr-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 18px;
  color: var(--gray);
}

.cr-crumbs li { display: inline-flex; align-items: center; gap: 8px; }

.cr-crumbs li + li::before {
  content: "/";
  color: var(--ring-strong);
}

.cr-crumbs a {
  color: var(--gray);
  text-decoration: none;
  transition: color .15s ease;
}
.cr-crumbs a:hover { color: var(--ink); }

.cr-crumbs [aria-current="page"] { color: var(--ink-soft); }

/* Kicker ------------------------------------------------------------------ */

.cr-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clay-deep);
}

.cr-kicker::before {
  content: "";
  width: 2px;
  height: 13px;
  background: var(--clay);
  flex: none;
}

/* Section scaffolding ----------------------------------------------------- */

.cr-section { padding: var(--cr-sec) 0; }

.cr-sec-head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.cr-sec-head h2 {
  max-width: 620px;
  font-family: var(--font-display);
  font-size: clamp(27px, 3.5vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.cr-sec-head__body {
  max-width: 530px;
  font-size: 15px;
  line-height: 24px;
  color: var(--gray);
}

.cr-sec-head__body p + p { margin-top: 8px; }

@media (min-width: 900px) {
  .cr-sec-head {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    grid-template-areas:
      "kicker ."
      "title body";
    column-gap: 56px;
    row-gap: 12px;
    align-items: start;
    margin-bottom: 40px;
  }
  .cr-sec-head .cr-kicker { grid-area: kicker; }
  .cr-sec-head h2 { grid-area: title; }
  .cr-sec-head__body {
    grid-area: body;
    align-self: start;
    padding-top: 2px;
    font-size: 16px;
    line-height: 26px;
  }
}

/* Hero -------------------------------------------------------------------- */

.cr-hero {
  position: relative;
  overflow: hidden;
}

.cr-hero::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -20px;
  width: 420px;
  height: 240px;
  background-image: radial-gradient(var(--ring-strong) 1px, transparent 1.2px);
  background-size: 14px 14px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at 70% 20%, #000 25%, transparent 72%);
  pointer-events: none;
}

.cr-hero__grid {
  position: relative;
  display: grid;
  gap: 30px;
  padding: 36px 0 40px;
}

.cr-hero__copy { min-width: 0; }

.cr-hero__copy .cr-kicker { margin-bottom: 16px; }

.cr-hero h1 {
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 66px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.cr-hero__accent { color: var(--clay-deep); }

.cr-hero__lede {
  max-width: 600px;
  margin-top: 22px;
}

.cr-hero__lede p {
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-soft);
}

.cr-hero__lede p + p { margin-top: 10px; }

.cr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.cr-hero__figure { margin: 0; width: 100%; min-width: 0; }

.cr-hero__frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}

.cr-hero__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.cr-hero__figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding-top: 10px;
  font-size: 12px;
  line-height: 18px;
  color: var(--gray);
}

.cr-hero__figure figcaption span:last-child {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-3);
}

@media (min-width: 900px) {
  .cr-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    column-gap: 56px;
    padding: 48px 0 52px;
  }
  .cr-hero__lede p { font-size: 17px; line-height: 27px; }
}

@media (min-width: 1200px) {
  .cr-hero__grid { column-gap: 72px; }
}

/* Facts band -------------------------------------------------------------- */

.cr-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.cr-fact {
  padding: 16px 18px 18px;
  border-left: 1px solid var(--line);
}

.cr-fact:nth-child(odd) { border-left: 0; padding-left: 0; }
.cr-fact:nth-child(even) { padding-right: 0; }
.cr-fact:nth-child(n + 3) { border-top: 1px solid var(--line); }

.cr-fact dt {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.cr-fact dd {
  margin: 5px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: balance;
}

@media (min-width: 760px) and (max-width: 1023px) {
  .cr-fact dd { font-size: 16px; }
}

@media (min-width: 760px) {
  .cr-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cr-fact { padding: 16px 24px 18px; border-top: 0; }
  .cr-fact:nth-child(odd) { border-left: 1px solid var(--line); padding-left: 24px; }
  .cr-fact:nth-child(even) { padding-right: 24px; }
  .cr-fact:nth-child(n + 3) { border-top: 0; }
  .cr-fact:first-child { border-left: 0; padding-left: 0; }
  .cr-fact:last-child { padding-right: 0; }
}

/* Why Kudosoft ------------------------------------------------------------ */

.cr-why__grid {
  display: grid;
  gap: 30px;
}

.cr-why__head .cr-kicker { margin-bottom: 14px; }

.cr-why__head h2 {
  max-width: 520px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.cr-why__body {
  max-width: 460px;
  margin-top: 16px;
}

.cr-why__body p {
  font-size: 15px;
  line-height: 25px;
  color: var(--gray);
}

.cr-why__body p + p { margin-top: 10px; }

.cr-principles {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.cr-principle {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 14px;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
}

.cr-principle__num {
  padding-top: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .08em;
  color: var(--clay-deep);
}

.cr-principle h3 {
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -.005em;
  text-wrap: balance;
}

.cr-principle p {
  grid-column: 2;
  max-width: 470px;
  margin-top: 6px;
  font-size: 14px;
  line-height: 22px;
  color: var(--gray);
}

@media (min-width: 900px) {
  .cr-why__grid {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    column-gap: 64px;
    align-items: start;
  }
  .cr-why__head {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
  }
  .cr-why__head h2 { font-size: 36px; }
  .cr-principle { padding: 20px 0 22px; }
}

/* What we're working on --------------------------------------------------- */

.cr-work__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.cr-work-feature {
  grid-column: 1 / -1;
  display: grid;
  gap: 20px;
  padding: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.cr-work-feature__copy { min-width: 0; }

.cr-work-feature .cr-topic__meta { margin-top: 0; }

.cr-work-feature h3 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.cr-work-feature p {
  max-width: 420px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 23px;
  color: var(--gray);
}

.cr-work-feature .textlink { margin-top: 16px; }

.cr-work-feature__media {
  overflow: hidden;
  border: 1px solid var(--ring-strong);
  border-radius: 10px;
  background: var(--cream-deep);
}

.cr-work-feature__media img {
  display: block;
  width: 100%;
  height: auto;
}

.cr-topic {
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.cr-topic__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--ring);
}

.cr-topic__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cr-topic__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.cr-topic h3 {
  margin-top: 8px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -.005em;
  text-wrap: balance;
}

.cr-topic p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray);
}

@media (min-width: 640px) {
  .cr-work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-work-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    align-items: center;
    column-gap: 28px;
    padding: 24px;
  }
  .cr-work-feature__media { grid-column: 2; }
  .cr-work-feature__copy { grid-column: 1; grid-row: 1; }
  .cr-work-feature h3 { font-size: 27px; }
}

@media (min-width: 1200px) {
  .cr-work__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cr-work-feature { grid-column: 1 / -1; padding: 28px; }
  .cr-work-feature h3 { font-size: 30px; }
}

/* Who we're looking for --------------------------------------------------- */

.cr-fit__list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.cr-fit-row {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cr-fit-row__num {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .08em;
  color: var(--gray-3);
}

.cr-fit-row h3 {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.cr-fit-row__body p {
  max-width: 520px;
  font-size: 14px;
  line-height: 22px;
  color: var(--gray);
}

.cr-fit-row__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-bottom: 2px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
}

.cr-fit-row__link .icon { width: 12px; height: 12px; transition: transform .15s ease; }

.cr-fit-row__link:hover { border-color: var(--clay); }
.cr-fit-row__link:hover .icon { transform: translateX(3px); }

.cr-fit-row:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (min-width: 760px) {
  .cr-fit-row {
    grid-template-columns: 56px minmax(0, .95fr) minmax(0, 1.25fr);
    column-gap: 24px;
    align-items: start;
    padding: 24px 0;
  }
  .cr-fit-row__num { grid-column: 1; padding-top: 3px; }
  .cr-fit-row h3 { grid-column: 2; font-size: 20px; }
  .cr-fit-row__body { grid-column: 3; }
}

/* Approach ---------------------------------------------------------------- */

.cr-approach__grid {
  display: grid;
  gap: 30px;
}

.cr-approach__copy .cr-kicker { margin-bottom: 14px; }

.cr-approach__copy h2 {
  max-width: 520px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.cr-approach__lede {
  max-width: 460px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 25px;
  color: var(--gray);
}

.cr-approach__figure {
  max-width: 420px;
  margin: 24px 0 0;
}

.cr-approach__art {
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--ink);
}

.cr-approach__art img {
  display: block;
  width: 100%;
  height: auto;
}

.cr-approach__figure figcaption {
  padding-top: 10px;
  font-size: 12px;
  line-height: 18px;
  color: var(--gray);
}

.cr-approach__label {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.cr-values {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.cr-values li {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 23px;
  color: var(--ink-soft);
}

.cr-values li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}

.cr-approach__close {
  max-width: 520px;
  margin-top: 22px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: var(--ink);
  text-wrap: pretty;
}

@media (min-width: 900px) {
  .cr-approach__grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    column-gap: 64px;
    align-items: start;
  }
  .cr-approach__figure { max-width: none; }
}

/* Current opportunities --------------------------------------------------- */

.cr-jobs {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.cr-role { border-bottom: 1px solid var(--line); }

.cr-role__summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  grid-template-areas:
    "num title chevron"
    "num meta chevron";
  column-gap: 12px;
  align-items: start;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
}

.cr-role__summary::-webkit-details-marker { display: none; }
.cr-role__summary::marker { content: ""; }

.cr-role__num {
  grid-area: num;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .08em;
  color: var(--gray-3);
}

.cr-role__title {
  grid-area: title;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.26;
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.cr-role__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 5px;
  font-size: 12px;
  line-height: 18px;
  color: var(--gray);
}

.cr-role__meta span { display: inline-flex; align-items: center; }

.cr-role__meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 9px;
  border-radius: 50%;
  background: var(--ring-strong);
  flex: none;
}

.cr-role__chevron {
  grid-area: chevron;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--gray);
  transition: transform .2s ease;
}

.cr-role[open] .cr-role__chevron { transform: rotate(180deg); }

.cr-role__summary:hover .cr-role__title {
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.cr-role__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 4px 0 26px 46px;
}

/* Description first, then the role facts and the apply block. */
.cr-role__body > .cr-role__detail:first-child { order: 2; }
.cr-role__body > .cr-role__detail:last-child { order: 1; }

.cr-role__detail h4 {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.cr-role__detail h4:first-child { margin-top: 0; }

.cr-role__detail > p {
  max-width: 540px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 23px;
  color: var(--ink-soft);
}

.cr-role__detail ul {
  max-width: 540px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.cr-role__detail li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-soft);
}

.cr-role__detail li + li { margin-top: 6px; }

.cr-role__detail li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 1.5px;
  background: var(--clay);
}

.cr-role__facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.cr-role__facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.cr-role__facts dt {
  font-size: 12px;
  line-height: 18px;
  color: var(--gray);
}

.cr-role__facts dd {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  text-align: right;
  color: var(--ink);
}

.cr-role__apply {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cr-role__apply p {
  font-size: 13px;
  line-height: 21px;
  color: var(--gray);
}

.cr-role__apply p a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.cr-role__apply .textlink { margin-top: 12px; }

@media (min-width: 760px) {
  .cr-role__summary {
    grid-template-columns: 56px minmax(0, 1fr) 28px;
    column-gap: 20px;
    padding: 20px 0;
  }
  .cr-role__title { font-size: 21px; }
  .cr-role__body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    column-gap: 48px;
    padding: 6px 0 30px 76px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cr-role__body { animation: cr-role-in .22s ease-out; }
}

@keyframes cr-role-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* Open call --------------------------------------------------------------- */

.cr-open-call {
  display: grid;
  gap: 20px;
  margin-top: 32px;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.cr-open-call h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.cr-open-call p {
  max-width: 560px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 22px;
  color: var(--gray);
}

@media (min-width: 760px) {
  .cr-open-call {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 32px;
    padding: 28px 30px;
  }
  .cr-open-call__action { justify-self: end; }
}

/* Internships ------------------------------------------------------------- */

.cr-intern__panel {
  display: grid;
  gap: 26px;
  padding: 22px;
  background: var(--oat);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.cr-intern__copy { min-width: 0; }

.cr-intern__copy h2 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.cr-intern__copy > p {
  max-width: 560px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 23px;
  color: var(--ink-soft);
}

.cr-intern__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.cr-intern__list li {
  padding: 6px 12px;
  border: 1px solid var(--ring-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: 12px;
  line-height: 18px;
  color: var(--ink);
}

.cr-intern__action { margin-top: 20px; }

.cr-intern__figure { margin: 0; min-width: 0; }

.cr-intern__media {
  overflow: hidden;
  border: 1px solid var(--ring-strong);
  border-radius: 10px;
  background: var(--cream);
}

.cr-intern__media img {
  display: block;
  width: 100%;
  height: auto;
}

.cr-intern__figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 18px;
  color: var(--gray);
}

@media (min-width: 900px) {
  .cr-intern__panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    column-gap: 48px;
    padding: 32px 32px 32px 36px;
  }
  .cr-intern__copy { order: 1; }
  .cr-intern__figure { order: 2; }
  .cr-intern__copy > p { font-size: 15px; line-height: 24px; }
}

/* People ------------------------------------------------------------------ */

.cr-people__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.cr-person {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.cr-person__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
}

.cr-person__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cr-person__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}

.cr-person h3 {
  font-size: 15px;
  line-height: 21px;
  font-weight: 700;
  text-wrap: balance;
}

.cr-person p {
  margin-top: 2px;
  font-size: 13px;
  line-height: 18px;
  color: var(--gray);
}

.cr-person__num {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .08em;
  color: var(--gray-3);
  flex: none;
}

.cr-people__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cr-people__foot p {
  max-width: 560px;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray);
}

@media (max-width: 639px) {
  .cr-person:last-child { grid-column: 1 / -1; }
  .cr-person:last-child .cr-person__media { aspect-ratio: 16 / 8; }
  .cr-person:last-child .cr-person__media img { object-position: 50% 42%; }
}

@media (min-width: 640px) {
  .cr-people__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}

@media (min-width: 1024px) {
  .cr-people__grid { gap: 16px; }
}

/* Closing CTA ------------------------------------------------------------- */

.cr-cta {
  padding: 52px 0 60px;
  text-align: center;
}

.cr-cta h2 {
  max-width: 700px;
  margin: 14px auto 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.cr-cta__body {
  max-width: 540px;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 25px;
  color: var(--gray);
}

.cr-cta__body + .cr-cta__body { margin-top: 8px; }

.cr-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  max-width: 320px;
  margin: 26px auto 0;
}

.cr-cta__note {
  max-width: 520px;
  margin: 22px auto 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--gray-3);
}

@media (min-width: 640px) {
  .cr-cta { padding: 64px 0 76px; }
  .cr-cta__actions {
    flex-direction: row;
    align-items: center;
    max-width: none;
  }
}

/* Small phones ------------------------------------------------------------ */

@media (max-width: 479px) {
  .cr-hero h1 { font-size: 38px; }
  .cr-hero__grid { padding-top: 30px; }
  .cr-hero__actions .btn { width: 100%; }
  .cr-hero__figure figcaption span:last-child { display: none; }
  .cr-fact { padding: 14px 16px 16px; }
  .cr-fact dd { font-size: 15px; }
  .cr-work-feature { padding: 18px; }
  .cr-work-feature h3 { font-size: 22px; }
  .cr-topic { padding: 12px; }
  .cr-role__summary { grid-template-columns: 28px minmax(0, 1fr) 20px; column-gap: 10px; }
  .cr-role__body { padding-left: 38px; }
  .cr-role__title { font-size: 18px; }
  .cr-intern__panel { padding: 20px; }
  .cr-cta__actions .btn { width: 100%; }
}

/* Keep role metadata from starting a wrapped line with a separator dot. */
@media (max-width: 639px) {
  .cr-role__meta { gap: 2px 12px; }
  .cr-role__meta span + span::before { display: none; }
}

/* Reduced motion ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .cr-crumbs a,
  .cr-fit-row__link,
  .cr-fit-row__link .icon,
  .cr-role__chevron { transition: none; }
  .cr-fit-row__link:hover .icon { transform: none; }
  .cr-role__body { animation: none; }
}

/* ============================================================================
   4. Contact — /contact
   Source: contact.css · used by contact.html · <body>
   ============================================================================ */

/* ==========================================================================
   Kudosoft — Contact (/contact)
   Editorial document layout: framed breadcrumb masthead, split hero, a 2×2
   enquiry grid, the project form with a "what happens next" rail, three
   other-enquiry cards and a closing band.

   Tokens, reset, type scale, buttons, text links, nav and footer come from
   styles.css; this file only adds the contact components. styles.css is not
   modified.
   ========================================================================== */

:root {
  --ct-sec: 48px;
}

@media (min-width: 900px) {
  :root { --ct-sec: 72px; }
}

/* The frame is the site container (styles.css): same width and margins as
   every other page. Sections draw their own hairline separators. */
.ct-frame > section + section { border-top: 1px solid var(--line); }

/* Breadcrumb -------------------------------------------------------------- */

.ct-crumbs {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.ct-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 18px;
  color: var(--gray);
}

.ct-crumbs li { display: inline-flex; align-items: center; gap: 8px; }

.ct-crumbs li + li::before {
  content: "/";
  color: var(--ring-strong);
}

.ct-crumbs a {
  color: var(--gray);
  text-decoration: none;
  transition: color .15s ease;
}
.ct-crumbs a:hover { color: var(--ink); }

.ct-crumbs [aria-current="page"] { color: var(--ink-soft); }

/* Kicker ------------------------------------------------------------------ */

.ct-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clay-deep);
}

.ct-kicker::before {
  content: "";
  width: 2px;
  height: 13px;
  background: var(--clay);
  flex: none;
}

/* Section scaffolding ----------------------------------------------------- */

.ct-section { padding: var(--ct-sec) 0; }

.ct-sec-head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.ct-sec-head h2 {
  max-width: 620px;
  font-family: var(--font-display);
  font-size: clamp(27px, 3.5vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.ct-sec-head__body {
  max-width: 530px;
  font-size: 15px;
  line-height: 24px;
  color: var(--gray);
}

.ct-sec-head__body p + p { margin-top: 8px; }

@media (min-width: 900px) {
  .ct-sec-head {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    grid-template-areas:
      "kicker ."
      "title body";
    column-gap: 56px;
    row-gap: 12px;
    align-items: start;
    margin-bottom: 40px;
  }
  .ct-sec-head .ct-kicker { grid-area: kicker; }
  .ct-sec-head h2 { grid-area: title; }
  .ct-sec-head__body {
    grid-area: body;
    align-self: start;
    padding-top: 2px;
    font-size: 16px;
    line-height: 26px;
  }
}

/* Hero -------------------------------------------------------------------- */

.ct-hero {
  position: relative;
  overflow: hidden;
}

.ct-hero::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -20px;
  width: 420px;
  height: 240px;
  background-image: radial-gradient(var(--ring-strong) 1px, transparent 1.2px);
  background-size: 14px 14px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at 70% 20%, #000 25%, transparent 72%);
  pointer-events: none;
}

.ct-hero__grid {
  position: relative;
  display: grid;
  gap: 30px;
  padding: 36px 0 40px;
}

.ct-hero__copy { min-width: 0; }

.ct-hero__copy .ct-kicker { margin-bottom: 16px; }

.ct-hero h1 {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 66px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.ct-hero__accent { color: var(--clay-deep); }

.ct-hero__lede {
  max-width: 560px;
  margin-top: 22px;
}

.ct-hero__lede p {
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-soft);
}

.ct-hero__lede p + p { margin-top: 10px; }

.ct-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.ct-hero__figure { margin: 0; width: 100%; min-width: 0; }

.ct-hero__frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}

.ct-hero__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.ct-hero__figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding-top: 10px;
  font-size: 12px;
  line-height: 18px;
  color: var(--gray);
}

.ct-hero__figure figcaption span:last-child {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-3);
}

@media (min-width: 640px) {
  .ct-hero h1 { font-size: clamp(44px, 6vw, 66px); }
}

@media (min-width: 900px) {
  .ct-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    column-gap: 56px;
    padding: 48px 0 52px;
  }
  .ct-hero__lede p { font-size: 17px; line-height: 27px; }
}

@media (min-width: 1200px) {
  .ct-hero__grid { column-gap: 72px; }
}

/* How we can help --------------------------------------------------------- */

.ct-help__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.ct-help-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .15s ease;
}

.ct-help-card:hover { border-color: var(--ring-strong); }

.ct-help-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ct-help-card__icon {
  display: block;
  width: 52px;
  height: 52px;
  flex: none;
}

.ct-help-card__num {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .1em;
  color: var(--gray-3);
}

.ct-help-card h3 {
  max-width: 320px;
  font-size: 20px;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.ct-help-card p {
  max-width: 440px;
  margin-top: 9px;
  font-size: 15px;
  line-height: 24px;
  color: var(--gray);
}

.ct-help-card__link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 20px;
}

.ct-help-card__link:hover { border-color: var(--clay); }

@media (min-width: 640px) {
  .ct-help-card { padding: 26px; }
}

@media (min-width: 760px) {
  .ct-help__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-help-card { min-height: 260px; }
}

@media (min-width: 900px) {
  .ct-help-card { padding: 28px; min-height: 276px; }
  .ct-help-card h3 { font-size: 21px; }
}

/* Project enquiry --------------------------------------------------------- */

.ct-enquiry__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

@media (min-width: 1024px) {
  .ct-enquiry__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    column-gap: 56px;
  }
}

.ct-form-panel {
  min-width: 0;
  padding: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
}

@media (min-width: 640px) {
  .ct-form-panel { padding: 30px; }
}

@media (min-width: 1200px) {
  .ct-form-panel { padding: 34px; }
}

.ct-form__note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 18px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.ct-form__note p {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.ct-form__note p:last-child { color: var(--gray); }

.ct-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.ct-field label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: .005em;
  color: var(--ink-soft);
}

.ct-req {
  color: var(--clay-deep);
  font-weight: 600;
}

.ct-field__optional {
  color: var(--gray);
  font-weight: 400;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 22px;
  letter-spacing: .005em;
  transition: border-color .15s ease, background-color .15s ease;
}

.ct-field input,
.ct-field select {
  height: 46px;
  padding: 0 14px;
}

.ct-field textarea {
  min-height: 156px;
  padding: 11px 14px;
  resize: vertical;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder { color: var(--gray-3); opacity: 1; }

.ct-field input:hover,
.ct-field select:hover,
.ct-field textarea:hover { border-color: var(--ring-strong); }

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-color: var(--ink);
  border-radius: 10px;
}

.ct-field input:user-invalid,
.ct-field select:user-invalid,
.ct-field textarea:user-invalid { border-color: var(--clay-deep); }

.ct-select {
  position: relative;
}

.ct-select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
}

.ct-select .icon {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 11px;
  height: 11px;
  color: var(--gray);
  transform: translateY(-50%);
  pointer-events: none;
}

.ct-form__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.ct-form__footer .btn { width: 100%; }

.ct-form__privacy {
  max-width: 560px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 18px;
  color: var(--gray);
}

.ct-form__privacy a {
  color: var(--ink-soft);
  text-underline-offset: 2px;
}

@media (min-width: 640px) {
  .ct-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 18px;
  }
  .ct-field--full { grid-column: 1 / -1; }
  .ct-form__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .ct-form__footer .btn { width: auto; }
}

/* Confirmation panel */

.ct-success { padding: 6px 0 2px; }

.ct-success[hidden] { display: none; }

.ct-success__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--cactus);
  color: var(--ink);
}

.ct-success__icon .icon { width: 22px; height: 22px; }

.ct-success h3 {
  max-width: 440px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.ct-success p {
  max-width: 460px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 24px;
  color: var(--gray);
}

.ct-success .btn { margin-top: 22px; }

/* What happens next rail */

.ct-aside {
  min-width: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.ct-aside .ct-kicker { margin-bottom: 14px; }

.ct-aside h3 {
  max-width: 320px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.ct-steps {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.ct-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.ct-step__num {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .08em;
  color: var(--clay-deep);
}

.ct-step h4 {
  font-size: 14px;
  line-height: 21px;
  font-weight: 600;
}

.ct-step p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray);
}

.ct-aside__note {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.ct-aside__note strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
}

.ct-aside__note p {
  font-size: 12px;
  line-height: 19px;
  color: var(--gray);
}

.ct-aside__note a {
  color: var(--ink-soft);
  text-underline-offset: 2px;
}

@media (min-width: 1024px) {
  .ct-aside {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
    padding: 4px 0 0 36px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

/* Other enquiries --------------------------------------------------------- */

.ct-other__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.ct-other-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 218px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease;
}

.ct-other-card:hover { border-color: var(--ring-strong); }

.ct-other-card:focus-visible { border-radius: 12px; }

.ct-other-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ct-other-card__num {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .1em;
  color: var(--gray-3);
}

.ct-other-card__icon {
  width: 16px;
  height: 16px;
  color: var(--gray-3);
  transition: transform .15s ease;
}

.ct-other-card:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.ct-other-card:hover .ct-other-card__icon { transform: translateX(3px); }

.ct-other-card h3 {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.ct-other-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 23px;
  color: var(--gray);
}

.ct-other-card__link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
}

.ct-other-card:hover .ct-other-card__link { border-color: var(--clay); }

@media (min-width: 640px) {
  .ct-other-card { padding: 24px; }
}

@media (min-width: 640px) and (max-width: 899px) {
  .ct-other__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-other-card:last-child { grid-column: 1 / -1; min-height: 0; }
  .ct-other-card:last-child p { max-width: 520px; }
}

@media (min-width: 900px) {
  .ct-other__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ct-other-card { min-height: 236px; }
}

/* The shared focus rule rounds every outline to 4px; keep pills and cards in
   their own shape when they receive keyboard focus. */
.ct-frame .btn:focus-visible { border-radius: 999px; }

/* Closing CTA ------------------------------------------------------------- */

.ct-cta {
  padding: 52px 0 60px;
  text-align: center;
}

.ct-cta .ct-kicker { justify-content: center; }

.ct-cta h2 {
  max-width: 700px;
  margin: 14px auto 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.ct-cta__body {
  max-width: 540px;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 25px;
  color: var(--gray);
}

.ct-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  max-width: 320px;
  margin: 26px auto 0;
}

.ct-cta__actions .btn { width: 100%; }

@media (min-width: 640px) {
  .ct-cta { padding: 64px 0 76px; }
  .ct-cta__actions {
    flex-direction: row;
    align-items: center;
    max-width: none;
  }
  .ct-cta__actions .btn { width: auto; }
}

/* Small phones ------------------------------------------------------------ */

@media (max-width: 639px) {
  .ct-hero__grid { padding: 28px 0 34px; }
  .ct-hero__actions .btn { width: 100%; }
  .ct-hero__figure figcaption span:last-child { display: none; }
  .ct-form-panel { padding: 18px; }
  .ct-field input,
  .ct-field select,
  .ct-field textarea { font-size: 16px; }
  .ct-help-card { padding: 18px; }
  .ct-other-card { padding: 18px; }
  .ct-cta { padding: 44px 0 52px; }
}

/* Reduced motion ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ct-crumbs a,
  .ct-help-card,
  .ct-other-card,
  .ct-field input,
  .ct-field select,
  .ct-field textarea { transition: none; }
}

/* ============================================================================
   5. Newsroom — /news
   Source: newsroom.css · used by newsroom.html · <body class="nr-page">
   ============================================================================ */

/* ==========================================================================
   Kudosoft — Newsroom (/news)
   Layout reference: zapier.com/blog
   Page intro → featured story → category bar → three-up story grid →
   "see all".

   Tokens, type scale, buttons and the footer come from styles.css; this file
   only adds the newsroom components.
   ========================================================================== */

:root {
  --nr-tag-announcement: #B04E2C;
  --nr-tag-product: #3F7099;
  --nr-tag-feature: #5B6E43;
  --nr-media-radius: 4px;
}

/* sections in main carry a hairline in styles.css; this page draws its own
   rules where it needs them. */
.nr-main > section + section { border-top: 0; }
.nr-main > section:last-child { border-bottom: 0; }

/* Intro ------------------------------------------------------------------- */

.nr-intro { padding: 56px 0 0; }

.nr-intro .eyebrow { margin: 0 0 18px; }

.nr-intro__grid { display: grid; gap: 24px; }

.nr-intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.nr-intro__body { max-width: 560px; }

.nr-intro__body p {
  font-size: 17px;
  line-height: 27px;
  color: var(--ink-soft);
}

.nr-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

@media (min-width: 900px) {
  .nr-intro { padding-top: 80px; }
  .nr-intro__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    column-gap: 72px;
    align-items: end;
  }
  .nr-intro__body { padding-bottom: 4px; }
}

/* Category bar ------------------------------------------------------------ */

.nr-bar {
  margin-top: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.nr-bar__row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 56px;
}

.nr-bar__label {
  flex: none;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: .01em;
}

.nr-bar__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 24px;
  row-gap: 2px;
  min-width: 0;
  padding: 12px 0;
}

.nr-bar__link {
  position: relative;
  flex: none;
  padding: 4px 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease;
}
.nr-bar__link:hover { color: var(--ink); }
.nr-bar__link.is-active { color: var(--ink); }

.nr-bar__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1.5px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}
.nr-bar__link.is-active::after { transform: none; }

.nr-bar__desc {
  max-width: 760px;
  padding-bottom: 18px;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray);
}

/* Featured story ---------------------------------------------------------- */

.nr-featured { padding: 64px 0 48px; }

.nr-feature { display: grid; gap: 36px; }

.nr-feature__text { max-width: 600px; }

.nr-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nr-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.nr-tag--announcement { color: var(--nr-tag-announcement); }
.nr-tag--product { color: var(--nr-tag-product); }
.nr-tag--feature { color: var(--nr-tag-feature); }

.nr-feature h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.9vw, 46px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.nr-feature h2 a { text-decoration: none; }
.nr-feature h2 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.nr-feature__dek {
  max-width: 540px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 28px;
  color: var(--ink-soft);
}

.nr-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray);
}

.nr-dot {
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ring-strong);
}

.nr-feature__media {
  position: relative;
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--nr-media-radius);
  background-color: var(--cream);
  background-image: radial-gradient(var(--line) 1px, transparent 1.2px);
  background-size: 14px 14px;
}

.nr-feature__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 20px 44px rgba(20, 20, 19, .14);
}

.nr-pill {
  position: absolute;
  top: -14px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 4px;
  background: var(--cactus);
  color: var(--ink);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 1px 2px rgba(20, 20, 19, .08);
}

@media (max-width: 899px) {
  .nr-feature__text { order: 2; }
  .nr-feature__media { order: 1; }
}

@media (min-width: 900px) {
  .nr-featured { padding: 96px 0 56px; }
  .nr-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    column-gap: 64px;
    align-items: center;
  }
}

/* Story grid -------------------------------------------------------------- */

.nr-latest { padding: 48px 0 88px; }

.nr-latest__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.nr-latest__note {
  max-width: 620px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 22px;
  color: var(--gray);
}

.nr-latest__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.02em;
}

.nr-count {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
}

.nr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

.nr-card { min-width: 0; }
.nr-card.is-hidden { display: none; }

.nr-card__link { display: block; text-decoration: none; }

.nr-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--nr-media-radius);
  background: var(--cream-deep);
}

.nr-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.nr-card h3 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.012em;
  text-wrap: balance;
}

.nr-card p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 23px;
  color: var(--gray);
}

.nr-card__meta {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray);
}

.nr-card__link:hover img { transform: scale(1.035); }
.nr-card__link:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (min-width: 640px) {
  .nr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
}

@media (min-width: 1024px) {
  .nr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
  .nr-card h3 { font-size: 21px; }
}

.nr-more {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

@media (max-width: 639px) {
  .nr-bar__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-height: 0;
    padding-top: 14px;
  }
  .nr-bar__label {
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--gray);
  }
  .nr-bar__links { padding: 4px 0 12px; column-gap: 20px; }
  .nr-bar__desc { padding-bottom: 14px; }
}

/* Small screens ----------------------------------------------------------- */

@media (max-width: 639px) {
  .nr-intro { padding-top: 44px; }
  .nr-featured { padding: 48px 0 36px; }
  .nr-feature__media { padding: 14px; }
  .nr-pill { top: -12px; right: 12px; }
  .nr-latest { padding: 36px 0 72px; }
  .nr-latest__head { margin-bottom: 28px; }
  .nr-more { margin-top: 48px; }
}

/* Reduced motion ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .nr-card__media img { transition: none; }
  .nr-card__link:hover img { transform: none; }
  .nr-bar__link,
  .nr-bar__link::after { transition: none; }
}

/* ============================================================================
   6. Resources — /resources
   Source: resources.css · used by resources.html · <body class="rs-page">
   ============================================================================ */

/* ==========================================================================
   Kudosoft — Resources (/resources)
   Layout reference: zapier.com/resources/guides
   Centred masthead → featured resource → filter rail + two-up resource grid →
   resource-type rows → closing CTA.

   Tokens, type scale, buttons, section header and the footer come from
   styles.css; this file only adds the resources components.
   ========================================================================== */

:root {
  --rs-radius: 6px;
}

/* Masthead ---------------------------------------------------------------- */

.rs-hero {
  padding: 56px 0 64px;
  text-align: center;
}

.rs-hero .eyebrow { margin-bottom: 20px; }

.rs-hero h1 {
  max-width: 15ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.01;
  font-weight: 600;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.rs-hero__lede {
  max-width: 620px;
  margin: 24px auto 0;
  font-size: 17px;
  line-height: 27px;
  color: var(--gray);
}

.rs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

/* Featured resource ------------------------------------------------------- */

.rs-featured { padding: 64px 0 72px; }

.rs-feature { display: grid; gap: 32px; }

.rs-feature__text { min-width: 0; }

.rs-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
}

.rs-kicker strong {
  font-weight: 600;
  color: var(--ink);
}

.rs-kicker .rs-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ring-strong);
}

.rs-feature h2 {
  max-width: 17ch;
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.rs-feature h2 a { text-decoration: none; }
.rs-feature h2 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.rs-feature__dek {
  max-width: 520px;
  margin-top: 20px;
  font-size: 17px;
  line-height: 27px;
  color: var(--ink-soft);
}

.rs-meta {
  margin-top: 20px;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray);
}

.rs-feature .btn { margin-top: 28px; }

.rs-feature__media {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--rs-radius);
  background: var(--cream);
}

.rs-feature__media img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 900px) {
  .rs-featured { padding: 88px 0 96px; }
  .rs-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    column-gap: 64px;
    align-items: center;
  }
}

/* Library — filter rail + resource grid ----------------------------------- */

.rs-library { padding: 72px 0 88px; }

.rs-library__grid { display: grid; gap: 40px; }

.rs-rail { min-width: 0; }

.rs-rail__label {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
}

.rs-rail__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.rs-rail__btn {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 36px;
  margin: 0;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.rs-rail__btn:hover { background: var(--cream); }

.rs-rail__btn[aria-pressed="true"] {
  border-color: var(--ring-strong);
  background: var(--cream);
  color: var(--ink);
}

.rs-rail__check {
  flex: none;
  width: 12px;
  height: 12px;
  color: var(--clay);
  opacity: 0;
  transition: opacity .15s ease;
}

.rs-rail__btn[aria-pressed="true"] .rs-rail__check { opacity: 1; }

.rs-rail__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  color: var(--gray-3);
}

.rs-lib__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.rs-lib__head h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.02em;
}

.rs-lib__count {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
}

.rs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-card { min-width: 0; }
.rs-card.is-hidden { display: none; }

.rs-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--rs-radius);
  background: var(--page);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.rs-card__link:hover {
  border-color: var(--ring-strong);
  box-shadow: 0 10px 24px rgba(20, 20, 19, .05);
}

.rs-card__link:focus-visible { outline-offset: 2px; }

.rs-card__media {
  display: block;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.rs-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.rs-card__link:hover .rs-card__media img { transform: scale(1.03); }

.rs-poster {
  display: flex;
  flex-direction: column;
  aspect-ratio: 8 / 5;
  padding: 24px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--page);
}

.rs-poster__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--footer-muted);
}

.rs-poster__rule {
  width: 40px;
  height: 2px;
  margin-top: 14px;
  background: var(--clay);
}

.rs-poster__title {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -.03em;
}

.rs-poster__note {
  max-width: 34ch;
  margin-top: 14px;
  font-size: 13px;
  line-height: 20px;
  color: var(--footer-muted);
}

.rs-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 20px;
}

.rs-card__type {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
}

.rs-card h3 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -.014em;
  text-wrap: balance;
}

.rs-card__desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 23px;
  color: var(--gray);
}

.rs-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray);
}

.rs-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.rs-card__more .icon {
  width: 13px;
  height: 13px;
  transition: transform .18s var(--ease);
}

.rs-card__link:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.rs-card__link:hover .rs-card__more .icon { transform: translateX(3px); }

@media (min-width: 640px) {
  .rs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .rs-library__grid { grid-template-columns: 232px minmax(0, 1fr); column-gap: 48px; }
  .rs-rail { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
  .rs-rail__list { flex-direction: column; gap: 2px; margin-top: 16px; }
  .rs-rail__btn {
    padding: 9px 12px 9px 8px;
    border-color: transparent;
    border-radius: 6px;
  }
  .rs-rail__btn[aria-pressed="true"] { border-color: transparent; background: var(--cream); }
  .rs-grid { gap: 30px 28px; }
  .rs-card h3 { font-size: 20px; }
}

/* Resource types ---------------------------------------------------------- */

.rs-types { padding: 80px 0 32px; }

.rs-types__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rs-type {
  display: grid;
  gap: 12px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.rs-type__head { display: flex; align-items: baseline; gap: 14px; }

.rs-type__num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .08em;
  color: var(--gray-3);
}

.rs-type h3 {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -.02em;
}

.rs-type__lead {
  font-size: 17px;
  line-height: 26px;
  font-weight: 500;
  color: var(--ink);
}

.rs-type__body p + p { margin-top: 12px; }

.rs-type__body p {
  max-width: 640px;
  font-size: 15px;
  line-height: 24px;
  color: var(--gray);
}

.rs-type .textlink { margin-top: 16px; }

@media (min-width: 900px) {
  .rs-type {
    grid-template-columns: 360px minmax(0, 1fr);
    column-gap: 56px;
    row-gap: 0;
    padding: 40px 0;
  }
  .rs-type__head { gap: 16px; }
  .rs-type__lead { margin-top: 2px; }
}

/* Small screens ----------------------------------------------------------- */

@media (max-width: 639px) {
  .rs-hero { padding: 40px 0 48px; }
  .rs-hero h1 { letter-spacing: -.03em; }
  .rs-featured { padding: 44px 0 52px; }
  .rs-library { padding: 52px 0 64px; }
  .rs-library__grid { gap: 28px; }
  .rs-rail__btn { width: auto; }
  .rs-poster { padding: 20px; }
  .rs-card__body { padding: 18px 18px 16px; }
  .rs-card__foot { padding-top: 18px; }
  .rs-types { padding: 56px 0 24px; }
  .rs-type { padding: 26px 0; }
}

/* Reduced motion ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .rs-card__media img,
  .rs-card__more .icon { transition: none; }
  .rs-card__link:hover .rs-card__media img { transform: none; }
  .rs-card__link:hover .rs-card__more .icon { transform: none; }
}

/* ============================================================================
   7. AI Agents & Automation
   Source: agents.css · used by ai-agents-automation.html · <body class="ag-page">
   ============================================================================ */

/* ==========================================================================
   Kudosoft — AI Agents & Automation
   Page layer for styles.css. Reuses the existing tokens, type and components.
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.ag-page p {
  text-wrap: pretty;
}

/* Hero -------------------------------------------------------------------- */

.ag-hero {
  padding: clamp(48px, 6vw, 88px) 0 0;
}

.ag-hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.ag-hero__meta .eyebrow:first-child {
  color: var(--ink);
}

.ag-hero__meta .eyebrow:last-child {
  color: var(--gray);
  text-align: right;
}

.ag-hero__title {
  max-width: 1180px;
  margin-top: clamp(36px, 5.2vw, 68px);
  font-family: var(--font-display);
  font-size: clamp(50px, 7.2vw, 100px);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.ag-hero__title em {
  font-style: italic;
  color: var(--clay);
}

.ag-hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(36px, 4.6vw, 60px);
}

.ag-hero__dek {
  max-width: 780px;
  font-size: clamp(20px, 2.15vw, 27px);
  line-height: 1.36;
  letter-spacing: -0.014em;
  text-wrap: pretty;
}

.ag-hero__body {
  max-width: 660px;
  margin-top: 16px;
  color: var(--gray);
  font-size: 16.5px;
  line-height: 1.6;
}

.ag-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 34px;
}

/* On this page ------------------------------------------------------------ */

.ag-index {
  padding-top: 12px;
  border-top: 1px solid var(--ink);
}

.ag-index__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.ag-index__head .eyebrow:last-child {
  color: var(--gray);
}

.ag-index__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ag-index__list a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 12px;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 0.5px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ag-index__list a:hover {
  color: var(--ink);
}

.ag-index__list span:first-child {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
}

.ag-index__arrow {
  color: var(--gray-3);
  font-size: 12px;
  line-height: 1;
  transition: transform 0.15s ease, color 0.15s ease;
}

.ag-index__list a:hover .ag-index__arrow {
  transform: translate(2px, -2px);
  color: var(--clay-deep);
}

/* Feature figure ---------------------------------------------------------- */

.ag-feature {
  margin-top: clamp(44px, 6vw, 76px);
}

.ag-feature__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--ring);
}

.ag-feature__media img {
  width: 100%;
}

.ag-feature__caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  color: var(--gray);
  font-size: 12px;
  line-height: 18px;
}

.ag-feature__caption span:last-child {
  color: var(--gray-3);
  text-align: right;
  white-space: nowrap;
}

/* Introduction ------------------------------------------------------------ */

.ag-intro {
  padding: clamp(84px, 9vw, 128px) 0 clamp(72px, 8vw, 104px);
  border-top: 1px solid var(--line);
}

.ag-intro__grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 270px;
  gap: clamp(32px, 4.6vw, 64px);
  align-items: start;
}

.ag-intro__label {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  align-self: start;
}

.ag-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
}

.ag-eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}

.ag-intro h2 {
  max-width: 800px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.ag-intro h2 em {
  font-style: italic;
  color: inherit;
}

.ag-intro__lead {
  max-width: 720px;
  margin-top: 26px;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.ag-intro__body p + p {
  max-width: 700px;
  margin-top: 18px;
  color: var(--gray);
  font-size: 16.5px;
  line-height: 1.62;
}

.ag-intro__body p.ag-intro__turn {
  color: var(--ink);
  font-weight: 500;
}

/* The shift --------------------------------------------------------------- */

.ag-shift {
  padding-top: 12px;
  border-top: 1px solid var(--ink);
}

.ag-shift__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.ag-shift__head .eyebrow:last-child {
  color: var(--gray-3);
}

.ag-shift__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ag-shift__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--line);
  font-size: 13px;
  line-height: 19px;
}

.ag-shift__list span:first-child {
  color: var(--gray);
}

.ag-shift__list span:last-child {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

.ag-shift__list span:last-child::before {
  content: "→";
  margin-right: 7px;
  color: var(--clay-deep);
  font-weight: 400;
}

.ag-shift__list li:last-child {
  border-bottom-color: transparent;
}

/* Comparison table -------------------------------------------------------- */

.ag-compare {
  width: 100%;
  margin-top: clamp(44px, 5vw, 68px);
  border-collapse: collapse;
  text-align: left;
}

.ag-compare caption {
  padding: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: left;
}

.ag-compare th,
.ag-compare td {
  padding: 15px 0;
  border-top: 0.5px solid var(--line);
  vertical-align: top;
  font-weight: 400;
}

.ag-compare thead th {
  border-top: 1px solid var(--ink);
  padding-top: 13px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.ag-compare thead th:last-child {
  color: var(--ink);
}

.ag-compare tbody th {
  width: 170px;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray);
}

.ag-compare td {
  width: 42%;
  font-size: 15px;
  line-height: 22px;
  color: var(--ink-soft);
}

.ag-compare td:last-child {
  color: var(--ink);
}

.ag-compare th + th,
.ag-compare td + td {
  padding-left: clamp(20px, 3.4vw, 52px);
}

.ag-compare tbody tr:last-child th,
.ag-compare tbody tr:last-child td {
  padding-bottom: 6px;
}

/* Shared section rhythm --------------------------------------------------- */

.ag-section {
  padding-block: clamp(84px, 9.5vw, 132px);
}

.ag-page main > .ag-section + .ag-section {
  border-top: 1px solid var(--line);
}

.ag-page .section-head {
  margin-bottom: clamp(38px, 4.6vw, 58px);
}

.ag-page .section-head > .eyebrow {
  justify-self: start;
}

.ag-page .section-head h2 {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.034em;
}

.ag-page .section-head h2 em {
  font-style: italic;
  color: inherit;
}

.ag-page .section-head__body {
  max-width: 500px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.62;
}

.ag-page .section-head__body p + p {
  margin-top: 10px;
}

.ag-page .section-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--gray-3);
}

.ag-page .section-note::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--clay);
  flex: none;
}

/* What we build ----------------------------------------------------------- */

.ag-build {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}

.ag-build__cell {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.2vw, 30px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ag-build__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.ag-build__num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.ag-build__icon {
  width: 26px;
  height: 26px;
  color: var(--ink);
  opacity: 0.72;
}

.ag-build h3 {
  max-width: 300px;
  font-size: 21px;
  line-height: 1.26;
  font-weight: 600;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

.ag-build__tagline {
  max-width: 300px;
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
}

.ag-build__body {
  max-width: 320px;
  margin-top: 9px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.56;
}

.ag-build__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 0.5px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.ag-build__foot span:first-child {
  color: var(--gray);
}

.ag-build__foot span:last-child {
  text-align: right;
}

/* Figures ----------------------------------------------------------------- */

.ag-figure {
  margin: 0 0 clamp(40px, 5vw, 58px);
}

.ag-figure--band {
  margin: clamp(38px, 4.6vw, 58px) 0 0;
}

.ag-figure__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}

.ag-figure__media img {
  width: 100%;
}

.ag-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  color: var(--gray);
  font-size: 12px;
  line-height: 18px;
}

.ag-figure figcaption span:last-child {
  color: var(--gray-3);
  text-align: right;
  white-space: nowrap;
}

/* Agent steps ------------------------------------------------------------- */

.ag-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.ag-step {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 0.52fr) minmax(0, 1fr) 84px;
  gap: clamp(16px, 2.6vw, 34px);
  align-items: start;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}

.ag-step::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0;
  bottom: -1px;
  border-left: 1px dotted var(--ring-strong);
}

.ag-step:first-child::before {
  top: 32px;
}

.ag-step:last-child::before {
  top: 0;
  bottom: auto;
  height: 32px;
}

.ag-step__num {
  position: relative;
  padding: 3px 0 0 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--gray);
}

.ag-step__num::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
}

.ag-step h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.ag-step p {
  max-width: 620px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.58;
}

.ag-step__tag {
  justify-self: end;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
}

/* Automation band --------------------------------------------------------- */

.ag-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.ag-band__head h2 {
  max-width: 640px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.ag-band__copy {
  max-width: 520px;
  padding-top: 32px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.62;
}

.ag-band__copy p + p {
  margin-top: 12px;
}

.ag-band__copy .ag-band__turn {
  color: var(--ink);
  font-weight: 500;
}

.ag-auto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 40px);
  margin: clamp(38px, 4.6vw, 58px) 0 0;
  padding: 0;
  list-style: none;
}

.ag-auto-item {
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
}

.ag-auto-item:nth-child(-n + 3) {
  border-top-color: var(--ink);
}

.ag-auto-item__num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
}

.ag-auto-item h3 {
  margin-top: 10px;
  font-size: 17.5px;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.ag-auto-item p {
  max-width: 330px;
  margin-top: 8px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.56;
}

/* Engineering capabilities ------------------------------------------------ */

.ag-caps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 5vw, 72px);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.ag-cap {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 84px;
  gap: 12px;
  align-items: start;
  padding: 19px 0 21px;
  border-bottom: 1px solid var(--line);
}

.ag-cap__num {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
}

.ag-cap h3 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.ag-cap p {
  max-width: 470px;
  margin-top: 6px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.56;
}

.ag-cap__label {
  justify-self: end;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: right;
}

/* Where agents create value ----------------------------------------------- */

.ag-value {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.ag-value__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.5fr) minmax(0, 1fr) 96px;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}

.ag-value__num {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gray-3);
  font-variant-numeric: tabular-nums;
  transition: color 0.15s ease;
}

.ag-value h3 {
  font-size: 18px;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -0.014em;
}

.ag-value p {
  max-width: 560px;
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.58;
}

.ag-value__tag {
  justify-self: end;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: right;
}

.ag-value__row:hover .ag-value__num {
  color: var(--clay-deep);
}

/* Our approach ------------------------------------------------------------ */

.ag-approach {
  padding: clamp(22px, 3.4vw, 44px);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: inset 0 0 0 0.5px var(--ring);
}

.ag-approach__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 5vw, 72px);
}

.ag-approach__intro h3 {
  max-width: 320px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.027em;
  text-wrap: balance;
}

.ag-approach__intro h3 em {
  font-style: italic;
  color: inherit;
}

.ag-approach__intro > p:not(.eyebrow) {
  max-width: 330px;
  margin: 14px 0 0;
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.6;
}

.ag-gates {
  width: 100%;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 0.5px solid var(--line);
}

.ag-gates li {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--line);
  font-size: 13px;
  line-height: 19px;
  color: var(--ink-soft);
}

.ag-gates span:first-child {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.ag-principles {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ag-principle {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0 16px;
  border-top: 0.5px solid var(--line);
}

.ag-principle:first-child {
  padding-top: 2px;
  border-top: 0;
}

.ag-principle__num {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  color: var(--clay-deep);
}

.ag-principle h4 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.ag-principle p {
  margin-top: 4px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.55;
}

.ag-approach__note {
  max-width: 780px;
  margin: clamp(28px, 3.4vw, 40px) 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--clay);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

/* Who we build for -------------------------------------------------------- */

.ag-audience {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(20px, 2.6vw, 32px);
}

.ag-audience__card {
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.ag-audience__card > .eyebrow {
  color: var(--gray);
}

.ag-audience h3 {
  max-width: 230px;
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.014em;
  text-wrap: balance;
}

.ag-audience p {
  margin-top: 10px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.58;
}

/* Closing CTA ------------------------------------------------------------- */

.ag-cta {
  padding: clamp(84px, 9.5vw, 132px) 0 clamp(56px, 6vw, 80px);
  border-top: 0;
  background: var(--ink);
  color: var(--page);
}

.ag-page main > .ag-cta:last-child {
  border-bottom: 0;
}

.ag-cta .eyebrow {
  color: var(--footer-muted);
}

.ag-cta h2 {
  max-width: 980px;
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 74px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.ag-cta h2 em {
  font-style: italic;
  color: var(--clay);
}

.ag-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: end;
  margin-top: clamp(34px, 4.6vw, 54px);
}

.ag-cta__copy {
  max-width: 500px;
  color: var(--footer-muted);
  font-size: 16px;
  line-height: 1.62;
}

.ag-cta__copy p + p {
  margin-top: 12px;
}

.ag-cta__copy .ag-cta__emphasis {
  color: var(--page);
  font-weight: 500;
}

.ag-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.ag-cta .btn--primary {
  border-color: var(--page);
  background: var(--page);
  color: var(--ink);
}

.ag-cta .btn--primary:hover {
  border-color: var(--cream);
  background: var(--cream);
}

.ag-cta .btn--secondary {
  border-color: rgba(250, 249, 245, 0.3);
  background: transparent;
  color: var(--page);
}

.ag-cta .btn--secondary:hover {
  background: rgba(250, 249, 245, 0.08);
}

.ag-cta__micro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(44px, 5.6vw, 72px);
  padding-top: 16px;
  border-top: 1px solid rgba(250, 249, 245, 0.15);
  color: var(--gray-3);
  font-size: 12px;
  line-height: 18px;
}

.ag-cta__micro span:last-child {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.ag-page .footer {
  padding-top: clamp(64px, 6vw, 88px);
}

/* Nav current state ------------------------------------------------------- */

.ag-page .nav__panel-item[aria-current="page"] {
  background: var(--cream-deep);
}

.ag-page .menu__group a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1180px) {
  .ag-hero__intro {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 48px;
  }

  .ag-intro__grid {
    grid-template-columns: 150px minmax(0, 1fr) 240px;
  }

  .ag-step {
    grid-template-columns: 72px minmax(0, 0.5fr) minmax(0, 1fr) 76px;
  }

  .ag-value__row {
    grid-template-columns: 56px minmax(0, 0.5fr) minmax(0, 1fr) 88px;
  }
}

@media (max-width: 1023px) {
  .ag-hero__intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ag-index {
    max-width: 460px;
  }

  .ag-intro__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ag-intro__label {
    position: static;
  }

  .ag-shift {
    max-width: 520px;
    margin-top: 8px;
  }

  .ag-compare tbody th {
    width: 130px;
  }

  .ag-band {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ag-band__copy {
    padding-top: 0;
  }

  .ag-approach__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ag-approach__intro h3,
  .ag-approach__intro > p {
    max-width: 520px;
  }

  .ag-audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .ag-cta__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ag-step {
    grid-template-columns: 56px minmax(0, 0.55fr) minmax(0, 1fr) 70px;
    gap: 20px;
  }

  .ag-build {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ag-value__row {
    grid-template-columns: 48px minmax(0, 0.55fr) minmax(0, 1fr);
  }

  .ag-value__tag {
    display: none;
  }
}

@media (max-width: 767px) {
  .ag-hero__title {
    font-size: clamp(40px, 10.5vw, 64px);
  }

  .ag-hero__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ag-hero__meta .eyebrow:last-child {
    text-align: left;
  }

  .ag-feature__caption,
  .ag-figure figcaption {
    flex-direction: column;
    gap: 4px;
  }

  .ag-feature__caption span:last-child,
  .ag-figure figcaption span:last-child {
    text-align: left;
  }

  .ag-step {
    grid-template-columns: 34px minmax(0, 1fr);
    row-gap: 6px;
    padding: 20px 0 22px;
  }

  .ag-step::before,
  .ag-step:first-child::before,
  .ag-step:last-child::before {
    display: none;
  }

  .ag-step__num {
    grid-row: 1 / span 2;
    padding-left: 12px;
  }

  .ag-step__num::before {
    top: 7px;
    left: -1px;
  }

  .ag-step h3,
  .ag-step p {
    grid-column: 2;
  }

  .ag-step__tag {
    display: none;
  }

  .ag-caps {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .ag-cap {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .ag-cap:first-child {
    border-top: 1px solid var(--ink);
  }

  .ag-cap__label {
    display: none;
  }

  .ag-auto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ag-auto-item:nth-child(3) {
    border-top-color: var(--line);
  }

  .ag-value__row {
    grid-template-columns: 36px minmax(0, 1fr);
    row-gap: 6px;
    padding: 20px 0 22px;
  }

  .ag-value__num {
    grid-row: 1;
    font-size: 18px;
  }

  .ag-value h3,
  .ag-value p {
    grid-column: 2;
  }

  .ag-compare tbody th {
    width: auto;
    padding-right: 16px;
    font-size: 12px;
  }

  .ag-compare th + th,
  .ag-compare td + td {
    padding-left: 16px;
  }

  .ag-compare td {
    font-size: 13.5px;
    line-height: 20px;
  }

  .ag-cta__micro {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 639px) {
  .ag-hero {
    padding-top: 36px;
  }

  .ag-hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .ag-hero__actions .btn {
    width: 100%;
  }

  .ag-build {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .ag-build__foot {
    padding-top: 18px;
  }

  .ag-auto-grid {
    grid-template-columns: 1fr;
  }

  .ag-auto-item:nth-child(2) {
    border-top-color: var(--line);
  }

  .ag-audience {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .ag-audience h3 {
    margin-top: 18px;
  }

  .ag-intro {
    padding-block: 72px 56px;
  }

  .ag-section {
    padding-block: 72px;
  }

  .ag-band__head h2 {
    margin-top: 14px;
  }

  .ag-approach {
    padding: 20px;
    border-radius: 12px;
  }

  .ag-approach__note {
    font-size: 15px;
    padding-left: 14px;
  }

  .ag-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ag-cta__actions .btn {
    width: 100%;
  }

  .ag-compare thead th {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ag-index__arrow,
  .ag-index__list a,
  .ag-value__num {
    transition: none;
  }

  .ag-index__list a:hover .ag-index__arrow {
    transform: none;
  }
}

/* ============================================================================
   8. AI Orchestration
   Source: orchestration.css · used by ai-orchestration.html · <body class="ao-page">
   ============================================================================ */

/* ==========================================================================
   Kudosoft — AI Orchestration
   Page layer for styles.css. Reuses the existing tokens, type and components.
   ========================================================================== */

/* Hero -------------------------------------------------------------------- */

.ao-hero {
  padding: clamp(48px, 6vw, 88px) 0 0;
}

.ao-hero__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.ao-hero__meta-row .eyebrow:first-child {
  color: var(--ink);
}

.ao-hero__meta-row .eyebrow:last-child {
  color: var(--gray);
  text-align: right;
}

.ao-hero__title {
  max-width: 1180px;
  margin-top: clamp(36px, 5.2vw, 68px);
  font-family: var(--font-display);
  font-size: clamp(50px, 7.4vw, 104px);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.ao-hero__title em {
  font-style: italic;
  color: var(--clay);
}

.ao-hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(36px, 4.6vw, 60px);
}

.ao-hero__dek {
  max-width: 780px;
  font-size: clamp(20px, 2.15vw, 27px);
  line-height: 1.36;
  letter-spacing: -0.014em;
  text-wrap: pretty;
}

.ao-hero__body {
  max-width: 680px;
  margin-top: 16px;
  color: var(--gray);
  font-size: 16.5px;
  line-height: 1.6;
}

.ao-hero__body + .ao-hero__body {
  margin-top: 10px;
}

.ao-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 32px;
}

.ao-index {
  padding-top: 12px;
  border-top: 1px solid var(--ink);
}

.ao-index__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.ao-index__head .eyebrow:last-child {
  color: var(--gray);
}

.ao-index__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ao-index__list a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 12px;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.2s ease;
}

.ao-index__list a:hover {
  padding-left: 3px;
  color: var(--clay-deep);
}

.ao-index__list span:first-child {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--gray-3);
}

.ao-index__arrow {
  color: var(--gray-3);
  font-size: 12px;
  line-height: 1;
}

.ao-feature {
  margin-top: clamp(44px, 6vw, 76px);
}

.ao-feature__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--ring);
}

.ao-feature__media img {
  width: 100%;
}

.ao-feature__caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  color: var(--gray);
  font-size: 12px;
  line-height: 18px;
}

.ao-feature__caption span:last-child {
  color: var(--gray-3);
  text-align: right;
  white-space: nowrap;
}

/* Introduction ------------------------------------------------------------ */

.ao-intro {
  padding: clamp(80px, 9vw, 124px) 0;
  border-top: 1px solid var(--line);
}

.ao-intro__grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 290px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.ao-intro__label {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  align-self: start;
}

.ao-intro h2 {
  max-width: 820px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.55vw, 58px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.ao-intro h2 em {
  font-style: italic;
  color: inherit;
}

.ao-intro__lead {
  max-width: 720px;
  margin-top: 28px;
  font-size: clamp(19px, 1.75vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.ao-intro__body > p + p {
  max-width: 700px;
  margin-top: 18px;
  color: var(--gray);
  font-size: 16.5px;
  line-height: 1.62;
}

.ao-intro__body p.ao-intro__turn {
  color: var(--ink);
  font-weight: 500;
}

.ao-intro__aside {
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}

.ao-intro__aside > p {
  margin-top: 12px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

.ao-aside-list {
  margin-top: 18px;
}

.ao-aside-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  padding: 9px 0;
  border-top: 0.5px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 19px;
}

.ao-aside-list span:first-child {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--clay-deep);
  padding-top: 2px;
}

/* Shared section rhythm --------------------------------------------------- */

.ao-section {
  padding-block: clamp(84px, 9.5vw, 132px);
}

.ao-page p {
  text-wrap: pretty;
}

.ao-page main > .ao-section + .ao-section {
  border-top: 1px solid var(--line);
}

.ao-page .section-head {
  margin-bottom: clamp(38px, 4.6vw, 58px);
}

.ao-page .section-head h2 {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.034em;
}

.ao-page .section-head h2 em {
  font-style: italic;
  color: inherit;
}

.ao-page .section-head__body {
  max-width: 500px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.62;
}

.ao-page .section-head__body p + p {
  margin-top: 10px;
}

.ao-page .section-head__body .textlink {
  margin-top: 22px;
}

.ao-page .section-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--gray-3);
}

.ao-page .section-note::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--clay);
}

.ao-page .section-head__body .section-note {
  margin-top: 18px;
}

/* What we engineer -------------------------------------------------------- */

.ao-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 3.2vw, 44px);
}

.ao-card {
  padding: 20px 0 30px;
  border-top: 1px solid var(--ink);
}

.ao-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.ao-card__num {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--gray);
}

.ao-card__icon {
  width: 26px;
  height: 26px;
  color: var(--ink);
  opacity: 0.78;
}

.ao-card h3 {
  max-width: 330px;
  font-size: 21px;
  line-height: 1.27;
  font-weight: 600;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

.ao-card p {
  max-width: 350px;
  margin-top: 12px;
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.58;
}

.ao-card:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Workflow figure + steps ------------------------------------------------- */

.ao-figure {
  margin: 0 0 clamp(40px, 5vw, 58px);
}

.ao-figure__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}

.ao-figure__media img {
  width: 100%;
}

.ao-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  color: var(--gray);
  font-size: 12px;
  line-height: 18px;
}

.ao-figure figcaption span:last-child {
  color: var(--gray-3);
  text-align: right;
  white-space: nowrap;
}

.ao-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.ao-step {
  display: grid;
  grid-template-columns: 56px minmax(180px, 0.58fr) minmax(0, 1fr) 84px;
  gap: clamp(16px, 2.6vw, 34px);
  align-items: start;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.ao-step__num {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
}

.ao-step h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.ao-step p {
  max-width: 630px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.58;
}

.ao-step__tag {
  justify-self: end;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
}

/* What can be built ------------------------------------------------------- */

.ao-build-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(38px, 4.6vw, 56px) clamp(20px, 2.8vw, 30px);
}

.ao-build {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.ao-build__media {
  display: block;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border: 1px solid var(--ring);
  border-radius: 10px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--ring);
}

.ao-build__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.ao-build__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.ao-build h3 {
  margin-top: 10px;
  font-size: 21px;
  line-height: 1.26;
  font-weight: 600;
  letter-spacing: -0.017em;
  text-wrap: balance;
}

.ao-build p {
  margin-top: 8px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.56;
}

.ao-build__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--ink);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
}

.ao-build__link .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.ao-build:hover .ao-build__media img {
  transform: scale(1.025);
}

.ao-build:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.ao-build:hover .ao-build__link .icon {
  transform: translateX(3px);
}

/* Engineering capabilities ------------------------------------------------ */

.ao-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 5vw, 72px);
  border-top: 1px solid var(--ink);
}

.ao-capability {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  padding: 19px 0 21px;
  border-bottom: 1px solid var(--line);
}

.ao-capability__num {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
}

.ao-capability h3 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.ao-capability p {
  max-width: 520px;
  margin-top: 6px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.56;
}

/* Who we work with -------------------------------------------------------- */

.ao-audience {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(20px, 2.6vw, 32px);
}

.ao-audience__card {
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.ao-audience__card .eyebrow {
  color: var(--gray);
}

.ao-audience h3 {
  margin-top: 30px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.014em;
  text-wrap: balance;
}

.ao-audience p {
  margin-top: 10px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.58;
}

/* Closing CTA ------------------------------------------------------------- */

.ao-cta {
  padding: clamp(84px, 9.5vw, 132px) 0 clamp(56px, 6vw, 80px);
  border-top: 0;
  background: var(--ink);
  color: var(--page);
}

.ao-page .footer {
  padding-top: clamp(64px, 6vw, 88px);
}

.ao-page main > .ao-cta:last-child {
  border-bottom: 0;
}

.ao-cta .eyebrow {
  color: var(--footer-muted);
}

.ao-cta h2 {
  max-width: 980px;
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 74px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.ao-cta h2 em {
  font-style: italic;
  color: var(--clay);
}

.ao-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: end;
  margin-top: clamp(34px, 4.6vw, 54px);
}

.ao-cta__copy {
  max-width: 500px;
  color: var(--footer-muted);
  font-size: 16px;
  line-height: 1.62;
}

.ao-cta__copy p + p {
  margin-top: 12px;
}

.ao-cta__copy .ao-cta__emphasis {
  color: var(--page);
  font-weight: 500;
}

.ao-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.ao-cta .btn--primary {
  border-color: var(--page);
  background: var(--page);
  color: var(--ink);
}

.ao-cta .btn--primary:hover {
  border-color: var(--cream);
  background: var(--cream);
}

.ao-cta .btn--secondary {
  border-color: rgba(250, 249, 245, 0.3);
  background: transparent;
  color: var(--page);
}

.ao-cta .btn--secondary:hover {
  background: rgba(250, 249, 245, 0.08);
}

.ao-cta .textlink {
  color: var(--page);
}

.ao-cta .textlink:hover {
  border-color: var(--clay);
}

.ao-cta__micro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(44px, 5.6vw, 72px);
  padding-top: 16px;
  border-top: 1px solid rgba(250, 249, 245, 0.15);
  color: var(--gray-3);
  font-size: 12px;
  line-height: 18px;
}

.ao-cta__micro span:last-child {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Nav current state ------------------------------------------------------- */

.ao-page .nav__panel-item[aria-current="page"] {
  background: var(--cream-deep);
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1180px) {
  .ao-intro__grid {
    grid-template-columns: 170px minmax(0, 1fr) 250px;
  }

  .ao-step {
    grid-template-columns: 48px minmax(160px, 0.55fr) minmax(0, 1fr) 72px;
  }
}

@media (max-width: 1023px) {
  .ao-hero__intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ao-index {
    max-width: 460px;
  }

  .ao-intro__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ao-intro__label {
    position: static;
  }

  .ao-intro__aside {
    max-width: 560px;
    margin-top: 10px;
  }

  .ao-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ao-build-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ao-audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .ao-cta__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ao-step {
    grid-template-columns: 40px minmax(0, 1fr) 70px;
    row-gap: 8px;
  }

  .ao-step__num {
    grid-row: 1 / span 2;
  }

  .ao-step h3 {
    grid-column: 2;
  }

  .ao-step p {
    grid-column: 2;
  }

  .ao-step__tag {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 767px) {
  .ao-hero__meta-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ao-hero__meta-row .eyebrow:last-child {
    text-align: left;
  }

  .ao-hero__title {
    font-size: clamp(42px, 11vw, 66px);
  }

  .ao-feature__caption,
  .ao-figure figcaption {
    flex-direction: column;
    gap: 4px;
  }

  .ao-feature__caption span:last-child,
  .ao-figure figcaption span:last-child {
    text-align: left;
  }

  .ao-capabilities {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .ao-capability:first-child {
    border-top: 1px solid var(--ink);
  }

  .ao-step {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .ao-step__tag {
    display: none;
  }

  .ao-step p {
    grid-column: 2;
  }

  .ao-cta__micro {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 639px) {
  .ao-hero {
    padding-top: 36px;
  }

  .ao-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ao-hero__actions .btn {
    width: 100%;
  }

  .ao-hero__actions .textlink {
    justify-content: center;
  }

  .ao-cards {
    grid-template-columns: 1fr;
  }

  .ao-card {
    padding-bottom: 26px;
  }

  .ao-build-grid {
    grid-template-columns: 1fr;
  }

  .ao-audience {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .ao-audience h3 {
    margin-top: 18px;
  }

  .ao-step {
    padding: 18px 0;
  }

  .ao-intro {
    padding-block: 72px;
  }

  .ao-section {
    padding-block: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ao-build__media img,
  .ao-build__link .icon,
  .ao-index__list a {
    transition: none;
  }

  .ao-build:hover .ao-build__media img {
    transform: none;
  }
}

/* ============================================================================
   9. AI Product Development
   Source: product-development.css · used by ai-product-development.html · <body class="apd-page">
   ============================================================================ */

/* ==========================================================================
   Kudosoft — AI Product Development
   Page layer for styles.css. Reuses the existing tokens, type and components.
   ========================================================================== */

/* Hero -------------------------------------------------------------------- */

.apd-hero {
  padding: clamp(26px, 3.2vw, 42px) 0 0;
}

.apd-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.apd-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.apd-crumbs a {
  color: var(--gray);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.apd-crumbs a:hover {
  color: var(--ink);
  border-bottom-color: var(--clay);
}

.apd-crumbs li > span[aria-current="page"] {
  color: var(--ink);
}

.apd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 390px;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(26px, 3.4vw, 42px);
}

.apd-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.apd-kicker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}

.apd-hero__title {
  max-width: 720px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(42px, 4.9vw, 70px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.apd-hero__title em {
  font-style: italic;
  color: var(--clay);
}

.apd-hero__lead {
  max-width: 640px;
  margin-top: 26px;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.apd-hero__body {
  max-width: 620px;
  margin-top: 18px;
  color: var(--gray);
  font-size: 15.5px;
  line-height: 1.65;
}

.apd-hero__body p + p {
  margin-top: 10px;
}

.apd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 30px;
}

/* Product dossier */

.apd-dossier {
  padding: clamp(20px, 2vw, 24px);
  background: var(--cream);
  border-radius: 16px;
  box-shadow: inset 0 0 0 0.5px var(--ring);
}

.apd-dossier__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid var(--line);
}

.apd-dossier__head .eyebrow:last-child {
  color: var(--gray-3);
  text-align: right;
}

.apd-dossier__num {
  margin-top: clamp(16px, 2vw, 22px);
  font-family: var(--font-display);
  font-size: clamp(62px, 5.6vw, 86px);
  line-height: 0.8;
  font-weight: 400;
  letter-spacing: -0.06em;
  color: var(--clay);
}

.apd-dossier__glyph {
  margin-top: 14px;
}

.apd-dossier__glyph svg {
  display: block;
  width: 100%;
  height: auto;
}

.apd-dossier__facts {
  margin: 10px 0 0;
}

.apd-dossier__facts > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 0.5px solid var(--line);
}

.apd-dossier__facts dt {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.apd-dossier__facts dd {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.apd-dossier__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.apd-dossier__foot span:last-child {
  color: var(--gray-3);
  text-align: right;
}

/* Section rail */

.apd-rail {
  margin-top: clamp(38px, 4.6vw, 58px);
  border-top: 1px solid var(--ink);
}

.apd-rail > .eyebrow {
  padding: 11px 0 9px;
  color: var(--gray);
}

.apd-rail ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 0.5px solid var(--line);
  list-style: none;
}

.apd-rail li {
  border-right: 0.5px solid var(--line);
}

.apd-rail li:last-child {
  border-right: 0;
}

.apd-rail a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 15px 16px 15px 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.apd-rail a > span {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.06em;
  color: var(--clay-deep);
}

.apd-rail a .icon {
  width: 12px;
  height: 12px;
  margin-left: auto;
  opacity: 0.4;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.apd-rail a:hover {
  color: var(--clay-deep);
}

.apd-rail a:hover .icon {
  transform: translateX(3px);
  opacity: 1;
}

/* Introduction ------------------------------------------------------------ */

.apd-intro {
  padding: clamp(72px, 8vw, 108px) 0 clamp(64px, 7.5vw, 96px);
  border-top: 1px solid var(--line);
}

.apd-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.apd-intro__title h2 {
  max-width: 520px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.apd-intro__title h2 em {
  font-style: italic;
  color: inherit;
}

.apd-intro__copy {
  padding-top: 4px;
}

.apd-intro__copy p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.65;
}

.apd-intro__copy p + p {
  margin-top: 16px;
}

.apd-intro__copy .apd-intro__lead {
  color: var(--ink);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.012em;
}

.apd-intro__copy .apd-intro__turn {
  color: var(--ink-soft);
}

/* Product baseline strip */

.apd-env {
  margin-top: clamp(42px, 5vw, 62px);
}

.apd-env__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
}

.apd-env__head .eyebrow:last-child {
  color: var(--gray-3);
}

.apd-env__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.apd-env__list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  padding: 14px 0 16px;
  border-bottom: 0.5px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.apd-env__list span {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--clay-deep);
}

/* Reference architecture */

.apd-map {
  margin: clamp(46px, 5.4vw, 70px) 0 0;
}

.apd-map__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--ring);
}

.apd-map__media img {
  width: 100%;
}

.apd-map__caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  color: var(--gray);
  font-size: 12px;
  line-height: 18px;
}

.apd-map__caption span:last-child {
  color: var(--gray-3);
  text-align: right;
  white-space: nowrap;
}

/* Shared section rhythm --------------------------------------------------- */

.apd-section {
  padding-block: clamp(80px, 9vw, 124px);
}

.apd-page p {
  text-wrap: pretty;
}

.apd-page .section-head {
  margin-bottom: clamp(38px, 4.6vw, 58px);
}

.apd-page .section-head h2 {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.034em;
}

.apd-page .section-head h2 em {
  font-style: italic;
  color: inherit;
}

.apd-page .section-head__body {
  max-width: 500px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.62;
}

.apd-page .section-head__body p + p {
  margin-top: 10px;
}

.apd-page .section-head__body .textlink {
  margin-top: 20px;
  color: var(--ink);
}

.apd-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--gray-3);
}

.apd-note::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--clay);
}

/* Capabilities ------------------------------------------------------------ */

.apd-build {
  border-top: 1px solid var(--ink);
}

.apd-build-row {
  display: grid;
  grid-template-columns: 72px 250px minmax(0, 1fr) 280px;
  gap: clamp(20px, 2.4vw, 34px);
  align-items: start;
  padding: clamp(24px, 2.8vw, 32px) 0;
  border-bottom: 0.5px solid var(--line);
}

.apd-build-row__id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.apd-build-row__num {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
}

.apd-build-row__icon {
  width: 24px;
  height: 24px;
  color: var(--ink);
  opacity: 0.55;
}

.apd-build-row__title .eyebrow {
  color: var(--gray-3);
}

.apd-build-row__title h3 {
  margin-top: 10px;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.apd-build-row__copy p {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.6;
}

.apd-build-row__copy p + p {
  margin-top: 10px;
}

.apd-bullets {
  display: grid;
  gap: 7px;
  align-content: start;
}

.apd-bullets li {
  position: relative;
  padding-left: 14px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.apd-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--clay);
}

/* What you can build ------------------------------------------------------ */

.apd-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
}

.apd-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.apd-card__media {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--cream);
  box-shadow: inset 0 0 0 0.5px var(--ring), inset 0 0 0 1.5px var(--cream);
}

.apd-card__media img {
  width: 100%;
  height: auto;
}

.apd-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.apd-card__meta span:last-child {
  color: var(--gray-3);
  text-align: right;
}

.apd-card h3 {
  margin-top: 10px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.26;
  font-weight: 600;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.apd-card > p:last-child {
  margin-top: 9px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

.apd-cards__note {
  max-width: 840px;
  margin-top: clamp(30px, 3.6vw, 44px);
  padding-left: 18px;
  border-left: 2px solid var(--clay);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* Process ----------------------------------------------------------------- */

.apd-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: clamp(14px, 1.8vw, 26px);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.apd-flow__step {
  position: relative;
  padding: 24px 0 24px;
  border-bottom: 0.5px solid var(--line);
}

.apd-flow__step::before {
  content: "";
  position: absolute;
  top: -4.5px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--page);
  box-shadow: inset 0 0 0 1.5px var(--clay);
}

.apd-flow__num {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
}

.apd-flow__step h3 {
  margin-top: 26px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.26;
  font-weight: 600;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

.apd-flow__step p {
  margin-top: 9px;
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.58;
}

.apd-flow__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(22px, 2.6vw, 30px);
  color: var(--gray);
  font-size: 12px;
  line-height: 18px;
}

.apd-flow__foot span:first-child {
  max-width: 640px;
}

.apd-flow__foot span:last-child {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--gray-3);
  text-align: right;
  white-space: nowrap;
}

/* Closing CTA ------------------------------------------------------------- */

.apd-cta {
  padding: clamp(64px, 7vw, 92px) 0 clamp(40px, 4.5vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--page);
  color: var(--ink);
}

.apd-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.apd-cta h2 {
  max-width: 720px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.apd-cta h2 em {
  font-style: italic;
  color: var(--clay);
}

.apd-cta__body {
  max-width: 620px;
  margin-top: 22px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.65;
}

.apd-cta__support {
  max-width: 620px;
  margin-top: 10px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.apd-cta__side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: clamp(24px, 3vw, 36px);
  border-left: 0.5px solid var(--line);
}

.apd-cta__side .btn {
  width: 100%;
}

.apd-cta__note {
  margin-top: 4px;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.6;
}

.apd-cta__micro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(38px, 5vw, 58px);
  padding-top: 14px;
  border-top: 0.5px solid var(--line);
  color: var(--gray-3);
  font-size: 12px;
  line-height: 18px;
}

.apd-cta__micro span:last-child {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Nav current state ------------------------------------------------------- */

.apd-page .nav__panel-item[aria-current="page"] {
  background: var(--cream-deep);
}

.apd-page .menu__group a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1199px) {
  .apd-hero__grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 40px;
  }

  .apd-env__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apd-build-row {
    grid-template-columns: 40px minmax(0, 1fr);
    row-gap: 14px;
  }

  .apd-build-row__id {
    grid-row: 1 / span 3;
  }

  .apd-build-row__title,
  .apd-build-row__copy {
    grid-column: 2;
  }

  .apd-bullets {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .apd-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apd-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* The progress rule only sits above the first row. */
  .apd-flow__step:nth-child(n + 4)::before {
    display: none;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .apd-dossier {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(24px, 4vw, 40px);
    max-width: none;
  }

  .apd-dossier__head,
  .apd-dossier__foot {
    grid-column: 1 / -1;
  }

  .apd-dossier__num {
    grid-column: 1;
  }

  .apd-dossier__glyph {
    grid-column: 1;
    margin-top: 4px;
  }

  .apd-dossier__facts {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: center;
    margin-top: 16px;
  }
}

@media (max-width: 1023px) {
  .apd-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .apd-rail ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apd-rail li:nth-child(2n) {
    border-right: 0;
  }

  .apd-rail li:nth-child(n + 3) {
    border-top: 0.5px solid var(--line);
  }

  .apd-intro__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .apd-cta__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  .apd-cta__side {
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 0.5px solid var(--line);
  }
}

@media (max-width: 767px) {
  .apd-hero__title {
    font-size: clamp(38px, 9vw, 52px);
  }

  .apd-hero__actions {
    align-items: flex-start;
  }

  .apd-map__caption {
    flex-direction: column;
    gap: 4px;
  }

  .apd-map__caption span:last-child {
    text-align: left;
  }

  .apd-build-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .apd-build-row__id {
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .apd-build-row__title,
  .apd-build-row__copy,
  .apd-bullets {
    grid-column: 1;
  }

  .apd-bullets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apd-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apd-flow__step:nth-child(n + 3)::before {
    display: none;
  }

  .apd-flow__foot {
    flex-direction: column;
    gap: 6px;
  }

  .apd-flow__foot span:last-child {
    text-align: left;
  }

  .apd-cta__micro {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 639px) {
  .apd-hero {
    padding-top: 22px;
  }

  .apd-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .apd-hero__actions .btn {
    width: 100%;
  }

  .apd-hero__actions .textlink {
    justify-content: center;
  }

  .apd-dossier__facts > div {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .apd-dossier__glyph {
    display: none;
  }

  .apd-rail ol {
    grid-template-columns: 1fr;
  }

  .apd-rail li {
    border-right: 0;
    border-top: 0.5px solid var(--line);
  }

  .apd-rail li:first-child {
    border-top: 0;
  }

  .apd-env__list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .apd-env__list li {
    padding-right: 0;
  }

  .apd-cards {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .apd-card__media {
    border-radius: 12px;
  }

  .apd-bullets {
    grid-template-columns: 1fr;
  }

  .apd-flow {
    grid-template-columns: 1fr;
  }

  .apd-flow__step {
    padding: 20px 0;
  }

  .apd-flow__step h3 {
    margin-top: 12px;
  }

  .apd-flow__step::before {
    display: none;
  }

  .apd-cta {
    padding-top: 60px;
  }

  .apd-cta__micro {
    margin-top: 32px;
  }

  .apd-intro,
  .apd-section {
    padding-block: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apd-crumbs a,
  .apd-rail a,
  .apd-rail a .icon {
    transition: none;
  }
}

/* ============================================================================
   10. AI Product Engineering
   Source: product-engineering.css · used by ai-product-engineering.html · <body class="pe-page">
   ============================================================================ */

/* ==========================================================================
   Kudosoft — AI Product Engineering
   Page layer for styles.css. Reuses the existing tokens, type and components.
   ========================================================================== */

.pe-page p {
  text-wrap: pretty;
}

.pe-hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px);
}

/* Hero -------------------------------------------------------------------- */

.pe-hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.pe-hero__meta .eyebrow:first-child {
  color: var(--ink);
}

.pe-hero__meta .eyebrow:last-child {
  color: var(--gray);
  text-align: right;
}

.pe-hero__title {
  max-width: 1180px;
  margin-top: clamp(36px, 5.2vw, 68px);
  font-family: var(--font-display);
  font-size: clamp(50px, 7vw, 100px);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.pe-hero__title em {
  font-style: italic;
  color: var(--clay);
}

.pe-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(36px, 4.6vw, 60px);
}

.pe-hero__dek {
  max-width: 780px;
  font-size: clamp(20px, 2.15vw, 27px);
  line-height: 1.36;
  letter-spacing: -0.014em;
  color: var(--ink);
}

.pe-hero__body {
  max-width: 680px;
  margin-top: 16px;
  color: var(--gray);
  font-size: 16.5px;
  line-height: 1.6;
}

.pe-hero__body p + p {
  margin-top: 12px;
}

.pe-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 32px;
}

/* On this page */

.pe-index {
  padding-top: 12px;
  border-top: 1px solid var(--ink);
}

.pe-index__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.pe-index__head .eyebrow:last-child {
  color: var(--gray);
}

.pe-index__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pe-index__list a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 12px;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.2s ease;
}

.pe-index__list a:hover {
  padding-left: 3px;
  color: var(--clay-deep);
}

.pe-index__list span:first-child {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--gray-3);
}

.pe-index__arrow {
  color: var(--gray-3);
  font-size: 12px;
  line-height: 1;
}

/* Hero feature */

.pe-feature {
  margin: clamp(42px, 5.6vw, 72px) 0 0;
}

.pe-feature__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--ring);
}

.pe-feature__media img {
  width: 100%;
  height: auto;
}

.pe-feature__caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  color: var(--gray);
  font-size: 12px;
  line-height: 18px;
}

.pe-feature__caption span:last-child {
  color: var(--gray-3);
  text-align: right;
  white-space: nowrap;
}

/* Shared rhythm ----------------------------------------------------------- */

.pe-section {
  padding-block: clamp(72px, 8.4vw, 118px);
}

.pe-index__list,
.pe-requirements__list,
.pe-cap__col,
.pe-principles {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pe-grid,
.pe-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.pe-head {
  margin-bottom: clamp(38px, 4.8vw, 60px);
}

.pe-rail {
  padding-top: 12px;
  border-top: 1.5px solid var(--ink);
}

.pe-rail__num {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.pe-rail .eyebrow {
  display: block;
  margin-top: 12px;
  color: var(--gray);
}

.pe-head h2,
.pe-intro__body h2 {
  max-width: 920px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.3vw, 54px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.pe-head h2 em,
.pe-intro__body h2 em {
  font-style: italic;
  color: inherit;
}

.pe-head__body > p {
  max-width: 620px;
  margin-top: 20px;
  color: var(--gray);
  font-size: 16.5px;
  line-height: 1.62;
}

/* Introduction ------------------------------------------------------------ */

.pe-intro__lead {
  max-width: 780px;
  margin-top: 26px;
  font-size: clamp(19px, 1.75vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.pe-intro__body > p:not(.pe-intro__lead) {
  max-width: 700px;
  margin-top: 18px;
  color: var(--gray);
  font-size: 16.5px;
  line-height: 1.62;
}

.pe-intro__body p.pe-intro__turn {
  max-width: 790px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.pe-intro__turn::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--clay);
  vertical-align: 2px;
}

.pe-requirements {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 16px;
  border-top: 1.5px solid var(--ink);
}

.pe-requirements__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pe-requirements__head .eyebrow:last-child {
  color: var(--gray-3);
  white-space: nowrap;
}

.pe-requirements__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 22px;
  column-gap: clamp(16px, 2.4vw, 28px);
}

.pe-requirements__list li {
  padding-top: 12px;
  border-top: 0.5px solid var(--line);
}

.pe-requirements__list span:first-child {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.07em;
  color: var(--clay-deep);
}

.pe-requirements__list strong {
  display: block;
  margin-top: 7px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.pe-requirements__list span:last-child {
  display: block;
  margin-top: 4px;
  color: var(--gray);
  font-size: 12px;
  line-height: 17px;
}

/* Product types ----------------------------------------------------------- */

.pe-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.pe-type {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: inset 0 0 0 0.5px var(--ring);
}

.pe-type__media {
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border-bottom: 0.5px solid var(--line);
  background: var(--cream-deep);
}

.pe-type__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pe-type__inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 22px 24px;
}

.pe-type__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray);
}

.pe-type__top span:last-child {
  color: var(--gray-3);
}

.pe-type h3 {
  margin-top: 16px;
  max-width: 300px;
  font-size: 20.5px;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.pe-type__tagline {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 500;
}

.pe-type__body {
  margin-top: 10px;
  color: var(--gray);
  font-size: 13.8px;
  line-height: 1.58;
}

/* Capabilities ------------------------------------------------------------ */

.pe-cap {
  border-top: 1.5px solid var(--ink);
}

.pe-cap__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--line);
}

.pe-cap__bar .eyebrow:last-child {
  color: var(--gray-3);
  white-space: nowrap;
}

.pe-cap__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 5vw, 76px);
}

.pe-cap__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 22px 0 23px;
  border-bottom: 0.5px solid var(--line);
}

.pe-cap__num {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 16px;
  letter-spacing: 0.07em;
  color: var(--clay-deep);
}

.pe-cap__item h3 {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.014em;
}

.pe-cap__item p {
  max-width: 470px;
  margin-top: 6px;
  color: var(--gray);
  font-size: 13.8px;
  line-height: 1.56;
}

.pe-cap__note {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 0.5px solid var(--line);
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.5;
}

.pe-cap__note::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--clay);
  vertical-align: 1px;
}

/* Development process ----------------------------------------------------- */

.pe-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
  list-style: none;
}

.pe-step {
  min-height: 226px;
  padding: 26px clamp(20px, 2.6vw, 36px) 30px 0;
  border-bottom: 1px solid var(--line);
}

.pe-step:nth-child(3n + 2),
.pe-step:nth-child(3n + 3) {
  padding-left: clamp(20px, 2.6vw, 36px);
  border-left: 0.5px solid var(--line);
}

.pe-step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
}

.pe-step h3 {
  margin-top: 26px;
  font-size: 20px;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.pe-step p {
  margin-top: 10px;
  max-width: 320px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.58;
}

.pe-step:last-child {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 54px minmax(160px, 0.34fr) minmax(0, 1fr);
  column-gap: clamp(16px, 2.6vw, 34px);
  align-items: start;
  min-height: 0;
  padding: 26px 0 30px;
  border-left: 0;
}

.pe-step:last-child h3 {
  margin-top: 0;
}

.pe-step:last-child p {
  max-width: 760px;
  margin-top: 0;
}

.pe-steps__note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  color: var(--gray);
  font-size: 13px;
  line-height: 20px;
}

.pe-steps__note span {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--clay);
  flex: none;
}

/* Architecture ------------------------------------------------------------ */

.pe-figure {
  margin: 0 0 clamp(38px, 4.8vw, 54px);
}

.pe-figure__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--ring);
}

.pe-figure__media img {
  width: 100%;
  height: auto;
}

.pe-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  color: var(--gray);
  font-size: 12px;
  line-height: 18px;
}

.pe-figure figcaption span:last-child {
  color: var(--gray-3);
  text-align: right;
  white-space: nowrap;
}

.pe-layers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
  padding-top: 16px;
  border-top: 1.5px solid var(--ink);
}

.pe-layer__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 16px;
  letter-spacing: 0.07em;
  color: var(--clay-deep);
}

.pe-layer h3 {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.pe-layer--ai h3::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--clay);
  vertical-align: 2px;
}

.pe-layer p {
  margin-top: 8px;
  max-width: 220px;
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.52;
}

.pe-architecture__note {
  max-width: 780px;
  margin: clamp(34px, 4.2vw, 50px) 0 0 auto;
  padding-top: 16px;
  border-top: 0.5px solid var(--line);
  color: var(--ink-soft);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.pe-architecture__note::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: var(--clay);
  vertical-align: 2px;
}

/* What can be built ------------------------------------------------------- */

.pe-help {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.pe-help__item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: clamp(22px, 2.6vw, 32px);
  border-bottom: 1px solid var(--line);
}

.pe-help__item:nth-child(odd) {
  border-right: 0.5px solid var(--line);
}

.pe-help__item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.pe-help__num {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 16px;
  letter-spacing: 0.07em;
  color: var(--clay-deep);
}

.pe-help__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.pe-help h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.014em;
  text-wrap: balance;
}

.pe-help__tag {
  flex: none;
  margin-top: 1px;
  padding: 2px 7px;
  border: 0.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pe-help__item p {
  max-width: 380px;
  margin-top: 8px;
  color: var(--gray);
  font-size: 13.8px;
  line-height: 1.56;
}

/* Audience ---------------------------------------------------------------- */

.pe-audience {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 32px);
}

.pe-audience__card {
  padding-top: 16px;
  border-top: 1.5px solid var(--ink);
}

.pe-audience__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.pe-audience__num {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.pe-audience__card .eyebrow {
  color: var(--gray-3);
}

.pe-audience h3 {
  max-width: 280px;
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.014em;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .pe-audience h3 {
    min-height: 2.6em;
  }
}

.pe-audience__card > p {
  max-width: 270px;
  margin-top: 10px;
  color: var(--gray);
  font-size: 13.8px;
  line-height: 1.56;
}

/* Philosophy -------------------------------------------------------------- */

.pe-manifesto {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 5vw, 72px);
  padding: clamp(24px, 4.4vw, 56px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.pe-manifesto__intro h2 {
  max-width: 470px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.pe-manifesto__intro h2 em {
  font-style: italic;
  color: inherit;
}

.pe-manifesto__intro > p:not(.eyebrow) {
  max-width: 450px;
  margin-top: 20px;
  color: var(--gray);
  font-size: 15.5px;
  line-height: 1.62;
}

.pe-manifesto__label {
  font-weight: 600;
  color: var(--ink) !important;
}

.pe-principles {
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
  list-style: none;
}

.pe-principles li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 18px 0 19px;
  border-bottom: 0.5px solid var(--line);
}

.pe-principles li:last-child {
  border-bottom: 0;
}

.pe-principle__num {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 16px;
  letter-spacing: 0.07em;
  color: var(--clay-deep);
}

.pe-principles h3 {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.pe-principles p {
  margin-top: 4px;
  color: var(--gray);
  font-size: 13.8px;
  line-height: 1.55;
}

.pe-manifesto__closing {
  grid-column: 1 / -1;
  max-width: 800px;
  margin-top: clamp(30px, 3.8vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Closing CTA ------------------------------------------------------------- */

.pe-cta {
  padding-block: clamp(84px, 9vw, 132px) clamp(54px, 6.4vw, 84px);
}

.pe-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: end;
}

.pe-cta h2 {
  max-width: 800px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.pe-cta h2 em {
  font-style: italic;
  color: inherit;
}

.pe-cta__copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 20px;
  color: var(--gray);
  font-size: 16.5px;
  line-height: 1.62;
}

.pe-cta__copy .pe-cta__emphasis {
  margin-top: 16px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

.pe-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  max-width: 380px;
  padding-left: clamp(24px, 3.2vw, 44px);
  border-left: 1px solid var(--line);
}

.pe-cta__actions .btn {
  width: 100%;
}

.pe-cta__note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 0.5px solid var(--line);
  color: var(--gray-3);
  font-size: 12.5px;
  line-height: 1.5;
}

.pe-cta__micro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(44px, 5.4vw, 64px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--gray-3);
  font-size: 12px;
  line-height: 18px;
}

.pe-cta__micro span:last-child {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.pe-page main > .pe-cta:last-child {
  border-bottom: 0;
}

.pe-page .footer {
  padding-top: clamp(64px, 6vw, 88px);
}

/* Nav current state ------------------------------------------------------- */

.pe-page .nav__panel-item[aria-current="page"] {
  background: var(--cream-deep);
}

.pe-page .menu__group a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1180px) {
  .pe-hero__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
  }

  .pe-grid,
  .pe-head {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 1023px) {
  .pe-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pe-index {
    max-width: 460px;
  }

  .pe-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pe-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pe-step {
    min-height: 0;
    padding: 24px 30px 28px 0;
  }

  .pe-step:nth-child(3n + 2),
  .pe-step:nth-child(3n + 3) {
    padding-left: 0;
    border-left: 0;
  }

  .pe-step:nth-child(even) {
    padding-left: 30px;
    border-left: 0.5px solid var(--line);
  }

  .pe-layers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 30px;
  }

  .pe-layer p {
    max-width: 260px;
  }

  .pe-audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .pe-manifesto {
    grid-template-columns: 1fr;
  }

  .pe-manifesto__intro h2,
  .pe-manifesto__intro > p:not(.eyebrow) {
    max-width: 620px;
  }

  .pe-principles {
    margin-top: 8px;
  }

  .pe-manifesto__closing {
    grid-column: auto;
  }

  .pe-cta__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .pe-cta__actions {
    max-width: 440px;
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 899px) {
  .pe-grid,
  .pe-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pe-rail {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding-top: 10px;
  }

  .pe-rail__num {
    font-size: 30px;
  }

  .pe-rail .eyebrow {
    margin-top: 0;
  }

  .pe-head {
    margin-bottom: 36px;
  }

  .pe-requirements__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 18px;
  }

  .pe-help {
    border-radius: 16px;
  }
}

@media (max-width: 767px) {
  .pe-hero__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .pe-hero__meta .eyebrow:last-child {
    text-align: left;
  }

  .pe-hero__title {
    font-size: clamp(42px, 10.4vw, 66px);
  }

  .pe-feature__caption,
  .pe-figure figcaption {
    flex-direction: column;
    gap: 4px;
  }

  .pe-feature__caption span:last-child,
  .pe-figure figcaption span:last-child {
    text-align: left;
  }

  .pe-types {
    grid-template-columns: 1fr;
  }

  .pe-cap__cols {
    grid-template-columns: 1fr;
  }

  .pe-cap__col + .pe-cap__col .pe-cap__item:first-child {
    border-top: 1.5px solid var(--ink);
  }

  .pe-cap__note {
    text-align: left;
  }

  .pe-steps {
    grid-template-columns: 1fr;
  }

  .pe-step,
  .pe-step:nth-child(even) {
    padding: 20px 0 24px;
    border-left: 0;
  }

  .pe-step:last-child {
    display: block;
    padding: 20px 0 24px;
  }

  .pe-step:last-child h3 {
    margin-top: 16px;
  }

  .pe-step:last-child p {
    margin-top: 10px;
  }

  .pe-step h3 {
    margin-top: 16px;
  }

  .pe-layers {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .pe-layer {
    padding: 16px 0 18px;
    border-bottom: 0.5px solid var(--line);
  }

  .pe-layer h3 {
    margin-top: 12px;
  }

  .pe-layer p {
    max-width: 500px;
  }

  .pe-help {
    grid-template-columns: 1fr;
  }

  .pe-help__item:nth-child(odd) {
    border-right: 0;
  }

  .pe-help__item:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .pe-audience {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .pe-audience h3 {
    margin-top: 18px;
  }

  .pe-audience__card > p {
    max-width: 440px;
  }

  .pe-manifesto {
    padding: 24px;
    border-radius: 16px;
  }

  .pe-cta__micro {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 639px) {
  .pe-hero {
    padding-top: 28px;
  }

  .pe-hero__title {
    font-size: clamp(40px, 11.4vw, 56px);
    letter-spacing: -0.04em;
  }

  .pe-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pe-hero__actions .btn {
    width: 100%;
  }

  .pe-hero__actions .textlink {
    justify-content: center;
  }

  .pe-section {
    padding-block: 64px;
  }

  .pe-requirements__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .pe-requirements__list {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .pe-requirements__list li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 2px;
    padding: 12px 0;
    border-top: 0.5px solid var(--line);
  }

  .pe-requirements__list span:first-child {
    grid-row: 1 / span 2;
    padding-top: 2px;
  }

  .pe-requirements__list strong {
    margin-top: 0;
  }

  .pe-requirements__list span:last-child {
    grid-column: 2;
  }

  .pe-type__inner {
    padding: 18px 18px 22px;
  }

  .pe-cap__bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .pe-layers {
    padding-top: 12px;
  }

  .pe-help__item {
    padding: 20px;
  }

  .pe-help__top {
    flex-direction: column;
    gap: 6px;
  }

  .pe-manifesto {
    padding: 20px;
  }

  .pe-cta {
    padding-block: 72px 48px;
  }

  .pe-cta h2 {
    font-size: clamp(34px, 9.6vw, 48px);
  }

  .pe-cta__actions {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pe-type__media img,
  .pe-feature__media img,
  .pe-figure__media img {
    transition: none;
  }
}

/* ============================================================================
   11. Enterprise AI — /solutions/enterprise
   Source: enterprise.css · used by solutions-enterprise.html · <body class="ent-page">
   ============================================================================ */

/* ==========================================================================
   Kudosoft — Enterprise AI Solutions
   Page layer for styles.css. Reuses the existing tokens, type and components.
   ========================================================================== */

/* Hero -------------------------------------------------------------------- */

.ent-hero {
  padding: clamp(26px, 3.2vw, 42px) 0 0;
}

.ent-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.ent-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ent-crumbs a {
  color: var(--gray);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.ent-crumbs a:hover {
  color: var(--ink);
  border-bottom-color: var(--clay);
}

.ent-crumbs li > span[aria-current="page"] {
  color: var(--ink);
}

.ent-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 390px;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(26px, 3.4vw, 42px);
}

.ent-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.ent-kicker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}

.ent-hero__title {
  max-width: 720px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(42px, 4.9vw, 70px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.ent-hero__title em {
  font-style: italic;
  color: var(--clay);
}

.ent-hero__lead {
  max-width: 640px;
  margin-top: 26px;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.ent-hero__body {
  max-width: 620px;
  margin-top: 18px;
  color: var(--gray);
  font-size: 15.5px;
  line-height: 1.65;
}

.ent-hero__body p + p {
  margin-top: 10px;
}

.ent-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 30px;
}

/* Solution dossier */

.ent-dossier {
  padding: clamp(20px, 2vw, 24px);
  background: var(--cream);
  border-radius: 16px;
  box-shadow: inset 0 0 0 0.5px var(--ring);
}

.ent-dossier__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid var(--line);
}

.ent-dossier__head .eyebrow:last-child {
  color: var(--gray-3);
  text-align: right;
}

.ent-dossier__num {
  margin-top: clamp(16px, 2vw, 22px);
  font-family: var(--font-display);
  font-size: clamp(62px, 5.6vw, 86px);
  line-height: 0.8;
  font-weight: 400;
  letter-spacing: -0.06em;
  color: var(--clay);
}

.ent-dossier__glyph {
  margin-top: 14px;
}

.ent-dossier__glyph svg {
  display: block;
  width: 100%;
  height: auto;
}

.ent-dossier__facts {
  margin: 10px 0 0;
}

.ent-dossier__facts > div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 0.5px solid var(--line);
}

.ent-dossier__facts dt {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.ent-dossier__facts dd {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.ent-dossier__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.ent-dossier__foot span:last-child {
  color: var(--gray-3);
  text-align: right;
}

/* Section rail */

.ent-rail {
  margin-top: clamp(38px, 4.6vw, 58px);
  border-top: 1px solid var(--ink);
}

.ent-rail > .eyebrow {
  padding: 11px 0 9px;
  color: var(--gray);
}

.ent-rail ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 0.5px solid var(--line);
  list-style: none;
}

.ent-rail li {
  border-right: 0.5px solid var(--line);
}

.ent-rail li:last-child {
  border-right: 0;
}

.ent-rail a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 15px 16px 15px 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ent-rail a > span {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.06em;
  color: var(--clay-deep);
}

.ent-rail a .icon {
  width: 12px;
  height: 12px;
  margin-left: auto;
  opacity: 0.4;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ent-rail a:hover {
  color: var(--clay-deep);
}

.ent-rail a:hover .icon {
  transform: translateX(3px);
  opacity: 1;
}

/* Introduction ------------------------------------------------------------ */

.ent-intro {
  padding: clamp(72px, 8vw, 108px) 0 clamp(64px, 7.5vw, 96px);
  border-top: 1px solid var(--line);
}

.ent-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.ent-intro__title h2 {
  max-width: 520px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.ent-intro__title h2 em {
  font-style: italic;
  color: inherit;
}

.ent-intro__copy {
  padding-top: 4px;
}

.ent-intro__copy p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.65;
}

.ent-intro__copy p + p {
  margin-top: 16px;
}

.ent-intro__copy .ent-intro__lead {
  color: var(--ink);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.012em;
}

/* Working environment strip */

.ent-env {
  margin-top: clamp(42px, 5vw, 62px);
}

.ent-env__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
}

.ent-env__head .eyebrow:last-child {
  color: var(--gray-3);
}

.ent-env__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.ent-env__list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  padding: 14px 0 16px;
  border-bottom: 0.5px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.ent-env__list span {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--clay-deep);
}

/* Reference map */

.ent-map {
  margin: clamp(46px, 5.4vw, 70px) 0 0;
}

.ent-map__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--ring);
}

.ent-map__media img {
  width: 100%;
}

.ent-map__caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  color: var(--gray);
  font-size: 12px;
  line-height: 18px;
}

.ent-map__caption span:last-child {
  color: var(--gray-3);
  text-align: right;
  white-space: nowrap;
}

/* Shared section rhythm --------------------------------------------------- */

.ent-section {
  padding-block: clamp(80px, 9vw, 124px);
}

.ent-page p {
  text-wrap: pretty;
}

.ent-page .section-head {
  margin-bottom: clamp(38px, 4.6vw, 58px);
}

.ent-page .section-head h2 {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.034em;
}

.ent-page .section-head h2 em {
  font-style: italic;
  color: inherit;
}

.ent-page .section-head__body {
  max-width: 500px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.62;
}

.ent-page .section-head__body p + p {
  margin-top: 10px;
}

.ent-page .section-head__body .textlink {
  margin-top: 20px;
  color: var(--ink);
}

.ent-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--gray-3);
}

.ent-note::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--clay);
}

/* What we build ----------------------------------------------------------- */

.ent-build {
  border-top: 1px solid var(--ink);
}

.ent-build-row {
  display: grid;
  grid-template-columns: 72px 250px minmax(0, 1fr) 280px;
  gap: clamp(20px, 2.4vw, 34px);
  align-items: start;
  padding: clamp(24px, 2.8vw, 32px) 0;
  border-bottom: 0.5px solid var(--line);
}

.ent-build-row__id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.ent-build-row__num {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
}

.ent-build-row__icon {
  width: 24px;
  height: 24px;
  color: var(--ink);
  opacity: 0.55;
}

.ent-build-row__title .eyebrow {
  color: var(--gray-3);
}

.ent-build-row__title h3 {
  margin-top: 10px;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.ent-build-row__copy p {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.6;
}

.ent-build-row__copy p + p {
  margin-top: 10px;
}

.ent-bullets {
  display: grid;
  gap: 7px;
  align-content: start;
}

.ent-bullets li {
  position: relative;
  padding-left: 14px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.ent-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--clay);
}

/* Designed around your technology ----------------------------------------- */

.ent-stack__panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.64fr) minmax(0, 1.36fr);
  overflow: hidden;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: inset 0 0 0 0.5px var(--ring);
}

.ent-stack__list {
  align-self: center;
  padding: clamp(24px, 3vw, 40px);
}

.ent-stack__list > .eyebrow {
  color: var(--gray);
}

.ent-stack__items {
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.ent-stack__items li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  padding: 11px 0;
  border-bottom: 0.5px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.ent-stack__items span {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--clay-deep);
}

.ent-stack__aside {
  max-width: 300px;
  margin-top: 22px;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
}

.ent-stack__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border-left: 0.5px solid var(--line);
  background: var(--cream);
}

.ent-stack__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.ent-stack__note {
  max-width: 840px;
  margin-top: 24px;
  padding-left: 18px;
  border-left: 2px solid var(--clay);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

/* Engineering requirements ------------------------------------------------ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.ent-req-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.ent-req-table thead th {
  width: auto;
  padding: 0 18px 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--gray);
  border-bottom: 1px solid var(--ink);
}

.ent-req-table thead th:first-child {
  width: 30%;
  padding-left: 0;
}

.ent-req-table thead th:last-child {
  width: 14%;
  padding-right: 0;
  text-align: right;
}

.ent-req-table tbody th,
.ent-req-table tbody td {
  padding: 22px 18px;
  border-bottom: 0.5px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.ent-req-table tbody th {
  width: 30%;
  padding-left: 0;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.ent-req-table tbody th > span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
}

.ent-req-table tbody td {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.6;
}

.ent-req-table tbody td:last-child {
  padding-right: 0;
  text-align: right;
}

.ent-req-table thead th + th,
.ent-req-table tbody td {
  border-left: 0.5px solid var(--line);
}

.ent-req__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-3);
  white-space: nowrap;
}

/* Process ----------------------------------------------------------------- */

.ent-figure {
  margin: 0 0 clamp(34px, 4.2vw, 50px);
}

.ent-figure__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}

.ent-figure__media img {
  width: 100%;
}

.ent-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  color: var(--gray);
  font-size: 12px;
  line-height: 18px;
}

.ent-figure figcaption span:last-child {
  color: var(--gray-3);
  text-align: right;
  white-space: nowrap;
}

.ent-phases {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: clamp(16px, 2.2vw, 30px);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.ent-phase {
  padding: 20px 0 22px;
  border-bottom: 0.5px solid var(--line);
}

.ent-phase__num {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
}

.ent-phase h3 {
  margin-top: 26px;
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.26;
  font-weight: 600;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

.ent-phase p {
  margin-top: 9px;
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.58;
}

/* Who we work with -------------------------------------------------------- */

.ent-audience {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: inset 0 0 0 0.5px var(--ring);
}

.ent-audience__cell {
  padding: clamp(24px, 2.6vw, 32px);
  border-left: 0.5px solid var(--line);
}

.ent-audience__cell:first-child {
  border-left: 0;
}

.ent-audience__num {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.ent-audience h3 {
  margin-top: clamp(28px, 3.4vw, 44px);
  font-size: clamp(18px, 1.4vw, 19px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.014em;
  text-wrap: balance;
}

.ent-audience p {
  margin-top: 10px;
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.58;
}

/* Closing CTA ------------------------------------------------------------- */

.ent-cta {
  padding: clamp(64px, 7vw, 92px) 0 clamp(40px, 4.5vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--page);
  color: var(--ink);
}

.ent-page main > .ent-cta:last-child {
  border-bottom: 0;
}

.ent-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.ent-cta h2 {
  max-width: 720px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.ent-cta h2 em {
  font-style: italic;
  color: var(--clay);
}

.ent-cta__body {
  max-width: 620px;
  margin-top: 22px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.65;
}

.ent-cta__support {
  max-width: 620px;
  margin-top: 10px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.ent-cta__side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: clamp(24px, 3vw, 36px);
  border-left: 0.5px solid var(--line);
}

.ent-cta__side .btn {
  width: 100%;
}

.ent-cta__note {
  margin-top: 4px;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.6;
}

.ent-cta__micro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(38px, 5vw, 58px);
  padding-top: 14px;
  border-top: 0.5px solid var(--line);
  color: var(--gray-3);
  font-size: 12px;
  line-height: 18px;
}

.ent-cta__micro span:last-child {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Nav current state ------------------------------------------------------- */

.ent-page .nav__panel-item[aria-current="page"] {
  background: var(--cream-deep);
}

.ent-page .menu__group a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1199px) {
  .ent-hero__grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 40px;
  }

  .ent-env__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ent-build-row {
    grid-template-columns: 40px minmax(0, 1fr);
    row-gap: 14px;
  }

  .ent-build-row__id {
    grid-row: 1 / span 3;
  }

  .ent-build-row__title,
  .ent-build-row__copy {
    grid-column: 2;
  }

  .ent-bullets {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .ent-audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ent-audience__cell {
    border-top: 0.5px solid var(--line);
  }

  .ent-audience__cell:nth-child(1),
  .ent-audience__cell:nth-child(2) {
    border-top: 0;
  }

  .ent-audience__cell:nth-child(odd) {
    border-left: 0;
  }

  .ent-phases {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(16px, 3vw, 28px);
  }

  .ent-stack__panel {
    grid-template-columns: 1fr;
  }

  .ent-stack__figure {
    order: -1;
    padding: 16px;
    border-left: 0;
    border-bottom: 0.5px solid var(--line);
  }

  .ent-stack__figure img {
    max-width: 820px;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .ent-dossier {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(24px, 4vw, 40px);
    max-width: none;
  }

  .ent-dossier__head,
  .ent-dossier__foot {
    grid-column: 1 / -1;
  }

  .ent-dossier__num {
    grid-column: 1;
  }

  .ent-dossier__glyph {
    grid-column: 1;
    margin-top: 4px;
  }

  .ent-dossier__facts {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: center;
    margin-top: 16px;
  }
}

@media (max-width: 1023px) {
  .ent-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ent-rail ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ent-rail li:nth-child(2n) {
    border-right: 0;
  }

  .ent-rail li:nth-child(n + 3) {
    border-top: 0.5px solid var(--line);
  }

  .ent-intro__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ent-cta__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  .ent-cta__side {
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 0.5px solid var(--line);
  }
}

@media (max-width: 767px) {
  .ent-hero__title {
    font-size: clamp(38px, 9vw, 52px);
  }

  .ent-hero__actions {
    align-items: flex-start;
  }

  .ent-map__caption,
  .ent-figure figcaption {
    flex-direction: column;
    gap: 4px;
  }

  .ent-map__caption span:last-child,
  .ent-figure figcaption span:last-child {
    text-align: left;
  }

  .ent-build-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ent-build-row__id {
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .ent-build-row__title,
  .ent-build-row__copy,
  .ent-bullets {
    grid-column: 1;
  }

  .ent-bullets {
    grid-template-columns: 1fr;
  }

  .ent-req-table,
  .ent-req-table tbody,
  .ent-req-table tr,
  .ent-req-table th,
  .ent-req-table td {
    display: block;
    width: auto;
  }

  .ent-req-table {
    table-layout: auto;
  }

  .ent-req-table thead {
    display: none;
  }

  .ent-req-table tbody tr {
    padding: 20px 0;
    border-bottom: 0.5px solid var(--line);
  }

  .ent-req-table tbody tr:first-child {
    border-top: 1px solid var(--ink);
  }

  .ent-req-table tbody th,
  .ent-req-table tbody td {
    width: auto;
    padding: 0;
    border: 0;
  }

  .ent-req-table tbody th {
    font-size: 18px;
  }

  .ent-req-table tbody td {
    margin-top: 8px;
  }

  .ent-req-table tbody td:last-child {
    margin-top: 10px;
    text-align: left;
  }

  .ent-req__tag::before {
    content: "Focus / ";
    color: var(--gray-3);
  }

  .ent-phases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ent-cta__micro {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 639px) {
  .ent-hero {
    padding-top: 22px;
  }

  .ent-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ent-hero__actions .btn {
    width: 100%;
  }

  .ent-hero__actions .textlink {
    justify-content: center;
  }

  .ent-dossier__facts > div {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .ent-dossier__glyph {
    display: none;
  }

  .ent-audience h3 {
    margin-top: 24px;
  }

  .ent-rail ol {
    grid-template-columns: 1fr;
  }

  .ent-rail li {
    border-right: 0;
    border-top: 0.5px solid var(--line);
  }

  .ent-rail li:first-child {
    border-top: 0;
  }

  .ent-env__list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ent-env__list li {
    padding-right: 0;
  }

  .ent-audience {
    grid-template-columns: 1fr;
  }

  .ent-audience__cell {
    border-left: 0;
    border-top: 0.5px solid var(--line);
  }

  .ent-audience__cell:first-child {
    border-top: 0;
  }

  .ent-phases {
    grid-template-columns: 1fr;
  }

  .ent-phase {
    padding: 18px 0;
  }

  .ent-phase h3 {
    margin-top: 12px;
  }

  .ent-cta {
    padding-top: 60px;
  }

  .ent-cta__micro {
    margin-top: 32px;
  }

  .ent-intro,
  .ent-section {
    padding-block: 68px;
  }

  .ent-stack__list {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ent-crumbs a,
  .ent-rail a,
  .ent-rail a .icon {
    transition: none;
  }
}

/* ============================================================================
   12. SaaS & Software — /solutions/saas
   Source: saas.css · used by solutions-saas.html · <body class="saas-page">
   ============================================================================ */

/* ==========================================================================
   Kudosoft — SaaS & Software Companies
   Page layer for styles.css. Reuses the existing tokens, type and components.
   ========================================================================== */

/* Hero -------------------------------------------------------------------- */

.saas-hero {
  padding: clamp(26px, 3.2vw, 42px) 0 0;
}

.saas-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.saas-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.saas-crumbs a {
  color: var(--gray);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.saas-crumbs a:hover {
  color: var(--ink);
  border-bottom-color: var(--clay);
}

.saas-crumbs li > span[aria-current="page"] {
  color: var(--ink);
}

.saas-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 390px;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(26px, 3.4vw, 42px);
}

.saas-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.saas-kicker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}

.saas-hero__title {
  max-width: 760px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(42px, 4.9vw, 70px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.saas-hero__title em {
  font-style: italic;
  color: var(--clay);
}

.saas-hero__lead {
  max-width: 620px;
  margin-top: 26px;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.saas-hero__body {
  max-width: 620px;
  margin-top: 18px;
  color: var(--gray);
  font-size: 15.5px;
  line-height: 1.65;
}

.saas-hero__body p + p {
  margin-top: 10px;
}

.saas-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 30px;
}

/* Solution dossier */

.saas-dossier {
  padding: clamp(20px, 2vw, 24px);
  background: var(--cream);
  border-radius: 16px;
  box-shadow: inset 0 0 0 0.5px var(--ring);
}

.saas-dossier__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid var(--line);
}

.saas-dossier__head .eyebrow:last-child {
  color: var(--gray-3);
  text-align: right;
}

.saas-dossier__num {
  margin-top: clamp(16px, 2vw, 22px);
  font-family: var(--font-display);
  font-size: clamp(62px, 5.6vw, 86px);
  line-height: 0.8;
  font-weight: 400;
  letter-spacing: -0.06em;
  color: var(--clay);
}

.saas-dossier__glyph {
  margin-top: 14px;
}

.saas-dossier__glyph svg {
  display: block;
  width: 100%;
  height: auto;
}

.saas-dossier__facts {
  margin: 10px 0 0;
}

.saas-dossier__facts > div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 0.5px solid var(--line);
}

.saas-dossier__facts dt {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.saas-dossier__facts dd {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.saas-dossier__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.saas-dossier__foot span:last-child {
  color: var(--gray-3);
  text-align: right;
}

/* Section rail */

.saas-rail {
  margin-top: clamp(38px, 4.6vw, 58px);
  border-top: 1px solid var(--ink);
}

.saas-rail > .eyebrow {
  padding: 11px 0 9px;
  color: var(--gray);
}

.saas-rail ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 0.5px solid var(--line);
  list-style: none;
}

.saas-rail li {
  border-right: 0.5px solid var(--line);
}

.saas-rail li:last-child {
  border-right: 0;
}

.saas-rail a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 15px 16px 15px 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.saas-rail a > span {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.06em;
  color: var(--clay-deep);
}

.saas-rail a .icon {
  width: 12px;
  height: 12px;
  margin-left: auto;
  opacity: 0.4;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.saas-rail a:hover {
  color: var(--clay-deep);
}

.saas-rail a:hover .icon {
  transform: translateX(3px);
  opacity: 1;
}

/* Introduction ------------------------------------------------------------ */

.saas-intro {
  padding: clamp(72px, 8vw, 108px) 0 clamp(64px, 7.5vw, 96px);
  border-top: 1px solid var(--line);
}

.saas-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.saas-intro__title h2 {
  max-width: 520px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.saas-intro__title h2 em {
  font-style: italic;
  color: inherit;
}

.saas-intro__copy {
  padding-top: 4px;
}

.saas-intro__copy p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.65;
}

.saas-intro__copy p + p {
  margin-top: 16px;
}

.saas-intro__copy .saas-intro__lead {
  color: var(--ink);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.012em;
}

.saas-intro__copy .saas-intro__turn {
  padding-left: 16px;
  border-left: 2px solid var(--clay);
  color: var(--ink-soft);
  font-size: 15px;
}

.saas-intro__turn strong {
  color: var(--ink);
  font-weight: 600;
}

/* Engineering baseline strip */

.saas-env {
  margin-top: clamp(42px, 5vw, 62px);
}

.saas-env__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
}

.saas-env__head .eyebrow:last-child {
  color: var(--gray-3);
}

.saas-env__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 24px);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.saas-env__list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 7px;
  padding: 14px 0 16px;
  border-bottom: 0.5px solid var(--line);
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.5;
}

.saas-env__list span {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--clay-deep);
}

/* Reference plate (intro) */

.saas-map {
  margin: clamp(46px, 5.4vw, 70px) auto 0;
}

.saas-map__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--ring);
}

.saas-map__media img {
  width: 100%;
}

.saas-map__caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  color: var(--gray);
  font-size: 12px;
  line-height: 18px;
}

.saas-map__caption span:last-child {
  color: var(--gray-3);
  text-align: right;
  white-space: nowrap;
}

/* Shared section rhythm --------------------------------------------------- */

.saas-section {
  padding-block: clamp(80px, 9vw, 124px);
}

.saas-page p {
  text-wrap: pretty;
}

.saas-page .section-head {
  margin-bottom: clamp(38px, 4.6vw, 58px);
}

.saas-page .section-head h2 {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.034em;
}

.saas-page .section-head h2 em {
  font-style: italic;
  color: inherit;
}

.saas-page .section-head__body {
  max-width: 500px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.62;
}

.saas-page .section-head__body p + p {
  margin-top: 10px;
}

.saas-page .section-head__body .textlink {
  margin-top: 20px;
  color: var(--ink);
}

.saas-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--gray-3);
}

.saas-note::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--clay);
}

/* What we build ----------------------------------------------------------- */

.saas-build {
  border-top: 1px solid var(--ink);
}

.saas-build-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 240px) minmax(0, 1fr) minmax(0, 250px);
  gap: clamp(20px, 2.4vw, 34px);
  align-items: start;
  padding: clamp(24px, 2.8vw, 32px) 0;
  border-bottom: 0.5px solid var(--line);
}

.saas-build-row__id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.saas-build-row__num {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
}

.saas-build-row__icon {
  width: 24px;
  height: 24px;
  color: var(--ink);
  opacity: 0.55;
}

.saas-build-row__title .eyebrow {
  color: var(--gray-3);
}

.saas-build-row__title h3 {
  margin-top: 10px;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.saas-build-row__copy p {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.6;
}

.saas-build-row__copy p + p {
  margin-top: 10px;
}

.saas-facets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-content: start;
}

.saas-facets li {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 0.5px solid var(--ring-strong);
  border-radius: 999px;
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Built around your product ----------------------------------------------- */

.saas-product {
  display: grid;
  grid-template-columns: minmax(300px, 0.66fr) minmax(0, 1.34fr);
  overflow: hidden;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: inset 0 0 0 0.5px var(--ring);
}

.saas-product__list {
  align-self: center;
  padding: clamp(24px, 3vw, 40px);
}

.saas-product__items {
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.saas-product__items li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--line);
}

.saas-product__items li > span {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--clay-deep);
}

.saas-product__items strong {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.008em;
}

.saas-product__items p {
  margin-top: 3px;
  color: var(--gray);
  font-size: 12.5px;
  line-height: 1.55;
}

.saas-product__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border-left: 0.5px solid var(--line);
  background: var(--cream);
}

.saas-product__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.saas-product__note {
  max-width: 840px;
  margin-top: 24px;
  padding-left: 18px;
  border-left: 2px solid var(--clay);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

/* Where AI fits ------------------------------------------------------------ */

.saas-audience {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: inset 0 0 0 0.5px var(--ring);
}

.saas-audience__cell {
  padding: clamp(24px, 2.6vw, 32px);
  border-left: 0.5px solid var(--line);
}

.saas-audience__cell:first-child {
  border-left: 0;
}

.saas-audience__num {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.saas-audience h3 {
  margin-top: clamp(28px, 3.4vw, 44px);
  font-size: clamp(18px, 1.4vw, 19px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.014em;
  text-wrap: balance;
}

.saas-audience p {
  margin-top: 10px;
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.58;
}

/* Delivery path figure ----------------------------------------------------- */

.saas-figure {
  margin: 0 0 clamp(38px, 4.6vw, 56px);
}

.saas-figure__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}

.saas-figure__media img {
  display: block;
  width: 100%;
  height: auto;
}

.saas-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  color: var(--gray);
  font-size: 12px;
  line-height: 18px;
}

.saas-figure figcaption span:last-child {
  color: var(--gray-3);
  text-align: right;
  white-space: nowrap;
}

/* Process ----------------------------------------------------------------- */

.saas-phases {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: clamp(16px, 2.2vw, 30px);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.saas-phase {
  padding: 20px 0 22px;
  border-bottom: 0.5px solid var(--line);
}

.saas-phase__num {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
}

.saas-phase h3 {
  margin-top: 26px;
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.26;
  font-weight: 600;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

.saas-phase p {
  margin-top: 9px;
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.58;
}

/* Closing CTA ------------------------------------------------------------- */

.saas-cta {
  padding: clamp(64px, 7vw, 92px) 0 clamp(40px, 4.5vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--page);
  color: var(--ink);
}

.saas-page main > .saas-cta:last-child {
  border-bottom: 0;
}

.saas-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.saas-cta h2 {
  max-width: 720px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.saas-cta h2 em {
  font-style: italic;
  color: var(--clay);
}

.saas-cta__body {
  max-width: 620px;
  margin-top: 22px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.65;
}

.saas-cta__support {
  max-width: 620px;
  margin-top: 10px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.saas-cta__side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: clamp(24px, 3vw, 36px);
  border-left: 0.5px solid var(--line);
}

.saas-cta__side .btn {
  width: 100%;
}

.saas-cta__note {
  margin-top: 4px;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.6;
}

.saas-cta__micro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(38px, 5vw, 58px);
  padding-top: 14px;
  border-top: 0.5px solid var(--line);
  color: var(--gray-3);
  font-size: 12px;
  line-height: 18px;
}

.saas-cta__micro span:last-child {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Nav current state ------------------------------------------------------- */

.saas-page .nav__panel-item[aria-current="page"] {
  background: var(--cream-deep);
}

.saas-page .menu__group a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1199px) {
  .saas-hero__grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 40px;
  }

  .saas-env__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .saas-build-row {
    grid-template-columns: 40px minmax(0, 1fr);
    row-gap: 14px;
  }

  .saas-build-row__id {
    grid-row: 1 / span 3;
  }

  .saas-build-row__title,
  .saas-build-row__copy,
  .saas-facets {
    grid-column: 2;
  }

  .saas-product {
    grid-template-columns: 1fr;
  }

  .saas-product__figure {
    order: -1;
    padding: 16px;
    border-left: 0;
    border-bottom: 0.5px solid var(--line);
  }

  .saas-product__figure img {
    max-width: 820px;
  }

  .saas-audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saas-audience__cell {
    border-top: 0.5px solid var(--line);
  }

  .saas-audience__cell:nth-child(1),
  .saas-audience__cell:nth-child(2) {
    border-top: 0;
  }

  .saas-audience__cell:nth-child(odd) {
    border-left: 0;
  }

  .saas-phases {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(16px, 3vw, 28px);
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .saas-dossier {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(24px, 4vw, 40px);
    max-width: none;
    align-items: center;
  }

  .saas-dossier__head,
  .saas-dossier__foot {
    grid-column: 1 / -1;
  }

  .saas-dossier__num {
    grid-column: 1;
  }

  .saas-dossier__glyph {
    grid-column: 1;
    margin-top: 4px;
  }

  .saas-dossier__facts {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: center;
    margin-top: 16px;
  }
}

@media (max-width: 1023px) {
  .saas-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .saas-rail ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saas-rail li:nth-child(2n) {
    border-right: 0;
  }

  .saas-rail li:nth-child(n + 3) {
    border-top: 0.5px solid var(--line);
  }

  .saas-intro__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .saas-cta__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  .saas-cta__side {
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 0.5px solid var(--line);
  }
}

@media (max-width: 767px) {
  .saas-hero__title {
    font-size: clamp(38px, 9vw, 52px);
  }

  .saas-hero__actions {
    align-items: flex-start;
  }

  .saas-map__caption,
  .saas-figure figcaption {
    flex-direction: column;
    gap: 4px;
  }

  .saas-map__caption span:last-child,
  .saas-figure figcaption span:last-child {
    text-align: left;
  }

  .saas-build-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .saas-build-row__id {
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .saas-build-row__title,
  .saas-build-row__copy,
  .saas-facets {
    grid-column: 1;
  }

  .saas-phases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saas-cta__micro {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 639px) {
  .saas-hero {
    padding-top: 22px;
  }

  .saas-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .saas-hero__actions .btn {
    width: 100%;
  }

  .saas-hero__actions .textlink {
    justify-content: center;
  }

  .saas-dossier__facts > div {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .saas-dossier__glyph {
    display: none;
  }

  .saas-audience h3 {
    margin-top: 24px;
  }

  .saas-rail ol {
    grid-template-columns: 1fr;
  }

  .saas-rail li {
    border-right: 0;
    border-top: 0.5px solid var(--line);
  }

  .saas-rail li:first-child {
    border-top: 0;
  }

  .saas-env__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saas-audience {
    grid-template-columns: 1fr;
  }

  .saas-audience__cell {
    border-left: 0;
    border-top: 0.5px solid var(--line);
  }

  .saas-audience__cell:first-child {
    border-top: 0;
  }

  .saas-phases {
    grid-template-columns: 1fr;
  }

  .saas-phase {
    padding: 18px 0;
  }

  .saas-phase h3 {
    margin-top: 12px;
  }

  .saas-cta {
    padding-top: 60px;
  }

  .saas-cta__micro {
    margin-top: 32px;
  }

  .saas-intro,
  .saas-section {
    padding-block: 68px;
  }

  .saas-product__list {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .saas-crumbs a,
  .saas-rail a,
  .saas-rail a .icon {
    transition: none;
  }
}

/* ============================================================================
   13. LEGACY TOKEN REFERENCE — Kudosoft-ui-tokens.css
   Not linked by any page; no `.el-*` class appears in the markup.
   Kept for reference only — its palette and type scale duplicate styles.css.
   ============================================================================ */

/* ==========================================================================
   ElevenLabs layout — Anthropic skin
   Layout: https://elevenlabs.io/
   Type + palette: https://www.anthropic.com/
   Measured at 1440px and 390px. See ELEVENLABS-UI-SPEC.md for the contract.

   IMPORTANT: anthropicSerif, anthropicSans, ElevenLabs marks, product
   screenshots, photography and copy are proprietary. Replace with licensed
   assets in production.
   ========================================================================== */

:root {
  /* Field + surfaces */
  --el-page: #faf9f5;
  --el-cream: #f5f4ed;
  --el-cream-deep: #e8e6dc;
  --el-surface-muted: #d1cfc5;
  --el-paper: #faf9f5;

  /* Ink */
  --el-ink: #141413;
  --el-ink-soft: #3d3d3a;
  --el-gray-500: #73726c;
  --el-gray-300: #87867f;

  /* Lines */
  --el-line: #dedcd1;
  --el-ring: #dedcd1;
  --el-ring-strong: #d1cfc5;

  /* Actions */
  --el-ink-hover: #30302e;
  --el-paper-hover: #f0eee6;
  --el-shadow-hairline: 0 0 0 0.5px rgba(20, 20, 19, 0.125),
    0 1px 1px rgba(20, 20, 19, 0.04), 0 2px 4px rgba(20, 20, 19, 0.04);

  /* Anthropic accent palette */
  --el-clay: #7c9e6b;
  --el-clay-deep: #658655;
  --el-olive: #788c5d;
  --el-sky: #6a9bcc;
  --el-iris: #dfdbfd;
  --el-periwinkle: #cde2fb;
  --el-periwinkle-deep: #184f95;
  --el-oat: #e3dacc;
  --el-cactus: #bcd1ca;
  --el-coral: #ebcece;
  --el-heather: #cbcadb;
  --el-fig: #c46686;

  /* Footer */
  --el-footer: #141413;
  --el-footer-text: #faf9f5;
  --el-footer-muted: #b0aea5;

  /* Type */
  --el-font-display: "anthropicSerif", "Source Serif 4", Newsreader, Georgia, serif;
  --el-font-text: "anthropicSans", "Inter", ui-sans-serif,
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --el-font-mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, monospace;

  /* Layout */
  --el-container-max: 81.625rem; /* 1306px */
  --el-outer: 20px;
  --el-gutter: 12px;
  --el-text-inset: 32px;
  --el-card-inset: 12px;
  --el-section-top: 120px;
  --el-section-bottom: 24px;
  --el-header-height: 64px;

  /* Radii */
  --el-radius-sheet: 12px;
  --el-radius-card: 12px;
  --el-radius-tab: 8px;
  --el-radius-pill: 999px;

  /* Motion */
  --el-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --el-dur-fast: 150ms;
  --el-dur-base: 200ms;
  --el-dur-rail: 400ms;
}

@media (min-width: 640px) {
  :root {
    --el-outer: 40px;
    --el-radius-card: 16px;
    --el-radius-tab: 12px;
    --el-section-top: 160px;
    --el-section-bottom: 40px;
  }
}

@media (min-width: 1280px) {
  :root {
    --el-outer: 64px;
  }
}

/* ==========================================================================
   Base
   ========================================================================== */

.el-page {
  background: var(--el-page);
  color: var(--el-ink);
  font-family: var(--el-font-text);
  font-size: 1.0625rem; /* 17px mobile */
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.el-page *,
.el-page *::before,
.el-page *::after {
  box-sizing: border-box;
}

.el-page :where(h1, h2, h3, p, figure, ul, ol) {
  margin: 0;
}

/* ==========================================================================
   Announcement + sheet
   ========================================================================== */

.el-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 16px;
  background: var(--el-cream);
}

.el-sheet {
  position: relative;
  margin-top: -1px; /* hide the seam between bar and sheet */
  border-radius: var(--el-radius-sheet) var(--el-radius-sheet) 0 0;
  background: var(--el-page);
}

/* ==========================================================================
   Container / grid
   ========================================================================== */

.el-container {
  width: min(
    calc(100% - 2 * var(--el-outer)),
    calc(var(--el-container-max) - 2 * var(--el-outer))
  );
  margin-inline: auto;
}

.el-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--el-gutter);
}

.el-rails {
  border-inline: 0.5px solid var(--el-line);
}

/* ==========================================================================
   Section rhythm
   ========================================================================== */

.el-section-header {
  padding-block: var(--el-section-top) var(--el-section-bottom);
}

.el-section-body {
  padding-block: 0 12px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.el-h1 {
  font-family: var(--el-font-display);
  font-size: 2.25rem; /* 36px */
  font-weight: 400;
  line-height: 1.1667;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.el-h2 {
  font-family: var(--el-font-text);
  font-size: 1.875rem; /* 30px */
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

.el-display-final {
  font-family: var(--el-font-display);
  font-size: 1.625rem; /* 26px */
  font-weight: 400;
  line-height: 1.23;
  letter-spacing: -0.01em;
}

.el-eyebrow {
  color: var(--el-gray-500);
  font-family: var(--el-font-text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.el-body {
  color: var(--el-ink);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}

.el-body-sm {
  font-size: 0.9375rem; /* 15px */
  line-height: 1.4667;
  letter-spacing: 0.01em;
}

.el-card-label {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.el-meta {
  color: var(--el-gray-500);
  font-size: 0.8125rem; /* 13px */
  line-height: 1.3846;
}

.el-nav {
  font-size: 0.875rem; /* 14px */
  line-height: 1.4286;
}

.el-footer-heading {
  color: var(--el-footer-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3846;
}

.el-footer-link {
  color: var(--el-footer-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

@media (min-width: 640px) {
  .el-h1 {
    font-size: 3rem; /* 48px */
    line-height: 1.0833;
  }

  .el-h2 {
    font-size: 2.25rem; /* 36px */
    line-height: 1.1667;
  }
}

@media (min-width: 1024px) {
  .el-body {
    font-size: 1.125rem; /* 18px */
    line-height: 1.6;
  }

  .el-display-final {
    font-size: 2rem; /* 32px */
    line-height: 1.125;
  }
}

/* ==========================================================================
   Pills
   ========================================================================== */

.el-pill {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--el-radius-pill);
  font-family: var(--el-font-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--el-dur-fast) ease-out,
    color var(--el-dur-fast) ease-out, border-color var(--el-dur-fast) ease-out;
}

.el-pill--primary {
  background: var(--el-ink);
  color: var(--el-footer-text);
}

.el-pill--primary:hover {
  background: var(--el-ink-hover);
}

.el-pill--secondary {
  background: var(--el-cream);
  border-color: var(--el-ring);
  color: var(--el-ink);
  box-shadow: var(--el-shadow-hairline);
}

.el-pill--secondary:hover {
  background: var(--el-paper-hover);
}

.el-pill:active {
  transform: scale(0.98);
}

.el-pill:focus-visible {
  outline: 2px solid var(--el-ink);
  outline-offset: 2px;
}

.el-pill--primary:focus-visible {
  box-shadow: 0 0 0 2px var(--el-page);
}

.el-pill--small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ==========================================================================
   Clay accent
   ========================================================================== */

.el-accent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--el-clay);
}

.el-accent-underline:hover {
  text-decoration: underline;
  text-decoration-color: var(--el-clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.el-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--el-radius-card);
  background: var(--el-cream);
  box-shadow: inset 0 0 0 0.5px var(--el-ring);
}

.el-card--light {
  background: var(--el-paper);
  box-shadow: var(--el-shadow-hairline);
}

.el-card__media {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  background: var(--el-cream-deep);
}

.el-card__media > img,
.el-card__media > video,
.el-card__media > picture,
.el-card__media > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.el-footer {
  background: var(--el-footer);
  color: var(--el-footer-text);
}

.el-footer a {
  color: var(--el-footer-text);
  text-decoration: none;
}

.el-footer a:hover {
  color: var(--el-ring-strong);
}

/* ==========================================================================
   Rails
   ========================================================================== */

.el-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.el-rail::-webkit-scrollbar {
  display: none;
}

.el-rail > * {
  scroll-snap-align: start;
  flex: 0 0 min(301px, calc(100vw - 64px));
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .el-page *,
  .el-page *::before,
  .el-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .el-pill:active {
    transform: none;
  }
}

/* ============================================================================
   KUDOSOFT THEME ADDITIONS
   Page types added during the WordPress build: hub mastheads, product pages,
   legal prose and the small set of utility templates. Everything else is the
   original design system above.
   ========================================================================== */

/* Masthead ---------------------------------------------------------------- */
.ks-masthead { padding: 88px 0 56px; }
.ks-masthead__inner { max-width: 900px; }
.ks-masthead h1 {
  margin-top: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.ks-masthead__lede {
  max-width: 660px;
  margin-top: 24px;
  font-size: 19px;
  line-height: 30px;
  color: var(--gray);
}
.ks-masthead__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ks-updated { margin-top: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-3); }

/* Breadcrumbs ------------------------------------------------------------- */
.ks-crumbs { margin-bottom: 28px; }
.ks-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ks-crumbs li { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-3); }
.ks-crumbs li + li::before { content: "/"; color: var(--ring-strong); }
.ks-crumbs a { color: inherit; text-decoration: none; }
.ks-crumbs a:hover { color: var(--ink); }

@media (min-width: 1024px) {
  .ks-masthead { padding: 128px 0 72px; }
}

/* Split feature (product pages) ------------------------------------------- */
.ks-split { display: grid; gap: 40px; align-items: center; }
.ks-split__media img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: inset 0 0 0 .5px var(--ring); }
.ks-split__body h2 { font-size: 30px; line-height: 1.15; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
.ks-features { display: grid; gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.ks-feature { padding-top: 18px; border-top: 1px solid var(--line); }
.ks-feature h3 { font-size: 16px; line-height: 22px; font-weight: 600; }
.ks-feature p { margin-top: 6px; font-size: 15px; line-height: 24px; color: var(--gray); }
@media (min-width: 900px) {
  .ks-split { grid-template-columns: 1.05fr .95fr; gap: 64px; }
}

/* Prose (legal, default pages, single posts) ------------------------------ */
.ks-prose { max-width: 740px; }
.ks-prose > * + * { margin-top: 22px; }
.ks-prose h2 { margin-top: 44px; font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -.01em; }
.ks-prose h3 { margin-top: 32px; font-size: 17px; line-height: 24px; font-weight: 600; }
.ks-prose p, .ks-prose li { font-size: 16px; line-height: 27px; color: var(--ink-soft); }
.ks-prose ul, .ks-prose ol { padding-left: 22px; }
.ks-prose ul { list-style: disc; }
.ks-prose ol { list-style: decimal; }
.ks-prose li { display: list-item; }
.ks-prose li + li { margin-top: 8px; }
.ks-prose a { color: var(--ink); text-underline-offset: 3px; }
.ks-prose blockquote { padding-left: 20px; border-left: 2px solid var(--clay); color: var(--ink); }
.ks-default { padding: 120px 0 96px; min-height: 40vh; }

/* Article / archive lists ------------------------------------------------ */
.ks-list { display: grid; gap: 0; margin: 40px 0 0; padding: 0; list-style: none; }
.ks-list li { padding: 24px 0; border-top: 1px solid var(--line); }
.ks-list h2 { font-size: 22px; line-height: 30px; font-weight: 500; }
.ks-list h2 a { text-decoration: none; }
.ks-list p { margin-top: 6px; color: var(--gray); font-size: 15px; line-height: 24px; max-width: 660px; }
.ks-postmeta { margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-3); }
.ks-pagination { margin-top: 40px; display: flex; gap: 16px; font-size: 14px; }

/* 404 -------------------------------------------------------------------- */
.ks-404 { padding: 140px 0 120px; }
.ks-404__code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
.ks-404 h1 { margin-top: 16px; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.08; font-weight: 500; letter-spacing: -.03em; }
.ks-404 p { max-width: 560px; margin-top: 20px; color: var(--gray); font-size: 17px; line-height: 27px; }
.ks-404__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Careers: roles rendered from the career post type */
.cr-jobs__empty {
  padding: 28px 24px;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: inset 0 0 0 .5px var(--ring);
  color: var(--gray);
  font-size: 16px;
  line-height: 26px;
}
.cr-jobs__empty a { color: var(--ink); }

/* Resources: empty grid state */
.rs-card--empty { grid-column: 1 / -1; }
.rs-empty {
  padding: 28px 24px;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: inset 0 0 0 .5px var(--ring);
  color: var(--gray);
  font-size: 16px;
  line-height: 26px;
}

/* Single resource — long-form article */
.ks-article { padding: 64px 0 120px; }
.ks-article .ks-crumbs { margin-bottom: 40px; }
.ks-article__head { max-width: 920px; margin: 0 auto; padding: 0 22px; text-align: center; }
.ks-article__head .eyebrow { justify-content: center; }
.ks-article__title { margin: 20px auto 0; max-width: 920px; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.03; letter-spacing: -.035em; font-weight: 600; }
.ks-article__byline { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; line-height: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.ks-article__hero { width: calc(100% - 44px); max-width: 1120px; margin: 48px auto 0; border-radius: 20px; overflow: hidden; background: var(--cream); box-shadow: inset 0 0 0 .5px var(--ring); }
.ks-article__hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ks-article__hero--contain img { object-fit: contain; padding: 26px; }
.ks-article__body { max-width: 760px; margin: 56px auto 0; }
.ks-prose.ks-article__body { max-width: 760px; }
.ks-article__body > p:first-of-type { font-size: 21px; line-height: 34px; color: var(--ink); }
.ks-article__body p, .ks-article__body li { font-size: 18px; line-height: 31px; }
.ks-article__body h2 { margin-top: 60px; font-size: 34px; line-height: 1.12; letter-spacing: -.02em; scroll-margin-top: 110px; }
.ks-article__body h3 { margin-top: 40px; font-size: 24px; line-height: 1.2; scroll-margin-top: 110px; }
.ks-article__body h2:first-child { margin-top: 0; }
.ks-article__body blockquote { margin: 36px 0; padding: 24px 28px; background: var(--cream); border-left: 2px solid var(--clay); border-radius: 0 14px 14px 0; }
.ks-article__body blockquote p { font-size: 20px; line-height: 32px; color: var(--ink); }
.ks-article__body img { height: auto; border-radius: 14px; }
.ks-article__body pre { margin: 28px 0; padding: 20px 22px; background: var(--ink); color: var(--cream); border-radius: 12px; overflow: auto; font-size: 14px; line-height: 24px; }
.ks-article__body code { padding: 2px 6px; background: var(--cream); border-radius: 5px; font-family: var(--font-mono); font-size: .9em; }
.ks-article__body pre code { padding: 0; background: none; color: inherit; }
.ks-article__body table { width: 100%; margin: 28px 0; border-collapse: collapse; font-size: 15px; line-height: 23px; }
.ks-article__body th, .ks-article__body td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ks-article__body th { color: var(--ink); font-weight: 600; }

.ks-toc { margin: 0 0 46px; padding: 26px 28px; background: var(--cream); border-radius: 16px; box-shadow: inset 0 0 0 .5px var(--ring); }
.ks-toc__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
.ks-toc ol { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: toc; }
.ks-toc li { counter-increment: toc; }
.ks-toc a { display: flex; gap: 14px; align-items: baseline; font-size: 16px; line-height: 24px; color: var(--ink); text-decoration: none; }
.ks-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 10px; color: var(--gray); }
.ks-toc a:hover { color: var(--clay); }

.ks-author { max-width: 760px; margin: 64px auto 0; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 20px; }
.ks-author__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 .5px var(--ring); display: grid; place-items: center; overflow: hidden; }
.ks-author__avatar img { width: 34px; height: 34px; object-fit: contain; }
.ks-author h2 { font-size: 16px; line-height: 24px; font-weight: 600; }
.ks-author p { margin-top: 6px; font-size: 14px; line-height: 23px; color: var(--gray); }
.ks-author a { color: var(--ink); }

.ks-related { max-width: 1120px; margin: 88px auto 0; }
.ks-related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.ks-related__head h2 { font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.01em; }
.ks-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ks-related__card { display: flex; flex-direction: column; padding: 24px; background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 .5px var(--ring); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.ks-related__card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 .5px var(--ring), 0 18px 40px rgba(20, 20, 18, .06); }
.ks-related__type { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.ks-related__card h3 { margin-top: 10px; font-size: 20px; line-height: 27px; font-weight: 600; color: var(--ink); }
.ks-related__meta { margin-top: auto; padding-top: 20px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }

.ks-article-cta { max-width: 760px; margin: 64px auto 0; padding: 36px; background: var(--ink); color: var(--cream); border-radius: 18px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ks-article-cta__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
.ks-article-cta h2 { margin-top: 10px; font-size: 30px; line-height: 1.15; font-weight: 600; color: var(--cream); }
.ks-article-cta p { margin-top: 10px; max-width: 460px; font-size: 16px; line-height: 26px; color: rgba(252, 252, 246, .72); }
.ks-article-cta .btn--primary { flex: 0 0 auto; background: var(--cream); border-color: var(--cream); color: var(--ink); }

@media (max-width: 900px) {
  .ks-related__grid { grid-template-columns: 1fr; }
  .ks-article-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .ks-article { padding: 32px 0 80px; }
  .ks-article .ks-crumbs { margin-bottom: 28px; }
  .ks-article__title { font-size: 38px; }
  .ks-article__hero { width: calc(100% - 32px); margin-top: 32px; border-radius: 14px; }
  .ks-article__body { margin-top: 36px; }
  .ks-article__body > p:first-of-type { font-size: 19px; line-height: 31px; }
  .ks-article__body h2 { margin-top: 44px; font-size: 27px; }
  .ks-article__body h3 { font-size: 21px; }
  .ks-toc { padding: 22px; }
  .ks-author { grid-template-columns: 48px 1fr; gap: 16px; }
  .ks-author__avatar { width: 48px; height: 48px; }
  .ks-author__avatar img { width: 26px; height: 26px; }
  .ks-related { margin-top: 64px; }
  .ks-related__head { flex-direction: column; align-items: flex-start; }
  .ks-article-cta { padding: 26px; }
  .ks-article-cta h2 { font-size: 25px; }
}
@media (max-width: 700px) {
  .ks-article .ks-crumbs li:last-child { display: none; }
}

/* Form popup ------------------------------------------------------------- */
body.ks-popup-open { overflow: hidden; }
.ks-popup {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.ks-popup.is-open { opacity: 1; visibility: visible; }
.ks-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 18, .58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.ks-popup__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  width: min(1040px, 100%);
  max-height: min(90vh, 860px);
  overflow: hidden;
  background: var(--page);
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .35);
  transform: translateY(14px) scale(.985);
  transition: transform .3s cubic-bezier(.2, .7, .3, 1);
}
.ks-popup.is-open .ks-popup__dialog { transform: none; }
.ks-popup__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 54px 44px 40px;
  overflow: hidden;
  background: #171714;
  color: var(--cream);
}
.ks-popup__aside::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -180px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(252, 252, 246, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(252, 252, 246, .03), 0 0 0 120px rgba(252, 252, 246, .02);
}
.ks-popup__aside::after {
  content: "";
  position: absolute;
  top: 138px;
  right: 118px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 8px rgba(124, 158, 107, .16);
}
.ks-popup__eyebrow {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay);
}
.ks-popup__aside h2 {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  max-width: 360px;
  font-size: 42px;
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 600;
  color: var(--cream);
}
.ks-popup__lede {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  max-width: 360px;
  font-size: 16px;
  line-height: 26px;
  color: rgba(252, 252, 246, .72);
}
.ks-popup__points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}
.ks-popup__points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 23px;
  color: rgba(252, 252, 246, .78);
}
.ks-popup__points li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}
.ks-popup__brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(252, 252, 246, .55);
}
.ks-popup__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}
.ks-popup__panel {
  padding: 46px 42px 34px;
  overflow-y: auto;
  background: var(--page);
}
.ks-popup__kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clay);
}
.ks-popup__panel h3 {
  margin-top: 10px;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 600;
}
.ks-popup__note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 19px;
  color: var(--gray);
}
.ks-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(252, 252, 246, .94);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.ks-popup__close:hover { background: var(--cream); transform: rotate(90deg); }
.ks-popup__privacy {
  margin-top: 14px;
  font-size: 11px;
  line-height: 18px;
  color: var(--gray);
}
.ks-popup__privacy a { color: var(--ink); }

/* Forminator inside the popup */
.ks-popup__panel .forminator-ui { margin-top: 22px; }
.ks-popup .forminator-row { margin-bottom: 14px !important; }
.ks-popup .forminator-col { padding-right: 0 !important; padding-left: 0 !important; }
.ks-popup .forminator-field { margin: 0 !important; }
.ks-popup .forminator-label {
  display: block;
  margin-bottom: 7px;
  font-family: inherit;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--ink);
}
.ks-popup .forminator-label .forminator-required { color: var(--clay); }
.ks-popup .forminator-input,
.ks-popup .forminator-textarea {
  width: 100%;
  margin: 0;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 48px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ks-popup .forminator-textarea {
  height: auto;
  min-height: 116px;
  padding: 13px 16px;
  line-height: 24px;
  resize: vertical;
}
.ks-popup .forminator-input:focus,
.ks-popup .forminator-textarea:focus {
  border-color: var(--clay);
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 158, 107, .12);
}
.ks-popup .forminator-button-submit {
  width: 100%;
  height: 52px;
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}
.ks-popup .forminator-button-submit:hover { background: var(--clay); color: #fff; }
.ks-popup .forminator-response-message {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 20px;
}
.ks-popup .forminator-error-message {
  margin-top: 5px;
  font-size: 12px;
  line-height: 18px;
  color: #a8382a;
}

@media (max-width: 900px) {
  .ks-popup { padding: 12px; }
  .ks-popup__dialog { grid-template-columns: 1fr; max-height: 92vh; border-radius: 18px; }
  .ks-popup__aside { padding: 30px 24px 24px; }
  .ks-popup__aside h2 { margin-top: 12px; max-width: none; font-size: 30px; }
  .ks-popup__lede { margin-top: 12px; max-width: none; font-size: 14px; line-height: 22px; }
  .ks-popup__points { display: none; }
  .ks-popup__brand { padding-top: 20px; }
  .ks-popup__panel { padding: 28px 24px 24px; }
  .ks-popup__panel h3 { font-size: 24px; }
  .ks-popup__close { top: 10px; right: 10px; width: 34px; height: 34px; font-size: 19px; }
}

/* Forminator override layer (its rules are scoped to the form id) */
.ks-popup .forminator-ui .forminator-row { margin-bottom: 14px !important; }
.ks-popup .forminator-ui .forminator-label {
  display: block !important;
  margin-bottom: 7px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
}
.ks-popup .forminator-ui .forminator-input,
.ks-popup .forminator-ui .forminator-textarea {
  width: 100% !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 48px !important;
}
.ks-popup .forminator-ui .forminator-textarea {
  height: auto !important;
  min-height: 116px !important;
  padding: 13px 16px !important;
  line-height: 24px !important;
  resize: vertical !important;
}
.ks-popup .forminator-ui .forminator-input:focus,
.ks-popup .forminator-ui .forminator-textarea:focus {
  border-color: var(--clay) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(124, 158, 107, .12) !important;
}
.ks-popup .forminator-ui .forminator-button-submit {
  width: 100% !important;
  height: 52px !important;
  margin-top: 6px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ink) !important;
  color: var(--cream) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 52px !important;
  cursor: pointer !important;
}
.ks-popup .forminator-ui .forminator-button-submit:hover {
  background: var(--clay) !important;
  color: #fff !important;
}
@media (max-width: 900px) {
  .ks-popup__dialog { display: flex; flex-direction: column; }
  .ks-popup__aside { flex: 0 0 auto; }
  .ks-popup__panel { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
}

/* Careers application forms */
button.textlink {
  padding: 0 0 2px;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.ks-popup__role {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--cream);
  box-shadow: inset 0 0 0 .5px var(--ring);
  font-size: 13px;
  line-height: 20px;
  color: var(--ink);
}
.ks-popup__role[hidden] { display: none; }
.ks-popup .forminator-ui select.forminator-select2,
.ks-popup .forminator-ui .forminator-select {
  width: 100% !important;
  height: 50px !important;
  padding: 0 36px 0 16px !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141413' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  color: var(--ink) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  -webkit-appearance: none;
  appearance: none;
}
.ks-popup .forminator-row[data-multiple="true"] > .forminator-col { padding-right: 8px !important; }
.ks-popup .forminator-row[data-multiple="true"] > .forminator-col:last-child { padding-right: 0 !important; }
.ks-popup .select2-container { width: 100% !important; }
.ks-popup .select2-container--default .select2-selection--single {
  height: 50px !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  background: #fff !important;
}
.ks-popup .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-right: 36px !important;
  padding-left: 16px !important;
  line-height: 48px !important;
  font-size: 15px !important;
  color: var(--ink) !important;
}
.ks-popup .select2-container--default .select2-selection--single .select2-selection__arrow { top: 1px !important; right: 10px !important; height: 48px !important; }
.select2-container--default .select2-results__option { font-size: 14px; }
.select2-container--default .select2-search--dropdown .select2-search__field { border-color: var(--line); border-radius: 8px; }
.select2-dropdown { border-color: var(--line) !important; border-radius: 10px !important; font-family: var(--font); }

/* Home introduction: two-column support copy (desktop) */
@media (min-width: 1024px) {
  .statement__support {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    column-gap: clamp(40px, 5vw, 80px);
    align-items: start;
    max-width: none;
    margin-top: 88px;
  }
  .statement__bold {
    max-width: 560px;
    font-size: 18px;
    line-height: 28px;
  }
  .statement__muted {
    max-width: 720px;
    margin-top: 0;
    font-size: 18px;
    line-height: 28px;
  }
  .statement__actions { margin-top: 56px; }
}

/* Popup: keep the form panel scrollable inside the dialog */
.ks-popup__dialog { grid-template-rows: minmax(0, 1fr); }
.ks-popup__panel { min-height: 0; overscroll-behavior: contain; }

/* Footer brand logo */
.footer__logo {
  display: inline-flex;
  align-self: flex-start;
  line-height: 0;
}
.footer__logo img {
  display: block;
  width: 170px;
  height: auto;
}
@media (max-width: 600px) {
  .footer__logo img { width: 150px; }
}


.manifesto {
  --mf-blue: #4063d6;
  --mf-gold: #c9882c;
  background: var(--page);
  padding-block: clamp(28px, 3.6vw, 64px);
  padding-top:160px;		
}

.hero + .manifesto,
.manifesto + .statement { border-top: 0; }

.manifesto__stage {
  position: relative;
  width: min(calc(100% - 2 * var(--outer)), calc(1306px - 2 * var(--outer)));
  margin-inline: auto;
  aspect-ratio: 2.85 / 1;
  min-height: 430px;
  container-type: inline-size;
  overflow: hidden;
}

.manifesto__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.048em;
  color: var(--ink);
}

.manifesto__line {
  position: absolute;
  display: block;
  white-space: nowrap;
  font-size: 133px;
  font-size: 9.4cqw;
}

.manifesto__line--top {
  left: 0;
  top: 12%;
  font-size: 150px;
  font-size: min(150px, 12.73cqw);
}
.manifesto__line--bottom {
  right: 0;
  bottom: 12%;
  font-size: 150px;
  font-size: min(150px, 12.73cqw);
}

.manifesto__note {
  position: absolute;
  left: 0;
  bottom: 17%;
  width: 38%;
  margin: 0;
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink);
  text-wrap: pretty;
}

.manifesto__art {
  position: absolute;
  margin: 0;
}

.manifesto__art img {
  display: block;
  width: 100%;
  height: auto;
}

.manifesto__art--dragonfly {
  top: .5%;
  right: 8.5%;
  width: 23%;
}
.manifesto__art--dragonfly img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 9px 14px rgba(56, 38, 10, .1));
}
.manifesto__art--dragonfly .manifesto__dot--blue {
  top: 70%;
  left: 93.5%;
  width: 5.5%;
}

.manifesto__art--prism {
  left: 42%;
  bottom: -4%;
  width: 25%;
}
.manifesto__art--prism img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 900px) and (max-width: 1100px) {
  .manifesto__art--prism {
    left: 39%;
    bottom: 1%;
    width: 24%;
  }
}

.manifesto__dot {
  position: absolute;
  display: block;
  border-radius: 50%;
}
.manifesto__dot--blue {
  top: 78%;
  left: 72%;
  width: 8.5%;
  aspect-ratio: 1;
  background: var(--mf-blue);
}
.manifesto__dot--small {
  top: auto;
  left: auto;
  right: 1%;
  bottom: -7%;
  width: 5.5%;
}

.manifesto__arc {
  position: absolute;
  color: var(--ink);
  opacity: .8;
}

.manifesto__arc--head {
  top: 2.5%;
  right: 0.5%;
  width: 13%;
}
.manifesto__arc--foot {
  left: 0;
  bottom: 1%;
  width: 14%;
}

@media (max-width: 899px) {
  .manifesto { padding-block: 44px 52px; }

  .manifesto__stage {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 18px;
    aspect-ratio: auto;
    container-type: normal;
    overflow: visible;
  }

  .manifesto__arc,
  .manifesto__dot { display: none; }

  .manifesto__art { position: static; }

  .manifesto__art--dragonfly {
    order: 1;
    justify-self: end;
    width: min(66%, 390px);
    margin-right: 2%;
  }

  .manifesto__title { order: 2; }
  .manifesto__line {
    position: static;
    font-size: clamp(42px, 12.4vw, 88px);
    line-height: 1.02;
    letter-spacing: -.042em;
  }

  .manifesto__note {
    position: static;
    order: 3;
    width: auto;
    max-width: 34em;
    font-size: 16px;
    line-height: 1.58;
    margin-top: 4px;
  }

  .manifesto__art--prism {
    order: 4;
    justify-self: center;
    width: min(78%, 400px);
    margin-top: 8px;
  }
}

/* Split — paragraph left, image column right ----------------------------- */

.split__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 120px;
}

.split__copy { max-width: 360px; }
.split__copy .eyebrow { margin-bottom: 20px; }

.split__title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.split__body { margin-top: 24px; color: var(--gray); }
.split__body p { margin: 0; }
.split__body p + p { margin-top: 16px; }

.split__link { margin-top: 28px; }

.split__media { margin: 0; }

.split__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.split__frame {
  position: relative;
  aspect-ratio: 16 / 11;
  padding: 40px;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: inset 0 0 0 .5px var(--ring);
  overflow: hidden;
}
.split__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* one tile only until the gallery becomes a grid */
.split__frame--tile { display: none; }
.split__frame--lead img {
  object-fit: cover;
}

.split__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
}

@media (min-width: 900px) {
  .split__grid {
    grid-template-columns: minmax(0, .82fr) minmax(0, 2fr);
    column-gap: 64px;
  }

  .split__gallery {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    aspect-ratio: 1.55 / 1;
  }
  .split__frame {
    aspect-ratio: auto;
    height: 100%;
    padding: 0px;
  }
  .split__frame--lead {
    grid-row: 1 / -1;
    padding: 0;
  }
  .split__frame--tile { display: block; }
}

/* Hide the legacy inline SVGs now that the artwork is served as images. */
.manifesto__art--dragonfly > svg,
.manifesto__art--prism > svg,
.manifesto__art--prism .manifesto__dot { display: none; }