/* Foley Ghost page layout. Rules from the brand book: 1120px column, space-4 gutters on phones, space-8 from 768px. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 24px; }
.fg-wrap { max-width: 1120px; margin: 0 auto; }
.fg-skip { position: absolute; left: -9999px; top: 0; background: var(--fuzz); color: var(--on-fuzz); padding: var(--space-3) var(--space-4); font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; z-index: 10; }
.fg-skip:focus { left: 0; }
.fg-navbar { position: sticky; top: 0; z-index: 5; background: var(--ground); border-bottom: 1px solid var(--line); }
.fg-navbar .fg-nav { border-bottom: 0; }
.fg-section { scroll-margin-top: 72px; }
.fg-section + .fg-section { padding-top: 0; }
.fg-cols { display: grid; gap: var(--space-8); align-items: start; }
.fg-stack { display: grid; gap: var(--space-6); }
.fg-body { color: var(--ink-muted); margin: 0; max-width: 65ch; }
.fg-rigwrap { overflow-x: auto; }
.fg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fg-signup__status { font-family: var(--font-mono); font-size: 13px; line-height: 20px; margin: 0; min-height: 20px; color: var(--glass); }
.fg-signup__status[data-state="error"] { color: var(--fuzz); }
.fg-btn[disabled] { opacity: .6; cursor: default; }
.fg-handle { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0; }
@media (max-width: 640px) {
  .fg-navbar { position: static; }
  .fg-section { scroll-margin-top: 0; }
}
@media (max-width: 520px) {
  .fg-rig { grid-template-columns: auto 12px auto 24px minmax(0, 1fr); font-size: 12px; line-height: 16px; }
  .fg-rig__box { padding: var(--space-2); }
  .fg-rig__box b { font-size: 16px; line-height: 18px; }
}
@media (min-width: 768px) {
  .fg-nav, .fg-section, .fg-footer { padding-inline: var(--space-8); }
  .fg-hero__words { padding-inline: var(--space-8); }
  .fg-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}