/* Golf Sparks — site styles.
   Palette is lifted directly from the app's SparkTheme (core/theme/Theme.kt)
   so the site and the product do not look like two different companies.
   Light and dark both come from there; the app supports both, so this does. */
:root {
  --primary: #007AFF;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --text: #333333;
  --text-2: #666666;
  --border: #E0E0E0;
  --success: #28A745;
  --radius: 12px;
  --max: 780px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #0A84FF;
    --bg: #000000;
    --surface: #1C1C1E;
    --text: #FFFFFF;
    --text-2: #AEAEB2;
    --border: #38383A;
    --success: #30D158;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

header.site {
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--bg); z-index: 10;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand { font-weight: 700; font-size: 18px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .mark { color: var(--primary); }
nav a { margin-left: 20px; font-size: 15px; color: var(--text-2); }

.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lede { font-size: 20px; color: var(--text-2); margin: 0 auto 32px; max-width: 34em; }
.badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.badge {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  border: 1px solid var(--border); color: var(--text-2); font-size: 15px;
  background: var(--surface);
}
.badge.live { background: var(--primary); color: #fff; border-color: var(--primary); }

section { padding: 40px 0; border-top: 1px solid var(--border); }
section h2 { font-size: 26px; margin: 0 0 8px; letter-spacing: -0.01em; }
section h3 { font-size: 19px; margin: 28px 0 6px; }
section p, section li { color: var(--text); }
.muted { color: var(--text-2); }

.features { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--text-2); font-size: 16px; }

.shot {
  border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 56px 20px; text-align: center; color: var(--text-2);
  background: var(--surface);
}

table { border-collapse: collapse; width: 100%; font-size: 16px; margin: 12px 0 4px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text-2); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }

.callout {
  border-left: 3px solid var(--success); background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px; margin: 20px 0;
}

footer.site {
  border-top: 1px solid var(--border); padding: 32px 0 56px;
  color: var(--text-2); font-size: 15px;
}
footer.site a { color: var(--text-2); margin-right: 18px; }

/* Calls to action on the homepage */
.cta p { margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.cta .button { display: inline-block; padding: 12px 18px; border-radius: 10px; background: #1f6b35; color: #fff; text-decoration: none; font-weight: 600; }
.cta .button.outline { background: transparent; color: #1f6b35; border: 2px solid #1f6b35; }
.shot-img { display: block; max-width: 320px; width: 100%; height: auto; margin: 16px auto 0; border-radius: 24px; }
