/* Beapnow Mini Golf — marketing site */
:root {
  --sky-top: #8cc7f2;
  --sky-mid: #b2e0f8;
  --haze: #f0dbae;
  --meadow-deep: #2e6b3d;
  --meadow-mid: #3d8c4d;
  --meadow-light: #52ad61;
  --grass-near: #387041;
  --title: #1a3d24;
  --ink: #1c2e22;
  --muted: #4a6354;
  --card: rgba(255, 255, 255, 0.88);
  --card-solid: #f7fbf6;
  --line: rgba(30, 80, 45, 0.12);
  --accent: #e8a317;
  --flag: #e6282e;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(30, 70, 40, 0.12);
  --max: 1080px;
  --nav-h: 68px;
  font-synthesis: none;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, var(--sky-top), transparent 55%),
    linear-gradient(180deg, var(--sky-mid) 0%, #c5e8a8 42%, #6aa85a 78%, var(--grass-near) 100%);
  background-attachment: fixed;
}

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

a {
  color: var(--meadow-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--meadow-mid);
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(247, 251, 246, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.brand span {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--title);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--meadow-deep);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 650;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(46, 107, 61, 0.35);
}

.nav-cta:hover {
  background: var(--meadow-mid);
  color: #fff !important;
}

/* —— Layout —— */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0 2.5rem;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    max-width: 360px;
    margin: 0 auto;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--meadow-deep);
  background: rgba(255, 255, 255, 0.65);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--title);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--meadow-deep);
  color: #fff;
  box-shadow: 0 8px 22px rgba(46, 107, 61, 0.3);
}

.btn-primary:hover {
  background: var(--meadow-mid);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--title);
  border-color: var(--line);
}

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

.note {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-art {
  position: relative;
}

.hero-art img {
  width: 100%;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 255, 255, 0.7);
}

.hero-art .badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(26, 61, 36, 0.9);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 650;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

/* —— Cards / sections —— */
.section {
  margin: 2.5rem 0;
}

.section-title {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
  color: var(--title);
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0 0 1.35rem;
  color: var(--muted);
  max-width: 38rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 760px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: 0 6px 24px rgba(30, 70, 40, 0.06);
  backdrop-filter: blur(8px);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  color: var(--title);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--meadow-light), var(--meadow-deep));
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 12px rgba(46, 107, 61, 0.25);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: center;
  margin: 2rem 0;
}

@media (max-width: 760px) {
  .feature-row {
    grid-template-columns: 1fr;
  }
}

.feature-row img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.65);
}

/* Real app screenshots */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 760px) {
  .shot-grid {
    grid-template-columns: 1fr;
  }
}

.shot {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(30, 70, 40, 0.08);
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
  background: #1a3d24;
}

.shot figcaption {
  padding: 0.65rem 0.9rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--title);
}

.shot-watch {
  max-width: 280px;
  justify-self: center;
  width: 100%;
}

.shot-watch img {
  object-fit: contain;
  max-height: 360px;
  margin: 0 auto;
  background: linear-gradient(180deg, #e8f5c8, #6aa85a);
}

.device-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: #163522;
}

.device-frame img {
  border: none;
  box-shadow: none;
  width: 100%;
  display: block;
}

.device-frame.device-watch {
  max-width: 260px;
  margin: 0 auto;
  background: linear-gradient(180deg, #e8f5c8, #4d8f4a);
}

.device-frame.device-watch img {
  max-height: 380px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.hero-art img {
  object-fit: cover;
  max-height: 420px;
  width: 100%;
}

.feature-row ul {
  margin: 0.6rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.feature-row li {
  margin: 0.35rem 0;
}

/* —— Page content (about / privacy / contact) —— */
.page-hero {
  padding: 1.25rem 0 0.5rem;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

.prose {
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.75rem 2rem;
  box-shadow: var(--shadow);
  max-width: 46rem;
}

.prose h2 {
  margin: 1.6rem 0 0.5rem;
  font-size: 1.2rem;
  color: var(--title);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose .meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--card-solid);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0 0 0.5rem;
  color: var(--title);
  font-size: 1.2rem;
}

.contact-email {
  display: inline-block;
  margin: 0.75rem 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--meadow-deep);
  text-decoration: none;
}

.contact-email:hover {
  text-decoration: underline;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  background: rgba(46, 107, 61, 0.1);
  color: var(--meadow-deep);
  font-size: 0.85rem;
  font-weight: 650;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(26, 61, 36, 0.92);
  color: rgba(255, 255, 255, 0.88);
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.site-footer a {
  color: #d8f0dc;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer h4 {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0.35rem 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.footer-copy {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  grid-column: 1 / -1;
}

/* —— Devices strip —— */
.devices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.devices span {
  font-size: 0.82rem;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: var(--title);
}
