/* Bench Book marketing site. Colours and type match the app: rink navy, electric blue to ice cyan, goal-light red. */
:root {
  --bg: #f4f6fb;
  --panel: #ffffff;
  --ink: #0b1324;
  --muted: #5a6782;
  --line: #e2e8f2;
  --brand: #2f5bff;
  --brand-2: #00b8f0;
  --brand-grad: linear-gradient(135deg, #2f5bff, #00b8f0);
  --link: #2648e0;
  --accent: #ff3d5a;
  --ok: #0f9d63;
  --soft: #eaf0ff;
  --navy: #0b1324;
  --navy-2: #17223a;
  --shadow: 0 1px 2px rgba(11, 19, 36, 0.04), 0 8px 28px rgba(11, 19, 36, 0.08);
  --shadow-lg: 0 30px 80px -20px rgba(11, 19, 36, 0.35);
  --radius: 16px;
  --wrap: 1180px;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #070b14;
  --panel: #0f1626;
  --ink: #e8eef8;
  --muted: #8d9ab3;
  --line: #1e2a40;
  --brand: #4c6fff;
  --link: #8fa8ff;
  --accent: #ff5c74;
  --ok: #3fd28f;
  --soft: #18254a;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; border-radius: 6px; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo img { width: 36px; height: 36px; filter: drop-shadow(0 4px 12px rgba(47, 91, 255, 0.35)); }
.wordmark { font-weight: 800; letter-spacing: -0.03em; font-size: 1.3rem; line-height: 1; white-space: nowrap; }
.wordmark b { font-weight: 800; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px;
  font: inherit; font-weight: 700; font-size: 0.98rem; text-decoration: none; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { background: var(--brand-grad); color: #fff; border: 0; box-shadow: 0 10px 30px -8px rgba(47, 91, 255, 0.6); }
.btn.primary:hover { box-shadow: 0 14px 34px -8px rgba(47, 91, 255, 0.75); }
.btn.ghost-dark { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.18); }
.btn.lg { padding: 15px 26px; font-size: 1.05rem; border-radius: 14px; }
.btn.sm { padding: 8px 14px; font-size: 0.9rem; border-radius: 10px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 10px; }
.site-nav a:hover { color: var(--ink); background: var(--soft); }
.header-cta { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; }
.theme-icon-dark { display: none; }
:root[data-theme='dark'] .theme-icon-dark { display: block; }
:root[data-theme='dark'] .theme-icon-light { display: none; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .menu-btn { display: inline-grid; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .header-cta { margin-left: auto; }
  .header-cta .signin { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 72px 0 0;
  background: radial-gradient(1200px 520px at 100% -10%, rgba(0, 184, 240, 0.42), transparent 60%), radial-gradient(1000px 640px at -15% 110%, rgba(47, 91, 255, 0.55), transparent 60%), var(--navy);
}
.hero::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -55%; height: 80%; border: 2px solid rgba(255, 255, 255, 0.07); border-radius: 50%; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { text-align: center; max-width: 860px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: #cfe0ff; font-size: 0.85rem; font-weight: 600; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 61, 90, 0.25); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; margin: 22px 0 20px; }
.grad-text { background: linear-gradient(135deg, #6f8cff, #5ee6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { color: #b8c4dc; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 640px; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { color: #8e9cb8; font-size: 0.88rem; margin-top: 16px; }
.hero-shot { margin: 56px auto 0; max-width: 1080px; position: relative; }
.hero-shot .frame { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(15, 22, 38, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14); color: #e8eef8; font-size: 0.88rem; font-weight: 600; box-shadow: var(--shadow-lg); backdrop-filter: blur(10px);
}
.float-chip .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-grad); font-size: 15px; }
.float-chip small { display: block; color: #8e9cb8; font-weight: 500; font-size: 0.78rem; }
.chip-a { left: -40px; top: 22%; }
.chip-b { right: -36px; top: 48%; }
@media (max-width: 1180px) { .chip-a { left: 8px; } .chip-b { right: 8px; } }
@media (max-width: 720px) { .float-chip { display: none; } .hero { padding-top: 48px; } }

/* ---------- browser frame for screenshots ---------- */
.frame { border-radius: 14px; overflow: hidden; background: #0f1626; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: var(--shadow-lg); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #17223a; }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2b3a5a; }
.frame-bar i:nth-child(1) { background: #ff5f57; } .frame-bar i:nth-child(2) { background: #febc2e; } .frame-bar i:nth-child(3) { background: #28c840; }
.frame-bar span { margin: 0 auto; transform: translateX(-24px); font-size: 0.75rem; color: #8e9cb8; background: #0f1626; padding: 3px 14px; border-radius: 6px; }
.light-frame { border-color: var(--line); }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .kicker { display: inline-block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin-top: 16px; }

.strip { padding: 28px 0; border-bottom: 1px solid var(--line); background: var(--panel); }
.strip .wrap { display: flex; gap: 14px 36px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip svg { width: 18px; height: 18px; color: var(--brand); }

/* feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 64px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); }
.feature.flip .feature-copy { order: 2; }
.feature-copy .tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); font-size: 0.9rem; margin-bottom: 14px; }
.feature-copy .tag .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); font-size: 16px; }
.feature-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.feature-copy > p { color: var(--muted); font-size: 1.08rem; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before {
  content: ''; width: 22px; height: 22px; flex: none; margin-top: 2px; border-radius: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat, var(--brand-grad);
}
.feature-shot { position: relative; }
.feature-shot::before { content: ''; position: absolute; inset: 10% -6% -8% 10%; background: var(--brand-grad); filter: blur(60px); opacity: 0.18; border-radius: 40px; z-index: -1; }
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-copy { order: 0; }
  .feature + .feature { margin-top: 80px; }
}

/* card grid */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); font-size: 20px; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* dark band */
.band { color: #fff; background: radial-gradient(900px 400px at 90% 0%, rgba(0, 184, 240, 0.3), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(47, 91, 255, 0.4), transparent 60%), var(--navy); }
.band .section-head p { color: #b8c4dc; }
.band .section-head .kicker { color: #5ee6ff; }
.band .card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); box-shadow: none; }
.band .card p { color: #b8c4dc; }
.band .card .ic { background: rgba(255, 255, 255, 0.08); }

/* AI add-on */
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ai-list { display: grid; gap: 14px; }
.ai-item { display: flex; gap: 16px; padding: 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ai-item .ic { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #7c5cff, #00b8f0); color: #fff; font-size: 18px; }
.ai-item p { color: var(--muted); font-size: 0.96rem; }
.ai-card { border-radius: 22px; padding: 36px; color: #fff; background: radial-gradient(500px 300px at 100% 0%, rgba(124, 92, 255, 0.5), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(0, 184, 240, 0.35), transparent 60%), var(--navy); box-shadow: var(--shadow-lg); }
.ai-card .badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-weight: 700; font-size: 0.8rem; color: #cfe0ff; }
.ai-card h3 { font-size: 1.8rem; margin: 16px 0 10px; }
.ai-card p { color: #b8c4dc; }
.ai-card .price { display: flex; align-items: baseline; gap: 8px; margin: 26px 0; }
.ai-card .price strong { font-size: 3.2rem; letter-spacing: -0.04em; }
.ai-card .price span { color: #b8c4dc; }
.ai-card .fine { font-size: 0.85rem; color: #8e9cb8; margin-top: 16px; }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--brand-grad) border-box; }
.plan .name { font-weight: 700; color: var(--brand); }
.plan .amount { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 6px; }
.plan .amount strong { font-size: 3rem; letter-spacing: -0.04em; line-height: 1; }
.plan .amount span { color: var(--muted); }
.plan > p { color: var(--muted); }
.plan .ticks { margin: 24px 0 28px; flex: 1; }
.plan .btn { width: 100%; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* security */
.sec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sec-item { display: flex; gap: 16px; padding: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.sec-item .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--brand); }
.sec-item .ic svg { width: 22px; height: 22px; }
.sec-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.sec-item p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .sec-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* final CTA */
.cta { text-align: center; color: #fff; border-radius: 28px; padding: 72px 32px; position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 100% 0%, rgba(0, 184, 240, 0.45), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(47, 91, 255, 0.6), transparent 60%), var(--navy); }
.cta img { width: 64px; height: 64px; margin: 0 auto 20px; filter: drop-shadow(0 8px 24px rgba(47, 91, 255, 0.5)); }
.cta h2 { margin-bottom: 14px; }
.cta p { color: #b8c4dc; font-size: 1.12rem; margin: 0 auto 28px; max-width: 560px; }

/* footer */
.site-footer { padding: 48px 0 56px; border-top: 1px solid var(--line); margin-top: 96px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; }
.site-footer nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer small { color: var(--muted); display: block; margin-top: 10px; }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 0; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 8px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal strong { color: var(--ink); }

/* scroll reveal */
.reveal.pre { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.pre.in { opacity: 1; transform: none; }

/* Light/dark product screenshots follow the site theme. */
.only-dark { display: none !important; }
:root[data-theme='dark'] .only-dark { display: block !important; }
:root[data-theme='dark'] .only-light { display: none !important; }
section.tight-top { padding-top: 0; }
.notfound { text-align: center; padding-top: 96px; }
.notfound img { margin: 0 auto 20px; }
.notfound p { margin-bottom: 28px; }
@media (max-width: 480px) {
  .site-header .wrap { gap: 10px; padding: 0 16px; }
  .header-cta [data-theme-toggle] { display: none; }
  .wordmark { font-size: 1.15rem; }
}
