/* Motivational Auto Post - shared stylesheet */

:root {
  --bg: #0d0f14;
  --panel: #151922;
  --panel-2: #1b2029;
  --line: #262d3a;
  --text: #e8ecf3;
  --muted: #9aa5b8;
  --accent: #ff2e63;
  --accent-2: #22d3ee;
  --radius: 14px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

a { color: var(--accent-2); }
a:hover { color: #67e8f9; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 15, 20, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; letter-spacing: -.2px;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.brand .dot {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
nav.site { display: flex; flex-wrap: wrap; gap: 20px; }
nav.site a {
  color: var(--muted); text-decoration: none; font-size: 15px;
}
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }

/* ---------- sections ---------- */
section { padding: 62px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }

.hero { padding: 84px 0 70px; }
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5.4vw, 52px);
  line-height: 1.12; letter-spacing: -1px;
}
.hero p.lead {
  margin: 0 0 26px; max-width: 62ch;
  font-size: clamp(17px, 2.1vw, 20px); color: var(--muted);
}

.eyebrow {
  display: inline-block; margin-bottom: 16px;
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel);
  font-size: 12.5px; letter-spacing: .10em; text-transform: uppercase;
  color: var(--muted);
}

h2 { font-size: clamp(23px, 3vw, 30px); letter-spacing: -.4px; margin: 0 0 10px; }
h3 { font-size: 17px; margin: 0 0 8px; letter-spacing: -.2px; }
.sub { color: var(--muted); margin: 0 0 30px; max-width: 66ch; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- numbered steps ---------- */
ol.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 16px; }
ol.steps li {
  counter-increment: s; position: relative;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px 22px 66px;
}
ol.steps li::before {
  content: counter(s);
  position: absolute; left: 22px; top: 21px;
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07090d; font-weight: 700; font-size: 15px;
  display: grid; place-items: center;
}
ol.steps li p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07090d;
}
.btn.ghost {
  background: transparent; color: var(--text); border: 1px solid var(--line);
}
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- faq ---------- */
details.faq {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px;
}
details.faq summary {
  cursor: pointer; font-weight: 600; list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: " +"; color: var(--muted); float: right; }
details.faq[open] summary::after { content: " \2212"; }
details.faq p { color: var(--muted); margin: 12px 0 0; font-size: 15px; }

/* ---------- legal / prose ---------- */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 38px; }
.prose p, .prose li { color: #cfd6e4; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.updated { color: var(--muted); font-size: 14px; margin-top: -4px; }

.note {
  background: var(--panel-2); border: 1px solid var(--line);
  border-left: 3px solid var(--accent-2);
  border-radius: 10px; padding: 16px 18px; margin: 22px 0;
}
.note p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--line); padding: 34px 0 46px;
  color: var(--muted); font-size: 14.5px;
}
footer.site .cols {
  display: flex; flex-wrap: wrap; gap: 26px;
  justify-content: space-between; margin-bottom: 22px;
}
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 860px) {
  .grid.c3, .grid.c2 { grid-template-columns: 1fr; }
  header.site .bar { flex-direction: column; align-items: flex-start; gap: 10px; }
}
