:root { --font-sans: "Segoe UI", Arial, sans-serif; --font-mono: Consolas, "Liberation Mono", monospace; color-scheme: dark; font-family: var(--font-sans); background: #09090b; color: #e8e8e0; }
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; min-height: 100vh; background: #09090b; }
body::before { position: fixed; inset: 0; content: ''; opacity: .04; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.page-shell::before { position: absolute; top: 8%; left: 50%; width: min(900px, 100vw); height: 560px; content: ''; transform: translateX(-50%); pointer-events: none; background: radial-gradient(ellipse at 50% 30%, rgba(200,241,53,.055) 0%, transparent 65%); }
.page-shell { position: relative; display: grid; min-height: 100vh; padding: 76px 24px; place-items: center; }
.generator { width: min(100%, 760px); }
.brand { display: block; width: auto; height: 28px; margin: 0 0 27px; opacity: .72; filter: brightness(0) invert(1); }
.eyebrow, label, .result-heading { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .22em; }
.eyebrow { margin: 0 0 19px; color: #c8f135; letter-spacing: .3em; }
h1 { max-width: 690px; margin: 0; font-size: clamp(2.25rem, 5vw, 3.375rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.04; }
h1 span { color: #cbfa45; }
.intro { max-width: 465px; margin: 18px 0 40px; color: #9090a2; font-size: 15px; line-height: 1.65; }
.link-form, .result { border: 1px solid rgba(255,255,255,.07); border-radius: 16px; background: #111114; box-shadow: 0 22px 56px rgba(0,0,0,.22); }
.link-form { padding: 36px; }
.field { min-width: 0; }
.field-heading { display: flex; justify-content: space-between; align-items: center; }
label { display: block; margin-bottom: 11px; color: #bfc4b9; }
.field-heading label { margin: 0 0 11px; }
#counter { font-family: var(--font-mono); color: #83877f; font-size: 11px; }
#counter.over-limit { color: #ff7581; }
input, select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; outline: 0; background: #0d0d10; color: #e8e8e0; font: 500 13px/1.2 var(--font-sans); transition: border-color .16s, box-shadow .16s, background .16s; }
select { appearance: auto; cursor: pointer; }
input::placeholder { color: #737870; }
input:focus, select:focus { border-color: #cbfa45; background: #1c1f1b; box-shadow: 0 0 0 3px rgba(203,250,69,.15); }
.hint { margin: 9px 0 0; color: #81867e; font-size: 11px; }
.config-row { display: grid; grid-template-columns: 22fr 31fr 47fr; gap: 12px; margin-top: 29px; }
.error { min-height: 16px; margin: 7px 0 0; color: #ff8590; font-size: 11px; }
input[aria-invalid='true'] { border-color: #ff8590; }
.primary-button, #copy-button { display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; font: 700 13px/1 var(--font-sans); transition: transform .16s, background .16s, box-shadow .16s; }
.primary-button { width: 100%; min-height: 50px; gap: 12px; margin-top: 18px; border-radius: 10px; background: #c8f135; color: #09090b; }
.primary-button span { font-size: 18px; }
.primary-button:hover { background: #dbff6d; transform: translateY(-1px); }
.primary-button:active, #copy-button:active { transform: translateY(1px); }
.primary-button:focus-visible, #copy-button:focus-visible { outline: 3px solid #f4f4ed; outline-offset: 3px; }
.result { margin-top: 16px; padding: 20px; border-color: rgba(200,241,53,.14); background: #0b0d08; }
.result-heading { display: flex; justify-content: space-between; align-items: center; color: #c6cabe; }
.result-heading p { margin: 0; }
.result-heading span { color: #cbfa45; font-size: 9px; }
.result-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 14px; }
#generated-link { min-width: 0; color: #d9ddd3; font-family: var(--font-mono); font-size: 12px; }
#copy-button { min-width: 112px; min-height: 48px; border-radius: 10px; background: #31352f; color: #f4f4ed; }
#copy-button:hover { background: #454b42; }
.copy-feedback { min-height: 14px; margin: 8px 0 0; color: #cbfa45; font-size: 11px; }
.site-footer { margin-top: 38px; font-family: var(--font-mono); }
.privacy-note { margin: 0 0 19px; color: #52525e; text-align: center; font-size: 10px; letter-spacing: .18em; }
.footer-details { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.07); color: #70707e; font-size: 10.5px; letter-spacing: .02em; }
.footer-details p { margin: 0; }
.footer-details strong { color: #9090a0; font-weight: 500; }
.footer-details a { color: inherit; text-decoration: none; transition: color .16s; }
.footer-details a:hover, .footer-details a:focus-visible { color: #c8f135; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 620px) { .page-shell { padding: 50px 16px; align-items: start; } .desktop-break { display: none; } .intro { margin-bottom: 34px; } .link-form { padding: 20px; } .config-row { grid-template-columns: 1fr; gap: 18px; margin-top: 25px; } .result-row { grid-template-columns: 1fr; } #copy-button { width: 100%; } .footer-details { flex-direction: column; text-align: center; line-height: 1.65; } }
