/* Pickle Player Connect marketing site. Tokens mirror ppc/app/src/theme.ts. */
:root {
  --bg: #F6F4EC; --surface: #FFFFFF; --surface-soft: #EFEEE2; --border: #E4E2D3;
  --ink: #1C2B1F; --heading: #1A4529; --sub: #57675A; --muted: #8A9484;
  --primary: #1A4529; --primary-pressed: #123420; --accent: #92B243;
  --accent-dark: #6E8F2E; --accent-tint: #EAF0D6;
  --live: #E4572E; --live-tint: #FCE9E1; --info: #3D6B8E; --info-tint: #E5EEF4;
  --gold: #C9A227; --gold-tint: #F7EFD8;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --radius-sm: 10px; --radius-md: 14px; --radius-lg: 20px;
  --shadow-card: 0 2px 6px rgba(26,69,41,.06);
  --shadow-raised: 0 4px 12px rgba(26,69,41,.12);
}
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--heading); }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); color: var(--heading); letter-spacing: -0.02em; margin: 0 0 12px; }
h1 { font-size: clamp(42px, 6.2vw, 72px); line-height: 1.02; font-weight: 700; }
h1 .alt { color: var(--accent-dark); }
h2 { font-size: clamp(26px, 3vw, 32px); }
h3 { font-size: 18px; }
p { margin: 0 0 14px; }
.lead { font-size: 19px; color: var(--sub); max-width: 32em; }
.eyebrow { font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 10px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head p { color: var(--sub); margin: 0; max-width: 40em; }
.section-head h2 { margin: 0; }
.link-more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-more::after { content: " \2192"; }

/* ---------- nav ---------- */
header.nav { background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
header.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand .word { display: flex; flex-direction: column; line-height: 1; }
.brand .word b { font-family: var(--display); font-weight: 700; color: var(--heading); letter-spacing: .18em; text-transform: uppercase; font-size: 17px; }
.brand .word small { font-family: var(--display); font-weight: 600; color: var(--accent-dark); letter-spacing: .16em; text-transform: uppercase; font-size: 9px; margin-top: 3px; white-space: nowrap; }
nav.links { display: flex; gap: 28px; }
nav.links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
nav.links a:hover { color: var(--accent-dark); }
.actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--border); border-radius: 8px; width: 40px; height: 40px; cursor: pointer; color: var(--heading); }
.mobile-menu { display: none; border-top: 1px solid var(--border); background: var(--surface); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 24px; text-decoration: none; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--border); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; border: 1.5px solid var(--primary); font-family: var(--body); font-size: 15px; cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-pressed); }
.btn.accent { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.accent:hover { background: #5f7d27; }
.btn.secondary { background: transparent; color: var(--primary); }
.btn.secondary:hover { background: var(--accent-tint); }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.light { background: #fff; color: var(--primary); border-color: #fff; }
.btn.light:hover { background: #EAF0D6; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 48px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 36px; }
.stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat { display: flex; gap: 12px; align-items: center; color: var(--sub); font-size: 14px; }
.stat .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-dark); display: grid; place-items: center; flex-shrink: 0; }
.stat .ico svg { width: 22px; height: 22px; }
.stat b { display: block; color: var(--heading); font-family: var(--display); font-size: 22px; line-height: 1.1; }

.art { position: relative; min-height: 420px; }
.art .blob { position: absolute; inset: 0; border-radius: 0 210px 210px 0 / 0 50% 50% 0; background: linear-gradient(135deg, var(--accent-tint) 0%, var(--accent) 65%, var(--accent-dark) 100%); overflow: hidden; }
.art .blob::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(26,69,41,.14) 1px, transparent 1px); background-size: 14px 14px; mask-image: linear-gradient(to right, rgba(0,0,0,.6), transparent 45%); -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.6), transparent 45%); }
.art .icon { position: absolute; left: 50%; top: 50%; width: 210px; height: 210px; transform: translate(-58%, -52%) rotate(-6deg); border-radius: 46px; box-shadow: 0 24px 40px rgba(26,69,41,.32); }
.float { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-raised); padding: 12px 14px; display: flex; gap: 10px; align-items: center; min-width: 230px; font-size: 13px; animation: bob 6s ease-in-out infinite; }
.float .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.float .dot svg { width: 18px; height: 18px; }
.float b { display: block; font-family: var(--display); font-size: 13px; color: var(--heading); }
.float span { color: var(--sub); }
.float.f1 { right: 4%; top: 12%; }
.float.f1 .dot { background: var(--info-tint); color: var(--info); }
.float.f2 { left: 2%; bottom: 14%; animation-delay: -3s; }
.float.f2 .dot { background: var(--accent-tint); color: var(--accent-dark); }
.float.f3 { right: 8%; bottom: 4%; animation-delay: -1.5s; }
.float.f3 .dot { background: var(--live-tint); color: var(--live); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- live tournaments strip ---------- */
section.live { padding: 24px 0 56px; }
.tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.tcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: transform .15s, box-shadow .15s; }
.tcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-raised); }
.tcard .media { position: relative; aspect-ratio: 16 / 9; background: var(--surface-soft); }
.tcard .media img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 16px; background: #fff; }
.tcard .date { position: absolute; left: 10px; bottom: -14px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 5px 10px; text-align: center; line-height: 1.05; box-shadow: var(--shadow-card); }
.tcard .date small { display: block; font-size: 10px; letter-spacing: .08em; color: var(--sub); text-transform: uppercase; font-weight: 600; }
.tcard .date b { font-family: var(--display); font-size: 18px; color: var(--heading); }
.tcard .badge { position: absolute; right: 10px; top: 10px; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-dark); }
.tcard .badge.live { background: var(--live-tint); color: var(--live); }
.tcard .badge.ppa { background: var(--gold-tint); color: #8a6d12; }
.tcard .body { padding: 22px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tcard h3 { font-size: 15px; margin: 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tcard .meta { color: var(--sub); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.tcard .meta svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--muted); }
.tcard .foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--sub); }
.tcard .foot b { color: var(--heading); font-family: var(--display); }
.tcards .skeleton { height: 250px; border-radius: var(--radius-md); background: linear-gradient(90deg, var(--surface-soft) 25%, #f7f6ef 50%, var(--surface-soft) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border: 1px solid var(--border); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.live .note { color: var(--muted); font-size: 13px; margin-top: 12px; }

/* ---------- features ---------- */
section.features { padding: 48px 0 56px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-card); }
.card .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 22px; height: 22px; }
.card p { color: var(--sub); font-size: 15px; margin: 0; }
.card h3 { margin-bottom: 6px; }

/* ---------- how it works ---------- */
section.how { padding: 8px 0 64px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 22px 22px 22px 68px; background: var(--surface-soft); border-radius: var(--radius-md); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.step h3 { font-size: 16px; margin-bottom: 4px; }
.step p { color: var(--sub); font-size: 14px; margin: 0; }

/* ---------- get the app ---------- */
section.get { background: var(--primary); color: #fff; padding: 60px 0; position: relative; overflow: hidden; }
section.get::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(146,178,67,.18); }
section.get .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
section.get h2 { color: #fff; }
section.get p { color: #D7E2D9; max-width: 40em; }
.get .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.get small { display: block; margin-top: 16px; color: #A9BBAF; }
.get small a { color: #fff; }
.get .phone { justify-self: center; width: 250px; background: #F6F4EC; border-radius: 34px; padding: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.3); color: var(--ink); }
.get .phone .screen { background: var(--bg); border-radius: 24px; padding: 14px 12px; font-size: 12px; }
.get .phone .row-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; margin-top: 8px; display: flex; gap: 8px; align-items: center; }
.get .phone .row-item i { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-tint); flex-shrink: 0; }
.get .phone .row-item i.blue { background: var(--info-tint); }
.get .phone .row-item i.red { background: var(--live-tint); }
.get .phone .row-item b { display: block; font-size: 12px; color: var(--heading); font-family: var(--display); }
.get .phone .row-item span { color: var(--sub); font-size: 11px; }
.get .phone .title { font-family: var(--display); color: var(--heading); font-size: 14px; margin: 2px 0 6px; }
.get .phone .tabs { display: flex; justify-content: space-around; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); color: var(--muted); font-size: 9px; }
.get .phone .tabs b { color: var(--primary); }

/* ---------- faq ---------- */
section.faq { padding: 56px 0 64px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 20px; color: var(--accent-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--sub); padding-bottom: 16px; margin: 0; }

/* ---------- footer ---------- */
footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer nav a { color: var(--sub); margin-left: 18px; text-decoration: none; }
footer nav a:hover { color: var(--heading); }

/* ---------- legal / doc pages ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.doc h1 { font-size: 36px; }
.doc h2 { font-size: 22px; margin-top: 32px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc .todo { background: #FFF6D6; border: 1px solid #EAD48A; border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.doc code { background: var(--surface-soft); padding: 2px 6px; border-radius: 4px; font-size: 14px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 48px 24px; }
.notfound h1 { font-size: 64px; margin-bottom: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .art { min-height: 340px; }
  .art .blob { border-radius: 28px; }
  section.get .wrap { grid-template-columns: 1fr; }
  .get .phone { display: none; }
}
@media (max-width: 820px) {
  nav.links, header.nav .actions .btn.secondary { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .hero h1 { font-size: clamp(38px, 10vw, 56px); }
  .float.f1 { right: 2%; top: 6%; }
  .float.f2 { left: 0; bottom: 10%; }
  .float.f3 { display: none; }
  .stats { gap: 22px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .float { min-width: 0; font-size: 12px; }
  .art .icon { width: 170px; height: 170px; border-radius: 38px; }
}
