/* aox.dev styles. Self-contained: the card layout is adapted from the Tracer
   template's coming-soon page, but Bootstrap and the template's style.css /
   responsive.css (~600 KB, plus a Google Fonts @import) are no longer loaded.
   Brand navy comes from the logo: #3B475E. */

/* Nunito, self-hosted so no request goes to Google Fonts before consent.
   Variable font, latin subset (covers Spanish), SIL OFL (see Nunito-OFL.txt). */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(../fonts/nunito-latin-wght-normal.woff2) format('woff2-variations'),
       url(../fonts/nunito-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --aox-navy: #3b475e;
  --aox-navy-deep: #2a3345;
  --aox-ink: #2a3345;
  --aox-muted: #5a6478;
  --aox-surface: #f4f6fa;
  --aox-focus: #8fb4ff;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--aox-muted);
  background-color: var(--aox-navy-deep);
  /* Flowing strands echo the lines in the logo mark. */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='2'%3E%3Cpath d='M-40 120 C 320 60 520 380 820 300 S 1280 80 1500 220'/%3E%3Cpath d='M-40 170 C 330 110 540 430 840 350 S 1290 130 1500 270'/%3E%3Cpath d='M-40 220 C 340 160 560 480 860 400 S 1300 180 1500 320'/%3E%3Cpath d='M-40 700 C 280 620 520 860 860 760 S 1260 560 1500 640'/%3E%3Cpath d='M-40 750 C 290 670 540 910 880 810 S 1270 610 1500 690'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(160deg, var(--aox-navy) 0%, var(--aox-navy-deep) 100%);
  background-size: cover;
  background-attachment: fixed;
}

h1,
h2,
p {
  margin: 0;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Keyboard focus is always visible (WCAG 2.4.7). Mouse clicks don't show it. */
:focus-visible {
  outline: 3px solid var(--aox-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.aox-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.aox-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

/* Language switcher */
.aox-lang {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding: 20px 24px 0;
}

.aox-lang__item {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease, color 0.2s ease;
}

a.aox-lang__item:hover,
a.aox-lang__item:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.aox-lang__item.is-active {
  color: var(--aox-navy);
  background: #ffffff;
  border-color: #ffffff;
}

/* Card (layout from Tracer's .coming-soon-content) */
.aox-card {
  width: 100%;
  max-width: 720px;
  padding: 56px 64px;
  border-radius: 14px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(10, 14, 22, 0.35);
}

.aox-card__logo {
  display: inline-block;
}

.aox-card__logo img {
  width: 160px;
  height: auto;
}

.aox-card__logo--small img {
  width: 96px;
}

.aox-card .aox-card__logo + h1 {
  margin-top: 24px;
}

.aox-eyebrow {
  margin: 28px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--aox-muted);
}

.aox-card h1 {
  margin: 10px 0 0;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--aox-ink);
}

.aox-description {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--aox-muted);
}

.aox-notice {
  margin-top: 30px;
  padding: 18px 22px;
  border-radius: 10px;
  background: var(--aox-surface);
  border: 1px solid #e3e7ef;
}

.aox-notice p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--aox-ink);
}

.aox-notice a,
.aox-legal a {
  color: var(--aox-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aox-notice a:hover,
.aox-legal a:hover {
  color: var(--aox-navy-deep);
}

.aox-notice a:focus-visible,
.aox-legal a:focus-visible,
.aox-card a:focus-visible {
  outline-color: var(--aox-navy);
}

.aox-button {
  display: inline-block;
  margin-top: 26px;
  padding: 13px 28px;
  border-radius: 6px;
  background: var(--aox-navy);
  color: #ffffff;
  font-weight: 700;
}

.aox-button:hover,
.aox-button:focus-visible {
  background: var(--aox-navy-deep);
  color: #ffffff;
}

/* Privacy policy */
.aox-legal {
  width: 100%;
  max-width: 820px;
  padding: 48px 56px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(10, 14, 22, 0.35);
}

.aox-legal__logo img {
  width: 64px;
  height: auto;
}

.aox-legal h1 {
  margin: 20px 0 4px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--aox-ink);
}

.aox-legal h2 {
  margin: 32px 0 10px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--aox-ink);
}

.aox-legal p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--aox-muted);
}

.aox-legal strong {
  color: var(--aox-ink);
}

.aox-legal code {
  padding: 1px 5px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--aox-ink);
  background: var(--aox-surface);
}

.aox-legal .aox-legal__updated {
  font-size: 14px;
}

/* Footer */
.aox-footer {
  flex-shrink: 0;
  padding: 20px 16px 28px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.aox-footer__copy {
  margin: 0;
  font-size: 14px;
  color: inherit;
}

.aox-footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.aox-footer__links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aox-footer__links a:hover,
.aox-footer__links a:focus-visible {
  color: #ffffff;
}

@media (max-width: 767px) {
  .aox-lang { padding: 16px 16px 0; }
  .aox-main { padding: 16px; }

  .aox-card { padding: 32px 22px; }
  .aox-card__logo img { width: 120px; }
  .aox-card__logo--small img { width: 80px; }
  .aox-card h1 { font-size: 26px; }
  .aox-description { font-size: 16px; }

  .aox-legal { padding: 32px 22px; }
  .aox-legal h1 { font-size: 28px; }
}
