/* ============================================================
   SPLATCAST — marketing / SEO content
   Shared by the homepage sections and the generated pages
   (templates, features, use cases, alternatives).
   Builds on the tokens in style.css.
   ============================================================ */

a.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-weight: 700; text-decoration: none; color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  transition: background 0.15s, transform 0.1s;
}
a.btn:hover { background: rgba(255, 255, 255, 0.14); }
a.btn.primary {
  background: linear-gradient(135deg, var(--accent), #2bb8ff 55%, var(--accent-2));
  border: none; color: #04121a; font-weight: 800;
}
a.btn.big { padding: 14px 24px; font-size: 17px; border-radius: 14px; }

/* ---------- site header / footer (generated pages) ---------- */

.site-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}
.site-header .site-wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.site-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.site-brand img { height: 34px; width: auto; }
.site-brand .wordmark { font-size: 22px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a:not(.btn) {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 10px; border-radius: 8px;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,0.06); }
.site-nav a.btn { padding: 8px 14px; margin-left: 6px; }

.site-footer {
  margin-top: 64px; padding: 40px 0 48px;
  border-top: 1px solid var(--card-border);
  color: var(--muted); font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; }
.footer-grid h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-legal { margin-top: 28px; font-size: 13px; }

/* ---------- page content ---------- */

.page-main { padding: 36px 0 0; }
.breadcrumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs span[aria-hidden] { margin: 0 6px; opacity: 0.6; }

.page-hero { margin-bottom: 30px; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; margin-bottom: 14px; }
.page-hero .lede { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 760px; margin: 0 0 22px; line-height: 1.55; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 13.5px; color: var(--muted); }

.section { margin-top: 44px; }
.section > h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 8px; }
.section > .section-lede { color: var(--muted); margin: 0 0 20px; max-width: 760px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
a.tile, div.tile {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 18px;
  text-decoration: none; color: var(--text);
  transition: border-color 0.15s, transform 0.15s;
}
a.tile:hover { border-color: rgba(56, 225, 255, 0.5); transform: translateY(-2px); }
.tile .tile-ico { font-size: 26px; }
.tile h3 { margin: 0; font-size: 17px; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.tile .tile-meta { font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 6px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 18px 18px 18px 64px; position: relative; color: var(--muted); line-height: 1.5;
}
.steps li strong { display: block; color: var(--text); font-size: 16.5px; margin-bottom: 3px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #04121a;
}

.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 22px; }
.check-list li { padding-left: 28px; position: relative; line-height: 1.5; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

.prose { max-width: 780px; line-height: 1.65; color: #d9dbe4; }
.prose p { margin: 0 0 14px; }

/* deck (template) page */
.type-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.type-chips li {
  font-size: 13.5px; color: var(--muted);
  border: 1px solid var(--card-border); border-radius: 999px;
  padding: 4px 12px; background: rgba(255, 255, 255, 0.03);
}
ol.activity-list { list-style: none; counter-reset: act; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
ol.activity-list > li {
  counter-increment: act;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-sm);
  padding: 14px 16px 14px 58px; position: relative;
}
ol.activity-list > li::before {
  content: counter(act); position: absolute; left: 16px; top: 14px;
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  font-weight: 800; font-size: 13px; background: rgba(255, 255, 255, 0.08); color: var(--muted);
}
.act-type { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
.act-q { font-weight: 700; font-size: 16px; margin: 3px 0 0; }
.act-opts { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.act-opts li { font-size: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--card-border); border-radius: 8px; padding: 3px 10px; }
.act-note { font-size: 14px; color: var(--muted); margin-top: 6px; }
details.answer { margin-top: 8px; font-size: 14px; }
details.answer summary { cursor: pointer; color: var(--muted); font-weight: 600; }
details.answer p { margin: 6px 0 0; color: var(--ok); font-weight: 700; }

.cat-block + .cat-block { margin-top: 36px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; }
.faq details p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }

.disclaimer { font-size: 13px; color: var(--muted); margin-top: 28px; }

/* ---------- homepage sections (inside #screenLanding) ---------- */

.hero-mark { width: auto; }   /* width/height attrs reserve space (no layout shift); CSS sets the size */

.hero-title {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 800; letter-spacing: -0.02em;
  max-width: 720px; margin: 14px auto 0; line-height: 1.25;
}
.landing-more { width: 100%; max-width: 1060px; margin-top: 56px; text-align: left; }
.landing-more .section:first-child { margin-top: 0; }
.landing-more .site-footer { margin-top: 56px; }

@media (max-width: 560px) {
  .site-nav { margin-left: 0; width: 100%; }
  .site-nav a.btn { margin-left: auto; }
  .page-main { padding-top: 22px; }
}
