/* Plumb Bob — the app's tour-broadcast look, on the web.
   Ink ground, warm off-white type, condensed uppercase Archivo headlines,
   JetBrains Mono labels. Yellow is the brand and the putting line. */

@font-face { font-family: "PB Display"; src: url("/assets/fonts/PBArchivo-W68-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "PB Button"; src: url("/assets/fonts/PBArchivo-W75-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "PB Sans"; src: url("/assets/fonts/PBArchivo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PB Sans"; src: url("/assets/fonts/PBArchivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "PB Sans"; src: url("/assets/fonts/PBArchivo-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "PB Mono"; src: url("/assets/fonts/PBMono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PB Mono"; src: url("/assets/fonts/PBMono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #0a0b0a;
  --card: #141615;
  --tile: #161817;
  --raised: #232624;
  --text: #f3f3ef;
  --muted: #a3a7a2;
  --dim: #6b6f6a;
  --quiet: #5d615c;
  --yellow: #f2d13a;
  --green: #3fcb7a;
  --red: #f0553f;
  --turf: #2c6541;
  --turf-stripe: #35744b;
  --rule: rgba(255, 255, 255, 0.12);
  --hairline: rgba(255, 255, 255, 0.08);
  --display: "PB Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --button: "PB Button", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans: "PB Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "PB Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Type */
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0;
  margin: 0;
  text-wrap: balance;
}
.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--yellow); }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--yellow); flex: none; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); max-width: 34em; text-wrap: pretty; }
.muted { color: var(--muted); }
.yellow { color: var(--yellow); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px; border-radius: 16px;
  font-family: var(--button); font-weight: 800; font-size: 19px; letter-spacing: 0.02em; text-transform: uppercase;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn:active { transform: scale(0.98); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-dark { background: var(--raised); color: var(--text); }
.btn-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--rule); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 16px; border-radius: 12px; }
.btn .sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; opacity: 0.7; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 10, 0.86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 14px; height: 24px; position: relative; flex: none; }
.brand .mark::before { content: ""; position: absolute; left: 6px; top: 0; width: 2px; height: 11px; background: var(--yellow); }
.brand .mark::after { content: ""; position: absolute; left: 0; bottom: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--text); }
.brand .word { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
@media (max-width: 880px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Phones */
.phone {
  position: relative;
  border-radius: 44px;
  padding: 7px;
  background: #151615;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  width: 100%;
}
.phone img { border-radius: 37px; width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; background: var(--card); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(56px, 9.6vw, 128px); line-height: 0.88; margin: 22px 0 26px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .note { margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; }
.hero-phones { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.hero-phones .phone:nth-child(2) { margin-top: 64px; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% 30%; height: 70%;
  background: radial-gradient(closest-side, rgba(63, 203, 122, 0.12), transparent 70%);
  pointer-events: none;
}
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-phones { max-width: 520px; }
}

/* Fact strip */
.facts { border-block: 1px solid var(--rule); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 22px 0 22px 20px; border-left: 1px solid var(--rule); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts .num { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 0.95; text-transform: uppercase; display: block; margin-top: 8px; }
@media (max-width: 720px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* Sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(44px, 6.4vw, 84px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.phone-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 560px; }
.phone-pair .phone:nth-child(2) { margin-top: 48px; }
.phone-one { max-width: 300px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
.step { display: grid; gap: 18px; align-content: start; }
.step .n { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 0.85; color: var(--yellow); }
.step h3 { font-family: var(--sans); font-weight: 700; font-size: 22px; margin: 0; }
.step p { color: var(--muted); }
.step .phone { max-width: 300px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--rule); }
.ticks li { display: grid; grid-template-columns: 44px 1fr; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.ticks .k { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--yellow); padding-top: 3px; }
.ticks b { display: block; font-weight: 700; font-size: 18px; }
.ticks span.d { color: var(--muted); font-size: 15px; }

/* Plumb-bob explainer */
.band { background: var(--card); border-block: 1px solid var(--hairline); }
.explain p + p { margin-top: 16px; }
.explain p { color: var(--muted); max-width: 36em; }
.explain strong { color: var(--text); font-weight: 600; }
.formula { margin-top: 24px; display: inline-flex; gap: 14px; align-items: baseline; padding: 14px 18px; background: var(--ink); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--hairline); }
.formula code { font-family: var(--mono); font-size: 15px; color: var(--yellow); }
.formula span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--dim); text-transform: uppercase; }

/* Score block */
.score { display: flex; align-items: flex-end; gap: 16px; margin-top: 28px; }
.score .big { font-family: var(--display); font-weight: 800; font-size: clamp(96px, 12vw, 160px); line-height: 0.78; letter-spacing: -0.02em; }
.score .cap { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; padding-bottom: 8px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 3vw, 40px); max-width: 980px; }
@media (max-width: 720px) { .trio { grid-template-columns: 1fr 1fr; } .trio .phone:nth-child(3) { display: none; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; }
.plan { background: var(--card); border-radius: 26px; padding: 28px; display: grid; gap: 18px; align-content: start; box-shadow: inset 0 0 0 1px var(--hairline); }
.plan.pro { box-shadow: inset 0 0 0 2px var(--yellow); }
.plan h3 { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 0.9; text-transform: uppercase; margin: 0; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 0.85; }
.plan .price span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; color: var(--muted); }
.plan li::before { content: "✓"; color: var(--green); font-weight: 700; }
.plan .alt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.badge { justify-self: start; background: var(--yellow); color: var(--ink); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 7px; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; font-weight: 700; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--yellow); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 24px; color: var(--muted); max-width: 44em; }
.faq .a p + p { margin-top: 12px; }

/* Closing CTA */
.closing { text-align: left; }
.closing h2 { font-size: clamp(56px, 9vw, 120px); }
.closing .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Footer */
footer { border-top: 1px solid var(--hairline); padding: 36px 0 48px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
footer a, footer p { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--quiet); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .rule { width: 100%; font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--quiet); }

/* Text pages (privacy, support) */
.page { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 110px); }
.page .wrap { max-width: calc(820px + 2 * var(--gutter)); }
.page h1 { font-size: clamp(52px, 8vw, 96px); margin: 18px 0 22px; }
.page h2 { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 0.95; text-transform: uppercase; margin: 48px 0 14px; }
.page p, .page li { color: var(--muted); }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 20px; display: grid; gap: 8px; }
.page strong { color: var(--text); }
.page .updated { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; }
.contact { margin-top: 48px; background: var(--card); border-radius: 22px; padding: 26px; display: grid; gap: 14px; box-shadow: inset 0 0 0 1px var(--hairline); }
.contact h2 { margin: 0; }

/* Reveal on scroll (content is visible without JS) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
.page .eyebrow { color: var(--yellow); }
