:root { color-scheme: light dark; --bg: #f0f5fa; --surface: #fff; --ink: #1e293b; --body: #334155; --muted: #596b82; --line: #d1d5db; --blue: #046bd2; --button: #046bd2; --field: #f8fafc; --wordmark: #d6202e; --notice: #eaf3fd; --error: #a52020; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--body); font: 16px/1.65 Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, pre:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
header { max-width: 1080px; margin: 0 auto; padding: 25px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 14px; }
.wordmark { color: var(--wordmark); font-size: 26px; font-weight: 850; letter-spacing: -.06em; text-decoration: none; }
main { width: min(100% - 40px, 660px); margin: 45px auto 65px; }
.intro { margin-bottom: 32px; }
.eyebrow, .step { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; color: var(--blue); }
h1, h2 { color: var(--ink); line-height: 1.16; letter-spacing: -.04em; }
h1 { font-size: clamp(36px, 6vw, 52px); margin: 12px 0 15px; font-weight: 750; }
h2 { font-size: 26px; margin: 12px 0 22px; }
p { margin: 0 0 18px; }
.subtitle { color: var(--muted); font-size: 18px; max-width: 440px; }
.card { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 32px; box-shadow: 0 10px 35px #11274307; }
label { display: block; font-size: 14px; color: var(--ink); font-weight: 650; margin: 0 0 8px; }
textarea, input { color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 8px; padding: 14px; width: 100%; font: inherit; min-width: 0; }
textarea { display: block; resize: vertical; min-height: 150px; }
input { font-size: 13px; font-family: ui-monospace, Consolas, monospace; }
.field-meta { display: flex; justify-content: space-between; gap: 8px; margin: 8px 0 24px; color: var(--muted); font-size: 11px; flex-wrap: wrap; }
.field-meta .over-limit { color: var(--error); font-weight: bold; }
button { background: var(--button); color: #fff; border: 1px solid transparent; border-radius: 8px; padding: 12px 18px; font: inherit; font-size: 14px; line-height: 1.5; font-weight: 650; cursor: pointer; }
button:hover { filter: brightness(.94); }
button:disabled { opacity: .55; cursor: default; }
#create-button, #reveal-button { width: 100%; display: flex; align-items: center; justify-content: space-between; }
button span { font-size: 21px; line-height: 1; }
.secondary { border-color: var(--line); color: var(--ink); background: var(--surface); }
.danger { background: #a52020; }
.copy-row, .actions { display: flex; gap: 10px; align-items: stretch; }
.copy-row button { flex: 0 0 auto; }
.actions { flex-wrap: wrap; }
.fine { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 16px 0 0; }
.divider { border-top: 1px solid var(--line); margin: 25px 0; }
#open-receipt, #back-to-links { margin-top: 20px; }
.notice { padding: 18px 20px; background: var(--notice); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; overflow-wrap: anywhere; }
.notice p { margin: 0 0 12px; }
.notice.error { color: var(--error); }
#burn-confirm { margin: 20px 0 0; }
#receipt-state { font-size: 20px; color: var(--ink); }
#receipt-detail { margin-bottom: 20px; }
#secret-output { white-space: pre-wrap; overflow-wrap: anywhere; padding: 20px; background: var(--field); border: 1px solid var(--line); border-radius: 8px; font: 15px/1.7 ui-monospace, Consolas, monospace; max-height: 420px; overflow: auto; }
.trust-notes { margin-top: 30px; padding: 0 5px; color: var(--muted); font-size: 13px; }
.trust-notes strong { color: var(--ink); font-weight: 600; }
.start-again { margin-top: 28px; font-size: 14px; text-align: center; }
footer { max-width: 1080px; margin: 0 auto; border-top: 1px solid var(--line); padding: 22px 32px; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 520px) { header { padding: 20px; } main { margin-top: 25px; } .card { padding: 23px 20px; } h2 { font-size: 23px; } .copy-row { flex-wrap: wrap; } .copy-row button { width: 100%; } footer { padding-inline: 20px; } }
@media (prefers-color-scheme: dark) { :root { --bg: #111b2a; --surface: #192639; --ink: #e6edf7; --body: #cfdaea; --muted: #a7b8cd; --line: #3a4b62; --blue: #7abaff; --button: #046bd2; --field: #142032; --wordmark: #ff6170; --notice: #233a55; --error: #ffaaaa; } }
