@font-face{font-family:"Inter";font-weight:400;font-style:normal;font-display:swap;src:url("/fonts/Inter-Regular.ttf") format("truetype")}
@font-face{font-family:"Inter";font-weight:600;font-style:normal;font-display:swap;src:url("/fonts/Inter-SemiBold.ttf") format("truetype")}
@font-face{font-family:"Inter";font-weight:700;font-style:normal;font-display:swap;src:url("/fonts/Inter-Bold.ttf") format("truetype")}
@font-face{font-family:"InterDisplay";font-weight:700;font-style:normal;font-display:swap;src:url("/fonts/InterDisplay-Bold.ttf") format("truetype")}
/* dieselheater.app: Midnight Flame, the app's own look (app/lib/ui/tokens.dart). Dark by design.
   make_site.py puts the @font-face rules in front of this file and writes it to site/css/site.css. */

/* hidden means hidden, whatever display a class gives (the support form's topic fields) */
[hidden] { display: none !important; }

:root {
  --navy: #0B1020; --deep: #080C19;
  --s1: #0F1528; --s2: #131A31; --s3: #19213B; --s4: #1F2846;
  --line: #2C3757; --line-soft: #222B47;
  --text: #EEF1F8; --muted: #9AA5C3; --faint: #66708F;
  --flame: #FF8A1F; --flame-deep: #FF6A00; --flame-light: #FFB347; --on-flame: #1A0E00;
  --ember: #3A2208; --ember-text: #FFC48A;
  --ice: #38D9F5; --frost: #0E3440; --frost-text: #A5EEFB;
  --ok: #3DDC97; --warn: #FFC94A; --alarm: #FF5C6C;
  --flame-fill: linear-gradient(90deg, var(--flame-deep), var(--flame), var(--flame-light));
  --rim: linear-gradient(135deg, #34406A, #161D35);
  --radius: 22px; --radius-s: 14px;
  --gutter: 16px;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "InterDisplay", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  font: 400 17px/1.6 var(--body); color: var(--text);
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(255, 138, 31, .14), transparent 62%),
    radial-gradient(900px 520px at -6% 12%, rgba(56, 217, 245, .07), transparent 60%),
    var(--navy);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ice); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--frost-text); }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-family: var(--body); font-weight: 600; font-size: 1.15rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
strong { color: var(--text); font-weight: 700; }
code { font: 600 .9em/1.4 ui-monospace, Consolas, monospace; color: var(--frost-text); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--flame); color: var(--on-flame);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
@media (min-width: 640px) { :root { --gutter: 24px; } }

/* icons and badges */
.ico { width: 22px; height: 22px; flex: none; }
.ico-lg { width: 30px; height: 30px; color: var(--flame); }
.flip { transform: scaleX(-1); }
.badge { display: inline-block; vertical-align: .32em; margin-left: .35em; padding: 2px 9px; border-radius: 8px;
  font: 700 .72rem/1.5 var(--body); letter-spacing: .02em; }
.badge-pro { background: var(--flame-fill); color: var(--on-flame); }
.badge-beta { background: var(--frost); color: var(--frost-text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px;
  padding: .7em 1.35em; border-radius: 999px; font: 700 1rem/1.2 var(--body); text-decoration: none;
  border: 1px solid transparent; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn .ico { width: 20px; height: 20px; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .85em 1.6em; font-size: 1.08rem; }
.btn-flame { background: var(--flame-fill); color: var(--on-flame); box-shadow: 0 12px 34px -12px rgba(255, 138, 31, .75); }
.btn-flame:hover { color: var(--on-flame); box-shadow: 0 16px 40px -12px rgba(255, 138, 31, .9); }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgba(19, 26, 49, .6); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }
.btn-soon { color: var(--frost-text); background: var(--frost); border-color: rgba(56, 217, 245, .45); }
.btn-soon:hover { color: var(--frost-text); }

/* top bar */
.top { position: sticky; top: 0; z-index: 5; background: rgba(11, 16, 32, .82); border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font: 700 1.12rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap; margin-right: auto; }
.brand:hover { color: var(--text); }
.brand em { font-style: normal; color: var(--flame); }
.nav { display: none; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--s2); }
.top .btn-sm span { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); }
.menu nav { position: absolute; right: 0; top: 54px; min-width: 210px; display: flex; flex-direction: column; padding: 8px;
  background: var(--s3); border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.menu nav a { color: var(--text); text-decoration: none; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.menu nav a:hover, .menu nav a[aria-current="page"] { background: var(--s4); }
@media (min-width: 480px) { .top .btn-sm span { display: inline; } }
@media (min-width: 900px) { .nav { display: flex; } .menu { display: none; } }

/* sections */
.band { padding: clamp(44px, 7vw, 84px) 0; }
.band + .band { padding-top: 0; }
.section-title { margin-bottom: .4em; }
.card + .section-title, .card + .card, .faq + .card { margin-top: 36px; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.25rem); line-height: 1.55; max-width: 60ch; }
.fine { color: var(--faint); font-size: .92rem; }
.center { text-align: center; margin-top: 28px; }
.caveat { color: var(--faint); font-size: .92rem; margin-top: 18px; max-width: 70ch; }
.page-head { padding: clamp(40px, 7vw, 76px) 0 8px; }
.page-head + .band { padding-top: 18px; }
.crumbs { margin: 0 0 10px; font-weight: 600; }
.crumbs a { text-decoration: none; }

/* hero */
.hero { padding: clamp(36px, 7vw, 80px) 0 24px; }
.hero-in { display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem;
  color: var(--ember-text); background: rgba(255, 138, 31, .1); border: 1px solid rgba(255, 138, 31, .35); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero-art { display: flex; justify-content: center; position: relative; }
.hero-art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; top: 14%;
  background: radial-gradient(circle, rgba(255, 138, 31, .32), rgba(255, 138, 31, 0) 68%); }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.15fr .85fr; } }
.trust { list-style: none; margin: 40px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-soft);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; color: var(--muted); font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust .ico { color: var(--ice); }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, auto); justify-content: space-between; } }
@media (min-width: 1100px) { .trust { grid-template-columns: repeat(5, auto); } }

/* phones and the tablet */
.phone { margin: 0; padding: 9px; border-radius: 46px; background: #05070D; position: relative;
  box-shadow: 0 0 0 1px #26304F, 0 40px 90px -30px rgba(0, 0, 0, .8); max-width: 340px; width: 100%; }
.phone img { border-radius: 37px; width: 100%; height: auto; }
.phone-hero { max-width: 330px; }
.phone-sm { max-width: 200px; padding: 6px; border-radius: 30px; }
.phone-sm img { border-radius: 24px; }
.phone-side { max-width: 300px; margin: 0 auto; }
.tablet { margin: 0; padding: 12px; border-radius: 30px; background: #05070D; box-shadow: 0 0 0 1px #26304F, 0 40px 90px -30px rgba(0, 0, 0, .8); }
.tablet img { border-radius: 20px; width: 100%; height: auto; }

/* cards */
.card { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid transparent;
  background: linear-gradient(var(--s2), var(--s2)) padding-box, var(--rim) border-box; }
.card h2 { font-size: 1.45rem; }
.card p:last-child { margin-bottom: 0; }
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
/* cards side by side line up: the stacked cards' spacing (.card + .card) is not for a grid's rows */
.grid > .card { margin-top: 0; }
/* and their "How it works" links sit on one line at the bottom, however long each card's text */
.grid > .pillar, .grid > .mini, .grid > .feat { display: flex; flex-direction: column; }
.grid > .pillar .more, .grid > .mini .more, .grid > .feat .more { margin-top: auto; padding-top: 6px; }
/* a narrow column that keeps the page's left edge (the home page's questions, the Pro page's table) */
.col { max-width: 820px; }
/* a heading after a question (the download page's "Check the download") gets its own room */
.qa + h2 { margin-top: 1.6em; }
.checks + .fine { margin-top: 16px; }
.tight { margin: 22px 0; }
.pillar .ico-lg, .feat .ico-lg { margin-bottom: 14px; }
.pillar p, .feat p { color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.more .ico { width: 18px; height: 18px; }
.shot-card { display: grid; grid-template-columns: minmax(0, 150px) 1fr; gap: 20px; align-items: center; }
.shot-card p { color: var(--muted); }
@media (min-width: 420px) { .shot-card { grid-template-columns: 170px 1fr; } }
.band-pro { background: linear-gradient(180deg, transparent, rgba(58, 34, 8, .28) 40%, transparent); }

/* lists */
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { color: var(--ok); margin-top: 3px; }
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr .8fr; } .split-even { grid-template-columns: 1fr 1fr; align-items: start; } }
/* the footer's languages */
.langs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 18px 0 6px; font-size: .9rem; }
.langs a { color: var(--muted); text-decoration: none; }
.langs a:hover, .langs a[aria-current] { color: var(--text); }
.langs a[aria-current] { font-weight: 600; }

/* the Heater view's three stages, side by side on a wide screen */
.views { display: grid; gap: 28px; margin-top: 28px; justify-items: center; }
@media (min-width: 760px) { .views { grid-template-columns: repeat(3, 1fr); } }
.view { width: 100%; max-width: 280px; text-align: center; }
.phone-view { margin: 0 auto; }
.view-cap { margin: 14px 0 0; font-weight: 600; color: var(--text); }
.more-title { margin: 40px 0 16px; font-size: 1.3rem; }
.mini .ico-lg { margin-bottom: 12px; color: var(--flame); }
.mini p { color: var(--muted); }
.mini h3 { margin-bottom: .3em; }
.steps { counter-reset: step; list-style: none; margin: 16px 0 24px; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; color: var(--muted); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font: 700 .9rem/1 var(--body); color: var(--on-flame); background: var(--flame-fill); }
.bullets { margin: 0 0 1em; padding-left: 1.3em; color: var(--muted); }
.bullets li { margin-bottom: .5em; }
.bullets li::marker { color: var(--flame); }
.plain { list-style: none; padding: 0; margin: 0 0 1em; }
.plain li { margin-bottom: .6em; }
.pills { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.pills a { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--s2);
  color: var(--text); text-decoration: none; font-weight: 600; }
.pills a:hover { border-color: var(--ice); }

/* the wall display and the heaters callout */
.wall { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .wall { grid-template-columns: 1.2fr .8fr; } }
.callout { display: grid; gap: 18px; }
.callout .ico-lg { color: var(--ice); }
@media (min-width: 720px) { .callout { grid-template-columns: auto 1fr; padding: 32px; } }
.callout p { color: var(--muted); }

/* questions */
.faq { display: grid; gap: 10px; margin: 18px 0 30px; }
.qa { border-radius: var(--radius-s); background: var(--s2); border: 1px solid var(--line-soft); }
.qa summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 600; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font: 400 1.5rem/1 var(--body); color: var(--flame); }
.qa[open] summary::after { content: "\2013"; }
.qa p, .qa ul { padding: 0 18px 4px; color: var(--muted); }

/* notes (as the app's help draws them) */
.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px; margin: 0 0 1.2em; border-radius: var(--radius-s);
  background: var(--ember); border: 1px solid rgba(255, 138, 31, .5); color: var(--ember-text); }
.note p { margin: 0; color: var(--ember-text); }
.note strong { color: var(--ember-text); }
.note-ico { width: 24px; height: 24px; flex: none; color: var(--flame); margin-top: 1px; }

/* Pro: the table and the gift */
.table-wrap { overflow-x: auto; margin: 10px 0 26px; border-radius: var(--radius-s); border: 1px solid var(--line-soft); }
.compare { width: 100%; border-collapse: collapse; background: var(--s2); }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.compare thead th { font-size: .95rem; color: var(--muted); background: var(--s1); }
.compare td, .compare thead th + th { text-align: center; width: 70px; }
.compare tbody th { font-weight: 500; color: var(--text); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .ico { margin: 0 auto; }
.compare .yes { color: var(--ok); }
.compare .no { color: var(--faint); }
.gift { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.gift h3 { margin-bottom: .3em; }
.gift p { color: var(--muted); }

/* download */
.get { text-align: center; padding: 34px 24px; }
.get .btn { margin: 0 auto 12px; }
.get h3 { margin-top: 18px; }
.hash { font: 500 .8rem/1.5 ui-monospace, Consolas, monospace; color: var(--muted); word-break: break-all; }
.check { margin-top: 26px; }

/* help */
.help-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.help-item { display: block; text-decoration: none; color: var(--text); padding: 18px 20px; }
.help-item:hover { color: var(--text); background: linear-gradient(var(--s3), var(--s3)) padding-box, var(--rim) border-box; }
.help-item strong { display: block; font-size: 1.08rem; margin-bottom: 2px; }
.help-item span { color: var(--muted); font-size: .95rem; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.prose .steps { margin-top: 0; }
.same { margin-top: 30px; }
.prevnext { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--line-soft); font-weight: 600; }
.prevnext a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.prevnext .ico { width: 18px; height: 18px; }

/* the support form (support.js switches body[data-state] between ask, sending and sent) */
.st { display: none; }
body[data-state="ask"] .st-ask, body[data-state="sending"] .st-sending, body[data-state="sent"] .st-sent { display: block; }
.support h2 { display: flex; align-items: center; gap: 10px; }
.support h2 .ico { color: var(--flame); }
.dhk-support { display: grid; gap: 18px; margin-top: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font-weight: 600; }
.field small { color: var(--faint); font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--body); color: var(--text);
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--flame); outline-offset: 1px; border-color: transparent; }
.hint-box { padding: 14px 16px; border-radius: var(--radius-s); background: var(--frost); border: 1px solid rgba(56, 217, 245, .35); }
.hint-box p { margin-bottom: .4em; color: var(--frost-text); }
.hint-box .bullets { margin: 0; color: var(--frost-text); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.problem { margin: 0; padding: 12px 14px; border-radius: var(--radius-s); background: var(--alarm-deep, #4A0F18);
  border: 1px solid rgba(255, 92, 108, .55); color: #FFB3BC; font-weight: 600; }
.turnstile { min-height: 65px; }
.dhk-support .btn { justify-self: start; }
.st-sending { color: var(--muted); }
.card + .sub { margin-top: 22px; }

/* the Pro shop (pro.js switches body[data-state]; a function's ?problem= shows its .pr-* line) */
body[data-state="loading"] .st-loading, body[data-state="pending"] .st-pending, body[data-state="notfound"] .st-notfound,
body[data-state="error"] .st-error, body[data-state="ready"] .st-ready, body[data-state="missing"] .st-missing,
body[data-state="buy"] .st-buy, body[data-state="gifts"] .st-gifts, body[data-state="thanks"] .st-thanks,
body[data-state="choose"] .st-choose, body[data-state="refused"] .st-refused, body[data-state="pay"] .st-pay,
body[data-state="year"] .st-year, body[data-state="short"] .st-short, body[data-state="closed"] .st-closed { display: block; }
/* a USDC payment's QR code: dark on white with its light border, in the dark theme too (Power King's .qr) */
.qr { display: inline-block; background: #fff; border-radius: 12px; padding: 6px; line-height: 0; justify-self: start; }
.qr svg { max-width: 100%; height: auto; shape-rendering: crispEdges; }
.shop .wallet { font-size: .9rem; }
.shop > * + * { margin-top: 18px; }
.shop .problem[hidden] { display: none; }
.shop .panel { display: grid; gap: 14px; }
.shop .panel form { display: grid; gap: 16px; justify-items: start; }
.shop .price { margin: 0; font: 700 1.6rem/1.2 var(--display, var(--body)); color: var(--text); }
.shop .row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.shop .key { display: block; padding: 12px 14px; border-radius: var(--radius-s); background: var(--s1); border: 1px solid var(--line);
  font-size: .85rem; line-height: 1.5; word-break: break-all; user-select: all; }
.shop .st-loading, .shop .st-pending { color: var(--muted); }
.dhk-gifts { display: grid; gap: 14px; }
.amounts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.amounts legend { font-weight: 600; margin-bottom: 8px; }
.amount input { position: absolute; opacity: 0; }
.amount span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--s2);
  font-weight: 600; cursor: pointer; }
.amount input:checked + span { border-color: var(--flame); color: var(--text); background: rgba(255, 138, 31, .14); }
.amount input:focus-visible + span { outline: 2px solid var(--flame); outline-offset: 2px; }

/* footer */
.foot { margin-top: 40px; padding: 36px 0 44px; border-top: 1px solid var(--line-soft); background: rgba(8, 12, 25, .6);
  color: var(--faint); font-size: .92rem; }
.foot-top { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: var(--text); }
.foot p { margin: 0 0 6px; }
.safety { margin-top: 8px; }
