:root { --navy: #142B43; --white: #FFFFFF; color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: var(--navy); background: var(--white); font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; text-decoration: underline; }
button, input, dialog { border-radius: 0; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--navy); outline-offset: 5px; }
input:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--navy); gap: 24px; }
.wordmark { display: inline-flex; gap: 6px; align-items: flex-start; font-size: 36px; line-height: 1; font-weight: 800; letter-spacing: -2px; text-decoration: none; }
.wordmark span { font-size: 30px; font-weight: 400; }
.header-note, .eyebrow, .header-link, .site-footer, .hero-end, .card-heading > span:last-child { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; }
.header-note { margin-left: 30px; }
.header-link { text-decoration: none; font-size: 12px; letter-spacing: 0; border-bottom: 1px solid var(--navy); padding-bottom: 6px; }
.header-link span { margin-left: 20px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 78px 0 82px; align-items: start; }
.eyebrow { margin: 0 0 24px; line-height: 1.5; }
.square { display: inline-block; width: 7px; height: 7px; background: var(--navy); margin: 0 9px 1px 0; }
h1 { font-size: clamp(54px, 5.8vw, 78px); line-height: 1.05; letter-spacing: -4.5px; margin: 0 0 30px; font-weight: 700; }
.underlined { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 10px; }
.hero-description { font-size: 17px; line-height: 1.7; margin: 0; }
.hero-end { margin-top: 40px; display: flex; gap: 20px; align-items: center; line-height: 1.6; font-size: 10px; }
.big-arrow { font-size: 62px; font-weight: 400; line-height: 1; letter-spacing: 0; }
.shorten-card { border: 1px solid var(--navy); padding: 30px; }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--navy); margin-bottom: 28px; }
.card-heading .eyebrow { margin: 0; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
input { width: 100%; min-height: 49px; padding: 13px 14px; border: 1px solid var(--navy); background: var(--white); color: var(--navy); font-size: 13px; }
input::placeholder { color: var(--navy); }
.field-hint { font-size: 10px; line-height: 1.5; margin: 8px 0 0; }
.alias-label { margin-top: 26px; }
.alias-label span { font-weight: 400; margin-left: 5px; }
.alias-field { display: flex; border: 1px solid var(--navy); align-items: center; }
.alias-field > span { padding: 0 14px; font-size: 22px; border-right: 1px solid var(--navy); }
.alias-field input { border: none; min-width: 0; }
.alias-field:focus-within { outline: 2px solid var(--navy); outline-offset: 3px; }
.alias-field input:focus { outline: none; }
.button { min-height: 48px; padding: 14px 18px; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--white); color: var(--navy); border: 1px solid var(--navy); font-size: 13px; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--navy); color: var(--white); }
.button.primary { background: var(--navy); color: var(--white); }
.button.primary:hover { background: var(--white); color: var(--navy); }
#submit-button { width: 100%; margin-top: 30px; }
#submit-button span:last-child { font-size: 22px; line-height: 1; }
.form-message { font-size: 12px; line-height: 1.5; margin: 12px 0 0; }
.form-message:empty { display: none; }
.card-footnote { font-size: 10px; text-align: center; line-height: 1.5; margin: 16px 0 0; }
.result { border-top: 1px solid var(--navy); padding-top: 22px; margin-top: 22px; }
.result .eyebrow { margin-bottom: 12px; font-size: 9px; }
#result-url { display: block; overflow-wrap: anywhere; font-size: 17px; line-height: 1.5; font-weight: 700; margin-bottom: 16px; }
.result .button { width: 100%; }
.how-to { border-top: 1px solid var(--navy); padding: 35px 0 40px; }
.how-to .eyebrow { font-size: 9px; margin-bottom: 12px; }
.how-to ol, .how-to > p:last-child { max-width: 68ch; font-size: 14px; line-height: 1.7; }
.how-to ol { padding-left: 1.4em; margin: 20px 0 16px; }
.how-to li + li { margin-top: 8px; }
.how-to > p:last-child { margin: 0; }
.links-section { border-top: 1px solid var(--navy); padding-top: 35px; padding-bottom: 48px; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-top .eyebrow { font-size: 9px; margin-bottom: 12px; }
h2 { margin: 0; font-size: 32px; letter-spacing: -1.4px; line-height: 1.15; }
.section-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.link-summary { font-size: 11px; }
.text-button { background: var(--white); border: none; color: var(--navy); padding: 10px 0; font-weight: 700; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.link-list { border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); }
.empty-state { margin: 0; padding: 33px 0; font-size: 14px; line-height: 1.7; }
.link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 28px; align-items: center; padding: 22px 0; }
.link-row + .link-row { border-top: 1px solid var(--navy); }
.short-link { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.link-destination { margin: 8px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.link-date { font-size: 10px; margin: 0; }
.click-count { text-align: center; min-width: 44px; font-size: 10px; }
.click-count strong { display: block; font-size: 22px; font-weight: 400; margin-bottom: 3px; }
.link-buttons { display: flex; gap: 12px; align-items: center; }
.copy-button { padding: 10px 14px; min-height: 40px; font-size: 11px; }
.remove-button { border: none; background: var(--white); color: var(--navy); font-size: 23px; padding: 8px; line-height: 1; min-width: 40px; min-height: 40px; }
.history-note { font-size: 10px; line-height: 1.7; margin: 16px 0 0; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 25px; border-top: 1px solid var(--navy); padding-top: 26px; padding-bottom: 32px; font-size: 9px; }
.site-footer .wordmark { font-size: 27px; }
.site-footer .wordmark span { font-size: 22px; }
.site-footer > a:last-child { letter-spacing: 0; font-size: 11px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 10; background: var(--navy); color: var(--white); padding: 15px 22px; font-size: 13px; border: 1px solid var(--white); max-width: calc(100% - 32px); text-align: center; margin: 0; }
dialog { border: 2px solid var(--navy); color: var(--navy); background: var(--white); padding: 30px; width: min(450px, calc(100% - 32px)); }
dialog::backdrop { background: var(--white); }
dialog h2 { font-size: 27px; }
dialog p { font-size: 13px; line-height: 1.6; }
.delete-name { font-weight: 700; overflow-wrap: anywhere; }
.dialog-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 25px; }
.missing { margin: 80px auto; width: min(650px, calc(100% - 48px)); }
.missing .eyebrow { margin-top: 70px; }
.missing > p { line-height: 1.7; }
.missing .button { margin-top: 20px; }
.redirect-main { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; min-height: calc(100svh - 209px); padding-top: 72px; padding-bottom: 72px; }
.redirect-copy h1 { font-size: clamp(48px, 5.3vw, 72px); }
.redirect-copy .text-button { display: inline-block; margin-top: 30px; }
.redirect-card { border: 1px solid var(--navy); padding: 30px; min-width: 0; }
.destination-host { margin: 0 0 10px; font-size: 26px; font-weight: 700; letter-spacing: -1px; overflow-wrap: anywhere; }
.redirect-destination { margin: 0 0 28px; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; max-height: 150px; overflow-y: auto; }
.countdown-row { display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--navy); padding-top: 22px; }
.countdown-number { font-size: 92px; font-weight: 700; letter-spacing: -6px; line-height: 1; font-variant-numeric: tabular-nums; min-width: 65px; }
.countdown-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; line-height: 1.8; }
.countdown-progress { display: block; width: 100%; height: 7px; margin-top: 22px; border: 1px solid var(--navy); appearance: none; background: var(--white); color: var(--navy); }
.countdown-progress::-webkit-progress-bar { background: var(--white); }
.countdown-progress::-webkit-progress-value { background: var(--navy); transition: width 100ms linear; }
.countdown-progress::-moz-progress-bar { background: var(--navy); }
.redirect-card .button { width: 100%; margin-top: 22px; }
.redirect-card .form-message { min-height: 36px; }

@keyframes arrive { from { transform: translateY(18px); clip-path: inset(0 0 100% 0); } to { transform: translateY(0); clip-path: inset(0); } }
@keyframes arrow-nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, 5px); } }
@keyframes card-arrive { from { box-shadow: 8px 8px 0 var(--navy); } to { box-shadow: 0 0 0 var(--navy); } }
@keyframes toast-arrive { from { transform: translate(-50%, 15px); } to { transform: translate(-50%, 0); } }
.hero-copy, .redirect-copy { animation: arrive 600ms ease-out both; }
.shorten-card, .redirect-card { animation: card-arrive 650ms ease-out both; }
.big-arrow { animation: arrow-nudge 1500ms 700ms ease-in-out 2; }
.result:not([hidden]), dialog[open] { animation: card-arrive 250ms ease-out; }
.toast:not([hidden]) { animation: toast-arrive 200ms ease-out; }
.button, .remove-button { transition: transform 160ms ease, background-color 160ms ease, color 160ms ease; }
.button:hover:not(:disabled), .remove-button:hover { transform: translateY(-2px); }
.button:active:not(:disabled), .remove-button:active { transform: translateY(0); }
.wordmark span, #submit-button span:last-child { transition: transform 200ms ease; }
.wordmark:hover span, #submit-button:hover span:last-child { transform: translate(3px, -3px); }
.skip-link { position: absolute; top: -100px; left: 20px; background: var(--navy); color: var(--white); padding: 14px; z-index: 20; }
.skip-link:focus { top: 12px; }
@media (min-width: 1400px) { .hero { gap: 110px; } }
@media (max-width: 1000px) { .wrap { width: calc(100% - 64px); } .hero { gap: 40px; } .shorten-card { padding: 24px; } h1 { font-size: 60px; } .header-note { display: none; } }
@media (max-width: 760px) { .wrap { width: calc(100% - 40px); } .site-header { min-height: 85px; } .wordmark { font-size: 31px; } .hero { grid-template-columns: 1fr; padding: 45px 0; gap: 34px; } .hero .eyebrow { margin-bottom: 20px; } h1 { font-size: clamp(54px, 11vw, 76px); letter-spacing: -3px; margin-bottom: 24px; } .hero-description { font-size: 16px; } .hero-end { display: none; } .shorten-card { padding: 24px; } .hero .card-heading .eyebrow { margin: 0; } .section-top { align-items: start; } .section-top .eyebrow { max-width: 145px; } .section-actions { gap: 4px; flex-direction: column; align-items: flex-end; } .link-row { gap: 15px; grid-template-columns: minmax(0, 1fr) auto; } .link-buttons { grid-column: 1 / -1; justify-content: flex-end; margin-top: -4px; } .site-footer { flex-wrap: wrap; } .site-footer > span { display: none; } .links-section { padding-top: 26px; } .history-note { max-width: 40em; } .short-link { font-size: 14px; } }
@media (max-width: 1000px) { .redirect-main { gap: 40px; } .redirect-card { padding: 24px; } }
@media (max-width: 760px) { .redirect-main { grid-template-columns: 1fr; gap: 34px; padding-top: 45px; padding-bottom: 45px; min-height: 0; } .redirect-copy h1 { font-size: clamp(45px, 10.5vw, 68px); letter-spacing: -2.5px; } .redirect-copy .hero-description br { display: none; } .destination-host { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
