/* CricVault website – matches the app: floodlit-night dark, lime accent. */
:root {
  --bg: #05070B;
  --surface: #0C1117;
  --surface-2: #121922;
  --line: #1C2530;
  --ink: #EAF0F6;
  --muted: #9AA7B4;
  --dim: #66727E;
  --accent: #B8FF3C;
  --on-accent: #0A0F04;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Segoe UI', Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box }
html, body { margin: 0; background: var(--bg); color: var(--ink) }
body { font-family: var(--body); font-size: 17px; line-height: 1.6 }
a { color: var(--accent) }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; flex-wrap: wrap }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: .3px }
.logo img { width: 36px; height: 36px; border-radius: 9px }
.logo b { color: var(--accent); font-weight: 800 }
.nav nav { display: flex; gap: 18px; flex-wrap: wrap }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px }
.nav nav a:hover { color: var(--ink) }

/* home */
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding-block: 48px 40px }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 7.5vw, 84px); line-height: .95; margin: 0 0 18px; text-wrap: balance; letter-spacing: -1px }
.hero h1 em { font-style: normal; color: var(--accent) }
.hero p { color: var(--muted); font-size: 19px; max-width: 34ch; margin: 0 0 26px }
.call { display: inline-flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; font-family: var(--display) }
.call .k { color: var(--dim); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700 }
.call .v { font-size: 28px; font-weight: 800 }
.call .v span { color: var(--accent) }
.stores { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px }
.store { border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; color: var(--muted); font-weight: 600; font-size: 15px }
.store b { color: var(--ink) }
.phone { justify-self: center; width: min(280px, 100%); aspect-ratio: 9 / 16; border-radius: 40px; border: 2px solid var(--line); background: linear-gradient(180deg, #0F1A0A, var(--bg)); padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 0 80px rgba(184, 255, 60, .12) }
.phone .score { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1 }
.phone .ov { color: var(--muted); font-size: 14px }
.phone .pop { align-self: center; margin-top: 10px; width: 120px; height: 120px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 64px; box-shadow: 0 0 40px rgba(184, 255, 60, .45) }
.phone .heard { margin-top: auto; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 14px; color: var(--muted) }
.phone .heard b { color: var(--ink) }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-block: 20px 56px }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px }
.feat h3 { font-family: var(--display); font-weight: 700; font-size: 24px; margin: 0 0 6px }
.feat p { color: var(--muted); margin: 0; font-size: 16px }

/* documents */
.doc { max-width: 760px; margin: 0 auto; padding-block: 24px 64px }
.doc h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 6vw, 56px); line-height: 1; margin: 10px 0 8px; text-wrap: balance }
.doc .meta { color: var(--dim); font-size: 14px; margin-bottom: 28px }
.doc h2 { font-family: var(--display); font-weight: 700; font-size: 28px; margin: 36px 0 8px; line-height: 1.15 }
.doc h3 { font-size: 18px; margin: 22px 0 4px }
.doc p, .doc li { color: #C9D3DD }
.doc ul, .doc ol { padding-left: 22px }
.doc li { margin: 4px 0 }
.doc strong { color: var(--ink) }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 18px 0 }
.box p:first-child { margin-top: 0 } .box p:last-child { margin-bottom: 0 }
.tbl { overflow-x: auto }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0 }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top }
th { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: 1px }
td { color: #C9D3DD }
.mail { font-weight: 700; color: var(--ink); user-select: all; background: var(--surface-2); padding: 2px 8px; border-radius: 6px }
.steps { counter-reset: s; list-style: none; padding: 0 }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 12px 0 }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; display: grid; place-items: center; font-size: 15px }

footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--dim); font-size: 14px }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap }
footer a { color: var(--muted); text-decoration: none; margin-right: 16px }
footer a:hover { color: var(--ink) }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-block: 24px 20px }
  .features { grid-template-columns: 1fr }
  .phone { width: min(240px, 100%) }
}
