/* =========================================================================
   FAZO SERVICES — stylesheet
   No external requests: no CDN, no Google Fonts, no analytics.
   System font stacks only. Everything below is served from your own domain.
   ========================================================================= */

/* ---------- Minimal reset (replaces Tailwind preflight) ---------- */
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: currentColor; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, blockquote, dl, dd { margin: 0; }
button { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; background: transparent; border: none; cursor: pointer; }
a { color: inherit; text-decoration: inherit; }
svg { display: block; vertical-align: middle; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
input, textarea, select { font-family: inherit; font-size: 100%; line-height: inherit; color: inherit; }
:root { -webkit-tap-highlight-color: transparent; }

/* ---------- Font stacks (no external font requests) ---------- */
:root {
  --font-display: 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}
.font-display { font-family: var(--font-display); font-weight: 700; }
.font-body { font-family: var(--font-body); }
.font-mono { font-family: var(--font-mono); }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ---------- Theme tokens ---------- */
:root, [data-theme="dark"] {
  --bg: #0A1442;
  --bg-alt: #101F5C;
  --elevated: #16265F;
  --border: #2A3A72;
  --text: #F4F7FC;
  --muted: #94A4CC;
  --accent: #2BA6E1;
  --accent-2: #056FB8;
  --btn-bg: #2BA6E1;
  --btn-text: #0A1442;
  --header-bg: rgba(10,20,66,.92);
  --card-shadow: 0 24px 44px -26px rgba(0,0,0,.65);
  --input-bg: #0A1442;
}
[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-alt: #EEF4FC;
  --elevated: #FFFFFF;
  --border: #D9E4F3;
  --text: #0F1E52;
  --muted: #5C6C93;
  --accent: #056FB8;
  --accent-2: #2BA6E1;
  --btn-bg: #172A88;
  --btn-text: #FFFFFF;
  --header-bg: rgba(255,255,255,.92);
  --card-shadow: 0 20px 38px -26px rgba(16,32,79,.22);
  --input-bg: #F7FAFD;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
  font-family: var(--font-body);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.js-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1); }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ---------- Section helpers / components ---------- */
.section-base { background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .3em; color: var(--accent); text-transform: uppercase; }
.heading-2 { font-family: var(--font-display); text-transform: uppercase; color: var(--text); }
.muted { color: var(--muted); }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: .55rem; padding: .9rem 1.6rem;
  font-family: var(--font-display); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em;
  background: var(--btn-bg); color: var(--btn-text);
  transition: transform .2s ease, filter .2s ease;
}
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: .55rem; padding: .85rem 1.55rem; border: 1px solid var(--border);
  font-family: var(--font-display); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em;
  color: var(--text); background: transparent;
  transition: border-color .2s ease, color .2s ease;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline-onphoto {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: .55rem; padding: .85rem 1.55rem; border: 1px solid rgba(255,255,255,.35);
  font-family: var(--font-display); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em;
  color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px);
  transition: border-color .2s ease, background .2s ease;
}
.btn-outline-onphoto:hover { border-color: #fff; background: rgba(255,255,255,.14); }

.nav-link { font-family: var(--font-body); font-size: .9rem; color: inherit; opacity: .82; transition: opacity .2s ease, color .2s ease; }
.nav-link:hover { opacity: 1; }
.nav-link.active { color: var(--accent); opacity: 1; }

.card { background: var(--elevated); border: 1px solid var(--border); border-radius: .9rem; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-5px); border-color: var(--accent-2); box-shadow: var(--card-shadow); }

.field-label { display: block; margin-bottom: .5rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .15em; color: var(--muted); }
.field-input { width: 100%; border-radius: .55rem; border: 1px solid var(--border); background: var(--input-bg); padding: .75rem 1rem; font-size: .9rem; color: var(--text); transition: border-color .2s ease; }
.field-input::placeholder { color: var(--muted); opacity: .6; }
.field-input:focus { outline: none; border-color: var(--accent); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-2); }

#mobile-panel { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .3s ease; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: background-color .3s ease, color .3s ease, border-color .3s ease, backdrop-filter .3s ease; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: var(--header-bg); color: var(--text); border-bottom-color: var(--border); backdrop-filter: blur(10px); box-shadow: 0 12px 30px -20px rgba(0,0,0,.5); }

.hero-band { position: relative; overflow: hidden; background: #0A1442; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; z-index: 0; }
.hero-band > .max-w-container { position: relative; z-index: 2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(8,16,54,.96) 0%, rgba(8,16,54,.88) 32%, rgba(8,16,54,.55) 62%, rgba(8,16,54,.28) 100%),
    linear-gradient(to bottom, rgba(8,16,54,.35) 0%, rgba(8,16,54,0) 18%, rgba(8,16,54,0) 78%, #0A1442 100%);
}
.ticker-band { background: #0E1B4F; border-top: 1px solid #24356E; border-bottom: 1px solid #24356E; }
.ticker-wrapper { display: flex; width: max-content; animation: ticker-scroll 44s linear infinite; }
.ticker-wrapper:hover { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.fazo-card-watermark { position: absolute; opacity: .05; pointer-events: none; }

.logo-img { height: 2.1rem; width: auto; display: block; }
.footer-logo-img { height: 2.35rem; width: auto; display: block; }

html[data-theme="dark"] .theme-logo-light { display: none; }
html[data-theme="light"] .theme-logo-dark { display: none; }

.tagline-skew { display: inline-block; transform: skewX(-8deg); font-style: normal; }

.theme-toggle { width: 2.5rem; height: 2.5rem; border-radius: .55rem; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.25); color: #fff; transition: border-color .2s ease, background .2s ease; }
.site-header.scrolled .theme-toggle { border-color: var(--border); color: var(--text); }
.theme-toggle:hover { background: rgba(255,255,255,.08); }
.site-header.scrolled .theme-toggle:hover { background: var(--bg-alt); }
.icon-sun, .icon-moon { display: none; }
html[data-theme="dark"] .icon-sun { display: block; }
html[data-theme="light"] .icon-moon { display: block; }

/* ---------- Content pages (Privacy Policy, Terms of Service) ---------- */
.page-intro { padding-top: 8.5rem; padding-bottom: 3rem; }
.disclaimer-box { border-left: 3px solid var(--accent); background: var(--bg-alt); border-radius: .5rem; padding: 1rem 1.25rem; margin-bottom: 2.5rem; font-size: .875rem; line-height: 1.6; color: var(--muted); }
.legal-content h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .01em; margin-top: 2.25rem; margin-bottom: .75rem; color: var(--text); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 1rem; line-height: 1.75; color: var(--text); opacity: .9; }
.legal-content ul { margin: 0 0 1rem 1.25rem; list-style: disc; }
.legal-content li { margin-bottom: .5rem; line-height: 1.7; color: var(--text); opacity: .9; }
.legal-content strong { color: var(--text); opacity: 1; }

/* =========================================================================
   Utility classes (hand-written equivalents of the Tailwind classes used
   in index.html — mobile-first, with sm/md/lg breakpoints matching
   Tailwind's defaults: 640px / 768px / 1024px)
   ========================================================================= */

/* Display */
.hidden { display: none; }
.flex { display: flex; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }

/* Flex / grid alignment */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.shrink-0 { flex-shrink: 0; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Gap */
.gap-1 { gap: .25rem; } .gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; } .gap-6 { gap: 1.5rem; } .gap-9 { gap: 2.25rem; } .gap-10 { gap: 2.5rem; } .gap-14 { gap: 3.5rem; }

/* Space-y */
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

/* Sizing */
.h-10 { height: 2.5rem; } .h-11 { height: 2.75rem; } .h-12 { height: 3rem; } .h-20 { height: 5rem; }
.h-full { height: 100%; } .h-px { height: 1px; }
.w-10 { width: 2.5rem; } .w-11 { width: 2.75rem; } .w-12 { width: 3rem; } .w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; } .max-w-3xl { max-width: 48rem; } .max-w-xl { max-width: 36rem; } .max-w-xs { max-width: 20rem; }
.max-w-container { max-width: 1280px; }

/* Spacing */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: .25rem; } .mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; } .mb-5 { margin-bottom: 1.25rem; } .mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; } .mb-14 { margin-bottom: 3.5rem; } .mb-16 { margin-bottom: 4rem; }
.mt-0\.5 { margin-top: .125rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; } .mt-9 { margin-top: 2.25rem; }
.p-5 { padding: 1.25rem; } .p-7 { padding: 1.75rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; } .px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; } .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; } .py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pb-12 { padding-bottom: 3rem; } .pb-20 { padding-bottom: 5rem; } .pb-24 { padding-bottom: 6rem; }
.pt-7 { padding-top: 1.75rem; } .pt-36 { padding-top: 9rem; }
.left-0 { left: 0; } .right-0 { right: 0; } .top-6 { top: 1.5rem; }

/* Typography */
.italic { font-style: italic; }
.font-semibold { font-weight: 600; }
.leading-\[1\.08\] { line-height: 1.08; }
.leading-relaxed { line-height: 1.625; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; } .text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; } .text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; } .text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-\[10px\] { font-size: 10px; } .text-\[11px\] { font-size: 11px; }
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-white\/60 { color: rgba(255,255,255,.6); }
.text-white\/80 { color: rgba(255,255,255,.8); }
.tracking-\[0\.12em\] { letter-spacing: .12em; } .tracking-\[0\.2em\] { letter-spacing: .2em; } .tracking-\[0\.3em\] { letter-spacing: .3em; }
.tracking-tight { letter-spacing: -.025em; } .tracking-wide { letter-spacing: .025em; }
.uppercase { text-transform: uppercase; }
.whitespace-nowrap { white-space: nowrap; }

/* Border / radius */
.border { border-width: 1px; }
.border-white\/25 { border-color: rgba(255,255,255,.25); }
.rounded-lg { border-radius: .5rem; }
.rounded-2xl { border-radius: 1rem; }

/* Misc */
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.resize-none { resize: none; }
.opacity-80 { opacity: .8; }
.opacity-85 { opacity: .85; }
.scroll-mt-24 { scroll-margin-top: 6rem; }

/* Hover */
.hover\:opacity-100:hover { opacity: 1; }
.hover\:underline:hover { text-decoration: underline; }

/* Screen-reader / skip link */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.focus\:not-sr-only:focus { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: normal; }
.focus\:fixed:focus { position: fixed; }
.focus\:top-3:focus { top: .75rem; }
.focus\:left-3:focus { left: .75rem; }
.focus\:z-\[100\]:focus { z-index: 100; }
.focus\:bg-white:focus { background-color: #fff; }
.focus\:text-\[\#0A1442\]:focus { color: #0A1442; }
.focus\:px-4:focus { padding-left: 1rem; padding-right: 1rem; }
.focus\:py-2:focus { padding-top: .5rem; padding-bottom: .5rem; }
.focus\:rounded-md:focus { border-radius: .375rem; }
.focus\:font-display:focus { font-family: var(--font-display); }
.focus\:text-sm:focus { font-size: .875rem; line-height: 1.25rem; }
.focus\:uppercase:focus { text-transform: uppercase; }

/* =========================================================================
   Responsive: sm (>=640px)
   ========================================================================= */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:pt-40 { padding-top: 10rem; }
  .sm\:pb-24 { padding-bottom: 6rem; }
  .sm\:p-9 { padding: 2.25rem; }
  .sm\:w-auto { width: auto; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
}

/* =========================================================================
   Responsive: md (>=768px)
   ========================================================================= */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .md\:gap-8 { gap: 2rem; }
}

/* =========================================================================
   Responsive: lg (>=1024px)
   ========================================================================= */
@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}
