/* /core — AgenC Core landing, x.ai/cli structure in AgenC editorial. */

.CoreLanding_root__bWbxD {
  background: #ffffff;
  color: #0a0a0a;
}

/* ============================== hero ============================== */

.CoreLanding_hero__wVNaZ {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(72px, 11vh, 128px) 24px clamp(48px, 7vh, 84px);
  text-align: center;
}

.CoreLanding_pill___fzpr {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #62625b;
  font-family: var(--font-editorial-mono), ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.CoreLanding_pill___fzpr i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--agenc-success, #1fb567);
}

.CoreLanding_hero__wVNaZ h1 {
  margin: 18px 0 0;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.CoreLanding_hero__wVNaZ h1 span {
  color: #8b8b83;
  font-weight: 300;
}

.CoreLanding_lede__MJWqn {
  max-width: 640px;
  margin: 16px 0 0;
  color: #75756d;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
}

.CoreLanding_install__KUs9T {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-top: 26px;
  padding: 13px 18px;
  border: 1px solid #d9d9d3;
  border-radius: 9px;
  background: #0d0d0d;
  color: #e8e8e8;
  font-family: var(--font-editorial-mono), ui-monospace, monospace;
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}

.CoreLanding_install__KUs9T:hover {
  border-color: #0a0a0a;
  transform: translateY(-1px);
}

.CoreLanding_install__KUs9T b {
  color: #6f6f6f;
  font-weight: 500;
}

.CoreLanding_install__KUs9T span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.CoreLanding_install__KUs9T small {
  padding-left: 8px;
  border-left: 1px solid #2c2c2c;
  color: #8d8d8d;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.CoreLanding_install__KUs9T[data-copied="true"] small { color: var(--agenc-success, #1fb567); }

.CoreLanding_installAlt__VRfnj {
  margin: 12px 0 0;
  color: #9a9a94;
  font-size: 11.5px;
}

.CoreLanding_installAlt__VRfnj code {
  font-family: var(--font-editorial-mono), ui-monospace, monospace;
  color: #62625b;
}

.CoreLanding_heroLinks__K97Ae {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-top: 22px;
}

.CoreLanding_heroLinks__K97Ae a {
  color: #62625b !important;
  font-size: 13px;
  font-weight: 500;
  transition: color 160ms ease;
}

.CoreLanding_heroLinks__K97Ae a:hover { color: #0a0a0a !important; }

/* ===================== single-session showcase ==================== */

.CoreLanding_session__FW2H_ {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(20px, 3.5vh, 44px) 24px clamp(28px, 4.5vh, 56px);
}

.CoreLanding_sessionVideo__wlotl {
  display: block;
  width: 100%;
  height: auto;
}

.CoreLanding_featureCols__dKg2m {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 40px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(12px, 2vh, 28px) 24px clamp(28px, 4.5vh, 56px);
}

.CoreLanding_featureCol__wWOo6 h2 {
  margin: 8px 0 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
}

.CoreLanding_featureCol__wWOo6 ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.CoreLanding_featureCol__wWOo6 li {
  position: relative;
  margin-top: 8px;
  padding-left: 18px;
  color: #55554f;
  font-size: 13px;
  line-height: 1.55;
}

.CoreLanding_featureCol__wWOo6 li::before {
  content: "\00b7";
  position: absolute;
  left: 2px;
  color: #b9b9b3;
  font-weight: 700;
}

/* ==================== sticky feature showcase ===================== */

.CoreLanding_features__iv4K4 {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.95fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(36px, 6vh, 72px) 24px;
}

.CoreLanding_featureRail__RWMnv {
  display: flex;
  flex-direction: column;
  gap: clamp(140px, 26vh, 260px);
  padding: clamp(60px, 12vh, 130px) 0 clamp(140px, 26vh, 240px);
}

.CoreLanding_featureBlock__c_ydh {
  opacity: 0.28;
  transform: translateY(4px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.CoreLanding_featureBlock__c_ydh[data-active="true"] {
  opacity: 1;
  transform: none;
}

.CoreLanding_kicker__4T6Ov {
  color: #8b8b83;
  font-family: var(--font-editorial-mono), ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.CoreLanding_featureBlock__c_ydh h2 {
  margin: 10px 0 0;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.CoreLanding_featureBlock__c_ydh ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.CoreLanding_featureBlock__c_ydh li {
  position: relative;
  margin-top: 10px;
  padding-left: 20px;
  color: #55554f;
  font-size: 14px;
  line-height: 1.55;
}

.CoreLanding_featureBlock__c_ydh li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: #b9b9b3;
  font-weight: 700;
}

.CoreLanding_featureSticky__ydjhd {
  position: sticky;
  top: clamp(70px, 9vh, 110px);
}

.CoreLanding_showcaseMedia__zah_f {
  overflow: hidden;
  border: 1px solid #181818;
  border-radius: 12px;
  background: #0d0d0d;
  box-shadow: 0 24px 60px rgb(10 10 10 / 12%);
}

.CoreLanding_frameTop__p5Tnx {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #111111;
}

.CoreLanding_dots__wMHEI {
  display: inline-flex;
  gap: 5px;
}

.CoreLanding_dots__wMHEI i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.CoreLanding_dots__wMHEI i:nth-child(1) { background: #ff5f57; }
.CoreLanding_dots__wMHEI i:nth-child(2) { background: #febc2e; }
.CoreLanding_dots__wMHEI i:nth-child(3) { background: #28c840; }

.CoreLanding_frameTop__p5Tnx em {
  color: #6c6c6c;
  font-family: var(--font-editorial-mono), ui-monospace, monospace;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.05em;
}

.CoreLanding_mediaStack__8joed {
  position: relative;
  aspect-ratio: 1703 / 1000;
  background: #0d0d0d;
}

.CoreLanding_mediaLayer__Uz8ua {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 380ms ease;
}

.CoreLanding_mediaLayer__Uz8ua[data-active="true"] { opacity: 1; }

.CoreLanding_mediaLayer__Uz8ua video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Playback zoom per feature: the recording is the full 200x50 workbench; each
 * layer magnifies its region without deforming (uniform scale only). */
.CoreLanding_mediaLayer__Uz8ua[data-zoom="center"] video {
  transform: scale(1.55);
  transform-origin: 42% 34%;
}

.CoreLanding_mediaLayer__Uz8ua[data-zoom="right"] video {
  transform: scale(1.6);
  transform-origin: 99% 30%;
}

.CoreLanding_flowPanel__WO_6C {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 26px 30px;
  overflow: auto;
  color: #c9c9c9;
  font-family: var(--font-editorial-mono), ui-monospace, monospace;
  font-size: clamp(12px, 1.15vw, 15px);
  line-height: 2.1;
  white-space: pre;
}

/* ==================== getting-started guide ======================= */

.CoreLanding_guide__7nq2b {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(44px, 7vh, 84px) 24px;
  border-top: 1px solid #ececea;
  text-align: left;
}

.CoreLanding_guideNav__xi1er {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.CoreLanding_guideKicker__oWXA5 {
  margin-bottom: 4px;
  color: #8b8b83;
  font-family: var(--font-editorial-mono), ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.CoreLanding_guideNav__xi1er > a {
  color: #62625b !important;
  font-size: 13px;
  transition: color 160ms ease;
}

.CoreLanding_guideNav__xi1er > a:hover { color: #0a0a0a !important; }

.CoreLanding_guideTools__T70XE {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #ececea;
}

.CoreLanding_guideTools__T70XE button {
  align-self: flex-start;
  padding: 7px 12px;
  border: 1px solid #d9d9d3;
  border-radius: 7px;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 160ms ease;
}

.CoreLanding_guideTools__T70XE button:hover { border-color: #0a0a0a; }
.CoreLanding_guideTools__T70XE button[data-copied="true"] { border-color: var(--agenc-success, #1fb567); }

.CoreLanding_guideTools__T70XE a {
  color: #8b8b83 !important;
  font-size: 12px;
  transition: color 160ms ease;
}

.CoreLanding_guideTools__T70XE a:hover { color: #0a0a0a !important; }

.CoreLanding_guideBody__KTOKE h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.CoreLanding_guideBody__KTOKE > p {
  max-width: 640px;
  margin: 12px 0 0;
  color: #55554f;
  font-size: 14.5px;
  line-height: 1.6;
}

.CoreLanding_guideBody__KTOKE h3 {
  margin: 34px 0 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  scroll-margin-top: 84px;
}

.CoreLanding_guideBody__KTOKE code {
  padding: 1px 5px;
  border-radius: 4px;
  background: #f1f1ee;
  color: #0a0a0a;
  font-family: var(--font-editorial-mono), ui-monospace, monospace;
  font-size: 0.92em;
}

.CoreLanding_guideTabs__E7_x_ {
  display: inline-flex;
  gap: 6px;
  margin-top: 12px;
}

.CoreLanding_guideTabs__E7_x_ button {
  padding: 6px 12px;
  border: 1px solid #e2e2dd;
  border-radius: 7px;
  background: #ffffff;
  color: #62625b;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.CoreLanding_guideTabs__E7_x_ button[data-active="true"] {
  border-color: #0a0a0a;
  background: #0a0a0a;
  color: #ffffff;
}

.CoreLanding_guideCode__MtwiD {
  overflow-x: auto;
  margin: 10px 0 0;
  padding: 14px 16px;
  border: 1px solid #1c1c1c;
  border-radius: 9px;
  background: #0d0d0d;
  color: #e2e2e2;
  font-family: var(--font-editorial-mono), ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.65;
}

.CoreLanding_guideNext__Ii0VV {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.CoreLanding_guideNext__Ii0VV li { margin-top: 7px; }

.CoreLanding_guideNext__Ii0VV a {
  color: #0a0a0a !important;
  font-size: 13.5px;
  font-weight: 500;
}

.CoreLanding_guideNext__Ii0VV a:hover { text-decoration: underline; }

.CoreLanding_guideStamp__9CGEp {
  display: block;
  margin-top: 26px;
  color: #9a9a94;
  font-size: 11px;
}

/* ============================== stats ============================= */

.CoreLanding_stats__QsWHp {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 4.5vh, 52px) 24px;
}

.CoreLanding_stats__QsWHp > div {
  padding: 18px 20px;
  border: 1px solid #e7e7e2;
  border-radius: 10px;
  background: #fafaf8;
}

.CoreLanding_stats__QsWHp strong {
  display: block;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.CoreLanding_stats__QsWHp span {
  display: block;
  margin-top: 4px;
  color: #8b8b83;
  font-size: 12px;
}

/* =============================== grid ============================= */

.CoreLanding_gridSection__TDNFJ {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(36px, 5.5vh, 64px) 24px;
  text-align: center;
}

.CoreLanding_gridSection__TDNFJ h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.CoreLanding_gridLede__FtmvD {
  margin: 10px 0 0;
  color: #8b8b83;
  font-size: 14.5px;
}

.CoreLanding_grid__Ewovd {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  text-align: left;
}

.CoreLanding_cell__eNmjc {
  padding: 16px 16px 15px;
  border: 1px solid #e7e7e2;
  border-radius: 10px;
  background: #ffffff;
  transition: border-color 180ms ease, transform 180ms ease;
}

.CoreLanding_cell__eNmjc:hover {
  border-color: #b9b9b3;
  transform: translateY(-2px);
}

.CoreLanding_cell__eNmjc strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.CoreLanding_cell__eNmjc span {
  display: block;
  margin-top: 5px;
  color: #8b8b83;
  font-size: 12px;
  line-height: 1.5;
}

/* ============================ final CTA =========================== */

.CoreLanding_finalCta__4HMMb {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(48px, 8vh, 96px) 24px clamp(64px, 9vh, 110px);
  text-align: center;
}

.CoreLanding_finalCta__4HMMb h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* ============================ responsive ========================== */

@media (max-width: 1020px) {
  .CoreLanding_featureCols__dKg2m { grid-template-columns: 1fr; }
  .CoreLanding_guide__7nq2b { grid-template-columns: 1fr; }
  .CoreLanding_guideNav__xi1er { position: static; }
  .CoreLanding_stats__QsWHp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .CoreLanding_grid__Ewovd { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .CoreLanding_grid__Ewovd { grid-template-columns: 1fr; }
  .CoreLanding_stats__QsWHp { grid-template-columns: 1fr; }
  .CoreLanding_install__KUs9T span { font-size: 11px; }
}

