/* Shared agent identity, navigation and CeeCee. */
.nav-shell {
  position: relative;
}
.mega-disclosure {
  position: static;
}
.mega-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  list-style: none;
  padding: 6px 0;
  min-height: 32px;
}
.mega-trigger::-webkit-details-marker {
  display: none;
}
.mega-trigger:hover,
.mega-disclosure[open] .mega-trigger {
  color: var(--warm);
}
.mega-disclosure[open] .mega-trigger svg {
  transform: rotate(180deg);
}
.mega-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  background: #fff;
  border: 1px solid #e9e4de;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 25px 75px #39313124;
  overflow: hidden;
}
.mega-main {
  padding: 23px 24px 10px;
}
.mega-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.nav-shell nav .mega-heading > a {
  font-size: 11px;
  color: #6e6862;
}
.mega-agent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}
.nav-shell nav a.mega-agent {
  padding: 16px 12px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 12px;
  transition: background 0.18s;
}
.mega-agent:hover {
  background: #f7f5f2;
}
.mega-agent > span:nth-child(2) {
  min-width: 0;
}
.mega-agent strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.mega-agent > span > span {
  display: block;
  font-size: 10px;
  color: #807b76;
  font-weight: 400;
  margin-top: 3px;
}
.mega-agent strong small {
  font-size: 8px;
  font-weight: 400;
  border: 1px solid #e4ddd5;
  border-radius: 30px;
  padding: 3px 5px;
  margin-left: 4px;
  color: #8a7462;
}
.mega-arrow {
  margin-left: auto;
  font-size: 16px;
  color: #9a938b;
}
.agent-symbol {
  display: inline-grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  border: 1px solid #ffffff8f;
  box-shadow:
    inset 0 1px 3px #ffffffa6,
    0 3px 8px #27272706;
}
.agent-symbol svg {
  width: 25px;
  height: 25px;
}
.agent-symbol.green {
  background: linear-gradient(145deg, #e3f5ea, #afdac3);
  color: #307851;
}
.agent-symbol.blue {
  background: linear-gradient(145deg, #e4f4f8, #b8dce9);
  color: #2e7189;
}
.agent-symbol.orange {
  background: linear-gradient(145deg, #fff0d9, #ffd0a0);
  color: #aa6726;
}
.agent-symbol.purple {
  background: linear-gradient(145deg, #efe8fb, #d4c1e9);
  color: #775093;
}
.agent-symbol.pink {
  background: linear-gradient(145deg, #f9e8ef, #ecc0d3);
  color: #9c506e;
}
.agent-symbol.neutral {
  background: linear-gradient(145deg, #f0eeea, #e0ddd6);
  color: #69625b;
}
.agent-symbol.compact {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-radius: 11px;
}
.agent-symbol.compact svg {
  width: 20px;
  height: 20px;
}
.mega-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 19px 12px 7px;
  margin-top: 18px;
  border-top: 1px solid #eae5de;
}
.mega-bottom > span {
  font-size: 10px;
  color: #847e77;
}
.nav-shell nav .mega-bottom > a {
  font-size: 11px;
}
.nav-shell nav a.mega-ceecee {
  display: block;
  position: relative;
  padding: 0;
  border-radius: 16px;
  background: #f0e5dc;
  overflow: hidden;
  color: var(--ink);
}
.mega-ceecee > img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  object-position: 50% 38%;
  animation: ceecee-colour 14s linear infinite;
}
.mega-ceecee > div {
  padding: 18px 22px 22px;
  background: linear-gradient(#f0e5dc00, #f8efe6);
  position: relative;
}
.mega-ceecee h3 {
  font-size: 39px;
  margin: 8px 0;
}
.mega-ceecee p {
  font-size: 12px;
  line-height: 1.6;
  color: #75665f;
}
.mega-ceecee .text-link {
  font-size: 11px;
  margin-top: 16px;
}
.mega-ceecee .overline {
  font-size: 8px;
  letter-spacing: 0.09em;
}
.mega-ceecee:hover .text-link {
  color: var(--warm);
}
.orb {
  position: relative;
  overflow: hidden;
  animation: ceecee-colour 14s linear infinite;
}
.orb:after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 24%, #fff6, transparent 55%);
}
@keyframes ceecee-colour {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  33% {
    filter: hue-rotate(35deg);
  }
  66% {
    filter: hue-rotate(-28deg);
  }
}
.ceecee-film {
  margin: 0;
  position: relative;
  border: 1px solid #fff9;
  border-radius: 24px;
  overflow: hidden;
  background: #e9e2dd;
  isolation: isolate;
}
.ceecee-film video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720/538;
  object-fit: cover;
}
.ceecee-film figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 28px 20px 17px;
  background: linear-gradient(transparent, #e4ddd6e8);
  font-size: 11px;
  color: #554940;
}
.ceecee-film figcaption b {
  font-weight: 500;
}
.ceecee-film button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #ffffff85;
  background: #ffffffbf;
  border-radius: 40px;
  padding: 8px 11px;
  font-size: 9px;
  color: #504b47;
  min-height: 34px;
}
.ceecee-film button:hover {
  background: white;
}
.ceecee-story,
.footer-ceecee {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin: 0 0 70px;
}
.ceecee-story p,
.footer-ceecee p {
  font-size: 14px;
  margin: 23px 0;
  max-width: 440px;
}
.ceecee-story h2,
.footer-ceecee h2 {
  font-size: 48px;
}
.ceecee-story .text-link {
  display: flex;
  width: fit-content;
  margin-top: 15px;
  font-size: 12px;
}
.footer-ceecee {
  grid-template-columns: 0.8fr 1.2fr;
  max-width: 940px;
  margin: 0 auto 80px;
  gap: 75px;
}
.footer-film {
  border-radius: 25px;
  transform: rotate(-2deg);
  box-shadow: 0 20px 45px #67605a10;
}
.footer-ceecee .text-link {
  font-size: 12px;
}
.footer .final-cta {
  border-top: 1px solid #b8b5b02e;
  padding-top: 65px;
}
.ceecee-page-hero {
  padding: 135px 0 75px;
}
.ceecee-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.ceecee-page-hero h1 {
  font-size: 80px;
  line-height: 1.18;
}
.ceecee-page-hero p {
  font-size: 16px;
  margin: 25px 0 30px;
}
.ceecee-hero-film {
  border-radius: 30px;
  box-shadow: 0 30px 60px #655b4e12;
}
.ceecee-mode-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.ceecee-mode-panel > div > p {
  font-size: 14px;
  margin: 23px 0;
}
.ceecee-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 27px;
}
.ceecee-modes button {
  border: 1px solid #ddd5cb;
  background: white;
  border-radius: 100px;
  padding: 11px 18px;
  font-size: 12px;
  min-height: 42px;
}
.ceecee-modes button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.ceecee-mode-card {
  background: linear-gradient(145deg, #e7f1f4, #f8f4ef);
  border: 1px solid #dfe7e9;
  padding: 38px;
  border-radius: 25px;
  transition: background 0.5s;
}
.ceecee-mode-card[data-tone="prioritise"] {
  background: linear-gradient(145deg, #fbecd5, #f6eef6);
}
.ceecee-mode-card[data-tone="prepare"] {
  background: linear-gradient(145deg, #e7f3e9, #f2efe9);
}
.ceecee-mode-card > .orb {
  width: 65px;
  height: 65px;
  margin-bottom: 30px;
}
.ceecee-mode-card h3 {
  font-size: 39px;
  margin: 12px 0 20px;
}
.ceecee-mode-card p {
  font-size: 14px;
}
.ceecee-mode-card a {
  font-size: 12px;
  margin-top: 27px;
}
.answer-first {
  background: #f8f7f4;
  border: 1px solid #e8e3dc;
  padding: 28px 35px;
  border-radius: 17px;
  margin-bottom: 65px;
}
.answer-first > p {
  font-size: 16px;
  color: #54504d;
  line-height: 1.8;
  margin-top: 12px;
  max-width: 1050px;
}
.agent-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.agent-hub-card {
  display: flex;
  gap: 23px;
  border: 1px solid #e6e1d9;
  border-radius: 20px;
  padding: 33px;
  background: white;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.agent-hub-card:hover {
  box-shadow: 0 14px 40px #534a400c;
  transform: translateY(-3px);
}
.agent-hub-card h2 {
  font-size: 39px;
  margin: 10px 0 15px;
}
.agent-hub-card p {
  font-size: 14px;
  line-height: 1.65;
}
.agent-hub-card .text-link {
  font-size: 12px;
  margin-top: 25px;
}
.agent-hub-card .overline {
  font-size: 9px;
}
.system-journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}
.system-journey > a {
  border: 1px solid #e6e1d9;
  background: #fff;
  padding: 25px;
  border-radius: 16px;
}
.system-journey > a:hover {
  border-color: #d3b595;
}
.system-journey span {
  font-size: 11px;
  color: var(--warm);
}
.system-journey h3 {
  font-size: 31px;
  margin: 35px 0 10px;
}
.system-journey p {
  font-size: 12px;
}
.agent-page-hero {
  padding: 115px 0 75px;
}
.agent-page-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 90px;
  align-items: center;
}
.agent-page-hero h1 {
  font-size: 67px;
  line-height: 1.18;
}
.agent-page-hero-grid > div > p {
  font-size: 15px;
  max-width: 560px;
  margin: 25px 0 30px;
}
.agent-example {
  position: relative;
  border-radius: 22px;
  padding: 30px;
  background: #ffffffd4;
  border: 1px solid #ffffff;
  box-shadow: 0 15px 50px #73624e0c;
}
.agent-example > .agent-symbol {
  margin-bottom: 25px;
  width: 55px;
  height: 55px;
}
.agent-example > .overline {
  display: block;
  font-size: 8px;
}
.agent-example h2 {
  font-size: 35px;
  margin: 14px 0 28px;
}
.agent-signal,
.agent-next {
  border-top: 1px solid #e4ddd6;
  padding-top: 17px;
  margin-top: 18px;
}
.agent-signal > span,
.agent-next > span {
  font-size: 9px;
  color: #84786b;
  letter-spacing: 0.07em;
}
.agent-signal > p,
.agent-next > p {
  font-size: 12px;
  margin-top: 7px;
}
.agent-next {
  background: #f6f0e7;
  border-radius: 10px;
  border: 0;
  padding: 16px;
}
.related-agent-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.related-agent-links > a {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #e8e2db;
  border-radius: 13px;
  background: #fff;
  padding: 17px;
  transition: background 0.2s;
}
.related-agent-links > a:hover {
  background: #faf7f1;
}
.related-agent-links strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.related-agent-links small {
  display: block;
  color: #827b72;
  font-size: 10px;
  margin-top: 4px;
  line-height: 1.4;
}
.related-agent-links > a > span:last-child {
  margin-left: auto;
  font-size: 16px;
  color: #a18a75;
}
.other-agents {
  margin-top: 60px;
  border-top: 1px solid #e9e2d8;
  padding-top: 35px;
}
.other-agents h3 {
  font-size: 30px;
  margin-bottom: 25px;
}
.topic-connections {
  margin-top: 45px;
  padding-top: 32px;
  border-top: 1px solid #e6e0d7;
}
.topic-connections > h2 {
  font-size: 33px;
  margin-bottom: 15px;
}
.topic-connections > p {
  font-size: 13px;
  margin-bottom: 23px;
}
.topic-connections .related-agent-links {
  grid-template-columns: 1fr 1fr;
}
.topic-connections .related-agent-links a {
  text-decoration: none;
}
.source-notes li {
  font-size: 13px;
  line-height: 1.8;
  margin: 12px 0;
}
.source-notes a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--warm);
}
.source-notes p {
  font-size: 12px;
}
.toc-ceecee {
  display: flex;
  gap: 10px;
  align-items: center;
  border-radius: 13px;
  background: #f3eae0;
  padding: 12px;
  margin-top: 18px;
}
.toc-ceecee img {
  width: 64px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}
.toc-ceecee > span {
  font-size: 10px;
  line-height: 1.5;
}
.toc-ceecee strong {
  display: block;
  color: #7b583b;
  font-weight: 500;
  font-size: 11px;
  margin-top: 6px;
}
[data-motion="paused"] .orb,
[data-motion="paused"] .mega-ceecee > img {
  animation: none !important;
}
@media (max-width: 1100px) {
  .mega-panel {
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .mega-main {
    padding: 17px 15px 8px;
  }
  .mega-agent-grid {
    gap: 5px;
  }
  .nav-shell nav a.mega-agent {
    padding: 13px 9px;
    gap: 10px;
  }
  .mega-agent strong {
    font-size: 12px;
  }
  .mega-agent > span > span {
    font-size: 9px;
  }
  .mega-agent .agent-symbol {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
  }
  .mega-heading {
    gap: 10px;
  }
  .mega-heading > .overline {
    font-size: 8px;
  }
  .mega-arrow {
    display: none;
  }
  .mega-ceecee > img {
    height: 175px;
  }
  .mega-ceecee > div {
    padding: 17px;
  }
  .mega-bottom > span {
    font-size: 9px;
  }
  .ceecee-page-hero h1 {
    font-size: 68px;
  }
  .ceecee-page-grid {
    gap: 40px;
  }
  .agent-page-hero-grid {
    gap: 45px;
  }
  .agent-page-hero h1 {
    font-size: 58px;
  }
  .related-agent-links {
    grid-template-columns: 1fr 1fr;
  }
  .ceecee-story,
  .footer-ceecee {
    gap: 40px;
  }
}
@media (max-width: 800px) {
  .nav-shell nav {
    max-height: calc(100dvh - 105px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .mega-trigger {
    font-size: 15px;
    padding: 12px;
    justify-content: space-between;
  }
  .mega-panel {
    position: static;
    grid-template-columns: 1fr;
    border-radius: 15px;
    padding: 0;
    box-shadow: none;
    margin: 4px 0 13px;
    overflow: visible;
  }
  .mega-main {
    padding: 18px 12px;
  }
  .mega-heading {
    padding: 0 8px;
  }
  .nav-shell nav .mega-heading > a {
    padding: 0;
    font-size: 10px;
  }
  .mega-agent-grid {
    gap: 7px;
  }
  .nav-shell nav a.mega-agent {
    font-size: 12px;
    padding: 12px 8px;
  }
  .mega-agent strong {
    font-size: 12px;
  }
  .mega-agent > span > span {
    font-size: 10px;
  }
  .nav-shell nav a.mega-ceecee {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 12px 12px;
    overflow: hidden;
  }
  .mega-ceecee > img {
    width: 125px;
    height: 160px;
    flex-shrink: 0;
    object-fit: cover;
  }
  .mega-ceecee > div {
    padding: 15px 15px 15px 0;
    background: none;
  }
  .mega-ceecee h3 {
    font-size: 32px;
  }
  .mega-ceecee .overline {
    font-size: 7px;
  }
  .mega-ceecee p {
    font-size: 11px;
  }
  .mega-ceecee .text-link {
    font-size: 10px;
    margin-top: 10px;
  }
  .mega-bottom {
    padding: 14px 8px 0;
  }
  .nav-shell nav .mega-bottom > a {
    font-size: 10px;
    padding: 0;
  }
  .mega-bottom > span {
    font-size: 9px;
  }
  .ceecee-story,
  .footer-ceecee {
    gap: 30px;
  }
  .ceecee-story h2,
  .footer-ceecee h2 {
    font-size: 39px;
  }
  .ceecee-story p,
  .footer-ceecee p {
    font-size: 12px;
  }
  .ceecee-page-grid {
    gap: 30px;
  }
  .ceecee-page-hero h1 {
    font-size: 58px;
  }
  .ceecee-page-hero p {
    font-size: 13px;
  }
  .ceecee-page-hero .button {
    font-size: 11px;
    gap: 12px;
  }
  .ceecee-mode-panel {
    gap: 35px;
  }
  .ceecee-mode-card {
    padding: 27px;
  }
  .ceecee-mode-card h3 {
    font-size: 34px;
  }
  .agent-hub-card {
    padding: 26px;
    gap: 16px;
  }
  .agent-hub-card h2 {
    font-size: 34px;
  }
  .agent-hub-card p {
    font-size: 12px;
  }
  .system-journey {
    grid-template-columns: 1fr 1fr;
  }
  .agent-page-hero-grid {
    gap: 28px;
  }
  .agent-page-hero h1 {
    font-size: 51px;
  }
  .agent-example {
    padding: 24px;
  }
  .agent-example h2 {
    font-size: 30px;
  }
  .agent-page-hero-grid > div > p {
    font-size: 13px;
  }
  .agent-page-hero .button {
    font-size: 11px;
    gap: 12px;
  }
  .related-agent-links {
    gap: 10px;
  }
  .related-agent-links > a {
    padding: 14px;
  }
  .related-agent-links strong {
    font-size: 12px;
  }
  .answer-first {
    padding: 25px;
    margin-bottom: 45px;
  }
  .answer-first p {
    font-size: 14px;
  }
  .topic-connections .related-agent-links {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 580px) {
  .mega-agent-grid {
    grid-template-columns: 1fr;
  }
  .mega-heading > .overline {
    font-size: 7px;
    max-width: 130px;
  }
  .nav-shell nav a.mega-agent {
    gap: 13px;
    padding: 12px;
  }
  .mega-agent strong {
    font-size: 13px;
  }
  .mega-agent > span > span {
    font-size: 10px;
  }
  .mega-arrow {
    display: block;
  }
  .nav-shell nav a.mega-ceecee {
    gap: 12px;
  }
  .mega-ceecee > img {
    width: 94px;
    height: 155px;
  }
  .mega-ceecee .overline {
    display: none;
  }
  .mega-ceecee > div {
    padding: 14px 12px 14px 0;
  }
  .mega-ceecee h3 {
    font-size: 31px;
  }
  .mega-ceecee p {
    font-size: 11px;
  }
  .mega-ceecee .text-link {
    font-size: 10px;
  }
  .mega-bottom > span {
    display: none;
  }
  .ceecee-story,
  .footer-ceecee {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 45px;
  }
  .ceecee-story h2,
  .footer-ceecee h2 {
    font-size: 40px;
  }
  .ceecee-story p,
  .footer-ceecee p {
    font-size: 14px;
  }
  .ceecee-story .text-link {
    font-size: 12px;
  }
  .ceecee-film {
    border-radius: 19px;
  }
  .ceecee-film figcaption {
    padding: 25px 15px 13px;
  }
  .ceecee-film button {
    font-size: 9px;
    min-height: 36px;
  }
  .footer-film {
    transform: none;
  }
  .footer-ceecee .eyebrow {
    margin-bottom: 17px;
  }
  .footer .final-cta {
    padding-top: 45px;
  }
  .ceecee-page-hero {
    padding: 127px 0 45px;
  }
  .ceecee-page-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .ceecee-page-hero h1 {
    font-size: clamp(42px, 12vw, 50px);
  }
  .ceecee-page-hero h1 br:nth-child(2) {
    display: none;
  }
  .ceecee-page-hero p {
    font-size: 14px;
    margin: 23px 0 26px;
  }
  .ceecee-page-hero p br {
    display: none;
  }
  .ceecee-hero-film {
    border-radius: 23px;
  }
  .answer-first {
    padding: 23px;
    margin-bottom: 38px;
  }
  .answer-first p {
    font-size: 14px;
  }
  .answer-first .overline {
    font-size: 9px;
  }
  .ceecee-mode-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ceecee-mode-panel h2 {
    font-size: 41px;
  }
  .ceecee-mode-panel > div > p {
    font-size: 14px;
  }
  .ceecee-modes {
    gap: 7px;
  }
  .ceecee-modes button {
    font-size: 11px;
    padding: 10px 15px;
  }
  .ceecee-mode-card {
    padding: 29px 25px;
    border-radius: 20px;
  }
  .ceecee-mode-card > .orb {
    width: 54px;
    height: 54px;
    margin-bottom: 24px;
  }
  .ceecee-mode-card h3 {
    font-size: 36px;
  }
  .ceecee-mode-card p {
    font-size: 14px;
  }
  .agent-hub-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .agent-hub-card {
    padding: 26px 22px;
    gap: 17px;
  }
  .agent-hub-card h2 {
    font-size: 35px;
  }
  .agent-hub-card p {
    font-size: 13px;
  }
  .agent-hub-card .overline {
    font-size: 8px;
  }
  .agent-hub-card .agent-symbol {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 13px;
  }
  .system-journey {
    gap: 12px;
  }
  .system-journey > a {
    padding: 21px 17px;
  }
  .system-journey h3 {
    font-size: 28px;
    margin-top: 25px;
  }
  .system-journey p {
    font-size: 11px;
  }
  .agent-page-hero {
    padding: 106px 0 45px;
  }
  .agent-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .agent-page-hero h1 {
    font-size: 50px;
  }
  .agent-page-hero-grid > div > p {
    font-size: 14px;
  }
  .agent-example {
    padding: 28px 25px;
  }
  .agent-example h2 {
    font-size: 35px;
  }
  .agent-signal > p,
  .agent-next > p {
    font-size: 13px;
  }
  .related-agent-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .related-agent-links > a {
    padding: 17px;
  }
  .related-agent-links strong {
    font-size: 13px;
  }
  .related-agent-links small {
    font-size: 11px;
  }
  .other-agents {
    margin-top: 42px;
    padding-top: 28px;
  }
  .other-agents h3 {
    font-size: 30px;
  }
  .topic-connections h2 {
    font-size: 33px;
  }
  .toc-ceecee img {
    width: 65px;
    height: 61px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .orb,
  .mega-ceecee > img {
    animation: none !important;
  }
  .ceecee-mode-card {
    transition: none;
  }
  .agent-hub-card:hover {
    transform: none;
  }
}
@media print {
  .mega-panel,
  .ceecee-film {
    display: none !important;
  }
  .answer-first {
    break-inside: avoid;
  }
  .agent-page-hero,
  .ceecee-page-hero {
    padding: 30px 0;
  }
  .agent-page-hero-grid,
  .ceecee-page-grid,
  .ceecee-mode-panel {
    display: block;
  }
  .agent-example {
    margin-top: 25px;
  }
}
/* Readable links inside long-form copy retain their compact card layout. */
.prose .related-agent-links {
  grid-template-columns: 1fr 1fr;
  margin: 24px 0;
}
.prose .related-agent-links a {
  text-decoration: none;
}
.prose .related-agent-links strong {
  font-family: var(--sans);
  font-size: 13px;
}
.prose .related-agent-links small {
  font-size: 11px;
}
.mega-trigger {
  cursor: pointer;
}
.mega-trigger:focus-visible {
  outline: 2px solid #a8602b;
  outline-offset: 5px;
  border-radius: 4px;
}
@media (max-width: 580px) {
  .prose .related-agent-links {
    grid-template-columns: 1fr;
  }
}

.mega-disclosure:not([open]) > .mega-panel {
  display: none;
}
@media (max-width: 800px) {
  .no-js .site-header {
    position: relative;
    top: 0;
    padding-top: 12px;
  }
  .no-js .nav-shell {
    flex-wrap: wrap;
    border-radius: 20px;
  }
  .no-js .nav-shell nav {
    display: flex;
    position: static;
    width: 100%;
    order: 4;
    max-height: none;
    box-shadow: none;
  }
  .no-js .menu-toggle {
    display: none !important;
  }
}

/* Motion layer: soft light behind the original Figma ribbed gradients. */
.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 20% 70%, #ffad7652, transparent 52%),
    radial-gradient(ellipse at 85% 25%, #87dfe967, transparent 50%);
  background-size: 160% 150%;
  opacity: 0.8;
}
.aurora.in-view::after {
  animation: aurora-tide 17s ease-in-out infinite alternate;
}
.aurora.in-view::before {
  animation: curtain-light 19s ease-in-out infinite alternate;
}
@keyframes aurora-tide {
  from {
    background-position:
      0% 35%,
      100% 5%;
    opacity: 0.5;
  }
  to {
    background-position:
      90% 100%,
      0% 80%;
    opacity: 0.95;
  }
}
@keyframes curtain-light {
  from {
    background-position: 0 0;
    opacity: 0.4;
  }
  to {
    background-position: 24px 0;
    opacity: 0.7;
  }
}
.dashboard-scene.in-view .floating-ceecee {
  animation: co-pilot-float 7s ease-in-out infinite;
}
.dashboard-scene.in-view .floating-metrics {
  animation: metrics-float 8s ease-in-out infinite;
}
@keyframes co-pilot-float {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }
  50% {
    transform: translateY(-9px) rotate(1deg);
  }
}
@keyframes metrics-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(6px) rotate(0deg);
  }
}
.network.in-view .network-lines {
  stroke: #a9a6a0;
  stroke-dasharray: 4 9;
  animation: signal-flow 16s linear infinite;
}
@keyframes signal-flow {
  to {
    stroke-dashoffset: -104;
  }
}
.progress.has-entered > span {
  transform-origin: left;
  animation: progress-fill 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes progress-fill {
  from {
    transform: scaleX(0.05);
  }
  to {
    transform: scaleX(1);
  }
}
.section-head.has-entered,
.briefing-card.has-entered,
.benefit-grid > article.has-entered,
.showcase-frame.has-entered,
.agent-hub-card.has-entered {
  animation: soft-arrival 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes soft-arrival {
  from {
    opacity: 0.35;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.button {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #3a332914;
}
.button:active {
  transform: translateY(0);
}
.app-tab:hover,
.task-list a:hover {
  color: #a65d2d;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.task-list a {
  flex: 1;
  color: inherit;
}
.site-motion-toggle {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 60;
  border: 1px solid #ded8d0;
  background: #fffef9ed;
  border-radius: 100px;
  padding: 10px 15px;
  font-size: 10px;
  min-height: 42px;
  box-shadow: 0 4px 18px #332b2410;
  backdrop-filter: blur(12px);
  color: #635b53;
}
.ceecee-avatar {
  display: block;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: 50%;
  border: 1px solid #e4d8ca;
  background: #e9e2dd;
}
.ceecee-avatar.small {
  width: 35px;
  height: 35px;
}
.nav-shell nav a.mega-ceecee {
  position: relative;
}
.mega-ceecee > .mega-ceecee-video {
  width: 100%;
  height: 195px;
  object-fit: cover;
  object-position: 50% 38%;
  display: block;
  background: #e9e2dd;
}
.mega-disclosure[open]::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}
.mega-disclosure[open] > .mega-panel {
  animation: menu-arrival 0.2s ease-out;
  z-index: 2;
  transform-origin: 50% 0;
}
@keyframes menu-arrival {
  from {
    opacity: 0.6;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mega-agent .agent-symbol {
  transition: transform 0.2s;
}
.mega-agent:hover .agent-symbol {
  transform: translateY(-2px) rotate(-5deg);
}

/* Existing screenshots remain unchanged; opening the image reveals the full capture. */
.product-showcase {
  background: #f8f7f4;
  overflow: hidden;
}
.showcase-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 35px;
}
.showcase-heading h2 {
  font-size: 57px;
}
.showcase-heading > p {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.8;
  padding-bottom: 8px;
}
.showcase-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 27px;
}
.showcase-tabs button {
  border: 1px solid #ded9d1;
  border-radius: 100px;
  padding: 11px 16px;
  background: transparent;
  font-size: 11px;
  min-height: 42px;
  color: #6d665f;
  transition:
    background 0.2s,
    color 0.2s;
}
.showcase-tabs button[aria-selected="true"] {
  background: #29292b;
  border-color: #29292b;
  color: #fff;
}
.showcase-tabs button:hover {
  border-color: #a69580;
}
.showcase-panel[hidden] {
  display: none;
}
.showcase-panel:not([hidden]) {
  animation: screen-arrival 0.3s ease-out;
}
.showcase-frame {
  border: 1px solid #ded9d2;
  border-radius: 19px;
  overflow: hidden;
  box-shadow: 0 22px 55px #62543a0b;
  background: white;
}
.showcase-browser {
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 22px;
  background: #fff;
  border-bottom: 1px solid #ebe7e0;
  font-size: 10px;
  color: #817970;
}
.showcase-browser > span:first-child {
  font-size: 8px;
  letter-spacing: 3px;
  color: #d3ccc4;
}
.showcase-kind {
  font-size: 9px;
  background: #f5f1e9;
  color: #78634d;
  padding: 5px 9px;
  border-radius: 100px;
}
.screenshot-open {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  background: white;
  text-align: left;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 0;
}
.screenshot-open > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.55s ease;
}
.screenshot-open:hover > img {
  transform: scale(1.013);
}
.screenshot-zoom {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 18px;
  background: #252527f5;
  border: 1px solid #ffffff24;
  border-radius: 100px;
  color: #fff;
  font-size: 11px;
  box-shadow: 0 8px 22px #0002;
}
.screenshot-zoom > span {
  font-size: 17px;
}
.showcase-description {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  margin-top: 28px;
}
.showcase-description h3 {
  font-size: 34px;
}
.showcase-description p {
  font-size: 13px;
  margin-top: 9px;
  max-width: 650px;
}
.showcase-description small {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  color: #857d74;
  margin-top: 12px;
  max-width: 670px;
}
.showcase-description .button {
  flex-shrink: 0;
  font-size: 11px;
}
@keyframes screen-arrival {
  from {
    opacity: 0.5;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.screenshot-dialog {
  width: min(1400px, 94vw);
  max-width: 94vw;
  max-height: 92dvh;
  padding: 0;
  border: 1px solid #e4ddd4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 100px #0004;
  color: var(--ink);
  overflow: hidden;
  margin: auto;
}
.screenshot-dialog::backdrop {
  background: #1c2022c7;
  backdrop-filter: blur(8px);
}
.screenshot-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: screen-arrival 0.2s ease-out;
}
.screenshot-dialog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid #ece6de;
  flex-shrink: 0;
}
.screenshot-dialog-toolbar h2 {
  font-size: 29px;
}
.screenshot-dialog-toolbar button {
  border: 1px solid #ddd6ce;
  border-radius: 100px;
  padding: 8px 15px;
  min-height: 40px;
  font-size: 11px;
  background: #f9f6f1;
  display: flex;
  gap: 24px;
  align-items: center;
}
.screenshot-dialog-toolbar button span {
  font-size: 20px;
}
.screenshot-dialog > p {
  padding: 10px 24px;
  color: #7c7065;
  font-size: 11px;
  line-height: 1.6;
  background: #f8f6f2;
  flex-shrink: 0;
}
.screenshot-dialog-content {
  overflow: auto;
  min-height: 0;
  overscroll-behavior: contain;
}
.screenshot-dialog-content img {
  display: block;
  width: 100%;
  height: auto;
}
.screenshot-is-open {
  overflow: hidden;
}
.no-js .showcase-tabs {
  display: none;
}
.no-js .showcase-panel[hidden] {
  display: block !important;
  margin-top: 40px;
}
.no-js .screenshot-open {
  cursor: default;
  aspect-ratio: auto;
}
.no-js .screenshot-open img {
  height: auto;
}
.no-js .screenshot-zoom,
.no-js .site-motion-toggle {
  display: none;
}
@media (max-width: 1100px) {
  .mega-ceecee > .mega-ceecee-video {
    height: 175px;
  }
  .showcase-heading h2 {
    font-size: 49px;
  }
}
@media (max-width: 800px) {
  .mega-disclosure[open]::after {
    display: none;
  }
  .mega-ceecee > .mega-ceecee-video {
    width: 125px;
    height: 160px;
    flex-shrink: 0;
  }
  .showcase-heading {
    gap: 30px;
  }
  .showcase-heading h2 {
    font-size: 43px;
  }
  .showcase-heading > p {
    max-width: 300px;
    font-size: 12px;
  }
  .showcase-description {
    gap: 25px;
  }
  .showcase-description h3 {
    font-size: 30px;
  }
  .showcase-kind {
    font-size: 8px;
  }
  .screenshot-zoom {
    right: 12px;
    bottom: 12px;
    font-size: 10px;
    padding: 9px 13px;
  }
}
@media (max-width: 580px) {
  .mega-ceecee > .mega-ceecee-video {
    width: 94px;
    height: 155px;
  }
  .showcase-heading {
    display: block;
    margin-bottom: 26px;
  }
  .showcase-heading h2 {
    font-size: 43px;
  }
  .showcase-heading > p {
    font-size: 13px;
    margin-top: 20px;
    padding: 0;
  }
  .showcase-tabs {
    gap: 7px;
    margin-bottom: 20px;
  }
  .showcase-tabs button {
    font-size: 10px;
    padding: 10px 13px;
  }
  .showcase-frame {
    border-radius: 12px;
  }
  .showcase-browser {
    height: auto;
    min-height: 52px;
    padding: 10px 12px;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 9px;
  }
  .showcase-browser > span:first-child {
    display: none;
  }
  .showcase-kind {
    font-size: 8px;
  }
  .screenshot-open {
    aspect-ratio: 4/3;
  }
  .screenshot-open > img {
    object-fit: cover;
    object-position: top left;
  }
  .screenshot-zoom {
    font-size: 9px;
    bottom: 10px;
    right: 10px;
    gap: 15px;
  }
  .showcase-description {
    display: block;
    margin-top: 22px;
  }
  .showcase-description h3 {
    font-size: 30px;
  }
  .showcase-description p {
    font-size: 13px;
  }
  .showcase-description small {
    font-size: 10px;
  }
  .showcase-description .button {
    margin-top: 21px;
  }
  .screenshot-dialog {
    max-width: 96vw;
    width: 96vw;
    max-height: 94dvh;
    border-radius: 12px;
  }
  .screenshot-dialog-toolbar {
    padding: 12px 15px;
  }
  .screenshot-dialog-toolbar h2 {
    font-size: 24px;
  }
  .screenshot-dialog > p {
    padding: 10px 15px;
    font-size: 10px;
  }
  .screenshot-dialog-content img {
    min-width: 760px;
  }
  .site-motion-toggle {
    bottom: 10px;
    left: 10px;
    padding: 8px 11px;
    font-size: 9px;
  }
  .ceecee-avatar {
    width: 44px;
    height: 44px;
  }
}
[data-motion="paused"] *,
[data-motion="paused"] *::before,
[data-motion="paused"] *::after {
  animation: none !important;
  scroll-behavior: auto !important;
}
[data-motion="paused"] .has-entered {
  opacity: 1;
  translate: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .screenshot-open:hover > img,
  .button:hover,
  .mega-agent:hover .agent-symbol {
    transform: none;
  }
}
@media print {
  .site-motion-toggle,
  .screenshot-dialog,
  .showcase-tabs,
  .screenshot-zoom {
    display: none !important;
  }
  .showcase-panel[hidden] {
    display: block !important;
  }
  .screenshot-open {
    aspect-ratio: auto;
  }
  .screenshot-open > img {
    height: auto;
  }
  .showcase-frame {
    box-shadow: none;
  }
  .aurora::after {
    display: none;
  }
}

.agent-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  margin-top: 21px;
  border-bottom: 1px solid #d5c7b6;
  padding-bottom: 6px;
  color: #94693f;
}
.agent-preview-link:hover {
  color: #322b24;
}
