/* quickbilliard.com — same design language as quickproperty.org
   (Inter, violet primary #5b4be0, soft canvas, 14px cards, 10px controls) */
:root {
  --primary: #5b4be0;
  --primary-2: #3f31c4;
  --primary-soft: #eeecfc;
  --accent: #16a34a;
  --canvas: #f4f5fa;
  --surface: #ffffff;
  --surface-muted: #f7f8fc;
  --border: #e8eaf1;
  --fg: #171a2b;
  --fg-muted: #646982;
  --fg-subtle: #9499b2;
  --danger: #e11d48;
  --warning: #f59e0b;
  --radius-card: 14px;
  --radius-control: 10px;
  --shadow-card: 0 1px 2px rgba(23, 26, 43, 0.04), 0 8px 24px -12px rgba(23, 26, 43, 0.12);
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--fg); background: var(--canvas); line-height: 1.55; font-size: 16px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(30px, 5vw, 54px); letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 18px; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--fg-muted); }
.subtle { color: var(--fg-subtle); }
.center { text-align: center; }
.lead { font-size: 18px; color: var(--fg-muted); max-width: 720px; margin: 14px auto 0; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 600; }
.badge.light { background: rgba(255, 255, 255, 0.16); color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: var(--radius-control); font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform 0.06s ease, background 0.15s ease, box-shadow 0.15s ease; white-space: nowrap; font-family: inherit; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px -8px rgba(91, 75, 224, 0.7); }
.btn.primary:hover { background: #4f40d6; }
.btn.white { background: #fff; color: var(--primary); }
.btn.white:hover { background: #f3f1ff; }
.btn.outline { background: var(--surface); color: var(--fg); border-color: var(--border); }
.btn.outline:hover { border-color: #c9cce0; }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover { background: var(--primary-soft); }
.btn.lg { padding: 14px 24px; font-size: 16px; }
.btn.block { width: 100%; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border); }
.nav .wrap { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; margin-left: 14px; }
.nav-links a { color: var(--fg-muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); text-decoration: none; }
.nav-links .m-only { display: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-actions .signin { color: var(--fg-muted); font-weight: 600; font-size: 15px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 8px; width: 40px; height: 40px; font-size: 20px; cursor: pointer; }

/* hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 45%, var(--primary-2) 100%); color: #fff; padding: 72px 0 0; overflow: hidden; position: relative; }
.hero .wrap { text-align: center; }
.hero h1 { color: #fff; margin: 16px auto 0; max-width: 860px; }
.hero .sub { color: rgba(255, 255, 255, 0.86); font-size: 18px; max-width: 700px; margin: 18px auto 0; }
.hero .cta { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero .facts { display: flex; justify-content: center; gap: 26px; margin: 26px 0 0; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.hero .facts > span::before { content: "✓"; color: #9cf5c1; font-weight: 800; margin-right: 6px; }
.hero-shot { margin: 46px auto 0; max-width: 1040px; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.18); border-bottom: 0; }
.hero-shot img { width: 100%; }

/* sections */
.section { padding: 84px 0; }
.section.surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { margin-top: 12px; }

.strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 20px; }
.strip-item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.strip-item .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 18px; flex: none; }

.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 22px; box-shadow: var(--shadow-card); }
.card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--fg-muted); font-size: 15px; }
.card ul { margin: 12px 0 0; padding: 0; list-style: none; }
.card ul li { padding: 4px 0 4px 22px; position: relative; color: var(--fg-muted); font-size: 14.5px; }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* two-column feature deep-dives */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse .shot { order: -1; }
.split h2 { margin-top: 10px; }
.split .lead { margin: 14px 0 0; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; color: var(--fg); font-size: 15.5px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 50px -24px rgba(23, 26, 43, 0.35); background: #0f1320; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 600; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.popular { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft), var(--shadow-card); }
.plan .pop { position: absolute; top: -13px; left: 22px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan .who { color: var(--fg-muted); font-size: 14.5px; margin-top: 4px; min-height: 44px; }
.plan .price { margin: 18px 0 2px; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.plan .price small { font-size: 14px; font-weight: 600; color: var(--fg-muted); letter-spacing: 0; margin-left: 4px; }
.plan .cur { font-size: 18px; font-weight: 700; margin-right: 6px; color: var(--fg-muted); }
.plan .plan-annual { margin: 6px 0 2px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.plan ul { flex: 1; }
.plan .btn { margin-top: 18px; }
.vat { text-align: center; color: var(--fg-subtle); font-size: 13.5px; margin-top: 18px; }

/* table-light hardware cards (one-time purchase) */
.hardware { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 720px; margin: 0 auto; }
.hwbox { text-align: left; }
.hwbox h3 { font-size: 17px; }
.hwbox .price { margin: 12px 0 2px; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.hwbox .price small { font-size: 13px; font-weight: 600; color: var(--fg-muted); letter-spacing: 0; margin-left: 6px; }
.hwbox .cur { font-size: 17px; font-weight: 700; margin-right: 6px; color: var(--fg-muted); }
.hwbox-note { color: var(--fg-muted); font-size: 14px; margin: 8px 0 0; }

/* numbered tour */
.tour { display: grid; gap: 64px; }
.tour-item { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.tour-item:nth-child(even) .shot { order: -1; }
.tour-num { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; }
.tour-item h3 { font-size: 26px; margin-top: 8px; letter-spacing: -0.02em; }
.tour-item p { color: var(--fg-muted); margin-top: 10px; font-size: 16px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--fg-subtle); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--fg-muted); margin-top: 10px; font-size: 15px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; border-radius: 18px; padding: 56px 32px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-top: 12px; font-size: 17px; }
.cta-band .btn-row { display: flex; justify-content: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.cta-band .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.cta-band .btn.ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* form */
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-card); position: relative; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--fg-muted); letter-spacing: 0.02em; text-transform: uppercase; }
.field input, .field select, .field textarea { font: inherit; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--surface-muted); color: var(--fg); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--primary-soft); border-color: var(--primary); background: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.notice { padding: 12px 14px; border-radius: 10px; font-size: 14.5px; }
.notice.ok { background: #e2f6e9; color: #14532d; }
.notice.err { background: #fde4ea; color: #881337; }

/* footer */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 24px; margin-top: 40px; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a { color: var(--fg-muted); font-size: 15px; }
.footer .about { color: var(--fg-muted); font-size: 15px; margin-top: 12px; max-width: 320px; }
.footer .bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 36px; padding-top: 18px; color: var(--fg-subtle); font-size: 13.5px; }

/* misc */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.kpi { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 12px; padding: 14px 16px; text-align: left; }
.kpi b { display: block; font-size: 22px; letter-spacing: -0.02em; }
.kpi span { font-size: 13px; color: rgba(255, 255, 255, 0.78); }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.pill { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--fg-muted); }
.hw { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hw .diagram { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.hw .flow { display: grid; gap: 10px; }
.hw .flow div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface-muted); border: 1px solid var(--border); border-radius: 10px; font-size: 14.5px; }
.hw .flow div b { display: block; }
.hw .flow .arrow { justify-content: center; background: none; border: 0; color: var(--fg-subtle); padding: 0; }

@media (max-width: 960px) {
  .strip .wrap, .grid.cols-3, .grid.cols-4, .plans, .footer .cols, .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .split, .tour-item, .hw { grid-template-columns: 1fr; }
  .split.reverse .shot, .tour-item:nth-child(even) .shot { order: 0; }
}
@media (max-width: 680px) {
  .nav-links, .nav-actions .signin { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav.open .nav-links .m-only { display: block; padding-top: 10px; border-top: 1px solid var(--border); }
  .nav.open .nav-links { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 20px 16px; gap: 14px; margin: 0; }
  .nav .wrap { gap: 12px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .nav-actions { margin-left: 4px; }
  .nav-actions .btn { padding: 9px 12px; font-size: 14px; white-space: nowrap; }
  .nav-toggle { width: 38px; height: 38px; flex: none; }
  .strip .wrap, .grid.cols-3, .grid.cols-4, .grid.cols-2, .plans, .footer .cols, .kpi-row, .form-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding-top: 48px; }
  .form-grid .full { grid-column: auto; }
}

/* honeypot field — never shown to people */
.form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
