/* AgentReady shared public-site shell. */

:root {
  --ar-bg: #08111f;
  --ar-panel: #0f172a;
  --ar-panel-strong: #101b31;
  --ar-line: #21314b;
  --ar-line-soft: rgba(148, 163, 184, .22);
  --ar-text: #f8fafc;
  --ar-soft: #cbd5e1;
  --ar-muted: #94a3b8;
  --ar-accent: #22d3ee;
  --ar-accent-strong: #38bdf8;
  --ar-focus: #7dd3fc;
}

html {
  scroll-padding-top: 92px;
}

html body {
  color: var(--ar-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

html body.ar-nav-open {
  overflow: hidden;
}

html body a {
  text-underline-offset: 3px;
}

html body a:focus-visible,
html body button:focus-visible,
html body summary:focus-visible,
html body .cta:focus-visible,
html body .button:focus-visible {
  outline: 3px solid var(--ar-focus);
  outline-offset: 3px;
}

html body .cta,
html body .button,
html body button:not(.ar-mobile-summary) {
  border-radius: 12px;
  min-height: 44px;
}

html body code {
  border-radius: 8px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
  word-break: break-word;
}

html body pre {
  border-radius: 14px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  max-width: 100%;
  overflow: auto;
}

html body pre code {
  overflow-wrap: normal;
  white-space: inherit;
  word-break: normal;
}

html body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.ar-skip-link {
  background: var(--ar-accent);
  border-radius: 0 0 10px 0;
  color: #04111f;
  font-weight: 900;
  left: 0;
  padding: 10px 14px;
  position: fixed;
  top: 0;
  transform: translateY(-110%);
  transition: transform .16s ease;
  z-index: 1000;
}

.ar-skip-link:focus {
  transform: translateY(0);
}

.ar-shell {
  background:
    linear-gradient(180deg, rgba(8, 17, 31, .94), rgba(8, 17, 31, .78)),
    rgba(8, 17, 31, .86);
  border-bottom: 1px solid var(--ar-line);
  box-shadow: 0 16px 60px rgba(2, 6, 23, .18);
  position: sticky;
  top: 0;
  z-index: 100;
}

@supports (backdrop-filter: blur(12px)) {
  .ar-shell {
    backdrop-filter: blur(14px);
  }
}

.ar-shell__inner {
  align-items: center;
  display: flex;
  gap: 18px;
  margin: 0 auto;
  min-height: 76px;
  padding: 0;
  width: min(1160px, calc(100% - 32px));
}

.ar-brand {
  align-items: center;
  color: var(--ar-text);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 11px;
  font-weight: 950;
  letter-spacing: 0;
  min-width: 0;
  text-decoration: none;
}

.ar-brand:hover {
  text-decoration: none;
}

.ar-brand img {
  border-radius: 10px;
  flex: 0 0 auto;
  height: 38px;
  width: 38px;
}

.ar-brand__text {
  display: grid;
  line-height: 1.05;
}

.ar-brand__top {
  color: var(--ar-muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ar-brand__product {
  color: var(--ar-text);
  font-size: 1rem;
}

.ar-desktop-nav {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-left: auto;
}

.ar-nav-link,
.ar-nav-summary,
.ar-nav-cta,
.ar-mobile-summary {
  align-items: center;
  border-radius: 12px;
  color: #dff7ff;
  display: inline-flex;
  font-size: .93rem;
  font-weight: 850;
  min-height: 42px;
  padding: 0 11px;
  text-decoration: none;
}

.ar-nav-link:hover,
.ar-nav-summary:hover,
.ar-nav-cta:hover {
  background: rgba(34, 211, 238, .08);
  text-decoration: none;
}

.ar-nav-link[aria-current="page"],
.ar-mobile-panel a[aria-current="page"] {
  background: rgba(34, 211, 238, .1);
  color: #e6fbff;
}

.ar-nav-cta {
  background: linear-gradient(135deg, var(--ar-accent), var(--ar-accent-strong));
  border: 1px solid rgba(255, 255, 255, .16);
  color: #04111f;
  margin-left: 4px;
  padding: 0 15px;
}

.ar-nav-cta:hover {
  background: linear-gradient(135deg, #67e8f9, #7dd3fc);
  color: #04111f;
}

.ar-nav-menu {
  position: relative;
}

.ar-nav-menu summary {
  cursor: pointer;
  list-style: none;
}

.ar-nav-menu summary::-webkit-details-marker,
.ar-mobile-summary::-webkit-details-marker {
  display: none;
}

.ar-nav-summary::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 6px;
  margin-left: 8px;
  transform: rotate(45deg) translateY(-2px);
  width: 6px;
}

.ar-nav-menu[open] .ar-nav-summary {
  background: rgba(34, 211, 238, .1);
}

.ar-menu-panel {
  background: rgba(10, 16, 30, .98);
  border: 1px solid var(--ar-line);
  border-radius: 14px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, .36);
  display: grid;
  gap: 4px;
  left: 0;
  min-width: 250px;
  padding: 8px;
  position: absolute;
  top: calc(100% + 8px);
}

.ar-menu-panel a {
  border-radius: 10px;
  color: #dff7ff;
  display: grid;
  font-weight: 850;
  gap: 2px;
  padding: 10px 12px;
  text-decoration: none;
}

.ar-menu-panel a:hover,
.ar-menu-panel a:focus-visible {
  background: rgba(34, 211, 238, .09);
  text-decoration: none;
}

.ar-menu-panel small {
  color: var(--ar-muted);
  font-size: .78rem;
  font-weight: 650;
}

.ar-mobile-nav {
  display: none;
  margin-left: auto;
}

.ar-mobile-summary {
  background: #101b31;
  border: 1px solid var(--ar-line);
  cursor: pointer;
  gap: 10px;
  list-style: none;
  min-height: 48px;
  padding: 0 14px;
  position: relative;
  z-index: 130;
}

.ar-mobile-summary span {
  background: currentColor;
  border-radius: 99px;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
  display: block;
  height: 2px;
  width: 18px;
}

.ar-mobile-panel {
  background: rgba(8, 17, 31, .98);
  border-left: 1px solid var(--ar-line);
  box-shadow: -18px 0 70px rgba(0, 0, 0, .38);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100vh;
  overflow-y: auto;
  padding: 88px 18px 24px;
  position: fixed;
  right: 14px;
  top: 0;
  width: min(calc(100vw - 28px), 390px);
  z-index: 120;
}

.ar-mobile-nav[open] .ar-mobile-panel {
  z-index: 120;
}

.ar-mobile-panel h2 {
  color: var(--ar-muted);
  font-size: .78rem;
  letter-spacing: .12em;
  margin: 6px 0 4px;
  text-transform: uppercase;
}

.ar-mobile-panel a {
  align-items: center;
  border: 1px solid var(--ar-line-soft);
  border-radius: 13px;
  color: #e5f8ff;
  display: flex;
  font-weight: 850;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 13px;
  text-decoration: none;
}

.ar-mobile-panel a:hover,
.ar-mobile-panel a:focus-visible {
  background: rgba(34, 211, 238, .08);
  text-decoration: none;
}

.ar-mobile-panel .ar-mobile-cta {
  background: linear-gradient(135deg, var(--ar-accent), var(--ar-accent-strong));
  color: #04111f;
}

.ar-footer {
  background: linear-gradient(180deg, rgba(8, 17, 31, 0), rgba(2, 6, 23, .28));
  border-top: 1px solid var(--ar-line);
  color: var(--ar-muted);
  margin-top: 44px;
  padding: 36px 0 30px;
  text-align: left;
}

.ar-footer__inner {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  width: min(1160px, calc(100% - 32px));
}

.ar-footer__brand {
  max-width: 580px;
}

.ar-footer__brand strong {
  color: var(--ar-text);
  display: block;
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.ar-footer__brand p {
  color: var(--ar-muted);
  margin: 0;
}

.ar-footer__groups {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ar-footer__group h2 {
  color: #e2f6ff;
  font-size: .82rem;
  letter-spacing: .09em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.ar-footer__group a {
  color: var(--ar-muted);
  display: block;
  font-weight: 700;
  margin: 8px 0;
}

.ar-footer__bottom {
  border-top: 1px solid var(--ar-line-soft);
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  padding-top: 18px;
}

@media (max-width: 980px) {
  .ar-desktop-nav {
    display: none;
  }

  .ar-mobile-nav {
    display: block;
  }

  .ar-brand {
    max-width: calc(100% - 94px);
  }

  .ar-shell__inner {
    min-height: 72px;
  }

  .ar-footer__groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .ar-shell__inner,
  .ar-footer__inner {
    width: min(100% - 28px, 1160px);
  }

  .ar-brand__top {
    font-size: .68rem;
  }

  .ar-brand__product {
    font-size: .94rem;
  }

  .ar-footer__groups {
    grid-template-columns: 1fr;
  }

  .ar-footer__bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
