/* Ghostpay. Graphite, no colour accent: white buttons on black, a frosted-glass photograph, mono numbers. One radius (6). */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");
:root {
  --bg: #0b0c0c; --bg2: #0f1111; --panel: #131515; --panel2: #1a1c1c; --line: rgba(255, 255, 255, .09); --line2: rgba(255, 255, 255, .16);
  --ink: #eef0f3; --dim: rgba(238, 240, 243, .62); --faint: rgba(238, 240, 243, .38); --up: #3ce3ab; --down: #f23674;
  --sans: "Instrument Sans", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 6px; --wrap: 1240px; --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0 }
html { background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased }
body { min-height: 100vh; display: flex; flex-direction: column } main { flex: 1 }
a { color: inherit; text-decoration: none } button, input, select { font: inherit; color: inherit } button { cursor: pointer; border: 0; background: none }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums }
h1, h2, h3 { font-weight: 500; letter-spacing: -.03em; text-wrap: balance } p { text-wrap: pretty }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px }

/* top bar floats over the framed hero */
.top { position: absolute; left: 16px; right: 16px; top: 16px; z-index: 5; display: flex; align-items: center; gap: 34px; padding: 22px 36px }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.02em }
.brand img { width: 26px; height: 26px; object-fit: contain } .brand span { transform: translateY(-1px) }
.top nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--dim) } .top nav a:hover { color: var(--ink) }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: var(--r); font-weight: 500; font-size: 15px; transition: background .2s var(--ease), color .2s }
.btn.w { background: var(--ink); color: #0b0c0c } .btn.w:hover { background: #fff }
.btn.g { border: 1px solid var(--line2); color: var(--ink) } .btn.g:hover { background: rgba(255, 255, 255, .06) }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px }

/* H08: the photograph in a frame, text on the dark side of it */
.hero { padding: 16px; height: 100vh; min-height: 720px; max-height: 1100px }
.frame { position: relative; height: 100%; border-radius: 10px; overflow: hidden; background: #050606 }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50% }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 6, 6, .88) 0%, rgba(5, 6, 6, .55) 38%, rgba(5, 6, 6, 0) 64%) }
.hero-in { position: absolute; z-index: 2; left: 52px; bottom: 64px; max-width: 640px }
.hero h1 { font-size: clamp(48px, 5.6vw, 84px); line-height: 1; letter-spacing: -.045em }
.hero p { margin-top: 22px; font-size: 19px; color: var(--dim); max-width: 30em }
.cta { display: flex; gap: 12px; margin-top: 32px }
.ca { margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; height: 36px; padding: 0 14px; border: 1px dashed var(--line2); border-radius: var(--r); font: 13px var(--mono); color: var(--dim); background: rgba(0, 0, 0, .35); cursor: copy }
.ca b { color: var(--ink); font-weight: 500 }

/* numbers under the hero */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 96px 0 0 }
.stats div { padding: 30px 0 28px; border-right: 1px solid var(--line); padding-left: 28px } .stats div:first-child { padding-left: 0 } .stats div:last-child { border-right: 0 }
.stats b { display: block; font: 400 46px/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.03em }
.stats span { display: block; margin-top: 12px; font-size: 14px; color: var(--dim) }

/* sections: a label column on the left, content on the right */
.sec { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 130px 0 0 }
.sec > h2 { font-size: 34px; line-height: 1.1; position: sticky; top: 30px; align-self: start }
.sec .lead { font-size: 19px; color: var(--dim); max-width: 36em }

/* the path of one payment, drawn with the real addresses' shapes */
.path { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg2); padding: 40px 36px }
.path svg { width: 100%; height: auto; display: block }
.path .cap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 26px; font-size: 14px; color: var(--dim) }
.path .cap b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; font-size: 15px }

/* comparison table */
.cmp { width: 100%; border-collapse: collapse; margin-top: 36px; font-size: 15px }
.cmp th { text-align: left; font-weight: 500; color: var(--dim); font-size: 14px; padding: 0 16px 14px 0; border-bottom: 1px solid var(--line2) }
.cmp td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top }
.cmp td:first-child { color: var(--dim); width: 34% } .cmp td.y { color: var(--ink) } .cmp td.n { color: var(--faint) }

/* a live name lookup */
.look { margin-top: 36px; display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 620px }
.look input { height: 52px; padding: 0 18px; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); font: 16px var(--mono); outline: none } .look input:focus { border-color: rgba(255, 255, 255, .4) }
.found { margin-top: 16px; font: 13px/1.7 var(--mono); color: var(--dim); max-width: 620px; word-break: break-all; min-height: 46px }
.found b { color: var(--ink); font-weight: 500 }

/* questions as rows */
.faq { margin-top: 10px; border-top: 1px solid var(--line) }
.faq details { border-bottom: 1px solid var(--line) } .faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 18px; display: flex; justify-content: space-between; gap: 20px }
.faq summary::-webkit-details-marker { display: none } .faq summary::after { content: "+"; color: var(--dim); font: 20px var(--mono) } .faq details[open] summary::after { content: "−" }
.faq p { padding: 0 0 26px; color: var(--dim); max-width: 46em }

/* closing call: the button sits on the first line of the heading */
.end { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; padding: 150px 0 140px; border-bottom: 1px solid var(--line) }
.end h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.04; letter-spacing: -.04em; max-width: 14em }

/* footer: pure black strip */
.foot { background: #000; padding: 72px 0 80px; margin-top: 0 }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px }
.foot p { color: var(--faint); font-size: 14px; margin-top: 14px; max-width: 22em }
.foot h4 { font-weight: 500; font-size: 14px; color: var(--dim); margin-bottom: 14px } .foot a { display: block; font-size: 15px; margin-bottom: 9px } .foot a:hover { color: #fff }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease) } .reveal.in { opacity: 1; transform: none }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #0b0c0c; padding: 12px 18px; border-radius: var(--r); font-size: 14px; transition: .3s var(--ease); pointer-events: none; z-index: 50 }
.toast.on { opacity: 1; transform: translate(-50%, 0) } .toast.bad { background: var(--down); color: #fff }

@media (max-width: 960px) {
  .top { padding: 18px 20px } .top nav { display: none }
  .hero-in { left: 24px; right: 24px; bottom: 40px } .hero p { font-size: 17px }
  .frame::after { background: linear-gradient(0deg, rgba(5, 6, 6, .92) 10%, rgba(5, 6, 6, .3) 70%) }
  .stats { grid-template-columns: 1fr 1fr } .stats div { padding-left: 0 !important; border-right: 0 } .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line) }
  .sec { grid-template-columns: 1fr; gap: 20px; padding-top: 90px } .sec > h2 { position: static }
  .stats b { font-size: 26px } .path { padding: 24px 18px; overflow-x: auto } .path svg { min-width: 640px }
  .path .cap { grid-template-columns: 1fr } .end { grid-template-columns: 1fr } .foot .wrap { grid-template-columns: 1fr 1fr }
  .wrap { padding: 0 20px }
}
