/* devotedactions.com — dark pixel style, same palette as the Tilda landing (landing/tilda/zb.py) */
:root {
  --bg: #120d1f; --bg2: #17112a; --panel: #1d1631; --panel2: #271e42; --line: #3a2e5c;
  --gold: #ffd05a; --saffron: #f6aa3c; --cream: #f0e4c8; --muted: #c3b8d8; --green: #7fd18b; --shadow: #3c0e12; --ink: #07050d;
  --pix: "Press Start 2P", monospace; --body: "Golos Text", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--cream); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; image-rendering: auto; }
a { color: var(--gold); }
code { background: var(--bg); color: var(--gold); padding: 2px 6px; font-size: 14px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
section { padding: 96px 0; }
section.alt { background: var(--bg2); }

h1, h2, h3, .pix { font-family: var(--pix); font-weight: 400; }
h1 { font-size: 40px; line-height: 1.35; color: var(--gold); text-shadow: 3px 3px 0 var(--shadow); margin: 0; }
h2 { font-size: 26px; line-height: 1.45; color: var(--gold); text-shadow: 3px 3px 0 var(--shadow); margin: 0 0 28px; }
h3 { font-size: 13px; line-height: 1.5; color: var(--gold); margin: 0; }
p { margin: 0; }
.kicker { font: 12px/1.6 var(--pix); color: var(--saffron); }
.lead { font-size: 19px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(18, 13, 31, .94); border-bottom: 3px solid var(--line); backdrop-filter: blur(6px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { font: 13px/1 var(--pix); color: var(--gold); text-decoration: none; text-shadow: 2px 2px 0 var(--shadow); }
.top nav { display: flex; align-items: center; gap: 24px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--cream); }
.top nav .btn { padding: 12px 16px; font-size: 10px; color: var(--bg); }

/* buttons */
.btn { display: inline-block; border: 0; cursor: pointer; text-align: center; text-decoration: none; background: var(--saffron); color: var(--bg) !important;
  font: 12px/1.4 var(--pix); padding: 20px 26px; box-shadow: 4px 4px 0 var(--shadow); transition: background .15s, transform .15s; }
.btn:hover { background: var(--gold); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--shadow); }
.btn.alt { background: var(--panel2); color: var(--cream) !important; }
.btn.alt:hover { background: var(--line); }
.btn.wide { width: 100%; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
form.buy { margin: 0; }

/* hero */
.hero { padding: 80px 0; }
.hero .wrap { display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.hero-text { display: flex; flex-direction: column; gap: 22px; flex: 1; }
.phone { flex: 0 0 300px; border: 3px solid var(--line); box-shadow: 8px 8px 0 var(--ink); background: var(--panel); }
.phone img { width: 300px; height: 533px; object-fit: cover; object-position: center top; }

/* cards */
.grid { display: grid; gap: 16px; }
.stats { grid-template-columns: repeat(4, 1fr); margin-bottom: 72px; }
.stat { background: var(--panel); padding: 22px; box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; gap: 10px; }
.stat b { font: 18px/1.4 var(--pix); color: var(--gold); font-weight: 400; }
.stat span { font-size: 15px; color: var(--muted); line-height: 1.45; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "▸"; color: var(--saffron); position: absolute; left: 0; }
.example { margin-top: 40px; background: var(--panel2); border: 3px solid var(--gold); box-shadow: 6px 6px 0 var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.example q { font-size: 22px; line-height: 1.5; font-weight: 500; }
.steps { grid-template-columns: repeat(3, 1fr); }
.step { background: var(--panel); padding: 20px; border-left: 4px solid var(--saffron); display: flex; flex-direction: column; gap: 10px; }
.step h3 span { color: var(--saffron); margin-right: 8px; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* demos */
.demo { display: flex; align-items: center; gap: 48px; }
.demo + .demo { margin-top: 64px; }
.demo .txt { flex: 1; display: flex; flex-direction: column; }
.demo .txt h2 { margin-bottom: 18px; }
.demo .pic { flex: 0 0 auto; border: 3px solid var(--line); box-shadow: 6px 6px 0 var(--ink); }
.walk { width: 640px; }
.guide-shot { width: 520px; height: 560px; object-fit: cover; object-position: center top; }

/* gallery */
.gallery img { margin: 0 auto; border: 3px solid var(--line); box-shadow: 6px 6px 0 var(--ink); }
.gallery .small { display: none; }

/* pricing */
.plan { max-width: 480px; margin: 0 auto; background: var(--panel2); border: 3px solid var(--gold); box-shadow: 6px 6px 0 var(--ink);
  padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 18px; text-align: left; }
.badge { align-self: flex-start; background: var(--gold); color: var(--bg); font: 10px/1.4 var(--pix); padding: 7px 10px; }
.price { font: 34px/1.3 var(--pix); color: var(--cream); text-shadow: 3px 3px 0 var(--shadow); }
.price small { font-size: 12px; color: var(--muted); text-shadow: none; margin-left: 8px; }
.checks { list-style: none; padding: 0; margin: 0; line-height: 1.7; }
.checks li::before { content: "✓"; color: var(--green); margin-right: 10px; }
.secure { font-size: 14px; color: var(--muted); text-align: center; }

/* faq */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--panel); padding: 18px 20px; }
.faq summary { font: 13px/1.5 var(--pix); color: var(--gold); cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--saffron); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.final { margin-top: 48px; background: var(--panel2); border: 3px solid var(--gold); padding: 40px 28px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.final h2 { font-size: 24px; margin: 0; }

footer { padding: 40px 0 56px; border-top: 3px solid var(--line); font-size: 14px; color: var(--muted); text-align: center; line-height: 1.9; }

/* plain pages (terms, privacy, thank-you, errors) */
body.plain main { padding: 56px 20px 80px; display: flex; flex-direction: column; gap: 24px; }
body.plain h1 { font-size: 28px; }
body.plain .logo { margin-bottom: 16px; }
body.plain p { color: var(--muted); font-size: 17px; }
body.plain b { color: var(--cream); }
.card { background: var(--panel); border: 3px solid var(--line); box-shadow: 6px 6px 0 var(--ink); padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; }
.card.gold { border-color: var(--gold); }
.card h2 { font-size: 16px; margin: 0; text-shadow: none; }
.note { font-size: 15px !important; }
.legal h2 { font-size: 14px; margin: 16px 0 0; text-shadow: none; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal ul { margin: 0; padding-left: 20px; }

@media (max-width: 960px) {
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .walk { width: 480px; }
  .guide-shot { width: 420px; height: 452px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section, .hero { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  h1 { font-size: 22px; }
  h2 { font-size: 17px; }
  .lead { font-size: 17px; }
  .top nav a:not(.btn) { display: none; }
  .hero .wrap, .demo { flex-direction: column; gap: 32px; }
  .demo.rev { flex-direction: column-reverse; }
  .phone { flex-basis: auto; }
  .phone img { width: 280px; height: 498px; }
  .stats { gap: 12px; margin-bottom: 56px; }
  .stat { padding: 16px; }
  .stat b { font-size: 12px; }
  .stat span { font-size: 13px; }
  .steps { grid-template-columns: 1fr; }
  .example q { font-size: 18px; }
  .example, .plan, .final { padding: 22px 18px; }
  .walk, .guide-shot { width: 100%; height: auto; }
  .gallery .big { display: none; }
  .gallery .small { display: block; }
  .btn { padding: 18px; font-size: 11px; }
  .hero .row .btn, .row form, .row form .btn { width: 100%; }
  .faq summary { font-size: 11px; }
  .price { font-size: 26px; }
  .final h2 { font-size: 15px; }
  body.plain h1 { font-size: 20px; }
}
