/* GhostWire store palette (deep navy, pale ink, cyan), as ghostwire.store.
   Colour reasoning, because the owner is colour-blind:
   - Cyan on navy is a lightness contrast first (about 10:1), so it holds for red-green and
     blue-yellow colour blindness alike. No meaning on these pages is carried by hue.
   - The one action shape is the filled cyan button; everything else that can be pressed is an
     underlined link or an outlined button. A buy button is recognisable by shape.
   - Price periods ("until 18 October", "from 19 October") are words, not colours.
   - A required credit disclosure is set at body size and body contrast, directly under the line it
     belongs to, inside the same bordered box: equal prominence, never a footnote. */
:root {
  --bg: #04101d; --panel: #0a1b2b; --panel2: #0e2438; --line: #1b3a54;
  --ink: #eef6f9; --mut: #a9c0cf;
  --acc: #2fd4e2; --acc-hi: #7deef5;
  --btn-ink: #04101d;
  --radius: 12px; --maxw: 1040px; --readw: 68ch;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
:root { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
section.wrap { padding-top: 48px; padding-bottom: 8px; }

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 7.5vw, 3.6rem); max-width: 17ch; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1.12rem; margin-bottom: .3em; }
p { margin: 0 0 1em; max-width: var(--readw); }
a { color: var(--acc-hi); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--acc); color: var(--btn-ink); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.brand { font-family: var(--mono); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .9rem; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: underline; }
.top-tag { margin-left: auto; font-family: var(--mono); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-hi); border: 1.5px solid var(--acc); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }

.hero { padding-top: 56px; }
.eyebrow { font-family: var(--mono); color: var(--acc-hi); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin-bottom: 14px; }
.lede { font-size: 1.15rem; max-width: 60ch; }
.sub { color: var(--mut); }
.note { color: var(--mut); font-size: .95rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px 22px; margin: 0 8px 8px 0;
  background: var(--acc); color: var(--btn-ink); border: 2px solid var(--acc); border-radius: 8px;
  font: inherit; font-weight: 700; line-height: 1.25; text-decoration: none; cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--acc-hi); }
.btn:hover { filter: brightness(1.1); }
:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; border-radius: 6px; }

.timeline { display: grid; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.timeline li { display: grid; gap: 2px; padding: 16px 18px; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; }
.timeline .day { font-family: var(--mono); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--acc-hi); }
.timeline strong { font-size: 1.12rem; }
.timeline span:last-child { color: var(--mut); }
.timeline li:last-child { background: var(--panel2); box-shadow: inset 6px 0 0 var(--acc); }

.facts { display: grid; gap: 12px; }
.facts li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.facts strong { display: block; font-size: 1.45rem; line-height: 1.15; color: var(--acc-hi); }
.facts span { color: var(--mut); }

.group { margin-top: 32px; font-size: 1.25rem; }
.tag { display: inline-block; font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin: 0 0 10px; border: 1.5px solid var(--acc); color: var(--acc-hi); }
.tag.solid { background: var(--acc); color: var(--btn-ink); }

.cards { display: grid; gap: 14px; margin-top: 16px; }
.card { display: flex; flex-direction: column; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.card.lead { border: 2px solid var(--acc); background: var(--panel2); }
.card p { color: var(--mut); }
.price { font-weight: 800; font-size: 2rem; line-height: 1.1; margin: 0 0 .35em; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink) !important; }
.then { font-size: .95rem; margin: 0 0 .8em; }
.ticks { display: grid; gap: 8px; margin: 0 0 18px; color: var(--mut); flex: 1; }
.ticks li { padding-left: 1.5em; position: relative; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--acc-hi); font-weight: 800; }
.card .btn { margin: auto 0 0; width: 100%; }

.rows { display: grid; gap: 10px; margin-top: 16px; }
.rows > li { display: grid; gap: 10px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.rows p { margin: 0; color: var(--mut); }
.rows .price { font-size: 1.5rem; margin: 0; }
.rows .btn { margin: 0; }

/* A lender's approved line and its required disclosure travel together in one box. */
.credit { border: 1.5px solid var(--acc); border-radius: var(--radius); background: var(--panel2); padding: 14px 16px; margin: 14px 0; max-width: var(--readw); }
.credit .offer { font-weight: 700; font-size: 1.08rem; margin: 0 0 .45em; color: var(--ink); }
.credit .disclosure { font-size: 1rem; margin: 0; color: var(--ink); }
.card .credit { width: 100%; }

.choose { display: grid; gap: 14px; margin-top: 24px; }
.choose a { display: block; background: var(--panel); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px 20px; color: var(--ink); text-decoration: none; }
.choose a:hover, .choose a:focus-visible { border-color: var(--acc); }
.choose strong { display: block; font-size: 1.35rem; line-height: 1.2; margin-bottom: 6px; }
.choose span { display: block; color: var(--mut); }
.choose .go { margin-top: 12px; color: var(--acc-hi); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.steps { display: grid; gap: 12px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.steps h3 { color: var(--acc-hi); }
.steps p { margin: 0; color: var(--mut); }

.faq { margin: 0; border-top: 1px solid var(--line); }
.faq dt { font-weight: 700; font-size: 1.08rem; padding-top: 18px; }
.faq dd { margin: 6px 0 0; padding-bottom: 18px; color: var(--mut); max-width: var(--readw); border-bottom: 1px solid var(--line); }

.foot { margin-top: 56px; padding: 24px 0 40px; border-top: 1px solid var(--line); color: var(--mut); font-size: .88rem; }
.foot p { max-width: 90ch; margin: 0 0 .8em; }

@media (min-width: 720px) {
  body { font-size: 18px; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline li { border-top: 0; border-left: 1px solid var(--line); padding: 20px; }
  .timeline li:first-child { border-left: 0; }
  .timeline li:last-child { box-shadow: inset 0 6px 0 var(--acc); }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .rows > li { grid-template-columns: 1fr auto auto; gap: 20px; }
  .rows > li.wide { grid-template-columns: 1fr auto; }
  .choose { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
