/* AI Punter — the app's own palette, so the site and the product are one thing.
   Every value here is lifted from ui/Theme.kt rather than re-picked by eye. */

:root {
  --bg:        #181818;
  --chrome:    #141414;
  --surface:   #1e1e1e;
  --stroke:    rgba(228, 228, 228, 0.09);
  --stroke-2:  rgba(228, 228, 228, 0.14);
  --text:      rgba(228, 228, 228, 0.92);
  --text-2:    rgba(228, 228, 228, 0.55);
  --text-3:    rgba(228, 228, 228, 0.37);
  --accent:    #599ce7;
  --gold:      #d4a017;
  --hit:       #16a34a;
  --measure:   1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* ---------------------------------------------------------------- header */

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(24, 24, 24, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--stroke);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.35px;
}

.brand img { width: 32px; height: 32px; display: block; }

nav.site a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  margin-left: 26px;
}

nav.site a:hover { color: var(--text); }

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

.hero { padding: 92px 0 12px; text-align: center; }

h1 {
  margin: 0;
  font-size: clamp(34px, 6.2vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.6px;
}

.lede {
  margin: 22px auto 0;
  max-width: 620px;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--text-2);
}

/* The Play button. Rendered as a real control but not yet a link: the listing
   does not exist until the app is published, and a dead store link on a
   sign-in page is worse than an honest "not yet". To go live, swap the <span>
   for <a href="https://play.google.com/store/apps/details?id=com.trinitytechnologies.aipunter">
   and delete .cta-note. */
.cta-row {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 13px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.15px;
  text-decoration: none;
  border: 0;
}

.cta[aria-disabled="true"] { opacity: 0.62; cursor: default; }
.cta:not([aria-disabled]):hover { filter: brightness(1.08); }
.cta svg { display: block; }

.cta-note { font-size: 13.5px; color: var(--text-3); }

.pill {
  display: inline-block;
  margin-top: 30px;
  padding: 7px 15px;
  border: 1px solid var(--stroke-2);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-3);
}

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

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 66px 0 8px;
  align-items: start;
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--stroke-2);
  border-radius: 20px;
}

.shot p {
  margin: 15px 2px 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-3);
  text-align: center;
}

/* --------------------------------------------------------------- sections */

section { padding: 76px 0; }
section + section { border-top: 1px solid var(--stroke); }

h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.9px;
}

h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--accent);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.card {
  padding: 26px 24px 28px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 16px;
}

.card p { font-size: 15px; line-height: 1.6; color: var(--text-2); }

.note {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-left: 2px solid var(--gold);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ---------------------------------------------------------- legal content */

.legal { padding: 60px 0 20px; }
.legal h1 { font-size: clamp(29px, 5vw, 40px); letter-spacing: -1.1px; }
.legal h2 { font-size: 20px; letter-spacing: -0.5px; margin-top: 42px; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 9px; }

.updated { font-size: 14px; color: var(--text-3); margin-bottom: 34px; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 8px;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 11px 14px;
  border: 1px solid var(--stroke);
  color: var(--text-2);
  vertical-align: top;
}

th { background: var(--surface); color: var(--text); font-weight: 600; }

a { color: var(--accent); }

/* ----------------------------------------------------------------- footer */

footer.site {
  border-top: 1px solid var(--stroke);
  background: var(--chrome);
  padding: 46px 0 56px;
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.75;
}

footer.site .links { margin-bottom: 20px; }
footer.site .links a { color: var(--text-2); text-decoration: none; margin-right: 24px; }
footer.site .links a:hover { color: var(--text); }
footer.site .fine { max-width: 640px; }

@media (max-width: 780px) {
  .shots { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding-top: 62px; }
  section { padding: 58px 0; }
  nav.site a { margin-left: 18px; font-size: 14px; }
}
