/* Shared material and type tokens for every full page in the website. */
:root {
  --site-calm-face: linear-gradient(150deg, #182430e6, #0b131cf0 76%);
  --site-calm-rim: #b6cbdb4a;
  --site-calm-highlight: #d3e4ef7a;
  --site-calm-shadow: inset 0 1px #e6f4ff17, 0 12px 34px #0006;
  --site-canvas: #05070a;
  --site-text: #f2f5f7;
  --site-muted: #adb7c3;
  --site-subtle: #99aaba;
  --site-accent: #7edaf2;
  --site-line: rgba(196, 220, 237, 0.18);
  --site-control-border: #ffffff42;
  --site-control-border-top: #ffffff58;
  --site-control-hover-border: #ffffff81;
  --site-control-focus: #e6e6e6;
  --site-panel-border: #aecbd43b;
  --site-control-radius: 9px;
  --site-panel-radius: 20px;
  --site-input-radius: 10px;
  --site-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --site-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --site-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --site-input: linear-gradient(160deg, #081119, #0b151f);
  --site-control-text: #f5f5f5;
  --site-control: linear-gradient(
    180deg,
    #ffffff1c,
    #ffffff08 34%,
    transparent 68%
  );
  --site-control-hover: linear-gradient(
    180deg,
    #ffffff31,
    #ffffff0d 39%,
    transparent 76%
  );
  --site-control-pressed: linear-gradient(
    180deg,
    #0005,
    transparent 58%,
    #ffffff0d
  );
  --site-control-highlight: linear-gradient(
    90deg,
    transparent,
    #ffffffad 15%,
    #ffffff45 50%,
    transparent
  );
  --site-control-shadow:
    inset 0 1px 0 #ffffff16, inset 0 -1px 0 #ffffff12, 0 2px 0 #000,
    0 5px 12px #0005;
  --site-control-hover-shadow:
    inset 0 1px 0 #ffffff3c, 0 2px 0 #000, 0 0 14px #ffffff1a, 0 7px 14px #0006;
  --site-control-pressed-shadow: inset 0 2px 5px #0008, 0 1px 0 #000;
  --site-control-quiet: linear-gradient(
    180deg,
    #ffffff14,
    #ffffff05 36%,
    transparent 68%
  );
  --site-control-quiet-shadow:
    inset 0 1px 0 #ffffff12, inset 0 -1px 0 #ffffff0d, 0 2px 0 #000;
  --site-glass-rim: #ffffff4a;
  --site-glass-rim-top: #ffffff8c;
  --site-glass-rim-bottom: #ffffff54;
  --site-glass-face:
    radial-gradient(ellipse at 4% -12%, #ffffff32, transparent 51%),
    linear-gradient(
      160deg,
      #ffffff18,
      #ffffff08 30%,
      transparent 61%,
      #ffffff0c
    );
  --site-glass-shadow:
    inset 0 1px 0 #ffffff65, inset 0 0 0 3px #ffffff0e,
    inset 0 -2px 0 #ffffff14, 0 3px 0 #030406, 0 14px 32px -10px #000b;
  --site-glass-sheen: linear-gradient(
    119deg,
    transparent 35%,
    #ffffff08 39%,
    #ffffff36 46%,
    #ffffff12 51%,
    transparent 58%
  );
  --site-optics: url("/assets/branding/ammor-optics-wide.webp");
  --site-panel: linear-gradient(
    145deg,
    #536c7e20 0%,
    #1b2a3659 18%,
    #0b121beb 48%,
    #04090ff5 100%
  );
  --site-panel-shadow:
    inset 0 1px 0 #effaff29, inset 1px 0 0 #bedbea0d, inset 0 -1px 0 #59748433,
    0 2px 3px #0005, 0 18px 45px #0006;
  --site-shell:
    linear-gradient(120deg, #344e6126, transparent 48%),
    linear-gradient(180deg, #0c141ced, #060b10ed);
}

@media (max-width: 660px) {
  :root {
    --site-optics: url("/assets/branding/ammor-optics-phone.webp");
  }
}

body.site-page {
  font-family: var(--site-font);
  background-color: var(--site-canvas);
  color: var(--site-text);
  -webkit-font-smoothing: antialiased;
}
body.site-page :where(button, input, select, textarea) {
  font-family: var(--site-font);
}
body.site-page
  :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--site-accent);
  outline-offset: 4px;
}
@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  body.site-page
    :where(.glass-panel, .entry-panel, .verified-card, .access-form-card) {
    background-color: #0b121b;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.site-page *,
  body.site-page *::before,
  body.site-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body.site-entry .site-brand-name {
  display: block;
  max-width: 24ch;
  margin: 12px auto 0;
  color: var(--site-text);
  font: 600 15px/1.4 var(--site-font);
  letter-spacing: -0.025em;
  text-transform: none;
  text-align: center;
}

/* Keep the eagle's alpha visible through legacy image styles. */
@layer brand-artwork {
  body.site-page img[src*="/branding/ammor-eagle-"] {
    background: transparent !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}
