/* ============ FAQ ============ */
.faq-list {
  margin-top: 56px;
  border-top: 1px solid var(--hair-strong);
}
.faq-item {
  border-bottom: 1px solid var(--hair-strong);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fairway);
  transition: color 0.4s var(--ui-curve);
  font-variation-settings: "opsz" 144;
}
.faq-q:hover { color: var(--green-live); }

/* putt-line icon */
.putt {
  position: relative;
  flex-shrink: 0;
  width: 64px; height: 32px;
}
.putt-dots {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-right: 14px;
  transition: opacity 0.4s var(--ui-curve);
}
.putt-dots span {
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green-live);
}
.putt-line {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ui-curve);
}
.putt-line svg { width: 100%; height: 100%; overflow: visible; }
.putt-line path {
  fill: none;
  stroke: var(--green-live);
  stroke-width: 1.5;
  stroke-dasharray: 2 4;
  stroke-linecap: round;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.7s var(--snap);
}
.putt-line .cup {
  fill: none;
  stroke: var(--fairway);
  stroke-width: 1.5;
  opacity: 0;
  transition: opacity 0.4s var(--ui-curve) 0.4s;
}
.faq-item.open .putt-dots { opacity: 0; }
.faq-item.open .putt-line { opacity: 1; }
.faq-item.open .putt-line path { stroke-dashoffset: 0; }
.faq-item.open .putt-line .cup { opacity: 1; }

.faq-a {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.65s var(--ui-curve), opacity 0.45s var(--ui-curve), padding 0.55s var(--ui-curve);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fairway-dim);
  max-width: 72ch;
}
.faq-item.open .faq-a {
  max-height: 280px;
  opacity: 1;
  padding: 0 4px 26px;
}

/* ============ DOWNLOAD CTA ============ */
.download {
  position: relative;
  padding: 140px 0 120px;
  text-align: center;
  overflow: hidden;
}
.download-routing {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
}
.download-routing svg {
  position: absolute;
  width: 130%;
  height: 90%;
  left: -15%;
  top: 5%;
  overflow: visible;
}
.download-routing path { fill: none; stroke: var(--fairway); stroke-width: 1.2; }
.download-routing .fairway-shape { fill: rgba(47, 182, 124, 0.06); stroke: var(--fairway); stroke-dasharray: 4 4; }
.download-routing .green-shape { fill: rgba(47, 182, 124, 0.18); stroke: var(--fairway); }
.download-routing .tee, .download-routing .pin { fill: var(--fairway); }
.download-routing .pin-flag { fill: var(--pin); stroke: var(--fairway); stroke-width: 1; }
.download-routing text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  fill: var(--fairway);
  font-weight: 600;
}

.download-inner { position: relative; z-index: 2; }
.download .display { max-width: 17ch; margin: 24px auto 22px; }
.download .body-lede { margin: 0 auto 44px; }
.download-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  background: var(--bone);
  border: 1.5px solid var(--fairway);
  border-radius: 6px;
  font-size: 14px;
  color: var(--fairway);
  text-align: left;
  transition: all 0.35s var(--ui-curve);
}
.badge::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--hair);
  border-radius: 3px;
  pointer-events: none;
}
.badge:hover {
  background: var(--green-live);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(47, 182, 124, 0.3);
}
.badge .glyph {
  font-size: 22px;
  line-height: 1;
  color: var(--green-live);
  transition: color 0.35s var(--ui-curve);
}
.badge:hover .glyph { color: var(--fairway); }
.badge .top {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--fairway-faint);
  text-transform: uppercase;
  margin-bottom: 3px;
  font-weight: 600;
}
.badge .bot {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144;
}
.badge:hover .top { color: rgba(14, 61, 42, 0.7); }

/* ============ FOOTER ============ */
.footer {
  position: relative;
  padding: 80px 0 36px;
  background: var(--bone-2);
  border-top: 1px solid var(--hair);
}
.footer-rule {
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--green-live);
  opacity: 0.6;
  overflow: hidden;
}
.footer-rule::after {
  content: "";
  position: absolute;
  top: 0; left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--green-glow) 50%, transparent);
  animation: scan 6s linear infinite;
}
@keyframes scan { to { left: 130%; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 44px;
  margin-bottom: 56px;
}
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) { .footer-grid { gap: 28px; } }

.footer-brand .wordmark { font-size: 30px; margin-bottom: 14px; }
.footer-brand p {
  font-size: 14px;
  color: var(--fairway-dim);
  line-height: 1.6;
  max-width: 34ch;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--green-live);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--fairway-dim);
  transition: color 0.3s var(--ui-curve);
  font-weight: 500;
}
.footer-col a:hover { color: var(--green-live); }

.footer-bot {
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fairway-faint);
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 500;
}
.footer-bot .right { display: flex; gap: 18px; }

/* ============ REVEAL ANIMATIONS ============ */
/* Content is visible by default; .in toggles decorative effects (line sweeps, underlines).
   Subtle scroll-in only applies while the load gate (html.preanim) is set. */
.reveal,
.reveal-stagger > * {
  transition: opacity 0.85s var(--ui-curve), transform 0.85s var(--ui-curve);
}
html.preanim .reveal,
html.preanim .reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.in,
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 50ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 100ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 150ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 200ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 250ms; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track { animation: none !important; }
  .ball-cursor, .tracer-canvas { display: none !important; }
  body { cursor: auto; }
  .paper, .topo { display: none !important; }
  .live-dot::before, .live-dot::after { display: none !important; }
}
