/* REVENUE OS — cool paper, ink and solar amber. System fonts only: no third-party requests. */
:root {
  --paper: #f5f7f6;
  --sheet: #ffffff;
  --ink: #13233a;
  --ink-2: #46566b;
  --line: #c9d3da;
  --amber: #e5a50a;
  --amber-ink: #7a4f00;
  --amber-wash: #fdf3d8;
  --leaf: #2d6a50;
  --leaf-wash: #e3f1ea;
  --alarm: #b3261e;
  --alarm-wash: #fbe4e2;
  --focus: #1b5fd1;
  --display: "Bahnschrift", "DIN Alternate", "D-DIN", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1824; --sheet: #16212f; --ink: #e8edf2; --ink-2: #a7b3c1; --line: #2c3a4b;
    --amber: #f0b429; --amber-ink: #f6c65b; --amber-wash: #2e2510; --leaf: #6fc79d; --leaf-wash: #13291f;
    --alarm: #ff8a80; --alarm-wash: #3a1513; --focus: #7fb0ff; 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; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); font-stretch: semi-condensed; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-stretch: semi-condensed; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 66ch; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 58ch; }

/* header */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.2rem; text-decoration: none; display: flex; align-items: center; gap: 10px; letter-spacing: 0.02em; }
.brand-mark { width: 22px; height: 22px; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: .95rem; }
.site-nav a { text-decoration: none; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 4px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: transparent; color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--paper); }
.btn-amber { background: var(--amber); border-color: var(--amber); color: #1d1400; }
.btn-amber:hover { background: transparent; color: var(--ink); }
.btn-small { min-height: 36px; padding: 0 14px; font-size: .9rem; border-width: 1px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.hero h1 { margin-bottom: 22px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 32px 0 0; border-top: 2px solid var(--ink); }
.facts div { padding: 12px 14px 0 0; }
.facts dt { font-size: .85rem; color: var(--ink-2); }
.facts dd { margin: 2px 0 0; font-family: var(--display); font-size: 1.15rem; font-weight: 600; }

/* the docket: the one bold element on the page */
.docket { background: var(--sheet); border: 1px solid var(--line); border-top: 6px solid var(--ink); box-shadow: 0 1px 0 var(--line), 8px 8px 0 -1px var(--amber-wash); position: relative; }
.docket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; border-bottom: 1px dashed var(--line); font-size: .85rem; color: var(--ink-2); }
.docket-body { padding: 16px 18px 18px; }
.docket-quote { font-size: .95rem; color: var(--ink-2); border-left: 3px solid var(--line); padding-left: 12px; margin: 0 0 16px; max-height: 7.6em; overflow: hidden; white-space: pre-line; }
.docket-title { font-family: var(--display); font-size: 1.5rem; font-weight: 600; margin: 0 0 10px; }
.stamp { display: inline-block; font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .04em; padding: 4px 10px 3px; border: 2px solid currentColor; transform: rotate(-3deg); }
.stamp.critical { color: var(--alarm); background: var(--alarm-wash); }
.stamp.high { color: var(--amber-ink); background: var(--amber-wash); }
.stamp.normal { color: var(--ink); }
.stamp.low { color: var(--ink-2); }
.meter { margin: 12px 0 16px; }
.meter-label { display: flex; justify-content: space-between; font-size: .9rem; color: var(--ink-2); margin-bottom: 6px; }
.meter-track { height: 10px; background: var(--paper); border: 1px solid var(--line); }
.meter-fill { height: 100%; background: var(--leaf); width: 0; transition: width .5s ease-out; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0 0 14px; font-size: .95rem; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.missing { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.missing li { padding: 3px 0 3px 26px; position: relative; }
.missing li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 12px; height: 12px; border: 2px solid var(--amber); }
.label { font-size: .85rem; color: var(--ink-2); margin: 14px 0 6px; font-weight: 600; }

/* sections */
section.band { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
section.band.alt { background: var(--sheet); }
.section-head { margin-bottom: 32px; max-width: 760px; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.1rem; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 40px; }
.cols h3 { margin-bottom: 8px; }
.problem p { font-size: 1.05rem; }

/* demo */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.samples { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
textarea, input, select { font: inherit; color: var(--ink); background: var(--sheet); border: 1px solid var(--ink-2); border-radius: 4px; padding: 10px 12px; width: 100%; }
textarea { min-height: 240px; resize: vertical; line-height: 1.5; }
.hint { font-size: .9rem; color: var(--ink-2); margin-top: 8px; }
.error { color: var(--alarm); font-weight: 600; margin: 10px 0 0; }
.draft { font-family: var(--mono); font-size: .88rem; min-height: 260px; background: var(--paper); }
.notes { margin: 0 0 12px; padding: 10px 14px; background: var(--amber-wash); border-left: 4px solid var(--amber); font-size: .92rem; }
.notes p { margin: 0 0 4px; }
.steps-list { margin: 0; padding-left: 1.2em; font-size: .95rem; }
.empty { color: var(--ink-2); border: 1px dashed var(--line); padding: 28px; text-align: center; }
.log { margin-top: 36px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--sheet); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--ink-2); white-space: nowrap; }
td select { padding: 4px 6px; min-width: 120px; }
.log-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; align-items: center; }

/* offer */
.offer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: start; }
.price-card { border: 2px solid var(--ink); background: var(--sheet); padding: 24px; }
.price { font-family: var(--display); font-size: 3.4rem; font-weight: 700; line-height: 1; margin: 6px 0 4px; }
.price-card ul { padding-left: 1.1em; margin: 14px 0 0; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 6px 0 6px 30px; position: relative; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .85em; width: 14px; height: 8px; border-left: 3px solid var(--leaf); border-bottom: 3px solid var(--leaf); transform: rotate(-45deg); }
ol.process { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
ol.process li { counter-increment: step; padding: 14px 16px 0 0; }
ol.process li::before { content: counter(step); display: block; font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--amber-ink); line-height: 1; margin-bottom: 6px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); background: var(--sheet); }
.split > div { padding: 22px 24px; }
.split > div + div { border-left: 1px solid var(--line); }
.split ul { padding-left: 1.1em; margin: 10px 0 0; }
.later { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.later > div { border-top: 2px solid var(--line); padding-top: 14px; }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: 2px 8px; border: 1px solid var(--ink-2); border-radius: 999px; color: var(--ink-2); margin-bottom: 8px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 4px 0; max-width: 820px; }
summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style-position: outside; }
details p { color: var(--ink-2); }

/* order */
.order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.pay-box { border: 2px solid var(--amber); background: var(--amber-wash); padding: 18px 20px; margin-bottom: 20px; }

/* footer & legal */
.site-foot { border-top: 2px solid var(--ink); padding: 32px 0 48px; font-size: .92rem; color: var(--ink-2); }
.site-foot .wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.site-foot nav { display: flex; flex-direction: column; gap: 6px; }
.legal main { max-width: 780px; margin: 0 auto; padding: 48px var(--gutter) 80px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.5rem; margin: 2rem 0 .6rem; }
.legal li { margin-bottom: 6px; max-width: 66ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 900px) {
  .hero .wrap, .demo, .offer, .order { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .site-foot .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: 1fr; }
  .facts div { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .site-nav { gap: 14px; font-size: .9rem; }
  .kv { grid-template-columns: 1fr; gap: 0; }
  .kv dd { margin-bottom: 8px; }
  .btn { width: 100%; }
}
@media print { .site-head, .site-nav, #demo, .order form { display: none; } }
