/* CloudCaive passage: homepage-only bridge from the accepted portal to learning. */
#cc-gateway-refined {
  --gw-line: #9bb7c5;
  --gw-ink: #edf2f2;
  --gw-muted: #a8bdc8;
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--gw-ink);
  background:
    radial-gradient(ellipse 78% 35% at 50% 0%, rgba(73, 120, 148, .18), transparent 75%),
    linear-gradient(180deg, #06111a, #081923 48%, #07131d);
  border-block: 1px solid rgba(158, 190, 203, .18);
}
#cc-gateway-refined::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(160, 193, 206, .025) 120px);
}
#cc-gateway-refined .gw-inner {
  width: min(calc(100% - 96px), 1900px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
  padding-block: clamp(76px, 9vw, 146px) clamp(62px, 7vw, 116px);
}
#cc-gateway-refined .gw-journey {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .78;
}
#cc-gateway-refined .gw-kicker {
  margin: 0 0 16px;
  color: #b7d6e3;
  font: 500 12px/1.5 var(--font-mono, ui-monospace, monospace);
  letter-spacing: .16em;
}
#cc-gateway-refined .gw-arrival {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
#cc-gateway-refined .gw-arrival h2 {
  margin: 0;
  color: var(--gw-ink);
  font-size: clamp(36px, 5.2vw, 82px);
  line-height: 1.04;
  text-wrap: balance;
}
#cc-gateway-refined .gw-intro {
  margin: 24px auto 0;
  max-width: 720px;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.55;
}
#cc-gateway-refined .gw-handoff {
  margin: 16px auto 0;
  max-width: 640px;
  color: var(--gw-muted);
  font-size: 15px;
  line-height: 1.6;
}
#cc-gateway-refined .gw-mesh {
  position: relative;
  max-width: 1360px;
  margin: clamp(78px, 9vw, 148px) auto 0;
}
#cc-gateway-refined .gw-mesh-heading {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: center;
}
#cc-gateway-refined .gw-mesh-heading h3,
#cc-gateway-refined .gw-path-summary h3 {
  margin: 0;
  font: 500 clamp(28px, 3.5vw, 50px)/1.15 var(--font-display, Sora, sans-serif);
  letter-spacing: -.03em;
  text-wrap: balance;
}
#cc-gateway-refined .gw-mesh-heading p:last-child,
#cc-gateway-refined .gw-path-summary p:last-of-type {
  margin: 16px auto 0;
  max-width: 690px;
  color: var(--gw-muted);
  line-height: 1.65;
}
#cc-gateway-refined .gw-mesh-lines {
  position: absolute;
  inset: 160px 10% 4%;
  width: 80%;
  height: calc(100% - 160px);
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: var(--gw-line);
  stroke-width: 1.4;
  opacity: .35;
}
#cc-gateway-refined .gw-topics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(48px, 17vw, 280px);
  align-items: start;
}
#cc-gateway-refined .gw-topic {
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(162, 194, 207, .38);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(25, 48, 62, .97), rgba(8, 24, 35, .98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .15), inset 0 1px 0 rgba(225, 242, 248, .1);
}
#cc-gateway-refined .gw-topic:nth-child(even) { margin-top: 50px; }
#cc-gateway-refined .gw-topic summary {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 15px 22px;
  cursor: pointer;
  color: var(--gw-ink);
  font: 500 clamp(17px, 1.7vw, 22px)/1.25 var(--font-display, Sora, sans-serif);
  list-style: none;
}
#cc-gateway-refined .gw-topic summary::-webkit-details-marker { display: none; }
#cc-gateway-refined .gw-topic summary::after {
  content: "+";
  margin-left: auto;
  color: #b6d7e5;
  font-size: 24px;
  font-weight: 300;
}
#cc-gateway-refined .gw-topic[open] summary::after { content: "−"; }
#cc-gateway-refined .gw-topic-number {
  color: #9ec8db;
  font: 500 12px/1 var(--font-mono, ui-monospace, monospace);
}
#cc-gateway-refined .gw-topic p,
#cc-gateway-refined .gw-topic ul {
  margin: 0 22px 15px;
  color: var(--gw-muted);
  font-size: 15px;
  line-height: 1.55;
}
#cc-gateway-refined .gw-topic ul { padding-left: 20px; }
#cc-gateway-refined .gw-topic li { margin-block: 4px; }
#cc-gateway-refined .gw-topic summary:focus-visible,
#cc-gateway-refined a:focus-visible,
#cc-gateway-refined .gw-mobile-contents summary:focus-visible {
  outline: 3px solid #e7cf92;
  outline-offset: 3px;
}
#cc-gateway-refined .gw-path-summary {
  max-width: 870px;
  margin: clamp(76px, 9vw, 142px) auto 0;
  text-align: center;
}
#cc-gateway-refined .gw-explore {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 10px 24px;
  border: 1px solid #abc7d4;
  border-radius: 999px;
  color: #f0f6f6;
  text-decoration: none;
}
#cc-gateway-refined .gw-explore:hover { background: rgba(174, 206, 221, .12); }
#cc-gateway-refined .gw-contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: clamp(66px, 7vw, 108px) auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(183, 208, 220, .24);
  color: var(--gw-muted);
  font-size: 13px;
}
#cc-gateway-refined .gw-contents > span {
  color: #cbdde3;
  font-weight: 650;
  margin-right: 8px;
}
#cc-gateway-refined .gw-contents a,
#cc-gateway-refined .gw-mobile-contents a { color: #bdd2dc; text-underline-offset: 4px; }
#cc-gateway-refined .gw-mobile-contents { display: none; }
.home-modular #main .gw-journey-tools {
  margin: 0;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(169, 196, 207, .18);
  background: #07131d;
}
.home-modular #main .gw-journey-tools > .inner {
  width: min(calc(100% - 96px), 1900px);
  max-width: none;
  margin-inline: auto;
}
.home-modular #main .gw-journey-tools .toolstrip {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "viewport" "note";
  gap: 6px;
}
.home-modular #main .gw-journey-tools .toolstrip-head { justify-content: center; text-align: center; }
.home-modular #main .gw-journey-tools .toolstrip-title {
  font-size: 12px;
  font-weight: 400;
  color: var(--cc-text-tertiary);
  letter-spacing: .04em;
}
.home-modular #main .gw-journey-tools .toolstrip-note {
  margin: 0;
  max-width: none;
  text-align: center;
  color: var(--cc-text-tertiary);
}
@media (max-width: 900px) {
  #cc-gateway-refined .gw-inner,
  .home-modular #main .gw-journey-tools > .inner { width: min(calc(100% - 40px), 1900px); }
  #cc-gateway-refined .gw-topics { gap: 22px 40px; }
  #cc-gateway-refined .gw-topic:nth-child(even) { margin-top: 32px; }
}
@media (max-width: 700px) {
  #cc-gateway-refined .gw-inner,
  .home-modular #main .gw-journey-tools > .inner { width: min(calc(100% - 32px), 1900px); }
  #cc-gateway-refined .gw-inner { padding-block: 72px 58px; }
  #cc-gateway-refined .gw-arrival h2 { font-size: clamp(34px, 9vw, 52px); }
  #cc-gateway-refined .gw-mesh { margin-top: 72px; }
  #cc-gateway-refined .gw-mesh-heading { margin-bottom: 28px; }
  #cc-gateway-refined .gw-mesh-lines { inset: 120px 0 0; width: 100%; height: calc(100% - 120px); opacity: .24; }
  #cc-gateway-refined .gw-topics { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #cc-gateway-refined .gw-topic:nth-child(even) { margin-top: 0; }
  #cc-gateway-refined .gw-topic summary { min-height: 58px; }
  #cc-gateway-refined .gw-contents { display: none; }
  #cc-gateway-refined .gw-mobile-contents {
    display: block;
    margin-top: 64px;
    border-top: 1px solid rgba(183, 208, 220, .24);
  }
  #cc-gateway-refined .gw-mobile-contents summary {
    min-height: 52px;
    padding: 16px 0;
    cursor: pointer;
    color: #d9e7ec;
  }
  #cc-gateway-refined .gw-mobile-contents nav { display: grid; gap: 12px; padding-bottom: 20px; }
  .home-modular #main .gw-journey-tools { padding-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  #cc-gateway-refined .gw-journey { display: none; }
}
[data-reduced-motion="true"] #cc-gateway-refined .gw-journey { display: none; }
@media (forced-colors: active) {
  #cc-gateway-refined { border: 1px solid CanvasText; background: Canvas; color: CanvasText; }
  #cc-gateway-refined .gw-journey { display: none; }
  #cc-gateway-refined .gw-topic { border: 1px solid CanvasText; background: Canvas; box-shadow: none; }
  #cc-gateway-refined :is(p,summary,a,h2,h3) { color: CanvasText; }
}
@media print {
  #cc-gateway-refined { color: #000; background: #fff; }
  #cc-gateway-refined .gw-journey { display: none; }
  #cc-gateway-refined .gw-topic { break-inside: avoid; box-shadow: none; }
  #cc-gateway-refined .gw-topic:not([open]) > :not(summary) { display: block; }
  #cc-gateway-refined .gw-topic::details-content { content-visibility: visible !important; }
}
