/* Mural site styles. Shared by index.html and the trust pages (terms, privacy, refunds, changelog). */
:root {
  --bg: #070a16; --bg2: #0b1020; --panel: #0f172a; --line: #1e293b; --text: #e2e8f0; --muted: #94a3b8; --dim: #8696b0;
  --accent: #6366f1; --accent2: #22d3ee; --pink: #d946ef; --ok: #34d399;
  /* Darker ends of the accent gradient so white text on buttons/badges stays above 4.5:1 */
  --accent-deep: #4f46e5; --violet-deep: #7c3aed;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid #a5b4fc; outline-offset: 3px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 'Segoe UI', system-ui, -apple-system, sans-serif; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Header */
header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: rgba(7,10,22,.75); border-bottom: 1px solid var(--line); }
nav { display: flex; align-items: center; gap: 22px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.01em; }
.logo img { width: 28px; height: 28px; border-radius: 7px; }
nav .links { display: flex; gap: 20px; margin-left: 10px; color: var(--muted); font-size: 14px; }
nav .links a:hover { color: var(--text); }
nav .cta { margin-left: auto; display: flex; gap: 10px; }
@media (max-width: 820px) { nav .links { display: none; } }
@media (max-width: 480px) { nav .cta .btn.secondary-nav { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; font-weight: 600; font-size: 14px; line-height: 1.4; white-space: nowrap; cursor: pointer; transition: transform .1s, background .15s, border-color .15s; }
.btn:hover { border-color: #334155; background: #16213a; transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--accent-deep), var(--violet-deep)); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -10px rgba(99,102,241,.8); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.big { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn.small { padding: 7px 12px; font-size: 13px; border-radius: 8px; }

/* Sale banner */
.banner { background: linear-gradient(90deg, rgba(99,102,241,.22), rgba(34,211,238,.14)); border-bottom: 1px solid var(--line); font-size: 14px; }
.banner .wrap { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: center; min-height: 40px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.banner b { color: #fff; }
.banner a { text-decoration: underline; color: var(--accent2); }
.banner .count { color: var(--text); }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(60% 50% at 30% 20%, rgba(34,211,238,.18), transparent 60%), radial-gradient(50% 40% at 75% 10%, rgba(217,70,239,.16), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent2); background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.25); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.03em; margin: 22px 0 18px; font-weight: 800; }
h1 span { background: linear-gradient(90deg, var(--accent2), #a78bfa, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 0 26px; }
.lead b { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 13px; color: var(--dim); margin-top: 12px; }
.hero-note a, .sub a, .card p a, .faq p a, .note a { text-decoration: underline; }
.dl-group { display: inline-flex; flex-direction: column; gap: 6px; }
.dl-group small { font-size: 12px; color: var(--dim); text-align: center; }
/* Hero: "Send to my PC" is for phones, "See examples" for desktops */
@media (min-width: 820px) { .only-mobile { display: none; } }
@media (max-width: 819.98px) { .only-desktop { display: none; } }
.trust { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 18px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.trust li::after { content: '·'; margin: 0 10px; color: var(--dim); }
.trust li:last-child::after { content: none; }
.trust li b { color: var(--text); font-weight: 600; }
.shot { margin-top: 48px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03) inset; background: #000; }
.shot img, .shot video { display: block; width: 100%; height: auto; }
.shot video { aspect-ratio: 16 / 9; object-fit: cover; }

/* Sections */
section { padding: 80px 0; }
@media (max-width: 600px) { section { padding: 56px 0; } }
section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.tight { padding: 48px 0; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent2); margin-bottom: 10px; }
h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 14px; }
.sub { color: var(--muted); max-width: 680px; font-size: 17px; margin: 0 0 36px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; background: linear-gradient(135deg, rgba(99,102,241,.35), rgba(217,70,239,.3)); margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.two { display: grid; gap: 40px; grid-template-columns: 1.1fr 1fr; align-items: center; }
.two .shot { margin-top: 0; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

/* AI proof strip: before/after pairs */
.pairs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pairs figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slot { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #111a33, #0b1020); border: 1px solid var(--line); }
.slot img, .slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot .tag { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(7,10,22,.75); padding: 2px 8px; border-radius: 999px; z-index: 1; }
.slot.after { border-color: rgba(34,211,238,.35); }
.pairs figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.pairs figcaption q { color: var(--text); font-weight: 600; font-style: normal; }
.cost { color: var(--accent2); font-weight: 600; white-space: nowrap; }

/* Example gallery */
.examples { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.example { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.example .slot { aspect-ratio: 16 / 9; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.example .slot .ph { font-size: 13px; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; }
.example .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.example h3 { margin: 0; font-size: 17px; }
.example p { margin: 0 0 8px; color: var(--muted); font-size: 14px; flex: 1; }
.example .actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Layer set */
.tools { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tools h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.tools ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tools li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.tools li b { color: var(--text); }
.tools li span { color: var(--muted); }
.pro-tag { font-size: 10px; font-weight: 700; color: #c4b5fd; background: rgba(139,92,246,.18); border: 1px solid rgba(139,92,246,.4); padding: 1px 6px; border-radius: 999px; letter-spacing: .08em; }

/* Comparison */
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 8px; }
.compare th, .compare td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { color: var(--dim); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.compare td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.compare td { color: var(--muted); }
.compare .win { color: var(--ok); font-weight: 600; }
@media (max-width: 600px) { .compare td:first-child { white-space: normal; } .compare th, .compare td { padding: 10px 6px; font-size: 13.5px; } }

/* Pricing */
.deadline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: var(--text); background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.3); padding: 8px 14px; border-radius: 10px; margin-bottom: 24px; }
.deadline b { color: var(--ok); }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; }
.plan.hot { border-color: rgba(99,102,241,.7); box-shadow: 0 0 0 1px rgba(99,102,241,.35), 0 30px 60px -30px rgba(99,102,241,.6); position: relative; }
.plan.hot::after { content: 'Recommended'; position: absolute; top: -12px; right: 16px; font-size: 11px; font-weight: 700; background: var(--accent-deep); color: #fff; padding: 3px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 18px; }
.plan .price { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 2px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan .founder-note { font-size: 12.5px; color: var(--ok); margin: 0 0 8px; }
.plan .credits { color: var(--accent2); font-weight: 600; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; color: var(--muted); font-size: 14.5px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: '✓'; color: var(--ok); position: absolute; left: 0; }
.plan li.limit::before { content: '–'; color: var(--dim); }
.plan .btn { margin-top: auto; justify-content: center; }
.note { font-size: 13.5px; color: var(--dim); margin: 18px 0 0; }

/* Credit calculator */
.calc { margin-top: 32px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); align-items: end; }
.calc h3 { grid-column: 1 / -1; margin: 0; font-size: 16px; }
.calc label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.calc label b { color: var(--text); font-weight: 600; }
.calc input[type=range] { width: 100%; accent-color: var(--accent2); }
.calc output { display: block; font-size: 15px; color: var(--muted); min-width: 220px; grid-column: 1 / -1; }
.calc output b { color: var(--text); font-size: 20px; display: block; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }

/* Credit details table */
details.box { margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
details.box summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
details.box summary::-webkit-details-marker { display: none; }
details.box summary::after { content: '+'; color: var(--dim); }
details.box[open] summary::after { content: '–'; }
details.box .inner { padding: 0 18px 14px; }
table.credits { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 4px; }
table.credits th, table.credits td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.credits th { color: var(--dim); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
table.credits td:last-child, table.credits th:last-child { text-align: right; white-space: nowrap; }
table.credits tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--dim); flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq p, .faq ol { color: var(--muted); margin: 10px 0 0; font-size: 15px; }
.faq ol { padding-left: 22px; }
.faq b { color: var(--text); }

/* Footer */
footer { padding: 40px 0 60px; color: var(--dim); font-size: 13px; border-top: 1px solid var(--line); }
footer .wrap { display: grid; gap: 14px 24px; grid-template-columns: 1fr 1fr; }
footer .fl { display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer a { text-decoration: underline; }
footer a:hover { color: var(--text); }
footer .sha { grid-column: 1 / -1; word-break: break-all; }
footer code { font: 12px/1.5 Consolas, 'Cascadia Mono', monospace; color: var(--muted); }
@media (max-width: 600px) { footer .wrap { grid-template-columns: 1fr; } }

/* Trust pages (terms, privacy, refunds, changelog) */
.doc { max-width: 800px; padding-top: 48px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); margin: 12px 0 8px; }
.doc .updated { color: var(--dim); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--muted); font-size: 16px; }
.doc li { margin: 4px 0; }
.doc b { color: var(--text); }
.doc a { text-decoration: underline; }
.doc .version { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-top: 44px; border-top: 1px solid var(--line); padding-top: 24px; }
.doc .version h2 { margin: 0; }
.doc .version .when { color: var(--dim); font-size: 14px; }
.doc .version .pill { margin: 0; }
.pill { display: inline-block; font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; margin: 4px 6px 0 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
