:root {
    --navy: #111c35;
    --blue: #3156d3;
    --blue-dark: #2445b4;
    --cream: #f5f3ed;
    --white: #fdfdfb;
    --ink: #172037;
    --muted: #6d7380;
    --line: #d8d8d2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Instrument Sans", sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
.site-header { width: 100%; height: 78px; margin: auto; padding: 0 max(28px, calc((100vw - 1224px) / 2)); position: sticky; z-index: 30; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: rgba(253,253,251,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.logo { width: max-content; display: inline-flex; align-items: center; color: var(--navy); text-decoration: none; font-size: 20px; font-weight: 700; line-height: 1; letter-spacing: -.075em; }
.logo-box { margin-left: 1px; padding: 3px 5px 2px; color: white; background: var(--blue); border-radius: 2px; letter-spacing: -.075em; }
nav { padding: 4px; display: flex; gap: 2px; background: #eff0f3; border: 1px solid #e0e1e5; border-radius: 999px; }
nav a { padding: 8px 14px; color: var(--muted); border-radius: 999px; text-decoration: none; font-size: 13px; transition: color .2s, background .2s; }
nav a:hover { color: var(--navy); background: white; }
.header-bid { min-height: 42px; padding: 0 17px; justify-self: end; display: inline-flex; align-items: center; gap: 18px; color: white; background: var(--blue); border: 0; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; transition: background .2s, transform .2s; }
.header-bid:hover { background: var(--blue-dark); transform: translateY(-1px); }
main { overflow: hidden; }
.hero { max-width: 1180px; margin: auto; padding: 108px 28px 88px; }
.hero-copy { display: grid; grid-template-columns: 1fr 390px; gap: 60px; align-items: end; margin-bottom: 68px; }
.eyebrow { margin: 0 0 22px; color: var(--blue); font: 500 11px "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.hero-copy .eyebrow { grid-column: 1 / -1; margin-bottom: -34px; }
.hero-copy .eyebrow span { width: 7px; height: 7px; display: inline-block; margin-right: 8px; border-radius: 50%; background: var(--blue); }
h1 { max-width: 800px; margin: 0; color: var(--navy); font-size: clamp(58px, 7.4vw, 104px); font-weight: 500; line-height: .92; letter-spacing: -.065em; }
.intro { margin: 0 0 5px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.featured-card { overflow: hidden; background: var(--white); border: 1px solid #c9cad0; border-radius: 18px; }
.card-topline { min-height: 58px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font: 500 11px "IBM Plex Mono", monospace; }
.live-label { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); text-transform: uppercase; letter-spacing: .07em; }
.live-label i, .active-pill i { width: 7px; height: 7px; display: block; border-radius: 50%; background: #2f9e67; box-shadow: 0 0 0 4px rgba(47,158,103,.12); }
.timer { color: var(--muted); }
.clear-test { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.featured-content { min-height: 238px; padding: 52px 40px; display: flex; align-items: flex-start; justify-content: space-between; }
.domain { width: fit-content; display: inline-flex; align-items: flex-start; gap: 12px; color: var(--blue); font-size: clamp(42px, 6vw, 78px); font-weight: 500; line-height: 1; letter-spacing: -.055em; text-decoration: none; word-break: break-word; transition: color .2s; }
.domain span { text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; text-decoration-color: rgba(49,86,211,.5); }
.domain svg { width: .28em; height: .28em; margin-top: .08em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.domain:hover { color: var(--blue-dark); }
.domain:hover span { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
.domain:hover svg { transform: translate(2px,-2px); }
.link-copy p { margin: 17px 0 0; color: var(--muted); font-size: 16px; }
.domain-placeholder { color: #8a8f9c; font-size: clamp(42px, 6vw, 78px); font-weight: 500; line-height: 1; letter-spacing: -.055em; }
.primary-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.primary-button:hover svg { transform: translateX(3px); }
.card-footer { min-height: 108px; padding: 20px 24px 20px 40px; display: grid; grid-template-columns: 170px 135px 125px 1fr; align-items: center; gap: 20px; background: #f0f1f5; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 7px; }
.stat span { color: var(--muted); font: 500 10px "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }
.stat strong { color: var(--navy); font: 500 19px "IBM Plex Mono", monospace; }
.stat:first-child strong { color: var(--blue); font-size: 23px; }
.online-stat span { display: flex; align-items: center; gap: 7px; }
.online-stat i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #2f9e67; box-shadow: 0 0 0 4px rgba(47,158,103,.12); }
.primary-button { min-width: 275px; min-height: 56px; padding: 0 21px; justify-self: end; display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; color: white; background: var(--blue); border: 0; border-radius: 8px; cursor: pointer; font-weight: 600; transition: background .2s, transform .2s; }
.primary-button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.steps { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps > div { padding: 25px 25px 25px 0; display: flex; gap: 18px; }
.steps > div + div { padding-left: 25px; border-left: 1px solid var(--line); }
.steps span { color: var(--blue); font: 500 10px "IBM Plex Mono", monospace; }
.steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.steps strong { display: block; margin-bottom: 3px; color: var(--navy); font-size: 14px; font-weight: 600; }
.history { padding: 96px max(28px, calc((100vw - 1124px) / 2)) 120px; background: var(--white); border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.section-heading .eyebrow { margin-bottom: 15px; }
h2 { margin: 0; color: var(--navy); font-size: clamp(42px, 5vw, 64px); line-height: 1; font-weight: 500; letter-spacing: -.055em; }
.archive-copy { max-width: 300px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.totals { margin: 50px 0 30px; display: flex; gap: 55px; }
.totals div { display: flex; align-items: baseline; gap: 10px; }
.totals strong { color: var(--navy); font: 500 24px "IBM Plex Mono", monospace; }
.totals span { color: var(--muted); font-size: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th { padding: 13px 16px; color: #858995; border-bottom: 1px solid #bfc1c7; font: 500 10px "IBM Plex Mono", monospace; text-align: left; text-transform: uppercase; letter-spacing: .05em; }
th:first-child, td:first-child { width: 42%; padding-left: 0; }
td { padding: 22px 16px; color: var(--navy); border-bottom: 1px solid var(--line); font: 400 13px "IBM Plex Mono", monospace; }
td a { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); text-decoration: none; font-family: "Instrument Sans", sans-serif; font-size: 15px; font-weight: 600; }
td a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
td a:hover { color: var(--blue); }
td a:hover svg { transform: translate(2px,-2px); }
.rank { width: 50px; display: inline-block; color: #9a9da5; font: 400 10px "IBM Plex Mono", monospace; }
.active-pill { width: max-content; padding: 7px 10px; display: inline-flex; align-items: center; gap: 7px; color: #176943; background: #e4f3eb; border-radius: 999px; font: 500 10px "IBM Plex Mono", monospace; }
.active-pill i { width: 5px; height: 5px; box-shadow: none; }
.ended { color: #8c9099; font: 400 10px "IBM Plex Mono", monospace; }
.empty-row td { padding: 42px 0; color: var(--muted); text-align: center; font-family: "Instrument Sans", sans-serif; }
footer { min-height: 110px; padding: 0 max(28px, calc((100vw - 1124px) / 2)); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: #8a8d95; background: var(--navy); font-size: 11px; }
footer .logo { color: white; }
footer .logo-box { color: var(--navy); background: white; }
footer p:nth-child(2) { text-align: center; }
footer p:last-child { text-align: right; }
.toast { position: fixed; z-index: 60; top: 96px; left: 50%; padding: 13px 18px; color: white; background: var(--blue); border-radius: 8px; transform: translateX(-50%); font-size: 13px; animation: fadeOut .4s 4s forwards; }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; transform: translate(-50%, -8px); } }
dialog { position: fixed; z-index: 50; width: min(540px, calc(100% - 30px)); max-height: calc(100vh - 30px); overflow: auto; padding: 36px; background: var(--white); border: 0; border-radius: 16px; box-shadow: 0 24px 80px rgba(17,28,53,.25); }
dialog:not([open]) { display: none; }
dialog::backdrop { background: rgba(17,28,53,.7); }
.backdrop { display: none; position: fixed; z-index: 40; inset: 0; background: rgba(17,28,53,.7); }
dialog[open] + .backdrop { display: block; }
.dialog-head { display: flex; justify-content: space-between; gap: 20px; }
.dialog-head .eyebrow { margin-bottom: 10px; }
.dialog-head h2 { font-size: 39px; }
.close { width: 36px; height: 36px; display: grid; place-items: center; color: var(--navy); background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; }
.dialog-copy { margin: 25px 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.dialog-copy strong { color: var(--navy); }
.error { margin-bottom: 20px; padding: 12px 14px; color: #8a281f; background: #fbe8e5; border-radius: 6px; font-size: 13px; }
form label { margin: 18px 0; display: block; color: var(--navy); font-size: 12px; font-weight: 600; }
input { width: 100%; margin-top: 8px; padding: 14px; color: var(--navy); background: white; border: 1px solid #cfd1d7; border-radius: 7px; outline: 0; }
input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49,86,211,.12); }
.money-input { position: relative; }
.money-input > span { position: absolute; z-index: 1; top: 22px; left: 14px; color: var(--muted); }
.money-input input { padding-left: 30px; }
.payment-actions { margin-top: 25px; }
.payment-actions .submit { width: 100%; min-width: 0; max-width: none; margin: 0; }
.demo-note { margin: 12px 0 0; color: #92959d; text-align: center; font: 400 9px "IBM Plex Mono", monospace; }
@media (max-width: 760px) {
    .site-header { height: 68px; grid-template-columns: 1fr auto; padding: 0 18px; }
    nav { display: none; }
    .header-bid { min-height: 38px; padding: 0 13px; gap: 10px; }
    .hero { padding: 20px 20px 65px; display: flex; flex-direction: column; }
    .featured-card { order: 1; }
    .hero-copy { order: 2; display: block; margin: 58px 0 0; }
    .hero-copy .eyebrow { margin-bottom: 18px; }
    h1 { font-size: clamp(42px, 12vw, 58px); }
    .intro { margin-top: 22px; font-size: 15px; }
    .card-topline { min-height: 48px; padding: 0 20px; }
    .featured-content { min-height: 145px; padding: 30px 20px; }
    .domain { font-size: clamp(35px, 11vw, 52px); }
    .link-copy p { margin-top: 13px; font-size: 14px; }
    .card-footer { min-height: 0; padding: 17px 20px; grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .stat { gap: 4px; }
    .stat:first-child strong { font-size: 20px; }
    .card-footer .primary-button { width: 100%; min-width: 0; grid-column: 1 / -1; justify-self: stretch; }
    .steps { order: 3; grid-template-columns: 1fr; }
    .steps > div, .steps > div + div { padding: 20px 0; border-left: 0; }
    .steps > div + div { border-top: 1px solid var(--line); }
    .history { padding-top: 70px; padding-bottom: 80px; }
    .section-heading { display: block; }
    .archive-copy { margin-top: 23px; }
    .totals { margin-top: 35px; gap: 30px; }
    footer { min-height: 92px; grid-template-columns: 1fr 1fr; }
    footer p:nth-child(2) { display: none; }
    dialog { padding: 28px 22px; }
    dialog .submit { min-width: 0; padding: 0 16px; gap: 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
