/* Chessy marketing site — shared styles
   Brand: charcoal + warm gold + cream. Dark, premium, high-contrast. */

:root {
  --bg:        #0d0c0a;
  --bg-2:      #16130f;
  --card:      #1b1712;
  --card-2:    #221d16;
  --line:      #2c261d;
  --gold:      #e6ab43;
  --gold-2:    #f2c66a;
  --gold-deep: #c98a2a;
  --cream:     #f5efe2;
  --text:      #e9e2d3;
  --muted:     #a99f8c;
  --muted-2:   #7d7566;
  --green:     #6ec36e;
  --red:       #e06a5c;
  --radius:    16px;
  --radius-lg: 26px;
  --maxw:      1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--display); color: var(--cream); line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
p  { color: var(--text); }
.lede { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-weight: 700; font-size: 1rem; padding: 15px 30px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: #241704; box-shadow: 0 10px 30px -8px rgba(230,171,67,.5);
}
.btn-primary:hover { transform: translateY(-2px); color: #241704; box-shadow: 0 16px 40px -8px rgba(230,171,67,.6); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--cream); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--cream); }
.btn-lg { padding: 17px 38px; font-size: 1.08rem; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px;
  background: rgba(230,171,67,.1); border: 1px solid rgba(230,171,67,.28);
  border-radius: 999px; color: var(--gold-2); font-size: .82rem; font-weight: 600;
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,12,10,.8); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--cream); font-size: 1.15rem; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--cream); }
.nav-cta { padding: 10px 20px; font-size: .92rem; }
@media (max-width: 820px) { .nav-links .hide-sm { display: none; } }

/* ---------- sections ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .lede { margin: 16px auto 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 96px 0 40px; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(230,171,67,.20), transparent 60%),
    radial-gradient(700px 500px at 8% 20%, rgba(201,138,42,.10), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 span { color: var(--gold); }
.hero .lede { margin-top: 22px; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 20px; margin-top: 26px; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.stars { color: var(--gold); letter-spacing: 2px; }
.hero-phone { position: relative; display: flex; justify-content: center; }
.hero-phone img { width: 100%; max-width: 340px; border-radius: 30px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(230,171,67,.22), transparent); filter: blur(30px); z-index: -1; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-proof { justify-content: center; }
  .hero-phone { order: -1; }
}

/* ---------- logos / trust strip ---------- */
.trust { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; color: var(--muted-2); font-weight: 600; font-size: .9rem; }
.trust-inner strong { color: var(--cream); }

/* ---------- feature cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .18s ease, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(230,171,67,.35); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(230,171,67,.12); border: 1px solid rgba(230,171,67,.25); font-size: 22px; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- screenshots gallery ---------- */
.shots { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 22px; scroll-snap-type: x mandatory; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.shot { flex: 0 0 auto; width: 250px; scroll-snap-align: center; }
.shot img { border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.shot p { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 12px; }

/* ---------- how it works ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(3,1fr); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 26px; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); color: #241704;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 8px 20px -6px rgba(230,171,67,.5);
}
.step h3 { margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- guides grid ---------- */
.guide-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-height: 190px;
  transition: transform .18s ease, border-color .2s;
}
.guide-card:hover { transform: translateY(-3px); border-color: rgba(230,171,67,.4); }
.guide-card .tag { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 700; }
.guide-card h3 { margin: 12px 0 8px; color: var(--cream); }
.guide-card p { color: var(--muted); font-size: .94rem; }
.guide-card .go { margin-top: 16px; color: var(--gold-2); font-weight: 700; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px;
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(230,171,67,.35); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--cream);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 20px; color: var(--muted); }
.faq .a a { font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; border-radius: var(--radius-lg); padding: 68px 30px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(230,171,67,.22), transparent 70%),
    linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid rgba(230,171,67,.25);
}
.cta-band h2 { max-width: 16ch; margin: 0 auto 14px; }
.cta-band .lede { margin: 0 auto 30px; }

/* ---------- store buttons ---------- */
.store-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; background: #000; border: 1px solid #333;
  color: #fff; padding: 12px 22px; border-radius: 14px; font-weight: 600;
}
.store-badge:hover { color: #fff; border-color: #555; }
.store-badge .big { font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
.store-badge .sm { font-size: .68rem; opacity: .8; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--cream); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--muted); font-size: .94rem; margin-bottom: 9px; font-weight: 500; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand p { color: var(--muted); font-size: .92rem; max-width: 34ch; margin-top: 12px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: .85rem; }

/* ---------- guide article ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 60px 0 40px; }
.breadcrumb { color: var(--muted-2); font-size: .85rem; margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); }
.article h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: 18px; }
.article .lede { color: var(--muted); font-size: 1.18rem; margin-bottom: 8px; }
.article h2 { font-size: 1.7rem; margin: 44px 0 14px; }
.article h3 { font-size: 1.22rem; margin: 30px 0 10px; color: var(--cream); }
.article p { margin-bottom: 18px; color: var(--text); }
.article ul, .article ol { margin: 0 0 20px 22px; }
.article li { margin-bottom: 10px; color: var(--text); }
.article strong { color: var(--cream); }
.article .meta-row { color: var(--muted-2); font-size: .85rem; margin-bottom: 34px; }
.callout {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid rgba(230,171,67,.3); border-left: 3px solid var(--gold);
  border-radius: 14px; padding: 22px 24px; margin: 26px 0;
}
.callout strong { color: var(--gold-2); }
.article-cta {
  text-align: center; margin: 44px 0 10px; padding: 40px 26px; border-radius: var(--radius-lg);
  background: radial-gradient(500px 240px at 50% 0%, rgba(230,171,67,.18), transparent 70%), var(--card);
  border: 1px solid rgba(230,171,67,.25);
}
.article-cta h3 { font-size: 1.5rem; margin-bottom: 10px; }
.article-cta p { color: var(--muted); margin-bottom: 22px; }
.related { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 30px; }
.related h4 { color: var(--cream); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin-bottom: 16px; }
.related a { display: block; color: var(--gold-2); font-weight: 600; margin-bottom: 10px; }

.tldr { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin: 24px 0 30px; }
.tldr strong { color: var(--gold-2); text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; }

/* ---------- comparison table ---------- */
.cmp-scroll { overflow-x: auto; margin: 26px 0 30px; border: 1px solid var(--line); border-radius: 14px; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.cmp-table th, .cmp-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp-table thead th { background: var(--card-2); color: var(--cream); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table td:first-child, .cmp-table th:first-child { font-weight: 700; color: var(--cream); position: sticky; left: 0; background: var(--card); }
.cmp-table thead th:first-child { background: var(--card-2); }
.cmp-table .yes { color: var(--green); font-weight: 700; }
.cmp-table .no { color: var(--muted-2); }
.cmp-table tr.me td { background: rgba(230,171,67,.07); }
.cmp-table tr.me td:first-child { background: rgba(230,171,67,.12); color: var(--gold-2); }
</content>
