/* Atlas trust entry v2: About and Contact public routes. */

body[data-site="atlas"][data-atlas-trust-route] {
  --trust-bg: #020d17;
  --trust-panel: rgba(5, 22, 36, .9);
  --trust-panel-strong: #061826;
  --trust-line: rgba(84, 220, 238, .24);
  --trust-cyan: #3dd9e9;
  --trust-green: #25d49a;
  --trust-gold: #f4c857;
  --trust-text: #f4fbff;
  --trust-muted: #a9c1d2;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--trust-bg);
  color: var(--trust-text);
  font-family: Inter, Arial, sans-serif;
}

html[data-theme="light"] body[data-site="atlas"][data-atlas-trust-route] {
  --trust-bg: #eef7fb;
  --trust-panel: rgba(248, 252, 255, .94);
  --trust-panel-strong: #fff;
  --trust-line: rgba(7, 91, 116, .2);
  --trust-cyan: #08718d;
  --trust-green: #087c62;
  --trust-gold: #8b6500;
  --trust-text: #071827;
  --trust-muted: #4b6273;
}

body[data-atlas-trust-route] .atlas-trust-world {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 148px;
}

body[data-atlas-trust-route] .atlas-trust-world::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 760px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    linear-gradient(rgba(61, 217, 233, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 217, 233, .03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10, 48, 62, .4), transparent 84%);
  background-size: 48px 48px, 48px 48px, auto;
  mask-image: linear-gradient(#000 0 78%, transparent 100%);
}

html[data-theme="light"] body[data-atlas-trust-route] .atlas-trust-world::before {
  background:
    linear-gradient(rgba(8, 113, 141, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 113, 141, .04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(209, 236, 244, .72), transparent 84%);
  background-size: 48px 48px, 48px 48px, auto;
}

.atlas-trust-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  min-height: 590px;
  padding: clamp(36px, 6vw, 76px) 0 52px;
  border-top: 1px solid var(--trust-line);
  border-bottom: 1px solid var(--trust-line);
}

.atlas-trust-eyebrow,
.atlas-trust-section__eyebrow,
.atlas-trust-field__label,
.atlas-trust-card__index {
  display: block;
  margin: 0 0 12px;
  color: var(--trust-cyan);
  font: 900 11px/1.35 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.atlas-trust-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--trust-text);
  font: 900 clamp(44px, 6vw, 78px)/.98 Inter, Arial, sans-serif;
  letter-spacing: 0;
  text-wrap: balance;
}

.atlas-trust-hero__lede {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--trust-muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.64;
}

.atlas-trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.atlas-trust-actions a,
.atlas-trust-card__action,
.atlas-trust-mail {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 18px;
  border: 1px solid var(--trust-cyan);
  border-radius: 6px;
  background: var(--trust-cyan);
  color: #021018;
  font: 900 11px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 100ms ease, filter 180ms ease, background 180ms ease;
}

html[data-theme="light"] :is(.atlas-trust-actions a, .atlas-trust-card__action, .atlas-trust-mail) {
  color: #fff;
}

.atlas-trust-actions a + a,
.atlas-trust-card__action {
  border-color: var(--trust-line);
  background: rgba(61, 217, 233, .08);
  color: var(--trust-cyan);
}

.atlas-trust-actions a:active,
.atlas-trust-card__action:active,
.atlas-trust-mail:active { transform: scale(.975); }

.atlas-trust-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--trust-line);
  border-bottom: 1px solid var(--trust-line);
}

.atlas-trust-proof div {
  min-width: 0;
  padding: 15px 14px;
  border-right: 1px solid var(--trust-line);
}

.atlas-trust-proof div:first-child { padding-left: 0; }
.atlas-trust-proof div:last-child { border-right: 0; }
.atlas-trust-proof dt {
  color: var(--trust-muted);
  font: 800 9px/1.3 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.atlas-trust-proof dd {
  margin: 7px 0 0;
  color: var(--trust-text);
  font: 900 15px/1.25 "JetBrains Mono", ui-monospace, monospace;
}

.atlas-trust-field {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--trust-line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(61, 217, 233, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 217, 233, .04) 1px, transparent 1px),
    rgba(2, 14, 24, .56);
  background-size: 32px 32px, 32px 32px, auto;
}

html[data-theme="light"] .atlas-trust-field {
  background:
    linear-gradient(rgba(8, 113, 141, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 113, 141, .05) 1px, transparent 1px),
    rgba(255, 255, 255, .76);
  background-size: 32px 32px, 32px 32px, auto;
}

.atlas-trust-field::before,
.atlas-trust-field::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 15%;
  border: 1px solid var(--trust-line);
  border-radius: 50%;
  transform: rotate(-14deg);
  animation: atlas-trust-orbit 13s linear infinite;
}

.atlas-trust-field::after {
  inset: 27% 8%;
  transform: rotate(32deg);
  animation-direction: reverse;
  animation-duration: 17s;
}

.atlas-trust-field__label {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 20px;
  margin: 0;
}

.atlas-trust-field__core {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 116px;
  height: 116px;
  transform: translate(-50%, -60%);
  border: 1px solid var(--trust-line);
  border-radius: 14px;
  background: var(--trust-panel-strong);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .3), 0 0 0 22px rgba(61, 217, 233, .035);
}

.atlas-trust-field__core img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.atlas-trust-node {
  position: absolute;
  z-index: 7;
  min-width: 92px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--trust-line);
  border-radius: 7px;
  background: var(--trust-panel-strong);
  color: var(--trust-muted);
  font: 900 10px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 0 8px rgba(61, 217, 233, .025);
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease;
}

.atlas-trust-node:nth-of-type(1) { left: 8%; top: 27%; }
.atlas-trust-node:nth-of-type(2) { right: 8%; top: 23%; }
.atlas-trust-node:nth-of-type(3) { left: 11%; bottom: 21%; }

.atlas-trust-node[data-active="true"] {
  border-color: var(--trust-cyan);
  color: var(--trust-cyan);
  transform: translateY(-3px);
}

.atlas-trust-node:nth-of-type(2)[data-active="true"] {
  border-color: var(--trust-gold);
  color: var(--trust-gold);
}

.atlas-trust-node:nth-of-type(3)[data-active="true"] {
  border-color: var(--trust-green);
  color: var(--trust-green);
}

.atlas-trust-field__focus {
  position: absolute;
  z-index: 6;
  right: 18px;
  bottom: 18px;
  left: 18px;
  min-height: 92px;
  padding: 14px 16px;
  border: 1px solid var(--trust-line);
  border-radius: 7px;
  background: color-mix(in srgb, var(--trust-panel-strong) 92%, transparent);
  backdrop-filter: blur(12px);
}

.atlas-trust-field__focus strong {
  display: block;
  color: var(--trust-cyan);
  font: 900 12px/1.25 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.atlas-trust-field__focus p {
  margin: 7px 0 0;
  color: var(--trust-muted);
  font-size: 13px;
  line-height: 1.45;
}

.atlas-trust-section {
  padding: clamp(42px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--trust-line);
}

.atlas-trust-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.atlas-trust-section__head h2 {
  max-width: 760px;
  margin: 0;
  color: var(--trust-text);
  font: 900 clamp(28px, 4vw, 48px)/1.04 Inter, Arial, sans-serif;
  letter-spacing: 0;
  text-wrap: balance;
}

.atlas-trust-section__head p {
  margin: 0;
  color: var(--trust-muted);
  font-size: 15px;
  line-height: 1.62;
}

.atlas-trust-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.atlas-trust-card {
  min-width: 0;
  min-height: 236px;
  padding: 22px;
  border: 1px solid var(--trust-line);
  border-radius: 8px;
  background: var(--trust-panel);
}

.atlas-trust-card h3 {
  margin: 0;
  color: var(--trust-text);
  font-size: 21px;
  line-height: 1.2;
}

.atlas-trust-card p {
  margin: 13px 0 0;
  color: var(--trust-muted);
  font-size: 14px;
  line-height: 1.58;
}

.atlas-trust-card__action {
  margin-top: 20px;
}

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

.atlas-trust-lane {
  padding: 26px;
  border-top: 3px solid var(--trust-cyan);
  background: var(--trust-panel);
}

.atlas-trust-lane + .atlas-trust-lane { border-top-color: var(--trust-gold); }
.atlas-trust-lane h3 { margin: 0; color: var(--trust-text); font-size: 24px; }
.atlas-trust-lane p { margin: 12px 0 0; color: var(--trust-muted); line-height: 1.6; }
.atlas-trust-lane ul { margin: 20px 0 0; padding: 0; list-style: none; }
.atlas-trust-lane li {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--trust-line);
  color: var(--trust-text);
  font-weight: 800;
}
.atlas-trust-lane li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--trust-green); }

.atlas-trust-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--trust-line);
  border-bottom: 1px solid var(--trust-line);
}

.atlas-trust-path article {
  min-height: 168px;
  padding: 22px;
  border-right: 1px solid var(--trust-line);
}
.atlas-trust-path article:last-child { border-right: 0; }
.atlas-trust-path strong { color: var(--trust-cyan); font: 900 23px/1 "JetBrains Mono", ui-monospace, monospace; }
.atlas-trust-path h3 { margin: 18px 0 0; color: var(--trust-text); font-size: 18px; }
.atlas-trust-path p { margin: 9px 0 0; color: var(--trust-muted); font-size: 13px; line-height: 1.5; }

.atlas-trust-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 32px 0 0;
  color: var(--trust-muted);
  font: 800 10px/1.5 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.atlas-trust-footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.atlas-trust-footer a {
  min-width: 44px;
  min-height: 44px;
  padding-inline: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--trust-cyan);
  text-decoration: none;
}

[data-atlas-trust-route] [data-trust-reveal] {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(.16, 1, .3, 1);
}

[data-atlas-trust-route] [data-trust-reveal].is-visible { opacity: 1; transform: none; }

@keyframes atlas-trust-orbit {
  from { transform: rotate(-14deg); }
  to { transform: rotate(346deg); }
}

@media (max-width: 820px) {
  body[data-atlas-trust-route] .atlas-trust-world {
    width: min(100%, calc(100vw - 24px));
    padding-top: 18px;
    padding-bottom: 124px;
  }

  .atlas-trust-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    min-height: 0;
    padding: 30px 0 34px;
  }

  .atlas-trust-hero h1 { font-size: clamp(38px, 10.5vw, 54px); }
  .atlas-trust-field { min-height: 330px; }
  .atlas-trust-section__head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .atlas-trust-card-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 78vw);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x proximity;
  }
  .atlas-trust-card { scroll-snap-align: start; }
}

@media (max-width: 560px) {
  .atlas-trust-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .atlas-trust-actions a { width: 100%; }
  .atlas-trust-proof div { padding-inline: 8px; }
  .atlas-trust-proof dd { font-size: 12px; }
  .atlas-trust-field { min-height: 310px; }
  .atlas-trust-field__core { width: 92px; height: 92px; }
  .atlas-trust-node { min-width: 76px; padding-inline: 8px; font-size: 8px; }
  .atlas-trust-node:nth-of-type(1) { left: 5%; }
  .atlas-trust-node:nth-of-type(2) { right: 5%; }
  .atlas-trust-node:nth-of-type(3) { left: 6%; bottom: 27%; }
  .atlas-trust-field__focus { min-height: 88px; }
  .atlas-trust-section { padding-block: 36px; }
  .atlas-trust-section__head h2 { font-size: 31px; }
  .atlas-trust-split { grid-template-columns: minmax(0, 1fr); }
  .atlas-trust-path { grid-template-columns: minmax(0, 1fr); }
  .atlas-trust-path article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--trust-line); }
  .atlas-trust-path article:last-child { border-bottom: 0; }
  .atlas-trust-footer { display: block; }
  .atlas-trust-footer nav { margin-top: 12px; }
}

@media (min-width: 1800px) {
  body[data-atlas-trust-route] .atlas-trust-world {
    width: min(2320px, calc(100vw - 160px));
  }
  .atlas-trust-hero { grid-template-columns: minmax(0, 1.16fr) minmax(680px, .84fr); gap: 90px; }
  .atlas-trust-field { min-height: 560px; }
  .atlas-trust-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-trust-field::before,
  .atlas-trust-field::after { animation: none; }
  [data-atlas-trust-route] [data-trust-reveal] { opacity: 1; transform: none; transition: none; }
  .atlas-trust-node { transition: none; }
}
