/* ============================================================
   Checkers — Landing / marketing page (loads after checkers-dark.css)
   ============================================================ */
body.lp{overflow:auto;height:auto}

/* landing inside the app-shell: left nav + scrolling content column */
.app.lp-app{height:auto;min-height:100dvh;grid-template-columns:var(--nav-w) minmax(0,1fr)}
.lp-main{min-width:0}
@media(min-width:821px){
  .app.lp-app .nav{position:sticky;top:0;height:100dvh;align-self:start}
}
@media(max-width:820px){
  .app.lp-app{grid-template-columns:1fr}
}

.lp-wrap{max-width:1180px;margin:0 auto;padding:0 28px}

/* ---------------- top header (marketing) ---------------- */
.lp-hdr{position:sticky;top:0;z-index:50;background:rgba(14,21,29,.82);
  border-bottom:1px solid var(--border);backdrop-filter:blur(8px)}
.lp-hdr-in{max-width:1180px;margin:0 auto;height:68px;display:flex;align-items:center;gap:24px;padding:0 28px}
.lp-brand{display:flex;align-items:center;gap:11px}
.lp-brand .mark{width:38px;height:38px;border-radius:11px;background:#efe3d4;display:grid;place-items:center;
  box-shadow:inset 0 0 0 1px #e2d3bf,0 2px 8px -2px rgba(0,0,0,.5);flex:0 0 auto}
.lp-brand .disc{position:relative;width:27px;height:27px;border-radius:50%;background:#1c4266;display:grid;place-items:center}
.lp-brand .disc::after{content:"";position:absolute;width:22px;height:22px;border-radius:50%;border:3px solid #3a6690}
.lp-brand .cr{position:relative;z-index:1;width:16px;height:12px;color:#f9cd11}
.lp-brand .wm{font-family:var(--font-head);font-weight:800;font-size:21px;color:#fff;letter-spacing:-.015em}
.lp-brand .wm b{color:var(--blue-link)}
.lp-nav{display:flex;align-items:center;gap:4px;margin-left:8px}
.lp-nav a{font-family:var(--font-head);font-weight:600;font-size:15px;color:var(--text-2);padding:9px 13px;border-radius:8px}
.lp-nav a:hover{color:var(--text);background:var(--panel)}
.lp-right{margin-left:auto;display:flex;align-items:center;gap:10px}
.lp-lang{display:inline-flex;align-items:center;gap:7px;font-family:var(--font-head);font-weight:700;font-size:13.5px;
  color:var(--text-2);border:1.5px solid var(--border-2);border-radius:8px;padding:8px 11px}
.lp-lang:hover{color:var(--text);border-color:#41586d}
.lp-burger{display:none;width:42px;height:42px;border-radius:10px;place-items:center;color:var(--text)}
.lp-burger:hover{background:var(--panel)}

/* ---------------- hero ---------------- */
.lp-hero{position:relative;overflow:hidden}
.lp-hero::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(900px 480px at 22% -120px, rgba(46,99,161,.30), transparent 66%),
             radial-gradient(620px 420px at 92% 0%, rgba(38,89,207,.12), transparent 70%)}
.lp-hero-in{position:relative;z-index:1;display:grid;grid-template-columns:1fr 460px;gap:48px;align-items:center;
  padding:64px 72px}
.lp-eyebrow{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-head);font-weight:700;font-size:13px;
  letter-spacing:.04em;text-transform:uppercase;color:var(--text-2);
  border:1px solid #9fb1c254;border-radius:var(--r-pill);padding:6px 13px}
.lp-h1{font-family:var(--font-head);font-weight:800;font-size:54px;line-height:1.05;letter-spacing:-.025em;
  color:#fff;margin:18px 0 0;text-wrap:balance}
.lp-h1 .accent{color:var(--blue-link)}
.lp-lede{font-family:var(--font-body);font-size:17px;line-height:1.6;color:var(--text-2);margin:18px 0 0;max-width:520px}
.lp-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.lp-cta .btn{font-size:16px;padding:14px 24px}
.lp-stats{display:flex;flex-wrap:wrap;gap:26px;margin-top:34px}
.lp-stat .n{font-family:var(--font-head);font-weight:800;font-size:26px;color:#fff;line-height:1}
.lp-stat .l{font-family:var(--font-body);font-size:13px;color:var(--text-3);margin-top:4px}

.lp-hero-board{position:relative}
.lp-hero-board .board{aspect-ratio:1;display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);
  border-radius:14px;overflow:hidden;box-shadow:0 30px 70px -18px rgba(0,0,0,.8),inset 0 0 0 1px rgba(0,0,0,.22)}
.lp-hero-board .badge{position:absolute;display:flex;align-items:center;gap:9px;background:var(--panel);
  border:1px solid var(--border-2);border-radius:12px;padding:10px 13px;box-shadow:0 14px 30px -12px rgba(0,0,0,.7)}
.lp-hero-board .badge .av{width:30px;height:30px;border-radius:8px;flex:0 0 auto}
.lp-hero-board .badge .av.w{background:linear-gradient(160deg,#f6f9ff,#cdd8e6)}
.lp-hero-board .badge .av.b{background:linear-gradient(160deg,#33536a,#1a3140)}
.lp-hero-board .badge .nm{font-family:var(--font-head);font-weight:700;font-size:13px;color:var(--text)}
.lp-hero-board .badge .mt{font-family:var(--font-body);font-size:11px;color:var(--text-3)}
.lp-hero-board .badge.t{top:-16px;left:-22px}
.lp-hero-board .badge.b{bottom:-16px;right:-22px}
.lp-hero-board .badge .live{color:var(--green);font-family:var(--font-head);font-weight:800;font-size:13px}

/* shared board cell colors for landing boards */
.lp .board .sq{display:grid;place-items:center}
.lp .board .sq.dark{background:var(--board-brown)}
.lp .board .sq.light{background:var(--board-cream)}
.lp .board .pc{border-radius:50%;position:relative}
.lp .board .pc::after{content:"";position:absolute;inset:var(--pc-ring-inset);border-radius:50%;
  border:var(--pc-ring-border) solid currentColor;opacity:.55}
.lp .board .pc.black{background:var(--piece-black);color:var(--piece-black-in)}
.lp .board .pc.white{background:var(--piece-white);color:var(--piece-white-in)}
.lp-hero-board .pc{width:78%;height:78%;--pc-ring-inset:12%;--pc-ring-border:3px;
  box-shadow:1px 2px 4px rgba(0,0,0,.45)}
.vcard .pc{width:78%;height:78%;--pc-ring-inset:13%;--pc-ring-border:2px;
  box-shadow:1px 1.5px 3px rgba(0,0,0,.38)}
.vcard .board-size-10 .pc{width:88%;height:88%;--pc-ring-inset:15%;--pc-ring-border:1.5px}
.vcard .board-size-12 .pc{width:92%;height:92%;--pc-ring-inset:16%;--pc-ring-border:1.25px}

/* ---------------- section scaffold ---------------- */
.lp-sec{padding:62px 0}
.lp-sec.alt{background:var(--bg-2);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.lp-sec-h{text-align:center;max-width:640px;margin:0 auto 40px}
.lp-sec-h h2,.lp-sec-title{font-family:var(--font-head);font-weight:800;font-size:34px;letter-spacing:-.02em;color:#fff;margin:0}
.lp-sec-h p{font-family:var(--font-body);font-size:16px;line-height:1.6;color:var(--text-3);margin:12px 0 0}

/* variants showcase */
.lp-variants{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.vcard{background:var(--panel);border:1px solid var(--border);border-radius:var(--r-card);padding:16px;
  display:flex;flex-direction:column;gap:12px;transition:border-color .15s,transform .15s,box-shadow .15s}
.vcard:hover{border-color:var(--border-2);transform:translateY(-3px);box-shadow:0 16px 34px -18px rgba(0,0,0,.7)}
.vcard .board{aspect-ratio:1;display:grid;border-radius:9px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(0,0,0,.25)}
.vcard .vt{font-family:var(--font-head);font-weight:800;font-size:16px;color:var(--text)}
.vcard .vd{font-family:var(--font-body);font-size:12.5px;color:var(--text-3);line-height:1.45;flex:1}
.vcard .vp{font-family:var(--font-head);font-weight:700;font-size:13.5px;color:var(--blue-link);display:inline-flex;align-items:center;gap:6px}
.vcard:hover .vp{text-decoration:underline}

/* features */
.lp-features{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.fcard{background:var(--panel);border:1px solid var(--border);border-radius:var(--r-card);padding:22px}
.fcard .fi{width:46px;height:46px;border-radius:12px;background:var(--inset);border:1px solid var(--border);
  display:grid;place-items:center;color:var(--blue-link);margin-bottom:14px}
.fcard h3{font-family:var(--font-head);font-weight:700;font-size:17px;color:var(--text);margin:0 0 6px}
.fcard p{font-family:var(--font-body);font-size:14px;line-height:1.55;color:var(--text-3);margin:0}

/* steps */
.lp-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;counter-reset:step}
.scard{background:var(--panel);border:1px solid var(--border);border-radius:var(--r-card);padding:24px;position:relative}
.scard .sn{counter-increment:step;font-family:var(--font-head);font-weight:800;font-size:15px;color:#fff;
  width:34px;height:34px;border-radius:9px;background:var(--blue);display:grid;place-items:center;margin-bottom:14px}
.scard .sn::before{content:counter(step)}
.scard h3{font-family:var(--font-head);font-weight:700;font-size:18px;color:var(--text);margin:0 0 6px}
.scard p{font-family:var(--font-body);font-size:14px;line-height:1.55;color:var(--text-3);margin:0}

/* SEO prose */
.lp-prose{max-width:780px;margin:0 auto}
.lp-prose h2{font-family:var(--font-head);font-weight:800;font-size:28px;letter-spacing:-.01em;color:#fff;margin:0 0 14px}
.lp-prose h3{font-family:var(--font-head);font-weight:700;font-size:18px;color:var(--text);margin:30px 0 8px}
.lp-prose p{font-family:var(--font-body);font-size:15.5px;line-height:1.72;color:var(--text-2);margin:0 0 14px}
.lp-prose p a{color:var(--blue-link);text-decoration:underline}
.lp-prose .vrow{display:flex;gap:10px;margin:0 0 10px}
.lp-prose .vrow .vk{font-family:var(--font-head);font-weight:700;font-size:15px;color:#fff;flex:0 0 132px}
.lp-prose .vrow .vv{font-family:var(--font-body);font-size:14.5px;line-height:1.6;color:var(--text-2)}

.faq-accordion{display:flex;flex-direction:column;border-top:1px solid var(--border);margin-top:18px}
.faq-item{border-bottom:1px solid var(--border)}
.faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:18px 0;cursor:pointer;list-style:none;font-family:var(--font-head);font-weight:700;
  font-size:16px;line-height:1.35;color:var(--text)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";display:grid;place-items:center;flex:0 0 auto;width:24px;height:24px;
  border-radius:7px;color:var(--blue-link);font-family:var(--font-head);font-size:22px;font-weight:700;
  line-height:1;transition:transform .16s ease,color .16s ease}
.faq-item[open] summary::after{content:"−";color:var(--yellow);transform:rotate(180deg)}
.faq-item .faq-answer{padding:0 42px 18px 0}
.faq-item .faq-answer p{margin:0;color:var(--text-2)}

/* CTA band */
.lp-band{position:relative;overflow:hidden;text-align:center;padding:64px 28px;
  background:linear-gradient(180deg,var(--panel),var(--bg-2));border-top:1px solid var(--border)}
.lp-band::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(700px 320px at 50% 0%, rgba(46,99,161,.3), transparent 70%)}
.lp-band-in{position:relative;z-index:1;max-width:620px;margin:0 auto}
.lp-band h2,.lp-band-title{font-family:var(--font-head);font-weight:800;font-size:36px;letter-spacing:-.02em;color:#fff;margin:0}
.lp-band p{font-family:var(--font-body);font-size:16px;color:var(--text-2);margin:12px 0 26px}

/* footer */
.lp-foot{background:var(--bg-2);border-top:1px solid var(--border);padding:40px 0 32px}
.lp-foot-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:28px}
.lp-foot .fcol h4{font-family:var(--font-head);font-weight:700;font-size:12.5px;letter-spacing:.05em;text-transform:uppercase;
  color:var(--text-3);margin:0 0 14px}
.lp-foot .fcol a{display:block;font-family:var(--font-head);font-weight:600;font-size:14px;color:var(--text-2);padding:5px 0}
.lp-foot .fcol a:hover{color:var(--text)}
.lp-foot .fcol a.lp-brand{display:inline-flex;align-items:center;gap:11px;padding:0;color:inherit}
.lp-foot .footer-variants-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;align-content:start}
.lp-foot .footer-variants-links h4{grid-column:1/-1}
.lp-foot .about{font-family:var(--font-body);font-size:13.5px;line-height:1.6;color:var(--text-3);margin:14px 0 0;max-width:280px}
.lp-foot-bottom{max-width:1180px;margin:30px auto 0;padding:18px 28px 0;border-top:1px solid var(--border);
  display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.lp-foot-bottom .cr{font-family:var(--font-fine);font-size:12.5px;color:var(--text-3)}
.lp-foot-bottom .legal{margin-left:auto;display:flex;gap:18px}
.lp-foot-bottom .legal a{font-family:var(--font-fine);font-size:12.5px;color:var(--text-3)}
.lp-foot-bottom .legal a:hover{color:var(--text-2)}

/* legal pages */
.legal-page{background:var(--bg)}
.legal-main{min-height:100vh;padding:64px 28px;background:var(--bg)}
.legal-shell{max-width:860px;margin:0 auto}
.legal-brand{display:inline-flex;align-items:center;gap:11px;margin-bottom:34px;color:inherit}
.legal-prose{max-width:none;background:var(--panel);border:1px solid var(--border);border-radius:var(--r-card);padding:38px}
.legal-prose h1{font-family:var(--font-head);font-weight:800;font-size:42px;line-height:1.08;color:#fff;margin:0 0 22px}
.legal-prose ul{margin:0 0 18px;padding-left:22px}
.legal-prose li{font-family:var(--font-body);font-size:15.5px;line-height:1.72;color:var(--text-2);margin:0 0 8px}
.legal-actions{display:flex;gap:18px;flex-wrap:wrap;margin:24px 0 0}
.legal-actions a{font-family:var(--font-head);font-weight:700;font-size:14px;color:var(--blue-link)}
.legal-actions a:hover{text-decoration:underline}
.contact-shell{max-width:980px}
.contact-panel{display:grid;grid-template-columns:.88fr 1.12fr;gap:32px;align-items:start;
  background:var(--panel);border:1px solid var(--border);border-radius:var(--r-card);padding:38px}
.contact-copy h1{font-family:var(--font-head);font-weight:800;font-size:42px;line-height:1.08;color:#fff;margin:0 0 14px}
.contact-copy p{font-family:var(--font-body);font-size:16px;line-height:1.65;color:var(--text-2);margin:0}
.contact-form{display:flex;flex-direction:column;gap:16px}
.contact-form label{display:flex;flex-direction:column;gap:8px;font-family:var(--font-head);font-weight:700;font-size:13px;color:var(--text)}
.contact-form input,.contact-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:8px;
  background:var(--inset);color:var(--text);font-family:var(--font-body);font-size:15px;line-height:1.5;padding:13px 14px;outline:none}
.contact-form textarea{resize:vertical;min-height:180px}
.contact-form input:focus,.contact-form textarea:focus{border-color:var(--blue-link);box-shadow:0 0 0 3px rgba(57,139,214,.18)}
.contact-form button{align-self:flex-start}
.contact-form button:disabled{opacity:.72;cursor:wait}
.contact-status{min-height:22px;font-family:var(--font-body);font-size:14px;line-height:1.55;color:var(--text-3);margin:0}
.contact-status.ok{color:#78d58b}
.contact-status.err{color:#ff8f8f}

/* ---------------- responsive ---------------- */
@media(max-width:920px){
  .lp-hero-in{grid-template-columns:1fr;gap:40px;padding:48px 56px}
  .lp-hero-board{max-width:420px;margin:0 auto;width:100%}
  .lp-h1{font-size:42px}
  .lp-variants{grid-template-columns:repeat(2,1fr)}
  .lp-features{grid-template-columns:repeat(2,1fr)}
  .lp-steps{grid-template-columns:1fr}
  .lp-foot-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .lp-nav,.lp-lang{display:none}
  .lp-burger{display:grid}
  .lp-nav.open{display:flex;position:absolute;top:68px;left:0;right:0;flex-direction:column;align-items:stretch;
    background:var(--bg-2);border-bottom:1px solid var(--border);padding:10px;gap:2px}
  .lp-nav.open a{padding:12px 14px}
  .lp-h1{font-size:34px}
  .lp-sec{padding:46px 0}
  .lp-sec-h h2,.lp-sec-title,.lp-band h2,.lp-band-title{font-size:27px}
  .lp-variants{grid-template-columns:1fr 1fr}
  .lp-stats{gap:20px}
  .contact-panel{grid-template-columns:1fr}
}
@media(max-width:460px){
  .lp-variants{grid-template-columns:1fr}
  .lp-features{grid-template-columns:1fr}
  .lp-foot-grid{grid-template-columns:1fr}
  .legal-main{padding:40px 16px}
  .legal-prose{padding:24px 18px}
  .legal-prose h1{font-size:32px}
}

/* play with friends label */
.lp-friends-label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
