/* Krickets LLC — site styles */
:root {
  --navy: #10213d;
  --navy-2: #17345f;
  --navy-3: #254b7d;
  --gold: #d4a63a;
  --gold-soft: #f7efd9;
  --ink: #111a2b;
  --text: #2c3647;
  --muted: #5d6878;
  --line: #e3e7ed;
  --soft: #f5f7fa;
  --bg: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 33, 61, .05), 0 8px 24px rgba(16, 33, 61, .06);
  --wrap: 1160px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--navy-3); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: inherit; font-size: .98rem; font-weight: 600; line-height: 1;
  border: 1.5px solid transparent; border-radius: 10px;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #e0b44a; color: var(--navy); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--navy-2); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.scrolled, .header.solid { border-bottom-color: var(--line); }
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo img { width: 32px; height: 32px; }
.logo span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 8px; color: var(--text); font-size: .95rem; font-weight: 500; text-decoration: none; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { background: var(--soft); color: var(--ink); }
.nav .btn { margin-left: 8px; min-height: 42px; padding: 0 18px; color: #fff; }
.nav .btn:hover { background: var(--navy-2); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; stroke: var(--ink); }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(16,33,61,.08);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .nav .btn { margin: 8px 0 0; min-height: 48px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 96px; background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 24px; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #22a35a; box-shadow: 0 0 0 4px rgba(34,163,90,.15); }
.hero h1 em { font-style: normal; color: var(--navy-3); }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat b { display: block; font-size: 1.8rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); }

.phone {
  position: relative; width: 280px; max-width: 100%; aspect-ratio: 9 / 19; margin: 0 auto;
  border-radius: 44px; background: var(--navy); padding: 12px;
  box-shadow: 0 30px 60px rgba(16,33,61,.22);
}
.phone-screen { height: 100%; border-radius: 34px; background: linear-gradient(160deg, var(--navy-2), var(--navy)); padding: 52px 22px 22px; display: flex; flex-direction: column; gap: 14px; }
.phone-screen::before { content: ""; position: absolute; top: 24px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 20px; background: #050b16; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.app-tile { aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.app-tile svg { width: 26px; height: 26px; stroke: #fff; }
.app-tile.gold { background: var(--gold); }
.app-tile.gold svg { stroke: var(--navy); }
.phone-card { margin-top: auto; background: #fff; border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.phone-card .dot { width: 36px; height: 36px; border-radius: 10px; background: var(--gold-soft); display: grid; place-items: center; flex: none; }
.phone-card .dot svg { width: 18px; height: 18px; stroke: var(--navy); }
.phone-card b { display: block; font-size: .85rem; color: var(--ink); line-height: 1.2; }
.phone-card span { display: block; font-size: .72rem; line-height: 1.3; color: var(--muted); }
@media (max-width: 900px) { .phone-screen { padding: 48px 16px 16px; } .phone-card { padding: 12px; gap: 10px; } .phone-card .dot { width: 30px; height: 30px; } }
.bars { display: flex; flex-direction: column; gap: 8px; }
.bars i { display: block; height: 10px; border-radius: 6px; background: rgba(255,255,255,.14); }
.bars i:nth-child(2) { width: 75%; }
.bars i:nth-child(3) { width: 50%; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-visual { order: 2; }
  .phone { width: 230px; }
}
@media (max-width: 480px) {
  .stats { gap: 20px 28px; }
  .stat b { font-size: 1.5rem; }
  .actions .btn { flex: 1 1 100%; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #cdd5df; box-shadow: var(--shadow); }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; margin-bottom: 20px; }
.icon svg { width: 24px; height: 24px; stroke: var(--navy-2); }
.icon.gold { background: var(--gold-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding: 0; list-style: none; }
.chips li { font-size: .8rem; font-weight: 600; color: var(--navy-2); background: var(--soft); padding: 4px 10px; border-radius: 6px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 18px; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Work */
.work { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.work-cover { height: 150px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.work-cover svg { width: 52px; height: 52px; stroke: #fff; }
.work-cover.gold { background: linear-gradient(135deg, #e1b955, var(--gold)); }
.work-cover.gold svg { stroke: var(--navy); }
.work-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.work-meta { display: flex; gap: 20px; margin-top: auto; padding-top: 20px; font-size: .9rem; color: var(--muted); }
.work-meta b { color: var(--ink); }

/* Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.checks li { display: flex; gap: 16px; }
.checks .icon { margin: 0; flex: none; width: 44px; height: 44px; }
.checks h3 { font-size: 1.02rem; margin-bottom: 4px; }
.checks p { color: var(--muted); font-size: .95rem; margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 400px) { .stat-box { padding: 24px 12px; } .stat-box b { font-size: 2rem; } }
.stat-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.stat-box b { display: block; font-size: 2.4rem; font-weight: 800; color: var(--navy); letter-spacing: -.04em; line-height: 1.1; }
.stat-box span { font-size: .92rem; color: var(--muted); }

/* Quotes */
.quote { display: flex; flex-direction: column; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 1rem; }
.quote blockquote { margin: 0 0 24px; color: var(--text); font-size: 1rem; }
.person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-2); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 700; flex: none; }
.person b { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.person span { font-size: .85rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq details[open] { border-color: #cdd5df; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 1.2rem; font-weight: 500; color: var(--navy-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* CTA band */
.cta { background: var(--navy); color: rgba(255,255,255,.75); border-radius: 20px; padding: 64px 48px; text-align: center; }
.cta h2 { color: #fff; }
.cta p { max-width: 560px; margin: 0 auto 32px; font-size: 1.08rem; }
.cta .actions { justify-content: center; }
@media (max-width: 620px) { .cta { padding: 48px 24px; border-radius: 16px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 48px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.page-hero p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
@media (max-width: 700px) { .page-hero { padding: 40px 0 32px; } }

/* ---------- Legal layout ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-top: 56px; padding-bottom: 96px; align-items: start; }
.legal-side { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; font-size: .9rem; padding-right: 4px; }
.side-title { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.side-list { list-style: none; padding: 0; margin: 0 0 28px; }
.side-list a { display: block; padding: 6px 12px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; line-height: 1.4; }
.side-list a:hover { color: var(--ink); border-left-color: #b8c2cf; }
.side-list a.active, .side-list a[aria-current="page"] { color: var(--navy); border-left-color: var(--gold); font-weight: 600; }
.toc-toggle { display: none; }

.doc { max-width: 760px; }
.doc h2 { font-size: 1.55rem; margin: 56px 0 16px; padding-top: 8px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.12rem; margin: 32px 0 10px; }
.doc h4 { font-size: 1rem; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.doc li { margin-bottom: .45em; }
.doc li::marker { color: var(--gold); }
.doc strong { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .92rem; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--soft); color: var(--ink); font-weight: 600; }
.to-top { display: inline-flex; margin-top: 48px; font-size: .9rem; font-weight: 600; }

@media (max-width: 960px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; padding-bottom: 72px; }
  .legal-side { position: static; max-height: none; overflow: visible; padding: 0; }
  .toc-toggle {
    display: flex; width: 100%; justify-content: space-between; align-items: center;
    min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px;
    background: #fff; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
  }
  .toc-toggle svg { width: 18px; height: 18px; stroke: var(--ink); transition: transform .2s; }
  .toc-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .side-panel { display: none; margin-top: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
  .side-panel.open { display: block; }
  .side-list:last-child { margin-bottom: 0; }
  .doc h2 { font-size: 1.35rem; margin-top: 44px; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; padding-top: 56px; padding-bottom: 96px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 32px; padding-bottom: 72px; } }
.info-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.info-list .icon { margin: 0; flex: none; width: 44px; height: 44px; }
.info-list b { display: block; color: var(--ink); }
.info-list span, .info-list a { font-size: .95rem; }
.info-list small { display: block; color: var(--muted); font-size: .85rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form { padding: 22px; } .form-row { grid-template-columns: 1fr; gap: 0; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 4px rgba(37,75,125,.12); }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; margin: 14px 0 0; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--gold-soft); color: var(--ink); font-size: .92rem; }
.form-status.show { display: block; }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; text-align: center; padding-top: 80px; padding-bottom: 80px; }
.notfound b { display: block; font-size: clamp(5rem, 14vw, 8rem); font-weight: 900; line-height: 1; color: var(--navy); letter-spacing: -.05em; }
.notfound p { color: var(--muted); margin-bottom: 28px; }
.notfound .actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 64px 0 28px; font-size: .93rem; }
.footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 320px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
