/* golfgameslive.com, "Website A: Scorecard" from the approved design canvas:
   cream paper, navy ink, a yellow highlighter, handwritten scores in Kalam,
   IBM Plex Sans for everything else. Light only, like a paper card. */
:root {
  --paper: #FBFAF6;
  --card: #FFFFFF;
  --ink: #1B1B1B;
  --ink-soft: #3A3630;
  --muted: #555048;
  --navy: #1D3A8A;
  --navy-deep: #142A66;
  --navy-pale: #DCE3F5;
  --navy-text: #E3E8F6;
  --yellow: #FFD34D;
  --highlight: #FFF3C4;
  --line: #E2DDD0;
  --card-line: #BDB6A6;
  --green: #2F6B3A;
  --red: #C8102E;
  --board: #0B1A2E;
  --board-row: #13284A;
  --board-muted: #9FB3CF;
  --board-text: #C7D3E3;
  --maxw: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif; background: var(--paper); color: var(--ink); line-height: 1.5; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
img { max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hand { font-family: Kalam, "Comic Sans MS", cursive; }
.kick { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--navy); text-transform: uppercase; }

/* Header */
header.top { border-bottom: 2px solid var(--navy); background: var(--paper); }
.nav { max-width: var(--maxw); margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand .mark { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.brand .name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.nav a.link { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); }
.nav a.link:hover, .nav a.link.active { color: var(--navy); }
.nav a.cta { font-size: 15px; font-weight: 600; text-decoration: none; color: #fff; background: var(--navy); padding: 12px 18px; border-radius: 6px; }
.nav a.cta:hover { background: var(--navy-deep); color: #fff; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px; padding: 14px 20px; border-radius: 6px; background: var(--navy); color: #fff; border: 2px solid var(--navy); cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn.yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn.yellow:hover { background: #f5c62f; border-color: #f5c62f; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy-pale); color: var(--navy); }
.btn:disabled { opacity: .6; cursor: default; }

/* Store buttons. "soon" keeps the shape but is not a link yet. */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.store { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; padding: 12px 18px; border-radius: 10px; min-height: 44px; }
.store svg { flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 11px; }
.store b { font-size: 18px; font-weight: 600; }
.store.soon { background: transparent; color: var(--ink); border: 1.5px dashed var(--card-line); cursor: default; }

/* Hero */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 72px 24px 56px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero .copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.tag { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--navy); border: 1.5px solid var(--navy); padding: 6px 10px; border-radius: 4px; text-transform: uppercase; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; }
.hero .lede { font-size: 20px; line-height: 1.5; color: var(--ink-soft); max-width: 560px; }
.hero .fine { font-size: 14px; color: var(--muted); }
.hero .visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }

/* The scorecard */
.scorecard { width: 100%; max-width: 470px; background: var(--card); border: 2px solid var(--navy); border-radius: 8px; box-shadow: 10px 10px 0 var(--navy-pale); overflow: hidden; }
.scorecard .head { padding: 14px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 2px solid var(--navy); }
.scorecard .head b { font-size: 18px; font-weight: 700; }
.scorecard .head span { font-size: 13px; color: var(--muted); }
.scorecard .scroll { overflow-x: auto; }
.scorecard .grid { min-width: 420px; }
.scorecard .holes { display: grid; grid-template-columns: 70px repeat(9, minmax(0, 1fr)); background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; text-align: center; }
.scorecard .holes span { padding: 7px 0; }
.scorecard .holes span:first-child { text-align: left; padding-left: 10px; }
.scorecard .holes span.cur { background: var(--yellow); color: var(--ink); }
.scorecard .row { display: grid; grid-template-columns: 70px repeat(9, minmax(0, 1fr)); text-align: center; border-bottom: 1px solid var(--line); height: 50px; align-items: center; }
.scorecard .row .who { text-align: left; padding-left: 10px; font-weight: 700; font-size: 15px; }
.scorecard .row .c { height: 100%; display: flex; align-items: center; justify-content: center; }
.scorecard .row .c.cur { background: var(--highlight); }
.scorecard .row .c i { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-family: Kalam, cursive; font-style: normal; font-size: 20px; color: var(--navy); }
.scorecard .row .c i.birdie { border: 1.5px solid var(--navy); border-radius: 14px; }
.scorecard .row .c i.bogey { border: 1.5px solid var(--navy); border-radius: 2px; }
.scorecard .foot { padding: 14px 16px; background: var(--highlight); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.scorecard .foot .plus { font-weight: 700; color: var(--green); }

/* Sections */
section.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step .num { font-family: Kalam, cursive; font-size: 40px; color: var(--navy); line-height: 1; }
.step h2 { font-size: 22px; font-weight: 700; }
.step p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }

.block { max-width: var(--maxw); margin: 0 auto; padding: 72px 24px; display: flex; flex-direction: column; gap: 28px; }
.block .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.block .head > div { display: flex; flex-direction: column; gap: 8px; }
.block h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.block .more { font-size: 16px; font-weight: 600; }

.gamegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.game { background: var(--card); border: 1.5px solid var(--card-line); border-radius: 6px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.game .kind { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.game .name { font-size: 20px; font-weight: 700; }
.game .blurb { font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.game .aka { font-size: 13px; color: var(--muted); }

/* For courses, the navy band */
.navyband { background: var(--navy); color: #fff; }
.navyband .inner { max-width: var(--maxw); margin: 0 auto; padding: 72px 24px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.navyband .copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.navyband .kick { color: var(--yellow); }
.navyband h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 700; }
.navyband p { font-size: 18px; line-height: 1.55; color: var(--navy-text); }
.navyband ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.navyband li { display: flex; gap: 10px; }
.navyband li::before { content: "\2713"; color: var(--yellow); font-weight: 700; }
.navyband .btn.yellow { align-self: flex-start; margin-top: 6px; }
.navyband .tv { flex: 1 1 520px; min-width: 0; }
.tvframe { background: #111; border-radius: 18px; padding: 12px; }
.tvscreen { background: var(--board); border-radius: 10px; overflow: hidden; }
.tvscreen .bar { display: flex; height: 40px; }
.tvscreen .live { background: var(--red); padding: 0 14px; display: flex; align-items: center; font-weight: 700; letter-spacing: 0.06em; }
.tvscreen .title { padding: 0 14px; display: flex; align-items: center; font-weight: 600; font-size: 15px; }
.tvscreen .rows { padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.tvscreen .r { display: grid; grid-template-columns: 44px 1fr 56px 44px; align-items: center; height: 34px; padding: 0 10px; background: var(--board-row); border-radius: 5px; font-size: 15px; }
.tvscreen .r .pos { color: var(--board-muted); font-weight: 700; }
.tvscreen .r .nm { font-weight: 600; }
.tvscreen .r .par { justify-self: center; min-width: 40px; text-align: center; border-radius: 4px; padding: 2px 0; font-weight: 700; background: var(--red); color: #fff; }
.tvscreen .r .par.even { background: #fff; color: var(--board); }
.tvscreen .r .thru { text-align: center; color: var(--board-text); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.plan { background: var(--card); color: var(--ink); border: 2px solid var(--navy); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.plan.navy { background: var(--navy); color: #fff; }
.plan.yellow { background: var(--highlight); }
.plan .pname { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.plan .price { font-size: 34px; font-weight: 700; line-height: 1; }
.plan .per { font-size: 14px; opacity: .85; }
.plan .what { font-size: 15px; line-height: 1.5; }
.plan .btn { align-self: flex-start; margin-top: 4px; }
.note { font-size: 14px; color: var(--muted); }

/* Generic page (support, legal, games) */
.page { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 72px; display: flex; flex-direction: column; gap: 20px; }
.page.narrow { max-width: 820px; }
.page h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
.page .lede { font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 640px; }
.page h2 { font-size: 24px; font-weight: 700; margin-top: 18px; }
.page h3 { font-size: 18px; font-weight: 700; margin-top: 8px; }
.page p, .page li { font-size: 16px; line-height: 1.6; }
.page ul, .page ol { margin-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.page blockquote { border-left: 3px solid var(--navy); padding: 6px 14px; color: var(--ink-soft); }
.page hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.page code { font-size: .9em; background: var(--highlight); padding: 1px 5px; border-radius: 3px; }
.meta { font-size: 14px; color: var(--muted); }
.numbered { counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.numbered .s { display: grid; grid-template-columns: 44px 1fr; gap: 12px; background: var(--card); border: 1.5px solid var(--card-line); border-radius: 6px; padding: 18px; }
.numbered .s::before { counter-increment: s; content: counter(s); font-family: Kalam, cursive; font-size: 34px; color: var(--navy); line-height: 1; }
.numbered .s h3 { margin: 0 0 4px; }
.numbered .s p { color: var(--ink-soft); font-size: 15px; }
.callout { background: var(--highlight); border-radius: 6px; padding: 18px 20px; font-size: 15px; line-height: 1.55; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 4px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 16px; }
.faq p { color: var(--ink-soft); padding-top: 8px; max-width: 46em; }

/* Support form */
.formcard { background: var(--card); border: 2px solid var(--navy); border-radius: 8px; padding: 24px; max-width: 680px; box-shadow: 10px 10px 0 var(--navy-pale); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.seg button { border: 1.5px solid var(--navy); background: transparent; padding: 9px 14px; border-radius: 6px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; min-height: 44px; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.formcard label { display: block; font-weight: 700; margin: 14px 0 6px; }
.formcard textarea, .formcard input[type=email], .formcard input[type=text] { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--card-line); border-radius: 6px; padding: 12px 14px; }
.formcard textarea { min-height: 150px; resize: vertical; }
.formcard textarea:focus, .formcard input:focus { outline: 2px solid var(--navy); border-color: transparent; }
.formcard .hint { color: var(--muted); font-size: 14px; margin-top: 6px; }
.formcard .actions { margin-top: 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.statusline { font-weight: 600; }
.statusline.ok { color: var(--green); }
.statusline.err { color: var(--red); }

/* Games page */
.catgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.cat h2 { font-size: 22px; display: flex; align-items: baseline; gap: 10px; }
.cat h2 small { font-size: 14px; color: var(--muted); font-weight: 500; }
.game .meta { font-size: 13px; color: var(--muted); }

/* Footer */
footer { border-top: 2px solid var(--navy); background: var(--card); }
footer .inner { max-width: var(--maxw); margin: 0 auto; padding: 32px 24px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; font-size: 14px; color: var(--ink-soft); }
footer .fname { font-weight: 700; color: var(--ink); margin-right: auto; }
footer .legal { flex-basis: 100%; }

@media (max-width: 640px) {
  .nav { padding: 14px 20px; gap: 12px 18px; }
  .brand .name { font-size: 18px; }
  .hero { padding-top: 40px; }
  .scorecard { box-shadow: 6px 6px 0 var(--navy-pale); }
  .block, .page { padding-top: 48px; padding-bottom: 48px; }
}

/* The red "Live" in the wordmark (same red as the LIVE tag on the Board). */
.brand .name .live, footer .fname .live { color: var(--red); }
