/* The public Welcome page (templates/core/_landing.html). Everything is
   scoped to .wl so the rest of the site is untouched. */

.wl {
  --wl-green-950: #0b2a19;
  --wl-green-900: #10351f;
  --wl-green: #1a5632;
  --wl-green-600: #2d8a4e;
  --wl-green-50: #eef5f0;
  --wl-gold: #c8a951;
  --wl-gold-300: #e2cd8f;
  --wl-ink: #13201a;
  --wl-muted: #55645c;
  --wl-line: #e3e8e4;
  --wl-sand: #f6f1ea;
  --wl-radius: 16px;
  --wl-shadow: 0 1px 2px rgba(16, 53, 31, 0.06), 0 8px 24px rgba(16, 53, 31, 0.08);

  /* Full width: break out of main's centered container and padding. */
  margin: -20px calc(50% - 50vw) -5rem;
  color: var(--wl-ink);
  font-family: 'Inter', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html:has(.wl), body:has(.wl) { overflow-x: clip; }
body:has(.wl) .site-footer { margin-top: 0; }

.wl *, .wl *::before, .wl *::after { box-sizing: border-box; }

.wl-wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Type ─────────────────────────────────────────────────────────────── */
.wl h1, .wl h2, .wl h3 { font-family: 'Inter', Arial, sans-serif; margin: 0; color: inherit; }

.wl .wl-h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 18px 0 24px;
}

.wl-accent {
  display: block;
  color: var(--wl-gold-300);
  padding-bottom: 0.06em;
}

.wl-h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.wl-eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wl-green-600);
}

.wl-eyebrow-gold { color: var(--wl-gold); }

.wl-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34em;
  margin: 0;
}

.wl-sub {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--wl-muted);
  margin: 14px 0 0;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.wl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.wl-actions-center { justify-content: center; }

.wl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.wl-btn:hover { transform: translateY(-1px); text-decoration: none; }
.wl-btn:focus-visible { outline: 3px solid var(--wl-gold-300); outline-offset: 3px; }

.wl-btn-gold { background: var(--wl-gold); color: #1a1405; box-shadow: 0 6px 20px rgba(200, 169, 81, 0.35); }
.wl-btn-gold:hover { background: #d6b862; color: #1a1405; }

.wl-btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.06); }
.wl-btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.12); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.wl-hero {
  position: relative;
  color: #fff;
  padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 128px);
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(45, 138, 78, 0.35), transparent 60%),
    linear-gradient(100deg, rgba(11, 42, 25, 0.96) 0%, rgba(11, 42, 25, 0.86) 45%, rgba(11, 42, 25, 0.6) 100%),
    url("../images/hero-golf-course.b23b99f3a144.jpg") center 65% / cover no-repeat;
  overflow: hidden;
}

.wl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.wl-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.wl-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wl-gold); box-shadow: 0 0 0 4px rgba(200, 169, 81, 0.2); }

.wl-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; }
.wl-ticks li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }
.wl-ticks svg { width: 18px; height: 18px; fill: none; stroke: var(--wl-gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Product preview: two app windows */
.wl-hero-shots { position: relative; min-height: 380px; }

.wl-window {
  position: absolute;
  margin: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.wl-window img { display: block; width: 100%; height: auto; }
.wl-window-bar { display: flex; gap: 6px; padding: 10px 12px; background: #f2f4f3; border-bottom: 1px solid #e3e6e4; }
.wl-window-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d3d8d5; }
.wl-window-bar span:first-child { background: #e8a09a; }
.wl-window-bar span:nth-child(2) { background: #ecd28f; }
.wl-window-bar span:nth-child(3) { background: #9fd1ac; }

.wl-window-front { width: 92%; left: 0; top: 56px; z-index: 2; }
.wl-window-back { width: 80%; right: -6%; top: 0; opacity: 0.92; transform: rotate(2deg); }

/* ── Sections ─────────────────────────────────────────────────────────── */
.wl-section { padding: clamp(64px, 8vw, 104px) 0; background: var(--wl-sand); }
.wl-section-white { background: #fff; }
.wl-section-dark { background: var(--wl-green-950); color: #fff; }
.wl-section-dark .wl-sub { color: rgba(255, 255, 255, 0.75); }

.wl-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }

/* Formats */
.wl-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.wl-card {
  background: #fff;
  border: 1px solid var(--wl-line);
  border-radius: var(--wl-radius);
  padding: 28px 24px;
  box-shadow: var(--wl-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.wl-card:hover { transform: translateY(-3px); border-color: #cfdcd3; box-shadow: 0 2px 4px rgba(16, 53, 31, 0.06), 0 16px 36px rgba(16, 53, 31, 0.12); }
.wl-card h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; margin: 18px 0 8px; }
.wl-card p { margin: 0; color: var(--wl-muted); line-height: 1.6; font-size: 0.97rem; }

.wl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--wl-green-50);
  color: var(--wl-green);
  flex: none;
}
.wl-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wl-icon-sm { width: 40px; height: 40px; border-radius: 10px; }
.wl-icon-sm svg { width: 20px; height: 20px; }

/* Steps */
.wl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: none; }
.wl-steps li { position: relative; padding-top: 24px; border-top: 2px solid var(--wl-line); }
.wl-steps li::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--wl-gold);
}
.wl-step-no { display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; color: var(--wl-gold); margin-bottom: 10px; }
.wl-steps h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.wl-steps p { margin: 0; color: var(--wl-muted); line-height: 1.6; font-size: 0.97rem; }

/* Formats slideshow (the slides themselves: format-slides.css) */
.wl-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.wl-split .wl-h2 { margin-top: 0; }
.wl-checklist { list-style: none; margin: 24px 0 0; padding: 0; }
.wl-checklist li { position: relative; padding: 8px 0 8px 30px; color: rgba(255, 255, 255, 0.88); }
.wl-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 16px;
  height: 9px;
  border-left: 2.4px solid var(--wl-gold);
  border-bottom: 2.4px solid var(--wl-gold);
  transform: rotate(-45deg);
}

/* Features */
.wl-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
.wl-feature { display: flex; gap: 16px; align-items: flex-start; }
.wl-feature h3 { font-size: 1.02rem; font-weight: 700; margin: 2px 0 4px; letter-spacing: -0.01em; }
.wl-feature p { margin: 0; color: var(--wl-muted); line-height: 1.55; font-size: 0.95rem; }

/* Call to action */
.wl-cta {
  position: relative;
  color: #fff;
  text-align: center;
  padding: clamp(80px, 10vw, 136px) 0;
  background:
    linear-gradient(180deg, rgba(11, 42, 25, 0.82), rgba(11, 42, 25, 0.9)),
    var(--wl-cta-image) center 40% / cover no-repeat;
}
.wl-cta-inner { max-width: 720px; }
.wl-cta .wl-sub { color: rgba(255, 255, 255, 0.8); font-size: 1.15rem; }

/* Gentle entrance for cards and steps (static/js/scroll-reveal.js). */
.wl .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.wl .reveal.active { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .wl .reveal { opacity: 1; transform: none; transition: none; }
  .wl-btn, .wl-card { transition: none; }
  .wl-btn:hover, .wl-card:hover { transform: none; }
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .wl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
  .wl-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .wl-hero-grid, .wl-split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .wl-hero-shots { min-height: 0; aspect-ratio: 16 / 9; max-width: 560px; }
}

@media (max-width: 600px) {
  .wl-wrap { padding: 0 20px; }
  .wl-cards, .wl-steps, .wl-features { grid-template-columns: minmax(0, 1fr); }
  .wl-head { text-align: left; margin-bottom: 32px; }
  .wl-actions .wl-btn { flex: 1 1 100%; }
  /* One preview, in the flow, on phones. */
  .wl-hero-shots { aspect-ratio: auto; }
  .wl-window-front { position: relative; top: auto; width: 100%; }
  .wl-window-back { display: none; }
  .wl-ticks { gap: 8px 18px; }
}
