/* Pindr — pindrgolf.com
   Design tokens per Design-System-Brief.md §3.
   Inter only. No serifs, no italics, no gradients (one exception: the
   hero scrim, which is structural, not decoration). */

:root {
  --ink: #1f2a21;          /* moss — the site ground */
  --ink-deep: #16201a;     /* one step darker, for alternating bands */
  --paper: #f6f3ec;
  --mint: #cfe3cf;
  --mustard: #d6a640;
  --glass: rgba(255, 255, 255, 0.09);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --hairline: rgba(255, 255, 255, 0.22);
  --hairline-soft: rgba(255, 255, 255, 0.12);
  --text-dim: rgba(246, 243, 236, 0.72);
  --text-subtle: rgba(246, 243, 236, 0.52);
  --maxw: 1040px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
}

a { color: inherit; }

/* ---------- shared type ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 22px;
}

h2 {
  font-weight: 600;
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section {
  padding: clamp(64px, 10vw, 108px) 20px;
  border-top: 1px solid var(--hairline-soft);
}
.section--deep { background: var(--ink-deep); }
.inner { width: 100%; max-width: var(--maxw); margin: 0 auto; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 20px 44px;
  text-align: center;
  overflow: hidden;
}

.hero .bg {
  position: absolute;
  inset: 0;
  background-image: url("bg-1920.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* scrim: keeps the phones visible at the edges, calm behind the type */
.hero .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 62% 78% at 50% 46%,
    rgba(31, 42, 33, 0.90) 0%,
    rgba(31, 42, 33, 0.74) 52%,
    rgba(31, 42, 33, 0.52) 100%
  );
}

@media (max-width: 640px) {
  .hero .bg { background-image: url("bg-960.jpg"); }
  .hero .bg::after {
    background: radial-gradient(
      ellipse 80% 84% at 50% 46%,
      rgba(31, 42, 33, 0.94) 0%,
      rgba(31, 42, 33, 0.82) 52%,
      rgba(31, 42, 33, 0.62) 100%
    );
  }
}

/* bottom fade: hands the eye off to the section below */
.hero .bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(31, 42, 33, 0) 58%,
    rgba(31, 42, 33, 0.75) 88%,
    var(--ink) 100%
  );
  z-index: 1;
}

.hero__inner { position: relative; z-index: 2; max-width: 560px; }

.logo { width: 132px; display: block; margin: 0 auto 28px; }

h1 {
  font-weight: 600;
  font-size: clamp(30px, 5.6vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.hero__sub {
  margin-top: 16px;
  font-size: clamp(15px, 2.4vw, 17px);
  line-height: 1.5;
  color: var(--text-dim);
}

.hero__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-subtle);
}

/* ---------- app store badge ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 11px 20px 11px 17px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 11px;
  text-decoration: none;
  color: #fff;
  transition: transform 160ms ease, background-color 160ms ease;
}
.badge:hover { transform: translateY(-1px); background: #111; }
.badge:active { transform: translateY(0); }
.badge:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.badge svg { width: 25px; height: 25px; flex: none; fill: #fff; }

.badge__text { text-align: left; line-height: 1; }
.badge__small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.01em;
  margin-bottom: 3px;
  font-weight: 400;
}
.badge__big {
  display: block;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ---------- how it works ---------- */

.steps {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 8px;
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 30px; }
}

.step { border-top: 1px solid var(--hairline); padding-top: 18px; }

.step__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--mint);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.step p { font-size: 15px; line-height: 1.55; color: var(--text-dim); }

.aside {
  margin-top: 44px;
  padding: 22px 24px;
  background: var(--glass);
  border: 1px solid var(--hairline-soft);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dim);
}
.aside strong { color: var(--paper); font-weight: 600; }

/* ---------- screenshots ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 8px;
}
@media (max-width: 760px) {
  .shots {
    grid-auto-flow: column;
    grid-auto-columns: 66%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .shot { scroll-snap-align: center; }
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--hairline-soft);
}

.shot figcaption {
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* ---------- house rules ---------- */

.rules { margin-top: 8px; counter-reset: rule; }

.rules li {
  list-style: none;
  counter-increment: rule;
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.5;
  color: var(--text-dim);
}
.rules li::before {
  content: counter(rule);
  flex: none;
  width: 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--mustard);
  padding-top: 4px;
}

.rules__closer {
  margin-top: 26px;
  font-size: 15px;
  color: var(--text-subtle);
}

/* ---------- waitlist ---------- */

.card {
  margin-top: 26px;
  width: 100%;
  max-width: 460px;
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.field { margin-bottom: 14px; text-align: left; }

label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 7px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 12px 13px;
  font: inherit;
  font-size: 16px; /* 16px stops iOS zoom-on-focus */
  color: var(--paper);
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  outline: none;
}
input::placeholder { color: rgba(246, 243, 236, 0.38); }
input:focus { border-color: var(--mint); }

button {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: var(--mint);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 160ms ease;
}
button:hover { opacity: 0.9; }
button:disabled { opacity: 0.6; cursor: default; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.error {
  display: none;
  margin-top: 12px;
  font-size: 13px;
  color: #e8b4b4;
  text-align: left;
}

.done { display: none; text-align: left; }
.done h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.done p { font-size: 14px; line-height: 1.5; color: var(--text-dim); }

.note { margin-top: 16px; font-size: 12.5px; color: var(--text-subtle); }

/* ---------- closer + footer ---------- */

.closer {
  text-align: center;
  padding: clamp(70px, 11vw, 120px) 20px;
  border-top: 1px solid var(--hairline-soft);
}
.closer p {
  font-size: clamp(20px, 3.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.closer .badge { margin-top: 30px; }

footer {
  border-top: 1px solid var(--hairline-soft);
  padding: 30px 20px 44px;
  font-size: 12.5px;
  color: var(--text-subtle);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: space-between;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 14px 20px; }
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--paper); text-decoration: underline; }

/* ---------- doc pages (privacy, support) ---------- */

.doc { max-width: 680px; margin: 0 auto; padding: 44px 20px 96px; }

.doc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 30px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--hairline-soft);
}
.doc__top .logo { width: 96px; margin: 0; }
.doc__top a { font-size: 13px; color: var(--text-dim); text-decoration: none; }
.doc__top a:hover { color: var(--paper); }

.doc h1 { font-size: clamp(28px, 5vw, 38px); margin-bottom: 10px; }
.doc .updated { font-size: 13px; color: var(--text-subtle); margin-bottom: 34px; }

.doc h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 44px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline-soft);
}
.doc h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 26px 0 10px;
}
.doc p, .doc li {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.doc ul { padding-left: 20px; margin-bottom: 20px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--paper); font-weight: 600; }
.doc a { color: var(--mint); }
.doc .lede { font-size: 17px; color: var(--paper); margin-bottom: 24px; }
