/* Marketing site styles, links to ../../colors_and_type.css */

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

/* ---------- Layout primitives ---------- */
.ga-container {
  width: 100%;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.ga-container-default { max-width: var(--container); }
.ga-container-wide { max-width: var(--container-wide); }
.ga-container-narrow { max-width: var(--container-narrow); }

.ga-section { padding: var(--space-20) 0; }
.ga-section-tight { padding: var(--space-12) 0; }
.ga-section-alt { background: var(--bg-alt); }

.ga-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.ga-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.ga-btn-md { padding: 11px 18px; font-size: 15px; }
.ga-btn-sm { padding: 8px 14px; font-size: 13px; }
.ga-btn-lg { padding: 14px 22px; font-size: 16px; }

.ga-btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.ga-btn-primary:hover { background: var(--accent-hover); color: #fff; }
.ga-btn-primary:active { background: var(--accent-press); }

.ga-btn-secondary { background: var(--ga-ink); color: #fff; }
.ga-btn-secondary:hover { background: #000; color: #fff; }

.ga-btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--ga-ink);
}
.ga-btn-outline:hover { background: var(--ga-ink); color: #fff; }

.ga-btn-ghost { background: transparent; color: var(--fg); }
.ga-btn-ghost:hover { background: var(--ga-paper-2); color: var(--fg); }

/* ---------- Nav ---------- */
.ga-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.0);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms, border-color 200ms, backdrop-filter 200ms;
}
.ga-nav-scrolled {
  background: rgba(250, 247, 242, 0.85);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.ga-nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 84px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.ga-nav-brand { flex-shrink: 0; }
.ga-nav-brand img { height: 40px; width: auto; display: block; }
.ga-btn { white-space: nowrap; }
.ga-nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.ga-nav-links a {
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.ga-nav-links a:hover { color: var(--accent); }
.ga-nav-cta { margin-left: auto; }

/* ---- Mobile nav (hamburger, CSS-only checkbox toggle) ---- */
.ga-nav-toggle { display: none; }
.ga-nav-burger { display: none; }
@media (max-width: 900px) {
  .ga-nav-inner { gap: 12px; }
  .ga-nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 9px; cursor: pointer; flex-shrink: 0;
    background: none; border: 0;
  }
  .ga-nav-burger span {
    display: block; height: 2px; width: 100%; background: var(--fg, #1A1A1A);
    border-radius: 2px; transition: transform .2s, opacity .2s;
  }
  .ga-nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; flex: none;
    background: rgba(250, 247, 242, 0.98);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border, #DCD4C5); padding: 8px 0;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
  }
  .ga-nav-toggle:checked ~ .ga-nav-links { display: flex; }
  .ga-nav-links a { padding: 13px clamp(20px, 5vw, 32px); font-size: 16px; }
  .ga-nav-toggle:checked ~ .ga-nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .ga-nav-toggle:checked ~ .ga-nav-burger span:nth-child(2) { opacity: 0; }
  .ga-nav-toggle:checked ~ .ga-nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.ga-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}
.ga-hero-title {
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 20px;
  text-wrap: balance;
}
.ga-hero-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.ga-hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.ga-hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.ga-hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--fg-muted);
}
.ga-hero-meta strong { color: var(--fg); font-weight: 700; }
.ga-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ga-stone-300); }
.ga-hero-art img {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  display: block;
}
@media (max-width: 900px) {
  .ga-hero { grid-template-columns: 1fr; gap: 32px; }
  .ga-hero-art { order: -1; max-width: 360px; }
}

/* ---------- Section heads ---------- */
.ga-section-head { margin-bottom: 48px; max-width: 720px; }
.ga-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
  text-wrap: balance;
}
.ga-section-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0;
}
.ga-section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}
.ga-link-arrow {
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
}
.ga-link-arrow:hover { color: var(--accent-hover); }

/* ---------- Services grid ---------- */
.ga-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ga-service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.ga-service-card:hover {
  border-color: var(--ga-ink);
  box-shadow: var(--shadow-sm);
}
.ga-service-voxel {
  width: 96px;
  height: 96px;
  display: block;
  margin-bottom: 20px;
  object-fit: contain;
}
.ga-service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.ga-service-card p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted);
}
.ga-service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
@media (max-width: 900px) {
  .ga-services-grid { grid-template-columns: 1fr; }
}

/* ---------- Paired offering ---------- */
.ga-paired {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.ga-paired-art img {
  width: 100%;
  max-width: 460px;
  display: block;
}
.ga-paired-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 20px;
}
.ga-amp { color: var(--accent); }
.ga-paired-copy p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0 0 24px;
}
.ga-checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.ga-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--fg);
}
.ga-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
@media (max-width: 900px) {
  .ga-paired { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Stats ---------- */
.ga-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.ga-stat { text-align: left; padding: 0 24px; border-right: 1px solid var(--border); }
.ga-stat:last-child { border-right: 0; }
.ga-stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--fg);
  font-feature-settings: "tnum" 1;
}
.ga-stat-lbl {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 6px;
}
@media (max-width: 700px) {
  .ga-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ga-stat { border-right: 0; padding: 0; }
}

/* ---------- Downloads ---------- */
.ga-downloads-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.ga-download-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  transition: transform var(--dur);
}
.ga-download-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.ga-download-card:hover img { border-color: var(--ga-ink); box-shadow: var(--shadow-sm); }
.ga-download-title { font-size: 13px; font-weight: 600; line-height: 1.3; }
.ga-download-tag { font-family: var(--font-mono); font-size: 11px; color: var(--fg-subtle); margin-top: 2px; }
@media (max-width: 1100px) {
  .ga-downloads-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .ga-downloads-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Footer ---------- */
.ga-footer { background: var(--ga-ink); color: var(--ga-paper); padding: var(--space-20) 0 var(--space-10); }
.ga-footer-cta {
  text-align: center;
  padding: 0 0 var(--space-16);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-12);
}
.ga-footer-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 16px;
  color: #fff;
}
.ga-footer-cta p { color: rgba(255,255,255,0.6); margin: 0 0 28px; font-size: 17px; }
.ga-footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.ga-footer-cols > * { min-width: 0; }
.ga-footer-brand img { max-width: 100%; }
.ga-footer-brand p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.6); margin: 16px 0 0; max-width: 320px; }
.ga-footer-h {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.ga-footer-cols ul { list-style: none; padding: 0; margin: 0; }
.ga-footer-cols li { margin-bottom: 10px; }
.ga-footer-cols a { color: rgba(255,255,255,0.85); font-size: 14px; text-decoration: none; }
.ga-footer-cols a:hover { color: var(--accent); }
.ga-footer-rule { height: 1px; background: rgba(255,255,255,0.08); margin: var(--space-10) 0 var(--space-6); }
.ga-footer-fine {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
}
@media (max-width: 800px) {
  .ga-footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .ga-footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .ga-footer-fine { flex-direction: column; gap: 8px; text-align: left; }
}
