:root {
  color-scheme: dark;
  --bg: #0b1120;
  --surface: #111827;
  --card: #1e293b;
  --border: rgba(148, 163, 184, 0.24);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --primary: #10b981;
  --primary-hover: #059669;
  --amber: #f59e0b;
  --danger: #ef4444;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; background: radial-gradient(circle at top right, rgba(16,185,129,0.14), transparent 38%), var(--bg); color: var(--text); font-family: "Inter", system-ui, -apple-system, sans-serif; line-height: 1.6; }
:where(button, a, textarea, input):focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--primary); }
a { color: #6ee7b7; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.nav-brand { font-weight: 700; font-size: 18px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 14px; color: var(--muted); }
.hero { padding: 52px 0 36px; text-align: center; }
.badge { display: inline-block; max-width: 100%; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(16,185,129,0.14); border: 1px solid rgba(16,185,129,0.45); color: #6ee7b7; margin-bottom: 14px; }
h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.15; margin: 0 auto 14px; max-width: 780px; }
.lead { color: var(--muted); font-size: 17px; max-width: 650px; margin: 0 auto 26px; }
h1, h2, h3, p, .lead, .output { overflow-wrap: anywhere; }
code { overflow-wrap: anywhere; word-break: break-word; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; max-width: 100%; padding: 11px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; border: 1px solid var(--border); background: var(--card); color: var(--text); cursor: pointer; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #042f2e; }
.btn-primary:hover { background: var(--primary-hover); text-decoration: none; }
.section { padding: 32px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.grid-2 > *, .card > * { min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
textarea { width: 100%; background: #0d1526; color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 12px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.output { margin-top: 14px; padding: 14px; border-radius: 8px; background: #0d1526; border: 1px dashed var(--border); font-size: 13.5px; color: #cbd5e1; white-space: pre-line; }
ul.clean { padding-left: 18px; color: var(--muted); font-size: 14px; }
.price-tag { font-size: 32px; font-weight: 700; margin: 10px 0 4px; }
footer { border-top: 1px solid var(--border); padding: 26px 0 40px; margin-top: 28px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 36px 0 28px; }
  .cta-row .btn { width: 100%; text-align: center; }
}
