/*
 * Mailbag Contact Form — sitets eneste stylesheet.
 *
 * Maerket bor i de tre farver herunder og ingen andre steder: tools/assets.mjs
 * laeser --brand, --brand-ink og --accent herfra til katalogets ikon og banner,
 * saa banneret ikke kan faa en anden groen end ikonet.
 */
:root {
  --brand: #1d6b64;
  --brand-ink: #134843;
  --accent: #e0a526;

  --bg: #0d1413;
  --bg-2: #111b19;
  --panel: #15211f;
  --panel-2: #1a2926;
  --line: #27403b;
  --text: #e6eeea;
  --muted: #a3b8b1;
  --faint: #7d948d;
  --link: #6fd3c6;
  --ok: #57c98a;
  --bad: #f07a6a;
  --warn: #f2c45a;
  --radius: 12px;
  --max: 1120px;
  --read: 72ch;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: #9be6dc; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 680; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
code, kbd { font: 0.92em/1.4 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; background: var(--panel-2); border: 1px solid var(--line); border-radius: 5px; padding: .08em .35em; }
pre { font: 0.9rem/1.5 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; overflow-x: auto; white-space: pre; }
pre code { background: none; border: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--read); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* ---- header ---------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--line); background: rgba(13, 20, 19, .92); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.brand:hover { color: var(--text); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* ---- buttons --------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 10px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; text-align: center; font-family: inherit; }
.btn-primary { background: var(--accent); color: #171204; }
.btn-primary:hover { background: #f0b73a; color: #171204; }
.btn-secondary { background: transparent; color: var(--text); border-color: #3c5a54; }
.btn-secondary:hover { border-color: var(--link); color: var(--text); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: #237d75; color: #fff; }
.btn[aria-disabled="true"], .btn:disabled { background: var(--panel-2); color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-note { margin-top: 12px; font-size: .92rem; color: var(--muted); max-width: 60ch; }
.btn-note strong { color: var(--text); }

/* ---- sections -------------------------------------------------------- */
section { padding: 64px 0; }
section + section { border-top: 1px solid rgba(39, 64, 59, .5); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 10px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }

.hero { padding: 72px 0 36px; }
.hero h1 { max-width: 20ch; }
.hero .lead { margin-bottom: 26px; }

.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.proof li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.proof strong { display: block; color: var(--text); font-size: 1rem; }
.proof span { color: var(--muted); font-size: .92rem; }

.shot { margin: 0; }
.shot .frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 18px 48px rgba(0, 0, 0, .45); }
.shot figcaption { color: var(--muted); font-size: .93rem; margin-top: 10px; }
.shot-hero { padding: 8px 0 64px; }
.placeholder { display: grid; place-items: center; aspect-ratio: 1366 / 900; background: repeating-linear-gradient(135deg, var(--panel) 0 14px, var(--panel-2) 14px 28px); color: var(--muted); font-weight: 650; text-align: center; padding: 20px; }

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 26px; }

.pro { background: linear-gradient(160deg, var(--brand-ink), var(--bg-2) 70%); border: 1px solid #2a5a53; border-radius: 16px; padding: 30px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.pro ul { margin: 0 0 1em; padding-left: 1.2em; color: var(--muted); }
.pro li { margin-bottom: 6px; }
.price-box { background: rgba(13, 20, 19, .6); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.price-line { font-size: 1.7rem; font-weight: 750; margin: 0; }
.price-alt { color: var(--muted); margin: 4px 0 14px; }
.waitlist { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--warn); background: rgba(242, 196, 90, .08); border-radius: 6px; font-size: .94rem; color: var(--text); }
.waitlist p { margin: 0 0 .5em; }
.waitlist p:last-child { margin: 0; }

.table-wrap { overflow-x: auto; margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--panel-2); font-weight: 700; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.yes { color: var(--ok); font-weight: 650; }
td.no { color: var(--faint); }

.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 650; list-style-position: outside; }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.faq details p { color: var(--muted); }

.end { text-align: left; }
.end h2 { max-width: 24ch; }

/* ---- footer ---------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--faint); font-size: .9rem; margin-top: 40px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
.site-footer nav a { color: var(--muted); }
.site-footer p { margin: 0 0 .5em; max-width: 90ch; }

/* ---- plain pages (pricing, legal, plugin, success, recover) ----------- */
.page { padding: 56px 0 24px; }
.page h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.page h2 { margin-top: 1.6em; font-size: 1.4rem; }
.page ul, .page ol { padding-left: 1.3em; }
.page li { margin-bottom: .45em; }
.draft { background: rgba(242, 196, 90, .12); border: 1px solid #8a6d1f; color: #f7e3ad; border-radius: 10px; padding: 14px 16px; margin: 0 0 26px; }
.draft strong { color: #ffe9a8; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 26px 0; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan.featured { border-color: #2f7b72; box-shadow: 0 0 0 1px #2f7b72 inset; }
.plan h2 { margin: 0; font-size: 1.3rem; }
.plan ul { margin: 0; color: var(--muted); }
.plan .btn { margin-top: auto; }
.steps li { margin-bottom: .8em; }
.status { padding: 14px 16px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); margin: 18px 0; }
.status.ok { border-color: #2f7b58; }
.status.bad { border-color: #7b3a2f; }

form.stack { display: grid; gap: 12px; max-width: 460px; margin: 18px 0; }
label { font-weight: 600; }
input[type="email"], input[type="text"], input[type="url"], textarea, select {
  width: 100%; font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid #36524c; border-radius: 8px; padding: 10px 12px;
}
textarea { min-height: 150px; resize: vertical; font: .9rem/1.5 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; }
input:focus, textarea:focus, select:focus { border-color: var(--link); outline: none; box-shadow: 0 0 0 3px rgba(111, 211, 198, .25); }

/* ---- guides ---------------------------------------------------------- */
.crumbs { font-size: .9rem; color: var(--faint); margin: 0 0 16px; }
.crumbs a { color: var(--muted); }
.guide { padding: 44px 0 20px; }
.guide article { max-width: var(--read); }
.guide article h2 { margin-top: 1.7em; font-size: 1.35rem; }
.guide article li { margin-bottom: .45em; }
.answer { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 18px; margin: 18px 0 8px; }
.answer p:last-child { margin: 0; }
.pro-note { background: rgba(29, 107, 100, .18); border: 1px solid #2a5a53; border-radius: 10px; padding: 14px 16px; margin: 22px 0; }
.related { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.related ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.cta-strip { margin: 36px 0 10px; padding: 20px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.cta-strip p { margin: 0 0 12px; }
.guide-index h2 { margin-top: 1.4em; font-size: 1.25rem; }
.guide-index ul { columns: 2; column-gap: 32px; padding-left: 1.1em; }
.guide-index li { break-inside: avoid; margin-bottom: .4em; }

/* the working tools on the guides (never on the front page) */
.tool { background: var(--bg-2); border: 1px solid #2f4a45; border-radius: 14px; padding: 20px; margin: 26px 0; }
.tool h2, .tool h3 { margin-top: 0 !important; }
.tool .row { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.tool .out { margin-top: 14px; }
.tool .out:empty { display: none; }
.tool table { font-size: .92rem; }
.tool .pill { display: inline-block; padding: .1em .55em; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.pill.ok { background: rgba(87, 201, 138, .16); color: var(--ok); }
.pill.bad { background: rgba(240, 122, 106, .16); color: var(--bad); }
.pill.warn { background: rgba(242, 196, 90, .16); color: var(--warn); }
.pill.info { background: rgba(111, 211, 198, .14); color: var(--link); }
.tool .verdict { font-weight: 650; }
.tool .preview { white-space: pre-wrap; background: #0a100f; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font: .9rem/1.5 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; }

@media (max-width: 860px) {
  .proof, .benefits { grid-template-columns: minmax(0, 1fr); }
  .gallery, .plans, .pro { grid-template-columns: minmax(0, 1fr); }
  .guide-index ul { columns: 1; }
  section { padding: 48px 0; }
  .hero { padding-top: 48px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .btn { width: 100%; }
  .nav { gap: 12px; }
  .pro { padding: 20px; }
}
