/*
 * AI4AI course finder (pages/ai4ai.php). Every rule is scoped to .ai4ai so
 * nothing leaks into the shared site styles, and colours below the hero read
 * the site tokens from style.css, so the accessibility panel's dark mode
 * (html.a11y-mode-dark) carries through. The hero keeps its own dark and
 * light palettes, chosen with the switch at its top.
 */
.ai4ai {
  --ink: var(--text-1);
  --ink-2: var(--text-2);
  --muted: var(--text-3);
  --line: var(--border);
  --wash: var(--blue-pale);
  --mint: #b3eee5;
  --serif: Lora, Georgia, serif;
  --section: clamp(4rem, 9vw, 7.5rem);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  text-align: left;
}

/* Site-wide defaults this page does not want: justified paragraphs, bare links.
   :where() keeps these at element weight, so every class below still wins. */
:where(.ai4ai) p { text-align: left; hyphens: manual; margin: 0; }
:where(.ai4ai) :is(h1, h2, h3, h4) {
  margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.18;
  letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: break-word;
}
:where(.ai4ai) ul { margin: 0; padding: 0; list-style: none; }
:where(.ai4ai) a { color: var(--blue); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.ai4ai :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.ai4ai-out { width: .85em; height: .85em; flex: none; }

/* ---------- Hero: the nine-path cube (assets/js/ai4ai-hero.js) ---------- */
.ai4ai-intro {
  position: relative; isolation: isolate; overflow: hidden;
  color: #f4f7ff;
  background:
    radial-gradient(ellipse 60% 80% at 26% 42%, #1c2a4c, transparent 72%),
    linear-gradient(130deg, #0a0f1c, #0f1a31 68%, #111b33);
  padding-block: clamp(2rem, 4.5vw, 4rem);
}
/* The copy column gets the extra width: the reviewed headline runs to three
   sentences, and a wider measure keeps it to four or five lines. */
.ai4ai-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center; gap: clamp(1.5rem, 4.5vw, 4.5rem);
}
.ai4ai-stage { position: relative; isolation: isolate; width: 100%; }
/* One 5:3 box holds the poster, the 3D scene and the portal name. The poster
   is 1200x720 (5:3) and the scene frames the word the same way, so the letters
   end about 72% of the way down at every width, and the name sits just below. */
.ai4ai-scene {
  position: relative; width: 100%; aspect-ratio: 5 / 3;
  container-type: inline-size;
}
.ai4ai .ai4ai-wordmark {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ai4ai-poster, .ai4ai-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ai4ai-poster { object-fit: contain; }
.ai4ai-canvas { opacity: 0; }
.ai4ai-canvas canvas { display: block; width: 100%; height: 100%; }
.ai4ai-stage.is-live .ai4ai-canvas { opacity: 1; }
.ai4ai-stage.is-live .ai4ai-poster { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ai4ai-poster, .ai4ai-canvas { transition: opacity .6s ease; }
}
/* Top right, in the empty sky above the word, so it never meets the portal name. */
.ai4ai-stage-controls { position: absolute; top: 0; right: 0; z-index: 1; display: flex; gap: .5rem; }

/* The portal name: part of the word, not a caption under a picture. It takes
   the word's width cue from the scene box (cqi), and nine squares in the cube's
   glazes sit on it like the last row of voxels. */
.ai4ai-portal {
  position: absolute; left: 0; right: 0; top: 76.5%;
  display: flex; flex-direction: column; align-items: center; gap: .55em;
  font-size: clamp(.9rem, 4.1cqi, 1.4rem); font-weight: 600; line-height: 1.25;
  letter-spacing: .01em; color: #e9eefb; text-align: center;
}
.ai4ai-portal-cubes { display: flex; gap: .2em; }
.ai4ai-portal-cubes i { width: .5em; height: .5em; border-radius: 2px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.ai4ai-portal-cubes i:nth-child(1) { background: var(--ai4ai-1); }
.ai4ai-portal-cubes i:nth-child(2) { background: var(--ai4ai-2); }
.ai4ai-portal-cubes i:nth-child(3) { background: var(--ai4ai-3); }
.ai4ai-portal-cubes i:nth-child(4) { background: var(--ai4ai-4); }
.ai4ai-portal-cubes i:nth-child(5) { background: var(--ai4ai-5); }
.ai4ai-portal-cubes i:nth-child(6) { background: var(--ai4ai-6); }
.ai4ai-portal-cubes i:nth-child(7) { background: var(--ai4ai-7); }
.ai4ai-portal-cubes i:nth-child(8) { background: var(--ai4ai-8); }
.ai4ai-portal-cubes i:nth-child(9) { background: var(--ai4ai-9); }
.ai4ai-portal-name { text-wrap: balance; }
/* While the 3D scene plays, the name waits for the letters to land, then the
   squares click into place left to right and the name rises in. Without the
   scene (no WebGL, reduced motion, "stop animations") it is simply there. */
@media (prefers-reduced-motion: no-preference) {
  .ai4ai-portal-name, .ai4ai-portal-cubes i {
    transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
  }
  .ai4ai-portal-cubes i:nth-child(n) { transition-delay: calc(var(--i, 0) * 45ms); }
  .ai4ai-portal-cubes i:nth-child(2) { --i: 1; } .ai4ai-portal-cubes i:nth-child(3) { --i: 2; }
  .ai4ai-portal-cubes i:nth-child(4) { --i: 3; } .ai4ai-portal-cubes i:nth-child(5) { --i: 4; }
  .ai4ai-portal-cubes i:nth-child(6) { --i: 5; } .ai4ai-portal-cubes i:nth-child(7) { --i: 6; }
  .ai4ai-portal-cubes i:nth-child(8) { --i: 7; } .ai4ai-portal-cubes i:nth-child(9) { --i: 8; }
  .ai4ai-portal-name { transition-delay: .35s; }
  .ai4ai-stage.is-live:not(.is-formed) .ai4ai-portal-cubes i { opacity: 0; transform: translateY(-.6em) scale(.6); transition-delay: 0s; }
  .ai4ai-stage.is-live:not(.is-formed) .ai4ai-portal-name { opacity: 0; transform: translateY(.4em); transition-delay: 0s; }
}
.ai4ai-motion-toggle {
  min-width: 44px; min-height: 44px; padding: .35rem .9rem; border-radius: 999px;
  border: 1px solid #afc8db; background: #101d31; color: #fff;
  font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer;
  transition: background-color 180ms ease, transform 140ms var(--ease-out);
}
.ai4ai-motion-toggle:hover { background: #1b3152; }
.ai4ai-motion-toggle:active { transform: scale(.97); }
.ai4ai-motion-toggle[hidden] { display: none; }
.ai4ai-intro :focus-visible { outline-color: var(--mint); }

.ai4ai-hero-copy { max-width: 37rem; }

/* Language switch and background switch, above the headline. */
.ai4ai-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.ai4ai-lang {
  display: inline-flex; overflow: hidden;
  border: 1px solid #8fa3c4; border-radius: 999px;
}
.ai4ai-lang[hidden] { display: none; }
.ai4ai-lang button {
  min-width: 48px; min-height: 44px; padding: 0 .8rem; border: 0; border-radius: 999px;
  background: transparent; color: #d3ddf0; font: inherit; font-size: .875rem; font-weight: 700;
  letter-spacing: .02em; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .ai4ai-lang button:hover { background: rgba(255, 255, 255, .1); color: #fff; } }
.ai4ai-lang button:active { transform: scale(.96); }
.ai4ai-lang button[aria-pressed="true"] { background: var(--mint); color: #0d1b3e; }
.ai4ai-theme-toggle {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem;
  border-radius: 999px; border: 1px solid #8fa3c4; background: transparent; color: #fff;
  font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer;
  transition: background-color 160ms ease, transform 140ms var(--ease-out);
}
.ai4ai-theme-toggle::before { content: ""; width: .7rem; height: .7rem; border: 2px solid currentColor; border-radius: 50%; }
.ai4ai-theme-toggle[aria-pressed="true"]::before { background: currentColor; }
@media (hover: hover) and (pointer: fine) { .ai4ai-theme-toggle:hover { background: rgba(255, 255, 255, .1); } }
.ai4ai-theme-toggle:active { transform: scale(.97); }
.ai4ai-theme-toggle[hidden] { display: none; }

.ai4ai-lead {
  font-family: var(--serif); font-weight: 700;
  /* Sized for a three-sentence line, not a three-word one: about 28px on a
     phone to 42px on a wide screen, so the hero fits one desktop screen. */
  font-size: clamp(1.75rem, 1.15rem + 1.9vw, 2.625rem); line-height: 1.14; letter-spacing: -0.015em;
  text-wrap: balance;
}
.ai4ai-context { margin-top: 1rem; font-size: 1.075rem; color: #d3ddf0; max-width: 40ch; }
.ai4ai-context strong { color: #fff; font-weight: 600; }

/* The group picker: a native select, labelled, and it works without JavaScript. */
.ai4ai-picker { margin-top: clamp(1.5rem, 2.5vw, 2rem); }
.ai4ai-picker label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .6rem; }
.ai4ai-picker-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.ai4ai-picker select {
  flex: 1 1 19rem; min-width: 0; min-height: 56px;
  padding: .75rem 3rem .75rem 1.1rem; border-radius: 12px;
  border: 2px solid #c9d5ea; background-color: #fff; color: #0d1b3e;
  font: inherit; font-size: 1.05rem; font-weight: 500;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230d1b3e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem;
  transition: border-color 160ms ease;
}
.ai4ai-picker select:hover { border-color: #fff; }
.ai4ai-picker select option { color: #0d1b3e; background: #fff; }
.ai4ai-picker button {
  min-height: 56px; padding: .75rem 1.4rem; border-radius: 12px; border: 0;
  background: var(--mint); color: #0d1b3e; font: inherit; font-weight: 700; cursor: pointer;
  transition: background-color 180ms ease, transform 140ms var(--ease-out);
}
.ai4ai-picker button:hover { background: #d3f6f0; }
.ai4ai-picker button:active { transform: scale(.97); }
.ai4ai-hint { margin-top: .75rem; font-size: .9rem; color: #b9c6de; }

/* Light background, chosen with the switch. */
.ai4ai-intro.is-light { background: #eef2fb; color: #0d1b3e; }
.ai4ai-intro.is-light .ai4ai-context { color: #33415f; }
.ai4ai-intro.is-light .ai4ai-context strong { color: #0d1b3e; }
.ai4ai-intro.is-light .ai4ai-hint { color: #56627c; }
.ai4ai-intro.is-light .ai4ai-picker select { border-color: #7a879d; }
.ai4ai-intro.is-light .ai4ai-picker select:hover { border-color: #0d1b3e; }
.ai4ai-intro.is-light .ai4ai-picker button { background: #0d1b3e; color: #fff; }
.ai4ai-intro.is-light .ai4ai-picker button:hover { background: #1c2c55; }
.ai4ai-intro.is-light :focus-visible { outline-color: #1a3a8f; }
.ai4ai-intro.is-light .ai4ai-portal { color: #0d1b3e; }
.ai4ai-intro.is-light .ai4ai-motion-toggle { background: #fff; color: #0d1b3e; border-color: #7a879d; }
.ai4ai-intro.is-light .ai4ai-lang,
.ai4ai-intro.is-light .ai4ai-theme-toggle { border-color: #7a879d; }
.ai4ai-intro.is-light .ai4ai-lang button { color: #33415f; }
.ai4ai-intro.is-light .ai4ai-lang button[aria-pressed="true"] { background: #0d1b3e; color: #fff; }
.ai4ai-intro.is-light .ai4ai-theme-toggle { background: #fff; color: #0d1b3e; }
@media (hover: hover) and (pointer: fine) {
  .ai4ai-intro.is-light .ai4ai-lang button:not([aria-pressed="true"]):hover { background: #dde5f6; color: #0d1b3e; }
  .ai4ai-intro.is-light .ai4ai-theme-toggle:hover { background: #dde5f6; }
}

@media (max-width: 820px) {
  .ai4ai-hero { grid-template-columns: minmax(0, 1fr); }
  .ai4ai-scene { width: min(100%, 34rem); margin-inline: auto; }
  .ai4ai-intro { padding-block: 1.5rem 3rem; }
  .ai4ai-hero-copy { max-width: none; }
}
@media (max-width: 480px) {
  .ai4ai-picker button { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.ai4ai-section { padding-block: var(--section); color: var(--ink); }
/* One step below the hero headline, so the page keeps a single lead line. */
.ai4ai-section-title { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.15rem); color: var(--ink); }
.ai4ai-section-title:focus { outline: none; }
.ai4ai-section-title:focus-visible { outline: 3px solid var(--blue); }
.ai4ai-section-intro { margin-top: .9rem; color: var(--ink-2); max-width: 52ch; font-size: 1.05rem; }
.ai4ai-status { margin-top: 1rem; font-weight: 600; color: var(--teal); min-height: 1.6em; }
.ai4ai .ai4ai-reset {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--blue); font-weight: 600;
  transition: transform 140ms var(--ease-out);
}
.ai4ai-reset:active { transform: scale(.97); }
.ai4ai-reset[hidden] { display: none; }
.ai4ai-signin-card {
  margin-top: 1.5rem; padding: 1.1rem; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.ai4ai-signin { display: flex; align-items: flex-start; gap: .85rem; color: var(--muted); font-size: .925rem; }
.ai4ai-signin img { width: 92px; height: auto; flex: none; background: #fff; border-radius: 6px; padding: 2px 4px; border: 1px solid var(--line); }
.ai4ai-course-lang { display: block; margin-top: .35rem; color: var(--ink); font-weight: 600; }
.ai4ai-course-lang[hidden] { display: none; }

/* Inline step-by-step registration video inside .ai4ai-signin-card */
.ai4ai-guide { margin-top: .95rem; padding-top: .95rem; border-top: 1px solid var(--line); }
.ai4ai-guide-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem .65rem; margin-bottom: .65rem; }
.ai4ai .ai4ai-guide-title { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.ai4ai-guide-icon {
  width: 1.35rem; height: 1.35rem; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  background: var(--wash); color: var(--blue);
}
.ai4ai-guide-badge {
  display: inline-flex; align-items: center; padding: .15rem .55rem; border-radius: 999px;
  background: var(--wash); color: var(--blue); font-size: .875rem; font-weight: 600; white-space: nowrap;
}
.ai4ai-guide-video {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px;
  overflow: hidden; background: #0c1527; border: 1px solid var(--line); line-height: 0;
}
.ai4ai-guide-video video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0c1527; }
.ai4ai-guide-play {
  position: absolute; inset: 0; width: 100%; height: 100%; min-height: 44px;
  display: flex; align-items: flex-end; justify-content: flex-start; gap: .65rem;
  padding: .85rem 1rem; border: 0; border-radius: 10px;
  background: linear-gradient(180deg, rgba(10, 15, 28, .08) 0%, rgba(10, 15, 28, .75) 100%);
  color: #fff; font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer;
  text-align: left; line-height: 1.25;
  transition: background-color 180ms ease;
}
.ai4ai-guide-play[hidden] { display: none; }
.ai4ai-guide-play-circle {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  background: var(--mint); color: #0d1b3e;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .ai4ai-guide-play:hover .ai4ai-guide-play-circle { transform: scale(1.06); background: #d3f6f0; }
}
.ai4ai-guide-play:active .ai4ai-guide-play-circle { transform: scale(.96); }
.ai4ai-guide-play-label { text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.ai4ai .ai4ai-guide-caption { margin-top: .55rem; font-size: .875rem; color: var(--ink-2); line-height: 1.45; }

/* ---------- Course list ---------- */
.ai4ai-courses {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
/* Sits below the site's sticky navbar while the list scrolls past. */
.ai4ai-courses-aside { position: sticky; top: 6.5rem; }
.ai4ai-group-title {
  font-family: inherit; font-size: .95rem; font-weight: 600; letter-spacing: 0;
  color: var(--ink-2); padding-bottom: .9rem; border-bottom: 1px solid var(--ink);
}
.ai4ai .ai4ai-group-title { font-family: inherit; }
.ai4ai-group + .ai4ai-group { margin-top: clamp(2.75rem, 5vw, 4rem); }

.ai4ai-row {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: .4rem 2rem; align-items: center;
  padding: 1.5rem 1rem 1.5rem 0; border-bottom: 1px solid var(--line);
}
/* The hover wash bleeds past the text edge, so nothing in the row moves. */
.ai4ai-row::before {
  content: ""; position: absolute; inset: 0 0 0 -1rem; z-index: -1; border-radius: 10px;
  background: var(--wash); opacity: 0; transition: opacity 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .ai4ai-row:hover::before { opacity: 1; }
  .ai4ai-row:hover .ai4ai-out { transform: translate(2px, -2px); }
  .ai4ai-row:hover a { text-decoration: underline; }
}
.ai4ai-row .ai4ai-out { transition: transform 200ms var(--ease-out); }
.ai4ai-row:active::before { opacity: 1; }
.ai4ai-row h4 { font-size: 1.3rem; color: var(--ink); }
.ai4ai-row p { color: var(--ink-2); font-size: .975rem; max-width: 54ch; margin-top: .3rem; }
.ai4ai-row .ai4ai-meta { grid-column: 1; color: var(--muted); font-size: .875rem; margin-top: 0; }
.ai4ai .ai4ai-row a {
  grid-column: 2; grid-row: 1 / span 2;
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px;
  font-weight: 600; text-decoration: none; white-space: nowrap;
}
/* The whole row is the link's target; the link text stays the accessible name. */
.ai4ai-row a::after { content: ""; position: absolute; inset: 0; }
.ai4ai .ai4ai-row a:focus-visible { outline: none; }
.ai4ai-row:has(a:focus-visible)::before { opacity: 1; transition: none; outline: 3px solid var(--blue); outline-offset: 0; }
.ai4ai-row.is-picked h4 { font-size: clamp(1.45rem, 2.4vw, 1.75rem); }
.ai4ai-row.is-picked { padding-block: 1.9rem; }

@media (max-width: 820px) {
  .ai4ai-courses { grid-template-columns: minmax(0, 1fr); }
  .ai4ai-courses-aside { position: static; }
}
@media (max-width: 560px) {
  .ai4ai-row { grid-template-columns: minmax(0, 1fr); padding-right: 0; }
  .ai4ai .ai4ai-row a { grid-column: 1; grid-row: auto; }
}

/* ---------- More AI courses ---------- */
.ai4ai-more { background: var(--surface); border-top: 1px solid var(--line); }
.ai4ai-more-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); }
.ai4ai-more-list { display: grid; gap: 1.25rem; }
.ai4ai-partner {
  position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1.25rem; align-items: start;
  padding: 1.5rem; border-radius: 14px; border: 1px solid var(--line); background: var(--bg);
}
.ai4ai-partner-logo { width: 88px; height: 56px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.ai4ai-partner-logo img { max-width: 64px; max-height: 36px; width: auto; height: auto; }
.ai4ai-partner h3 { font-size: 1.2rem; color: var(--ink); }
.ai4ai-partner p { margin-top: .35rem; color: var(--ink-2); font-size: .95rem; max-width: 52ch; }
.ai4ai-partner a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; margin-top: .25rem; font-weight: 600; }
.ai4ai-soon {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 1.75rem 1.5rem; border-radius: 14px; border: 1px dashed var(--border-2); background: var(--surface-2);
}
.ai4ai-soon-blur { position: absolute; inset: 0; z-index: -1; filter: blur(22px); opacity: .55; }
.ai4ai-soon-blur i { position: absolute; border-radius: 50%; }
.ai4ai-soon-blur i:nth-child(1) { width: 9rem; height: 9rem; left: 8%; top: -2rem; background: #8fb4ff; }
.ai4ai-soon-blur i:nth-child(2) { width: 7rem; height: 7rem; left: 38%; top: 2.5rem; background: #ffd27a; }
.ai4ai-soon-blur i:nth-child(3) { width: 8rem; height: 8rem; right: 6%; top: -1rem; background: #9be3c9; }
.ai4ai p.ai4ai-soon-tag {
  display: inline-flex; align-items: center; gap: .45rem; padding: .2rem .7rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--ink-2);
}
.ai4ai-soon-tag::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--teal); }
.ai4ai-soon h3 { margin-top: .9rem; font-size: 1.2rem; color: var(--ink); }
.ai4ai-soon p:not(.ai4ai-soon-tag) { margin-top: .35rem; color: var(--ink-2); font-size: .95rem; }

/* Responsible use line. */
.ai4ai-fair { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line); color: var(--ink-2); max-width: 70ch; }
.ai4ai-fair strong { font-family: var(--serif); color: var(--ink); font-weight: 600; }
.ai4ai-fair a { font-weight: 600; }

@media (max-width: 820px) { .ai4ai-more-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .ai4ai-partner { grid-template-columns: minmax(0, 1fr); } }
