:root {
  --paper: #faf9f6;
  --ink: #10100e;
  --muted: #696961;
  --line: #d9d8d1;
  --white: #fff;
  --pink: #10100e;
  --pink-text: #10100e;
  --yellow: #f0efea;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 400; }
a { color: inherit; text-underline-offset: .22em; }
[hidden] { display: none !important; }
.skip-link { background: var(--ink); color: var(--white); left: 1rem; padding: .75rem 1rem; position: fixed; top: -5rem; z-index: 10; }
.skip-link:focus { top: 1rem; }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; box-shadow: 0 0 0 7px var(--paper); }
.topbar { align-items: center; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; min-height: 86px; padding: 1rem max(24px, calc((100vw - 1348px) / 2)); }
.brand { display: inline-flex; align-items: center; color: var(--ink); font-size: 1.5rem; font-weight: 750; letter-spacing: -.05em; line-height: 1; text-decoration: none; min-height: 44px; }
.brand span { color: inherit; }
.brand i { display: block; width: 20px; height: 20px; margin-right: 11px; background: linear-gradient(var(--ink), var(--ink)) left top / 8px 8px no-repeat, linear-gradient(var(--ink), var(--ink)) right top / 8px 8px no-repeat, linear-gradient(var(--ink), var(--ink)) left bottom / 8px 8px no-repeat, linear-gradient(var(--ink), var(--ink)) right bottom / 8px 8px no-repeat; }
nav { display: flex; flex-wrap: wrap; gap: clamp(1rem, 2.6vw, 2.6rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 1rem; font-weight: 450; text-decoration: none; }
nav a:hover, footer a:hover { color: var(--ink); text-decoration: underline; }
.topbar nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .4em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.025em; line-height: 1.05; }
h1 { font-size: clamp(3.5rem, 6.3vw, 6.3rem); }
h1 em, h2 em { color: inherit; font-style: normal; }
.home-page main { background-image: radial-gradient(#d9d8d1 .8px, transparent .8px); background-size: 34px 34px; background-position: 7px 13px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(4rem, 6.5vw, 6.5rem) max(24px, calc((100vw - 1348px) / 2)) clamp(4rem, 7vw, 7rem); }
.hero__copy { min-width: 0; }
.eyebrow { color: var(--muted); font-size: .76rem; font-weight: 550; letter-spacing: .09em; margin: 0 0 1.5rem; text-transform: uppercase; }
.hero .eyebrow { text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 400; margin-bottom: 2rem; }
.hero .eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--ink); border-radius: 50%; margin-right: .65rem; vertical-align: middle; }
.hero h1 { margin-bottom: 2rem; font-size: clamp(3.5rem, 7.1vw, 7.1rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.02; }
.hero__proposition, .hero__intro { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.4rem); font-weight: 400; line-height: 1.6; max-width: 42rem; margin-bottom: .35rem; }
.hero__proposition strong { color: var(--ink); font-weight: 650; }
.jump { align-items: center; display: inline-flex; background: var(--ink); color: var(--white); font-size: 1rem; font-weight: 550; gap: .7rem; margin-top: 2.5rem; padding: 1rem 1.8rem; min-height: 60px; text-decoration: none; transition: background .18s ease; }
.jump:hover { background: #363631; }
.jump span { transition: transform .18s ease; }
.jump:hover span { transform: translateY(3px); }
.hero__guide { display: block; width: fit-content; margin-top: 1rem; color: var(--muted); font-size: .8rem; }
.hero__mark { margin: 0; justify-self: center; width: min(100%, 362px); }
.qr-frame, .generator__guide { position: relative; border: 1px solid var(--line); background: var(--white); }
.qr-frame::before, .generator__guide::before { content: ""; pointer-events: none; position: absolute; inset: -1px; background: linear-gradient(var(--ink),var(--ink)) left top / 18px 2px no-repeat, linear-gradient(var(--ink),var(--ink)) left top / 2px 18px no-repeat, linear-gradient(var(--ink),var(--ink)) right top / 18px 2px no-repeat, linear-gradient(var(--ink),var(--ink)) right top / 2px 18px no-repeat, linear-gradient(var(--ink),var(--ink)) left bottom / 18px 2px no-repeat, linear-gradient(var(--ink),var(--ink)) left bottom / 2px 18px no-repeat, linear-gradient(var(--ink),var(--ink)) right bottom / 18px 2px no-repeat, linear-gradient(var(--ink),var(--ink)) right bottom / 2px 18px no-repeat; }
.qr-frame img { display: block; width: 100%; height: auto; padding: 5px; image-rendering: pixelated; }
.hero__mark figcaption { text-align: center; color: var(--muted); font-family: ui-monospace, monospace; font-size: .9rem; letter-spacing: .03em; padding-top: 1rem; }
.hero__mark figcaption span { display: none; }
.generator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem 5rem; padding: 0 max(24px, calc((100vw - 1348px) / 2)) 6rem; scroll-margin-top: 2rem; }
.generator__heading { grid-column: 1 / -1; }
.generator__heading .eyebrow { display: none; }
.generator h2 { font-size: clamp(2rem, 3.3vw, 3.3rem); margin-bottom: 1rem; font-weight: 500; }
.generator__heading > p:last-child { color: var(--muted); font-size: 1.15rem; line-height: 1.6; max-width: 48rem; margin-bottom: 0; }
.qr-form { align-self: start; min-width: 0; }
.code-kind-tabs { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 2rem; }
.code-kind-caption { flex-basis: 100%; color: var(--muted); font-size: .85rem; margin-bottom: .65rem; }
.code-kind-tabs button { font: inherit; font-size: .95rem; background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--muted); min-height: 44px; padding: .5rem 0; cursor: pointer; }
.code-kind-tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 550; }
.code-kind-tabs button:hover { color: var(--ink); }
.field-row { margin-bottom: 1.5rem; }
.field-row label { display: block; font-size: .85rem; font-weight: 450; margin-bottom: .85rem; color: var(--muted); }
select, input { background: var(--white); border: 1px solid var(--line); border-radius: 0; color: var(--ink); font: inherit; font-size: 1rem; min-height: 54px; padding: .9rem 1rem; width: 100%; }
select { cursor: pointer; }
input::placeholder { color: var(--muted); opacity: 1; }
.field-help, .form-note, .form-message { color: var(--muted); font-size: .82rem; line-height: 1.55; margin: .65rem 0 0; }
.make-button { align-items: center; background: var(--ink); border: 1px solid var(--ink); border-radius: 0; color: var(--white); cursor: pointer; display: flex; font: inherit; font-size: 1rem; font-weight: 550; justify-content: space-between; margin-top: 1.5rem; padding: 1rem 1.4rem; min-height: 60px; text-align: left; transition: background .18s ease; width: 100%; }
.make-button:hover { background: #363631; }
.make-button:disabled { cursor: wait; opacity: .6; }
.make-button b { font-size: 1.2em; font-weight: 400; }
.field-row--content { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; }
.field-row--content label, .field-row--content .field-help { grid-column: 1 / -1; }
.field-row--content input { min-width: 0; font-family: ui-monospace, monospace; }
.field-row--content input:focus-visible { outline-offset: -3px; box-shadow: none; }
.field-row--content textarea { min-width: 0; width: 100%; min-height: 12rem; resize: vertical; padding: 1rem; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink); font: inherit; line-height: 1.5; }
.field-row--content textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.field-row--content:has(textarea:not([hidden])) .make-button { align-self: end; }
#result-content { white-space: pre-wrap; }
.field-row--content .make-button { width: auto; margin: 0; font-size: .9rem; padding-inline: 1.2rem; }
.field-row--content .make-button b { display: none; }
.form-message { min-height: 1.3rem; color: var(--ink); font-weight: 650; }
.quota-note { margin-bottom: 1.25rem; }
.generator__guide { align-self: start; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 335px; padding: 3rem; text-align: center; color: var(--muted); line-height: 1.6; }
.generator__guide p { margin-bottom: .5rem; }
.generator__formats { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; font-size: .85rem; margin-top: 1.5rem; }
.generator__formats button { background: transparent; color: var(--ink); border: 0; border-bottom: 2px solid transparent; padding: .5rem; min-height: 44px; cursor: pointer; font: inherit; }
.generator__formats button[aria-pressed="true"] { border-bottom-color: var(--ink); font-weight: 700; }
.generator__formats button:disabled { opacity: .45; cursor: default; }
#inline-qr-image { width: min(100%, 250px); height: auto; image-rendering: pixelated; }
.inline-download { display: inline-flex; gap: 1rem; background: var(--ink); color: var(--white); text-decoration: none; padding: .75rem 1rem; min-height: 44px; align-items: center; margin-top: 1rem; }
@media (max-width: 420px) { .field-row--content { grid-template-columns: minmax(0, 1fr); }.field-row--content .make-button { justify-content: center; } }
.result { background: var(--paper); border: 1px solid var(--line); color: var(--ink); margin: auto; max-height: calc(100svh - 2rem); max-width: min(94vw, 860px); overflow: auto; padding: 0; width: 100%; }
.result:not([open]) { display: none; }
.result::backdrop { background: rgba(16,16,14,.65); }
.result[open] { animation: result-in .2s ease both; }
.result__shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); position: relative; }
.result__close { align-items: center; background: var(--ink); border: 0; color: var(--white); cursor: pointer; display: flex; font-size: 1.5rem; height: 44px; justify-content: center; position: absolute; right: 1rem; top: 1rem; width: 44px; z-index: 1; }
.result__promotion { background: #eeede7; border-bottom: 1px solid var(--line); grid-column: 1 / -1; padding: 1.5rem 5rem 1.5rem 1.5rem; }
.result__promotion .eyebrow { margin-bottom: .55rem; }
.result__promotion p { font-size: .82rem; line-height: 1.5; margin: 0; }
.result__promotion p + p { margin-top: .4rem; color: var(--muted); }
.result__asset { align-items: center; background: var(--white); display: flex; justify-content: center; min-height: 330px; padding: 2rem; }
.result__asset img { background: #fff; image-rendering: pixelated; max-width: 100%; padding: .8rem; width: 300px; }
.result__copy { align-self: center; padding: 2rem; min-width: 0; }
.result__copy .eyebrow { margin-bottom: 1rem; }
.result__copy h2 { font-size: 2.8rem; margin-bottom: 1.5rem; }
.result__detail { color: var(--muted); font-size: .9rem; line-height: 1.5; margin: 0 0 1.3rem; overflow-wrap: anywhere; }
.result__actions { border-top: 1px solid var(--line); display: grid; margin-top: 1rem; }
.download { align-items: baseline; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); cursor: pointer; display: flex; font: inherit; font-size: 1rem; font-weight: 650; justify-content: space-between; padding: .8rem 0; min-height: 44px; text-align: left; text-decoration: none; }
.download:hover { text-decoration: underline; }
.download span { color: var(--muted); font-size: .75rem; font-weight: 400; }
.result__format-note { color: var(--muted); font-size: .75rem; line-height: 1.5; margin-top: .85rem; }
.result__again { background: var(--ink); border: 0; color: var(--white); cursor: pointer; font: inherit; font-size: .85rem; margin-top: 1rem; padding: .9rem 1rem; min-height: 44px; }
.result__again span { margin-left: .4rem; }
.principles { background: var(--paper); border-top: 1px solid var(--line); display: grid; gap: 5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 5rem max(24px, calc((100vw - 1348px) / 2)); }
.principles h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.principles ol { list-style: none; margin: 0; padding: 0; }
.principles li { border-top: 1px solid var(--line); display: grid; gap: 1.4rem; grid-template-columns: 2rem 1fr; padding: 1.5rem 0; }
.principles li span { color: var(--muted); font-family: ui-monospace, monospace; font-size: .8rem; }
.principles h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
.principles p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }
.short-links { background: var(--paper); border-top: 1px solid var(--line); padding: 4rem max(24px, calc((100vw - 1348px) / 2)); }
.short-links h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); max-width: 50rem; }
.short-links > p:last-child { color: var(--muted); line-height: 1.65; max-width: 44rem; }
footer { align-items: center; background: var(--paper); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; justify-content: space-between; padding: 2rem max(24px, calc((100vw - 1348px) / 2)); }
footer p { color: var(--muted); font-size: .8rem; line-height: 1.6; margin: 0; }
footer div { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
footer div a { color: var(--muted); font-size: .8rem; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.policy { max-width: 60rem; margin-inline: auto; padding: clamp(3rem, 7vw, 6rem) 24px; overflow-wrap: anywhere; }
.policy h1 { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.05; }
.policy h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); margin: 3rem 0 1rem; }
.policy p, .guide-list { color: #4d4d47; line-height: 1.75; max-width: 48rem; }
.policy__intro { font-size: 1.2rem; }
.guide-list { padding-left: 1.25rem; }
.guide-list li { margin: .8rem 0; padding-left: .45rem; }
.policy code { background: #eeede7; font-size: .9em; padding: .08em .24em; }
.policy-cta { align-items: center; background: var(--ink); color: var(--white); display: inline-flex; font-size: .92rem; font-weight: 600; gap: .8rem; margin-top: 3rem; padding: 1rem 1.2rem; text-decoration: none; }
.statistics-settings { border-block: 1px solid var(--line); margin-block: 3rem; padding-block: 1.5rem; scroll-margin-top: 2rem; }
.statistics-settings h2 { margin-top: 0; }
.statistics-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.statistics-actions button { background: var(--ink); border: 1px solid var(--ink); color: var(--paper); cursor: pointer; font: inherit; font-weight: 600; min-height: 44px; padding: .75rem 1rem; }
.statistics-actions button:hover { background: var(--paper); color: var(--ink); }
@keyframes result-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1001px) { .hero__mark { align-self: start; margin-top: 50px; transform: translateX(-32px); } }
@media (max-width: 1000px) { .hero { gap: 2rem; }.hero__mark { width: min(100%, 300px); }.generator { column-gap: 2.5rem; } }
@media (max-width: 760px) { .topbar { padding: 1rem 24px; }.topbar nav { width: 100%; gap: .25rem 1.2rem; }nav a { font-size: .85rem; }.hero { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 3rem; }.hero h1 { font-size: clamp(3.1rem, 10vw, 4.7rem); }.hero__mark { width: 220px; margin-top: 1rem; }.hero .eyebrow { margin-bottom: 1.5rem; }.hero__proposition, .hero__intro { font-size: 1.05rem; }.jump { margin-top: 1.75rem; }.generator, .principles { grid-template-columns: minmax(0, 1fr); gap: 2rem; }.generator { padding-bottom: 3rem; }.generator__guide { min-height: 220px; padding: 2rem; }.result__shell { grid-template-columns: minmax(0, 1fr); }.result__asset { min-height: 0; padding: 1.5rem; }.result__asset img { width: 220px; }.result__copy { padding: 1.5rem; }.principles { padding-block: 3rem; }.short-links { padding-block: 3rem; }footer { align-items: flex-start; flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; } }
@media (forced-colors: active) { :where(a, button, input, select, summary):focus-visible { outline-color: Highlight; }.qr-frame::before, .generator__guide::before { display: none; } }
