/* Del Rey Software: one small stylesheet, no frameworks, no JavaScript. */
:root {
  --bg: #fbfaf7; --surface: #ffffff; --text: #1c2230; --muted: #5b6475; --line: #e4e2dc;
  --accent: #c2562b; --accent-ink: #ffffff; --accent-soft: #fbeee7; --code: #f1efe9;
  --max: 1080px; --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151b; --surface: #1a1e26; --text: #e8eaef; --muted: #a0a8b8; --line: #2b313c;
    --accent: #ec7f50; --accent-ink: #1a0f0a; --accent-soft: #2a1d17; --code: #232833;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }
a { color: var(--accent); text-underline-offset: 2px; }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Type */
h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 16px; }
h2 { font-size: 1.5rem; letter-spacing: -0.015em; margin: 48px 0 12px; }
h3 { font-size: 1.1rem; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
code, pre { font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--code); border-radius: 6px; }
code { padding: 1px 5px; }
pre { padding: 14px 16px; overflow-x: auto; }
pre code { padding: 0; background: none; }

/* Sections */
main { padding: 56px 0 72px; }
.hero { padding: 24px 0 8px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--accent); font-weight: 650; margin-bottom: 10px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.button { display: inline-block; padding: 11px 18px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.button.secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }
.badge { display: inline-block; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.card.feature h3::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); margin-right: 10px; vertical-align: 2px; }

table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15.5px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 14px; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
tr.total td { font-weight: 650; }
.table-scroll { overflow-x: auto; }

.price { font-size: 2.6rem; font-weight: 750; letter-spacing: -0.03em; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 40px; }
.prose li { margin-bottom: 6px; }
.note { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 12px 16px; border-radius: 0 8px 8px 0; }

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

@media (max-width: 640px) {
  body { font-size: 16px; }
  main { padding: 36px 0 56px; }
  .nav { margin-left: 0; gap: 16px; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
}

/* Small helpers (the site's Content-Security-Policy forbids inline styles) */
.mt { margin-top: 16px; }
.card-link { text-decoration: none; color: inherit; display: block; transition: border-color .15s; }
.card-link:hover { border-color: var(--accent); }
.card-link .mt { margin-top: 12px; }
.pricing { grid-template-columns: minmax(240px, 1fr) minmax(260px, 2fr); align-items: start; }
@media (max-width: 640px) { .pricing { grid-template-columns: 1fr; } }
.price-list { padding-left: 18px; margin: 14px 0 0; }
.caption-above { margin-bottom: 8px; }
.caption { margin-top: 8px; }
.features { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.button.soon { background: var(--accent-soft); color: var(--accent); cursor: default; }
