:root { --background: #fff; --foreground: #09090b; --muted: #71717a; --muted-bg: #f4f4f5; --border: #e4e4e7; --primary: #18181b; --primary-hover: #27272a; --ring: #a1a1aa; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: Arial, Helvetica, sans-serif; font-size: 14px; }
button, input { font: inherit; }
a { color: inherit; }
.site-shell { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 5px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: -.08em; }
.nav-link { color: var(--muted); font-size: 12px; text-decoration: none; }
.nav-link:hover, .footer a:hover { color: var(--foreground); }
.nav-link span { margin-left: 4px; }
.hero { display: block; min-height: 0; padding: 72px 0 78px; }
.eyebrow, .panel-kicker, label, .result-label { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .01em; }
.eyebrow { margin: 0 0 16px; text-align: center; }
h1 { max-width: 560px; margin: 0 auto; font-size: clamp(36px, 5vw, 52px); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; text-align: center; }
h1 em { color: var(--muted); font-style: normal; }
.intro { max-width: 460px; margin: 18px auto 0; color: var(--muted); font-size: 14px; line-height: 1.55; text-align: center; }
.shortener-panel { width: min(680px, 100%); margin: 36px auto 0; padding: 20px; border: 1px solid var(--border); border-radius: 7px; box-shadow: 0 1px 2px rgb(0 0 0 / 4%); }
.panel-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 20px; }
.panel-kicker { margin: 0 0 5px; font-weight: 600; color: var(--foreground); }
.panel-heading h2 { margin: 0; font-size: 14px; font-weight: 400; color: var(--muted); }
.secure-note { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.secure-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
label { display: block; margin-bottom: 7px; }
.input-row { display: flex; gap: 8px; }
#urlInput { width: 100%; min-width: 0; height: 36px; padding: 0 11px; color: var(--foreground); background: var(--background); border: 1px solid var(--border); border-radius: 6px; outline: 0; font-size: 13px; transition: border-color .15s, box-shadow .15s; }
#urlInput:focus { border-color: var(--ring); box-shadow: 0 0 0 3px rgb(161 161 170 / 18%); }
#urlInput::placeholder { color: #a1a1aa; }
#shortBtn, #copyBtn { border: 0; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 500; transition: background .15s; }
#shortBtn { flex: 0 0 auto; padding: 0 14px; color: #fff; background: var(--primary); }
#shortBtn:hover, #copyBtn:hover { background: var(--primary-hover); }
#shortBtn span { margin-left: 5px; }
.form-message { min-height: 17px; margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.result-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 16px; padding: 12px; background: var(--muted-bg); border: 1px solid var(--border); border-radius: 6px; }
.is-hidden { display: none; }
.result-label { display: block; margin-bottom: 4px; font-size: 10px; }
#newUrlInput { width: 100%; min-width: 0; padding: 0; color: var(--foreground); background: none; border: 0; outline: 0; font-size: 12px; text-align: left; }
#copyBtn { flex: 0 0 auto; padding: 9px 12px; color: #fff; background: var(--primary); }
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px 0 52px; border-top: 1px solid var(--border); }
.detail-item { display: flex; gap: 10px; }
.detail-number { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.detail-item h2 { margin: 0 0 5px; font-size: 13px; font-weight: 600; }
.detail-item p { max-width: 190px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; }
.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 600px) { .site-shell { padding: 0 16px; } .topbar { min-height: 58px; } .hero { padding: 52px 0 56px; } h1 { font-size: 38px; } .shortener-panel { margin-top: 30px; padding: 16px; } .panel-heading { align-items: flex-start; } .input-row { display: block; } #shortBtn { width: 100%; height: 36px; margin-top: 8px; } .result-box { grid-template-columns: 1fr; gap: 10px; text-align: left; } #copyBtn { width: 100%; } .details { grid-template-columns: 1fr; gap: 18px; padding-bottom: 36px; } .footer { display: block; line-height: 1.8; } .footer-links { gap: 4px 16px; margin-top: 5px; } }
