/* CricAura public website. Plain HTML + this one stylesheet, so every page is
   readable by search engines without running any script. Colours follow the
   app: navy ground, orange action colour. */
:root {
  --bg: #020617;
  --surface: #0f172a;
  --surface-2: #111c33;
  --border: #1e293b;
  --border-strong: #334155;
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --muted: #94a3b8;
  --orange: #f97316;
  --on-orange: #1c0a00;
  --blue: #60a5fa;
  --max: 1120px;
}
* { 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: 16px;
  line-height: 1.6;
}
a { color: #fdba74; }
a:hover { color: #fed7aa; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { border-bottom: 1px solid var(--border); background: rgba(2, 6, 23, .92); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand:hover { color: var(--text); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--text-soft); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; font-weight: 800; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--orange); color: var(--on-orange); }
.btn-primary:hover { color: var(--on-orange); background: #fb8c3c; }
.btn-ghost { border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { color: var(--text); background: var(--surface); }
.nav .btn { min-height: 40px; padding: 0 14px; font-size: 15px; margin-left: 6px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--text-soft); margin: 0 0 28px; max-width: 34em; }
.hero-shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* tricolour rule */
.stripe { display: flex; height: 4px; }
.stripe span { flex: 1; }
.stripe span:nth-child(1) { background: #ff9933; }
.stripe span:nth-child(2) { background: #fff; }
.stripe span:nth-child(3) { background: #138808; }

/* sections */
section { padding: 56px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-intro { color: var(--text-soft); max-width: 46em; margin: 0 0 32px; font-size: 17px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
section.alt .card { background: var(--bg); }
.card p { margin: 0; color: var(--text-soft); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: #2a1606; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; stroke: #fdba74; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.split.flip > :first-child { order: 2; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
ul.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
ul.ticks li { position: relative; padding-left: 28px; margin: 8px 0; color: var(--text-soft); }
ul.ticks li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 12px; height: 7px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg); }

/* faq */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; }
details p { margin: 0 0 16px; color: var(--text-soft); }

/* cta band */
.cta { text-align: center; }
.cta .btn-row { justify-content: center; }

/* prose pages (legal, download) */
.prose { max-width: 780px; padding: 48px 20px 72px; margin: 0 auto; }
.prose h1 { font-size: clamp(30px, 4vw, 42px); }
.prose h2 { font-size: 24px; margin-top: 36px; }
.prose p, .prose li { color: var(--text-soft); }
.prose .updated { color: var(--muted); font-size: 14px; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .hero .wrap, .split, .grid.two { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .split.flip > :first-child { order: 0; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .nav { margin-left: 0; width: 100%; padding-bottom: 10px; }
  .nav .btn { margin-left: auto; }
}
