/* Best AI Agency USA: shared design tokens, layout and components. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-variable.woff2") format("woff2");
}
:root {
  --navy: #020b18;
  --navy-2: #071426;
  --blue: #168bff;
  --electric: #00b7ff;
  --purple: #7847ff;
  --ink: #071426;
  --light: #f7faff;
  --muted: #52627b;
  --muted-light: #aab9d0;
  --border: #e3eaf4;
  --gradient: linear-gradient(105deg, #0879ed, #4d4dff 65%, #7a34ed);
  --radius: 12px;
  --shadow: 0 12px 35px rgb(20 55 105 / 5%);
  --container: 1280px;
  --header-height: 88px;
  --font:
    "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body,
input,
button,
textarea,
select {
  font-family: var(--font);
}
img,
svg,
video {
  max-width: 100%;
}
img {
  display: block;
  height: auto;
}
figure,
blockquote {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
[type="submit"] {
  cursor: pointer;
}
button {
  color: inherit;
}
button,
a,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #267dff;
  outline-offset: 5px;
}
.dark-section :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: #7bd8ff;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #b6ddff;
  color: var(--ink);
}
h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  line-height: 1.16;
  font-weight: 750;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
}
h2 {
  font-size: clamp(1.8rem, 2.65vw, 2.5rem);
}
h3 {
  font-size: 1.125rem;
  letter-spacing: -0.025em;
}
p {
  margin: 0 0 22px;
}
ul,
ol {
  padding-left: 1.4em;
}
.container {
  width: min(var(--container), calc(100% - 112px));
  margin-inline: auto;
}
.reading-container {
  width: min(860px, calc(100% - 64px));
  margin-inline: auto;
}
.section {
  padding-block: 78px;
}
.eyebrow {
  color: #395cf3;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.eyebrow.light {
  color: #c3c6f2;
}
.gradient-text {
  color: #6fc9fc;
  background: linear-gradient(100deg, #64d4fa 0%, #49aafa 50%, #b57aff 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 32px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading p:not(.eyebrow) {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
}
.section-heading .button {
  flex-shrink: 0;
}
.section-copy > p:not(.eyebrow) {
  max-width: 500px;
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 15px 23px;
  min-height: 48px;
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  box-shadow: 0 4px 20px rgb(72 68 255 / 23%);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    filter 0.2s;
}
.button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgb(63 87 255 / 35%);
  filter: brightness(1.1);
}
.button-small {
  padding: 12px 17px;
  font-size: 11px;
  min-height: 44px;
  gap: 9px;
}
.button .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.button-outline {
  background: rgb(3 16 32 / 50%);
  border-color: #4594c4;
  box-shadow: inset 0 0 12px rgb(10 156 245 / 9%);
}
.button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #3a50df;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link .icon {
  width: 17px;
  height: 17px;
}
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  color: #54c3ff;
  background: linear-gradient(
    135deg,
    rgb(23 139 255 / 20%),
    rgb(93 76 255 / 10%)
  );
}
.icon-tile .icon {
  width: 30px;
  height: 30px;
}
.dark-section {
  position: relative;
  color: var(--light);
  background:
    radial-gradient(ellipse at 92% 0%, #131350 0%, transparent 50%),
    linear-gradient(120deg, var(--navy), #031630 70%, var(--navy));
}
.dark-section p {
  color: var(--muted-light);
}
.dark-section .text-link {
  color: #7fc7ff;
}
.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 99999;
  padding: 12px 20px;
  color: #fff;
  background: var(--navy);
}

/* Header: progressively enhanced, so navigation also works without JavaScript. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  color: #eff5ff;
  background: #030d1e;
  border-bottom: 1px solid rgb(124 158 209 / 10%);
  transition:
    background 0.25s,
    box-shadow 0.25s;
}
.site-header.is-scrolled {
  background: rgb(3 13 30 / 92%);
  backdrop-filter: blur(18px);
  box-shadow: 0 4px 30px rgb(0 0 0 / 15%);
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-branding {
  flex-shrink: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.brand-symbol {
  position: relative;
  font-size: 40px;
  font-weight: 850;
  font-style: italic;
  line-height: 1;
  background: linear-gradient(145deg, #6e51ff 30%, #0ebcff 80%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-symbol span {
  position: absolute;
  height: 4px;
  width: 14px;
  background: #00bbff;
  bottom: 8px;
  right: -2px;
  transform: rotate(-23deg);
  border-radius: 2px;
}
.custom-logo {
  width: auto;
  max-width: 235px;
  max-height: 56px;
  object-fit: contain;
}
.primary-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-menu,
.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 12px;
  font-weight: 550;
}
.nav-menu > li {
  position: relative;
}
.nav-menu > li > a {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  position: relative;
}
.nav-menu a:hover {
  color: #79cdff;
}
.nav-menu > .current-menu-item > a::after,
.nav-menu > .current-menu-ancestor > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
}
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% - 8px);
  left: -16px;
  width: 230px;
  padding: 12px;
  border: 1px solid #243654;
  background: var(--navy-2);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.nav-menu .sub-menu a {
  display: block;
  padding: 10px;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  display: block;
}
.submenu-toggle {
  display: none;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #334763;
  border-radius: 6px;
  padding: 10px 12px;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.header-sentinel {
  height: 1px;
  margin-bottom: -1px;
  pointer-events: none;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  height: 2px;
  width: 18px;
  background: #fff;
  transition: transform 0.2s;
}
.menu-bars {
  position: relative;
}
.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-bars::before {
  top: -6px;
}
.menu-bars::after {
  top: 6px;
}
[aria-expanded="true"] .menu-bars {
  background: transparent;
}
[aria-expanded="true"] .menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}
[aria-expanded="true"] .menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}
.admin-bar .site-header {
  top: 32px;
}

/* CTA and footer */
.cta-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.cta-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  opacity: 0.25;
}
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 48px;
  background: #051532;
  color: #fff;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: -120% -10%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 75% 50%, #36269a 0%, transparent 35%),
    radial-gradient(ellipse at 15% 60%, #04477e 0%, transparent 35%);
  opacity: 0.8;
  animation: cta-light 14s ease-in-out infinite alternate;
}
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    160deg,
    transparent 0 70px,
    rgb(91 146 255 / 5%) 71px,
    transparent 72px
  );
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-inner h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  margin-bottom: 10px;
}
.cta-inner p {
  color: #c0cce1;
  font-size: 14px;
  margin: 0;
}
.cta-inner .button {
  flex-shrink: 0;
}
.site-footer {
  color: #acb9cb;
  background: #020c17;
  font-size: 12px;
  padding-top: 52px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.85fr 1fr 1.35fr;
  gap: 35px;
  padding-bottom: 45px;
}
.footer-brand .brand {
  color: #fff;
  font-size: 15px;
}
.footer-brand .brand-symbol {
  font-size: 36px;
}
.footer-brand > p {
  max-width: 235px;
  margin: 19px 0;
}
.site-footer h2 {
  color: #73c7ff;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  margin: 10px 0 19px;
}
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-menu li {
  margin-bottom: 7px;
}
.site-footer a:hover {
  color: #fff;
}
.social-links {
  display: flex;
  gap: 9px;
}
.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #152332;
  font-weight: 750;
  font-size: 13px;
}
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.footer-contact .icon {
  width: 19px;
  height: 19px;
  color: #a9bad0;
}
.footer-contact .button {
  margin-top: 10px;
  font-size: 10px;
  padding-inline: 12px;
}
.footer-contact .button .icon {
  color: #fff;
  width: 14px;
}
.contact-pending {
  color: #c4ccda;
  font-style: italic;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-block: 23px;
  border-top: 1px solid #182737;
  font-size: 11px;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom .icon {
  width: 14px;
  height: 14px;
  color: #58b8ff;
  margin-left: 4px;
}
.empty-state {
  padding: 44px 32px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(120deg, #f7faff, #fff);
}
.empty-state .icon-tile {
  margin-bottom: 18px;
  color: #4264e8;
}
.empty-state h2,
.empty-state h3 {
  font-size: 22px;
}
.empty-state p {
  color: var(--muted);
  max-width: 540px;
  margin-inline: auto;
}
.search-form {
  display: flex;
  width: min(100%, 300px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.search-form label {
  min-width: 0;
  flex: 1;
}
.search-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  background: transparent;
}
.search-form button {
  border: 0;
  padding: 10px 12px;
  background: transparent;
  color: #3a50df;
}
.search-form .icon {
  width: 20px;
  height: 20px;
}

/* Content stays visible if JS or IntersectionObserver fails. */
.reveal-ready {
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal-ready:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}
@keyframes cta-light {
  to {
    transform: translate3d(5%, 4%, 0) rotate(6deg);
  }
}
@media (min-width: 1600px) {
  :root {
    --container: 1360px;
  }
  .section {
    padding-block: 90px;
  }
}
@media (max-width: 1200px) {
  .container {
    width: calc(100% - 72px);
  }
  .header-inner {
    gap: 20px;
  }
  .primary-navigation {
    gap: 20px;
  }
  .nav-menu {
    gap: 18px;
    font-size: 11px;
  }
  .brand {
    font-size: 15px;
  }
  .header-cta {
    padding-inline: 12px;
    font-size: 10px;
  }
  .footer-grid {
    gap: 22px;
    grid-template-columns: 1.3fr 1fr 0.8fr 0.9fr 1.25fr;
  }
}
@media (max-width: 1024px) {
  :root {
    --header-height: 76px;
  }
  .container {
    width: calc(100% - 64px);
  }
  .section {
    padding-block: 64px;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .primary-navigation {
    width: 100%;
    flex-wrap: wrap;
    padding-bottom: 20px;
  }
  .nav-menu {
    flex-wrap: wrap;
  }
  .nav-menu > li > a {
    min-height: 44px;
  }
  .menu-enhanced .header-inner {
    flex-wrap: nowrap;
  }
  .menu-enhanced .menu-toggle {
    display: inline-flex;
  }
  .menu-enhanced .primary-navigation {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 20px 32px 28px;
    background: #071426;
    border-bottom: 1px solid #22324b;
    max-height: calc(100dvh - var(--header-height) - 32px);
    overflow-y: auto;
  }
  .menu-enhanced .primary-navigation.is-open {
    display: flex;
  }
  .menu-enhanced .nav-menu {
    display: block;
    width: 100%;
  }
  .nav-menu {
    font-size: 15px;
  }
  .nav-menu > li > a {
    min-height: 48px;
  }
  .nav-menu > .current-menu-item > a::after {
    right: auto;
    width: 24px;
  }
  .nav-menu .sub-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 20px;
    display: block;
  }
  .menu-enhanced .nav-menu li.menu-item-has-children {
    position: relative;
  }
  .menu-enhanced .nav-menu li.menu-item-has-children > a {
    padding-right: 50px;
  }
  .menu-enhanced .submenu-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 3px;
    width: 42px;
    height: 42px;
    border: 1px solid #334763;
    border-radius: 5px;
    background: transparent;
    color: #fff;
  }
  .menu-enhanced .nav-menu .sub-menu {
    display: none;
  }
  .menu-enhanced .nav-menu .sub-menu.is-open {
    display: block;
  }
  .header-cta {
    font-size: 12px;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px;
  }
  .footer-contact {
    grid-column: span 2;
  }
  .footer-contact p {
    max-width: 330px;
  }
}
@media (max-width: 768px) {
  .container {
    width: calc(100% - 40px);
  }
  .reading-container {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 52px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .section-heading .button {
    font-size: 11px;
  }
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-brand > p {
    max-width: 330px;
  }
  .footer-contact {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .admin-bar .site-header {
    top: 46px;
  }
  .button {
    gap: 10px;
    padding-inline: 19px;
  }
}
@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}
@media (max-width: 480px) {
  .container,
  .reading-container {
    width: calc(100% - 36px);
  }
  .brand {
    font-size: 14px;
  }
  .brand-symbol {
    font-size: 34px;
  }
  .custom-logo {
    max-width: 210px;
    max-height: 45px;
  }
  .footer-grid {
    gap: 24px;
  }
  .footer-contact {
    grid-column: span 2;
  }
  .section-note {
    font-size: 12px;
  }
  .button-group {
    gap: 12px;
  }
  .button {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-ready:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}
