/* PostBluff website – same colours as the app, system fonts only (no external requests) */
:root {
  --bg: #0f1412;
  --bg-2: #121a17;
  --panel: #161d1a;
  --panel-2: #1c2521;
  --line: #26322d;
  --text: #e6ece9;
  --muted: #9aa8a1;
  --accent: #2fbf71;
  --accent-2: #1f8f53;
  --gold: #f4c152;
  --neg: #ff6b6b;
  --radius: 14px;
  --max: 1120px;
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
[hidden] { display: none !important; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11, 16, 14, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand b { color: var(--accent); }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 16px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); cursor: pointer; }
.btn:hover { text-decoration: none; border-color: var(--accent-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #06130c; }
.btn.primary:hover { background: #38d17f; }
.btn.small { padding: 7px 14px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 40px; text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, #173126 0%, transparent 70%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 6px 6px; }
.hero .wrap { position: relative; }
.badge { display: inline-block; padding: 5px 14px; border-radius: 999px; border: 1px solid rgba(244,193,82,.4); color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; max-width: 880px; margin: 0 auto 20px; }
.hero h1 .line { display: inline-block; }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 720px; margin: 0 auto 30px; text-wrap: balance; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.facts { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 14px; }
.facts span::before { content: "✓ "; color: var(--accent); }
.cta-note { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.hero .shot { margin-top: 56px; }

/* Screenshots: the image fills the frame; while it is missing a calm placeholder shows */
.shot { position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(47,191,113,.06); }
.shot img { width: 100%; height: auto; }
.shot.missing { aspect-ratio: 16 / 10; display: grid; place-items: center; background:
  radial-gradient(ellipse at 50% 45%, #1f7a4a33 0%, transparent 65%), var(--panel); }
.shot.missing img { display: none; }
.shot.missing::after { content: attr(data-label); color: var(--muted); font-size: 15px; padding: 20px; text-align: center; }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }
.kicker { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }

/* Feature rows: text and screenshot side by side, alternating */
.feature { display: grid; grid-template-columns: 1fr 1.55fr; gap: 48px; align-items: center; margin-bottom: 96px; }
.feature:last-child { margin-bottom: 0; }
.feature:nth-child(even) { grid-template-columns: 1.55fr 1fr; }
.feature:nth-child(even) .feature-text { order: 2; }
.feature h3 { font-size: clamp(24px, 3vw, 30px); font-weight: 750; margin-bottom: 14px; }
.feature p { color: var(--muted); }
.feature ul { margin: 0; padding: 0; list-style: none; }
.feature li { padding-left: 26px; position: relative; margin-bottom: 6px; color: var(--text); }
.feature li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (max-width: 880px) {
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; gap: 28px; margin-bottom: 72px; }
  .feature:nth-child(even) .feature-text { order: 0; }
}

/* Small feature cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(47,191,113,.12); color: var(--accent); font-size: 20px; margin-bottom: 14px; }

/* Rules block */
.rules { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.rules > ul { list-style: none; padding: 0; margin: 0; }
.rules > ul > li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 16px 52px; margin-bottom: 12px; position: relative; }
.rules > ul > li::before { content: "✓"; position: absolute; left: 18px; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #06130c; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.rules > ul > li b { display: block; }
.rules > ul > li span { color: var(--muted); font-size: 15px; }
.not { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.not h3 { font-size: 20px; margin-bottom: 14px; }
.not ul { list-style: none; padding: 0; margin: 0 0 16px; }
.not li { padding: 6px 0 6px 30px; position: relative; }
.not li::before { content: "✕"; position: absolute; left: 4px; color: var(--neg); font-weight: 800; }
.fine { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 880px) { .rules { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #06130c; font-weight: 800; margin-bottom: 16px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 650; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 13px; font-size: 26px; color: var(--accent); font-weight: 400; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* Final call to action */
.final { text-align: center; padding: 100px 0; background: radial-gradient(ellipse 60% 70% at 50% 100%, #173126 0%, transparent 70%); }
.final img { width: 88px; height: 88px; margin: 0 auto 26px; }
.final h2 { font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; max-width: 760px; margin: 0 auto 16px; }
.final p { color: var(--muted); font-size: 19px; margin-bottom: 30px; }
.socials { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 50px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; }
footer .legal { max-width: 640px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer nav a { color: var(--muted); }

/* Legal pages */
.page { max-width: 760px; margin: 0 auto; padding: 60px 20px 90px; }
.page h1 { font-size: 38px; margin-bottom: 26px; }
.page h2 { font-size: 22px; margin: 34px 0 10px; }
.page p, .page li { color: #cdd6d1; }
.todo { background: rgba(244,193,82,.12); border: 1px dashed var(--gold); color: var(--gold); padding: 0 6px; border-radius: 4px; }
