/* EUAIACTUS.COM — EUAI-PERF-001
   Lean static stylesheet. No remote fonts, runtime framework, or client-side dependency. */

:root {
  --color-navy: #0b1628;
  --color-navy-deep: #070f1f;
  --color-navy-mid: #0f1d35;
  --color-gold: #c5a44b;
  --color-gold-light: #e2cc8a;
  --color-gold-dark: #806625;
  --color-cream: #faf8f3;
  --color-muted: #5f6e82;
  --color-muted-light: #b0c0d4;
  --color-link-cream: #806625;
  --color-focus: #2563eb;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-size-hero: clamp(2rem, 8vw, 4rem);
  --font-size-h2: clamp(1.6rem, 5.5vw, 2.5rem);
  --radius-lg: .75rem;
  --radius-xl: 1rem;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-navy);
  background: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-weight: 600;
  line-height: 1.2;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

nav ul {
  list-style: none;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color .2s var(--ease-out);
}

a:hover {
  color: var(--color-gold-light);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

body,
main,
section,
article,
.card,
.container-main {
  min-width: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
a,
code {
  overflow-wrap: anywhere;
}

pre,
table {
  max-width: 100%;
}

pre {
  overflow-x: auto;
}

table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}

/* Core layout */
.container-main {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-cream {
  background: var(--color-cream);
}

.section-dark {
  background: var(--color-navy);
  color: var(--color-cream);
}

.section-navy {
  background: var(--color-navy-deep);
  color: var(--color-cream);
}

.bg-navy-deep {
  background: var(--color-navy-deep);
}

.min-h-screen {
  min-height: 100vh;
}

/* Navigation */
.glass-nav {
  background: rgba(11, 22, 40, .97);
  border-bottom: 1px solid rgba(197, 164, 75, .12);
}

header.glass-nav > .container-main {
  gap: .5rem 1rem;
}

.nav-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: .35rem .1rem;
  color: var(--color-muted-light);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s var(--ease-out);
}

.nav-link:hover {
  color: var(--color-gold);
}

.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: .3;
}

/* Typography */
.font-serif {
  font-family: var(--font-serif);
}

.font-semibold {
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-hero);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-h2);
  font-weight: 600;
  line-height: 1.2;
}

.section-subtitle {
  max-width: 640px;
  color: var(--color-muted);
  font-size: 1rem;
}

.eyebrow {
  color: var(--color-link-cream);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.text-xs {
  font-size: .75rem;
  line-height: 1.4;
}

.text-sm {
  font-size: .875rem;
  line-height: 1.45;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.4;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 1.33;
}

.text-muted {
  color: var(--color-muted);
}

.text-white {
  color: #fff;
}

.text-white\/60 {
  color: rgba(255, 255, 255, .68);
}

.text-white\/70 {
  color: rgba(255, 255, 255, .76);
}

.text-gold {
  color: var(--color-link-cream);
}

.text-gold-text {
  color: var(--color-link-cream);
}

.section-dark .eyebrow,
.section-navy .eyebrow,
.section-dark .text-gold,
.section-navy .text-gold,
footer .text-gold,
header.glass-nav .text-gold {
  color: var(--color-gold);
}

/* Links on content surfaces */
main a:not(.btn):not(.nav-link) {
  color: var(--color-link-cream);
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.section-dark a:not(.btn):not(.nav-link),
.section-navy a:not(.btn):not(.nav-link),
footer a:not(.btn),
header.glass-nav a {
  color: var(--color-gold-light);
}

.btn,
.nav-link,
header.glass-nav a {
  text-decoration: none;
}

/* Components */
.btn {
  display: inline-flex;
  min-height: 44px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border: 0;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s var(--ease-out), color .2s var(--ease-out);
}

.btn-primary {
  color: var(--color-navy-deep);
  background: linear-gradient(135deg, var(--color-gold), #a0853a);
  box-shadow: 0 4px 16px rgba(197, 164, 75, .28);
}

.btn-primary:hover {
  color: var(--color-navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 164, 75, .35);
}

.btn-outline {
  color: #6f571f;
  background: transparent;
  border: 1.5px solid #806625;
}

.btn-outline:hover {
  color: var(--color-navy-deep);
  background: var(--color-gold);
}

.section-dark .btn-outline,
.section-navy .btn-outline,
footer .btn-outline {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.card {
  padding: 2rem;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(197, 164, 75, .16);
  border-radius: var(--radius-xl);
  transition: transform .2s var(--ease-out), border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 164, 75, .3);
  box-shadow: 0 16px 36px rgba(7, 15, 31, .1);
}

.card-dark {
  color: var(--color-cream);
  background: rgba(15, 29, 53, .96);
  border-color: rgba(197, 164, 75, .22);
}

.card-dark:hover {
  border-color: rgba(197, 164, 75, .4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .24);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: .25rem .75rem;
  color: #6f571f;
  background: rgba(197, 164, 75, .10);
  border: 1px solid rgba(197, 164, 75, .20);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
}

/* Lists */
.list-disc {
  list-style-type: disc;
}

.list-decimal {
  list-style-type: decimal;
}

.list-inside {
  list-style-position: inside;
}

.space-y-2 > :not(:last-child) {
  margin-bottom: .5rem;
}

.space-y-3 > :not(:last-child) {
  margin-bottom: .75rem;
}

/* Grid / flex */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: minmax(0, 1fr);
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

/* Position */
.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.z-50 {
  z-index: 50;
}

/* Width */
.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

/* Spacing */
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

.py-4 { padding-block: 1rem; }
.py-10 { padding-block: 2.5rem; }
.py-12 { padding-block: 3rem; }
.pt-6 { padding-top: 1.5rem; }

/* Borders */
.border-t {
  border-top: 1px solid;
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, .1);
}

/* Skip link and keyboard focus */
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 9999;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  color: var(--color-navy-deep);
  background: #fff;
  border: 2px solid var(--color-focus);
  border-radius: .5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

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

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: .25rem;
}

@media (max-width: 47.999rem) {
  .container-main {
    padding-inline: 1rem;
  }

  .section {
    padding: clamp(3rem, 10vw, 4rem) 0;
  }

  header.glass-nav > .container-main {
    flex-wrap: wrap;
    align-items: center;
    padding-block: .75rem;
  }

  header.glass-nav nav {
    flex: 1 0 100%;
    width: 100%;
  }

  header.glass-nav nav ul {
    gap: .15rem .75rem;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
  }

  .card {
    padding: clamp(1.25rem, 5vw, 1.75rem);
  }
}

@media (max-width: 30rem) {
  .flex.flex-wrap.gap-4 > .btn {
    width: 100%;
  }

  .eyebrow {
    letter-spacing: .1em;
  }
}

@media (min-width: 48rem) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  header.glass-nav > .container-main {
    flex-wrap: nowrap;
  }

  header.glass-nav nav {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  :focus-visible,
  .skip-link {
    outline: 2px solid CanvasText;
    outline-offset: 3px;
  }
}
