/* AstraLink site chrome — header, footer and skip link, shared by every page (home included).
 * Split out of home.css (the astralink-landing export); edit here. The header markup is rendered by
 * site-src/chrome.py and driven by main.js. Rules are scoped so the content stylesheets cannot leak in. */
@font-face{font-family:"Inter Var";src:url(/assets/fonts/inter-var-latin.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Inter Fallback";src:local("Arial");ascent-override:90.44%;descent-override:22.52%;line-gap-override:0%;size-adjust:107.12%}
:root {
  --font-inter: "Inter Var", "Inter Fallback";
  --font-sans: var(--font-inter), Arial, Helvetica, sans-serif;
  --color-background: #11101b;
  --color-foreground: #eeedf8;
  --color-muted: #b6afc7;
  --color-accent-soft: #cdb0f6;
}

/* Isolation reset (what Tailwind's preflight gives the home page), at class specificity so the old
   element rules of style.css cannot reach inside; the component rules below come later and win. */
.site-header,
.site-footer {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-foreground);
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
.site-header,
.site-footer,
.site-header :where(*, ::before, ::after),
.site-footer :where(*, ::before, ::after) {
  box-sizing: border-box;
  border: 0 solid;
}
.site-header :where(h1, h2, h3, h4, p, ul, ol, li, figure, nav),
.site-footer :where(h1, h2, h3, h4, p, ul, ol, li, figure, nav) {
  margin: 0;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  list-style: none;
}
.site-header :where(a),
.site-footer :where(a),
.site-header a:hover,
.site-footer a:hover {
  color: inherit;
  text-decoration: none;
}
.site-header :where(button),
.site-footer :where(button) {
  font: inherit;
  color: inherit;
  background: transparent;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.site-header :where(img, svg),
.site-footer :where(img, svg) {
  display: block;
  vertical-align: middle;
  max-width: 100%;
}
.site-header :where([hidden]) {
  display: none !important;
}

.skip-link {
  position: fixed;
  left: 24px;
  top: -100px;
  z-index: 100;
  padding: 16px 24px;
  border-radius: 10px;
  color: #11101b;
  background: #eeedf8;
}
.skip-link:focus {
  top: 24px;
}
.site-header {
  position: fixed;
  z-index: 50;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  max-width: calc(100% - 80px);
  min-height: 72px;
  padding: 10px 12px 10px 25px;
  border: 1px solid #ffffff0c;
  border-radius: 100px;
  background: #151221cc;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px #00000012;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}
.wordmark > .brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}
.site-header .wordmark {
  font-size: 28px;
}
.site-header .brand-mark {
  width: 34px;
  height: 34px;
}
.primary-nav {
  flex: 0 1 auto;
  min-width: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 43px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-heading {
  display: flex;
  align-items: center;
}
.nav-top-link {
  padding: 15px 0;
  color: #eeedf8;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.015em;
  transition: color 0.2s;
}
.nav-disclosure {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #b6afc7;
  background: transparent;
}
.nav-disclosure svg {
  transition: transform 0.18s;
}
.nav-group[data-active] .nav-disclosure svg {
  transform: rotate(180deg);
}
.nav-top-link:hover,
.nav-disclosure:hover,
.nav-group[data-active] .nav-top-link {
  color: var(--color-accent-soft);
}
.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 38%);
  min-height: 270px;
  padding: 10px;
  border-radius: 28px;
  color: #252329;
  background: #fff;
  box-shadow: 0 24px 50px #08051133;
}
.nav-panel[hidden] {
  display: none;
}
.nav-panel::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(var(--nav-rows), minmax(0, auto));
  grid-auto-flow: column;
  align-content: center;
  gap: 4px 12px;
  margin: 0;
  padding: 16px 20px;
  list-style: none;
}
.nav-links a {
  display: block;
  height: 100%;
  padding: 12px;
  border-radius: 12px;
  transition: background 0.15s;
}
.nav-links a:hover {
  background: #f3eff9;
}
.nav-panel a:focus-visible,
.nav-mobile-language a:focus-visible {
  outline-color: #7651b0;
  outline-offset: 2px;
}
.nav-link-title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.nav-link-description {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.4;
  color: #68626f;
}
.nav-feature {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 250px;
  border-radius: 20px;
  color: #fff;
  background: #1a1820;
}
.nav-feature-title {
  position: absolute;
  z-index: 1;
  top: 21px;
  left: 24px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.nav-feature-caption {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
}
.nav-feature-caption svg {
  width: 16px;
  height: 16px;
}
.nav-feature-phone {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 6px solid #08080b;
  border-radius: 26px;
  background: #08080b;
  box-shadow: 0 0 0 1px #ffffff19,
  0 8px 25px #0007;
}
.nav-feature-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 19px;
}
.nav-feature-phone-back {
  width: 144px;
  top: 116px;
  right: 143px;
}
.nav-feature-phone-front {
  width: 164px;
  top: 22px;
  right: 16px;
}
.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 20px;
}
.header-language {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff26;
  border-radius: 10px;
  color: #d1ccdf;
  font-size: 12px;
  font-weight: 500;
}
.header-language:hover {
  color: #fff;
  border-color: #cdb0f6;
}
.header-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 50px;
  padding: 12px 19px;
  border-radius: 60px;
  background: #f8f6f0;
  color: #1b1b20;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.header-cta:hover {
  background: #ffffff;
}
.menu-toggle {
  display: none;
}
.nav-mobile-language {
  display: none;
}
.waitlist-dialog-brand .brand-mark {
  width: 28px;
  height: 28px;
}
@media (min-width: 1120px) and (max-width: 1280px) {
  .site-header {
    max-width: calc(100% - 64px);
    padding-left: 20px;
  }
  .site-header .wordmark {
    font-size: 26px;
  }
  .site-header .brand-mark {
    width: 30px;
    height: 30px;
  }
  .header-actions {
    gap: 12px;
  }
  .nav-top-link {
    font-size: 13px;
  }
  .nav-disclosure {
    width: 20px;
  }
  .header-cta {
    padding-inline: 16px;
    gap: 10px;
    font-size: 11px;
  }
  .nav-links {
    padding-inline: 12px;
    column-gap: 6px;
  }
  .nav-link-title {
    font-size: 17px;
  }
  .nav-feature-title {
    left: 20px;
    font-size: 23px;
  }
  .nav-feature-phone-front {
    top: 66px;
  }
}
@media (min-width: 1120px) and (max-width: 1199px) {
  .nav-list {
    gap: 31px;
  }
}
@media (max-width: 1119px) {
  .site-header {
    top: 24px;
    width: calc(100% - 50px);
    max-width: none;
    gap: 20px;
    min-height: 64px;
    padding: 9px 12px 9px 20px;
  }
  .site-header .brand-mark {
    width: 28px;
    height: 28px;
  }
  .header-language {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-cta {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 11px;
    gap: 9px;
  }
  .header-cta svg {
    width: 16px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    gap: 6px;
    width: 38px;
    height: 38px;
    border: 0;
    padding: 8px;
    background: transparent;
  }
  .menu-line {
    height: 1px;
    width: 21px;
    background: #eeedf8;
    transition: transform 0.2s;
  }
  .menu-line.open:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-line.open:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .primary-nav {
    display: none;
    margin-left: 0;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    max-height: calc(100dvh - 115px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #c7bfce transparent;
    padding: 10px 20px;
    border-radius: 24px;
    color: #252329;
    background: #fff;
    box-shadow: 0 24px 50px #08051133;
  }
  .site-header[data-mobile-open] .primary-nav {
    display: block;
  }
  .nav-list {
    display: block;
    margin: 0;
  }
  .nav-group + .nav-group {
    border-top: 1px solid #eeebf2;
  }
  .nav-top-link {
    flex: 1;
    padding: 17px 4px;
    color: #252329;
    font-size: 16px;
  }
  .nav-disclosure {
    display: inline-flex;
    width: 44px;
    height: 44px;
    color: #68626f;
  }
  .nav-top-link:hover,
  .nav-disclosure:hover,
  .nav-group[data-active] .nav-top-link {
    color: #7044a6;
  }
  .nav-panel {
    position: static;
    display: block;
    min-height: 0;
    padding: 0 0 12px;
    border-radius: 0;
    box-shadow: none;
  }
  .nav-panel::before,
  .nav-feature {
    display: none;
  }
  .nav-links {
    display: block;
    padding: 0;
  }
  .nav-links a {
    padding: 11px 12px;
  }
  .nav-link-title {
    font-size: 15px;
    letter-spacing: -0.025em;
  }
  .nav-link-description {
    margin-top: 3px;
  }
  .nav-mobile-language {
    display: block;
    border-top: 1px solid #eeebf2;
  }
  .nav-mobile-language a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 4px;
    color: #7044a6;
    font-size: 15px;
    font-weight: 500;
  }
  .nav-mobile-language span {
    font-size: 12px;
  }
}
@media (max-width: 1100px) {
  .wordmark {
    font-size: 28px;
  }
}
@media (max-width: 540px) {
  .site-header {
    top: 20px;
    width: calc(100% - 40px);
    min-height: 58px;
    padding: 9px 9px 9px 16px;
    gap: 9px;
  }
  .site-header .wordmark {
    font-size: 24px;
    gap: 7px;
  }
  .site-header .brand-mark {
    width: 25px;
    height: 25px;
  }
  .header-cta {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 9px;
  }
  .header-cta > svg {
    display: none;
  }
  .menu-toggle {
    width: 32px;
    height: 32px;
    padding-inline: 5px;
    flex-shrink: 0;
  }
  .menu-line {
    width: 18px;
  }
}
@media (max-width: 360px) {
  .site-header {
    width: calc(100% - 32px);
    padding-left: 12px;
  }
  .site-header .wordmark {
    font-size: 20px;
    gap: 6px;
  }
  .site-header .brand-mark {
    width: 22px;
    height: 22px;
  }
  .header-cta {
    font-size: 8px;
    padding-inline: 10px;
  }
}
.site-footer {
  margin-top: 96px;
  padding: 80px 0 28px;
  background: var(--color-background);
  color: #fff;
}
.footer-shell {
  width: min(1520px, calc(100% - 112px));
  margin-inline: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.9fr 0.8fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.footer-grid > * {
  min-width: 0;
}
.footer-label {
  margin: 0 0 24px;
  color: #98999e;
  font-size: 12px;
  line-height: 16.8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-wrap: auto;
}
.footer-column ul {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-column a {
  display: inline-block;
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.footer-column a:hover,
.footer-back:hover {
  color: #cdb0f6;
}
.footer-access {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 18px 20px;
  border: 1px solid #fff;
  border-radius: 20px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: background 0.2s, color 0.2s;
}
.footer-access svg {
  flex-shrink: 0;
}
.footer-access:hover {
  color: #16181d;
  background: #fff;
}
.footer-description {
  margin: 18px 0 32px;
  color: #b2b2b8;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-socials a {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  min-height: 32px;
  transition: opacity 0.2s, transform 0.2s;
}
.footer-socials a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}
.footer-socials img {
  display: block;
  width: auto;
  height: 24px;
}
.footer-signoff {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid #ffffff14;
}
.footer-signoff .wordmark {
  font-size: 28px;
}
.footer-signoff .brand-mark {
  width: 32px;
  height: 32px;
}
.footer-signoff > p,
.footer-back,
.footer-disclaimer {
  color: #98999e;
  font-size: 12px;
  line-height: 18px;
}
.footer-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.footer-disclaimer {
  margin-top: 20px;
}
@media (max-width: 1199px) {
  .footer-shell {
    width: calc(100% - 64px);
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 36px;
  }
  .footer-connect {
    grid-column: span 2;
    max-width: 320px;
  }
}
@media (max-width: 640px) {
  .site-footer {
    margin-top: 64px;
    padding-top: 48px;
  }
  .footer-shell {
    width: calc(100% - 48px);
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }
  .footer-label {
    margin-bottom: 20px;
  }
  .footer-column ul {
    gap: 20px;
  }
  .footer-column a {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
  }
  .footer-connect {
    grid-column: 1 / -1;
    max-width: none;
  }
  .footer-access {
    max-width: 320px;
  }
  .footer-description {
    max-width: 320px;
  }
  .footer-socials {
    gap: 28px;
  }
  .footer-socials a {
    min-width: 40px;
    min-height: 44px;
  }
  .footer-signoff {
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 48px;
  }
  .footer-signoff > p {
    order: 3;
    flex-basis: 100%;
  }
}
