/* Atlas marketing site — locked brand tokens.
   Single font (Montserrat) and the Atlas palette. Do not introduce a
   second font family or new brand colours. See CLAUDE.md. */

:root {
  --fyg-navy: #1a2332;
  --fyg-gold: #c8a55b;
  --fyg-grey: #f5f5f5;
  --fyg-dark-grey: #4a4a4a;
  --fyg-line: #dddddd;
  --fyg-white: #ffffff;

  --fyg-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

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

body {
  font-family: var(--fyg-font);
  font-weight: 400;
  color: var(--fyg-navy);
  background: var(--fyg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}

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

a { color: inherit; }

/* Small reusable bits Tailwind doesn't have out-of-the-box. */

.font-display { font-weight: 700; letter-spacing: -0.01em; }
.tabular { font-variant-numeric: tabular-nums; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fyg-dark-grey);
}

.gold-divider {
  display: block;
  height: 2px;
  width: 64px;
  background: var(--fyg-gold);
  border: 0;
  margin: 1rem 0;
}
.gold-divider.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--fyg-gold);
  color: var(--fyg-navy);
}
.btn-primary:hover { background: #b89046; }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--fyg-white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.7); }

.btn-dark {
  background: var(--fyg-navy);
  color: var(--fyg-white);
}
.btn-dark:hover { background: #243049; }

/* Form controls */
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fyg-dark-grey);
  margin-bottom: 6px;
}
.field-input,
.field-textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--fyg-line);
  border-radius: 6px;
  background: var(--fyg-white);
  color: var(--fyg-navy);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field-input:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--fyg-gold);
  box-shadow: 0 0 0 3px rgba(200, 165, 91, 0.18);
}
.field-textarea { min-height: 110px; resize: vertical; }

/* Alternating "feature row" layout for the product section.
   Each row pairs a screenshot with explanatory copy; rows zigzag
   left/right on desktop and stack on mobile. Images are constrained
   to a sensible max-height so a very tall capture (e.g. the company
   switcher sidebar) doesn't blow out the row. */
.feature-stack { padding: 1rem 0; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  padding: 3rem 0;
}
.feature-row + .feature-row {
  border-top: 1px solid var(--fyg-line);
}

.feature-text .feature-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fyg-gold);
}
.feature-text h3 {
  font-family: var(--fyg-font);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--fyg-navy);
  margin: 0.6rem 0 0;
  letter-spacing: -0.01em;
}
.feature-text p {
  margin: 0.85rem 0 0;
  color: var(--fyg-dark-grey);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 32rem;
}
.feature-text .feature-points {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--fyg-dark-grey);
}
.feature-text .feature-points li {
  position: relative;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}
.feature-text .feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fyg-gold);
}

/* Navy "device" frame so dark-UI captures sit on a consistent background. */
.feature-media {
  position: relative;
  background: #0e1622;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow:
    0 30px 60px -28px rgba(26, 35, 50, 0.55),
    0 2px 0 0 rgba(255, 255, 255, 0.04) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  overflow: hidden;
}
.feature-media::before {
  /* faint chrome dots top-left, like a window control strip */
  content: "";
  position: absolute;
  top: 12px; left: 16px;
  width: 36px; height: 8px;
  background:
    radial-gradient(circle at 4px 4px, #2a3548 3px, transparent 3.5px),
    radial-gradient(circle at 18px 4px, #2a3548 3px, transparent 3.5px),
    radial-gradient(circle at 32px 4px, #2a3548 3px, transparent 3.5px);
  pointer-events: none;
}
.feature-media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 380px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.55);
  margin-top: 18px; /* clear the chrome dots */
}

/* Desktop: 2 columns with zigzag */
@media (min-width: 880px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4.5rem 0;
  }
  .feature-row.reverse .feature-text  { order: 2; }
  .feature-row.reverse .feature-media { order: 1; }
}

/* Generic card */
.card {
  background: var(--fyg-white);
  border: 1px solid var(--fyg-line);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(26, 35, 50, 0.25);
  border-color: #cfcfcf;
}
.card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--fyg-navy);
  color: var(--fyg-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Section helpers */
.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-navy { background: var(--fyg-navy); color: var(--fyg-white); }
.section-grey { background: var(--fyg-grey); }

.container-x {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--fyg-line);
}

/* Compliance badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0.85rem;
  background: var(--fyg-white);
  border: 1px solid var(--fyg-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fyg-navy);
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fyg-gold);
}

/* Footer */
.site-footer {
  background: var(--fyg-navy);
  color: #c9cdd4;
  padding: 2.5rem 0 2rem;
  font-size: 13px;
}
.site-footer a:hover { color: var(--fyg-gold); }

/* Form status messages */
.form-status {
  margin-top: 1rem;
  font-size: 14px;
  min-height: 1.4em;
}
.form-status.ok { color: #1f7a3a; }
.form-status.err { color: #b3261e; }

/* Reduce-motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
