:root {
    color-scheme: light;
    --ink: #131a26;
    --ink-soft: #33405280;
    --muted: #5b6779;
    --line: #e3e8ef;
    --line-strong: #cfd7e3;
    --bg: #f4f6f9;
    --surface: #ffffff;
    --surface-sunken: #f8fafc;
    --accent: #fc6d2b;
    --accent-ink: #ffffff;
    --accent-soft: #fff1e8;
    --link: #1a4fa0;
    --positive: #0f7a4d;
    --positive-soft: #e9f6ef;
    --caution: #8a5410;
    --caution-soft: #fdf3e5;
    --navy: #141340;
    --navy-ink: #f4f2ff;
    --navy-muted: #8483a5;
    --radius: 12px;
    --radius-sm: 8px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--ink);
    -webkit-text-size-adjust: 100%;
}

a {
    color: var(--link);
}

h1, h2, h3 {
    line-height: 1.2;
}

.shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 0.8rem;
    top: -3rem;
    z-index: 20;
    padding: 0.45rem 0.75rem;
    background: #fff;
    color: var(--navy);
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 0.8rem;
}

/* ---------- Chrome ---------- */

.site-header {
    background: var(--navy);
    color: var(--navy-ink);
    background-image: linear-gradient(90deg, #41edf5, #465dc9 40%, #c12fdf 70%, #fc6d2b);
    background-size: 100% 3px;
    background-repeat: no-repeat;
    background-position: left bottom;
}

.site-header-inner, main, .site-footer-inner {
    width: min(1240px, calc(100% - 2.5rem));
    margin-inline: auto;
}

main {
    padding: 1.75rem 0 3rem;
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem 2rem;
    flex-wrap: wrap;
    padding: 0.85rem 0 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--navy-ink);
    min-width: 0;
}

.brand-logo {
    display: block;
    height: 36px;
    width: auto;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 0.35rem 1.15rem;
    flex-wrap: wrap;
}

.site-header nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
}

.site-header nav a:hover {
    text-decoration: underline;
}

.site-header nav a.active {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.28em;
}

.site-header nav a:focus-visible,
.brand:focus-visible,
.site-footer a:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.site-header .nav-cta,
.site-header .nav-cta.active {
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: 10px;
    padding: 0.4rem 1.15rem;
    font-weight: 600;
    text-decoration: none;
}

.site-header .nav-cta:hover {
    text-decoration: none;
    filter: brightness(1.06);
}

.site-footer {
    margin-top: auto;
    background: var(--navy);
    color: var(--navy-muted);
    font-size: 0.92rem;
}

.site-footer-inner {
    padding: 1.4rem 0 1.7rem;
}

.site-footer-nav {
    margin: 0;
    text-align: center;
}

.site-footer a {
    color: #c8c6e3;
}

/* ---------- Surfaces ---------- */

.panel, .page {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.6rem 1.8rem;
}

.crumb {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0 0 0.9rem;
}

.crumb span {
    margin-inline: 0.35rem;
}

.lead {
    color: var(--muted);
}

/* ---------- Hero ---------- */

.hero {
    margin-bottom: 1.25rem;
}

.hero h1 {
    margin: 0;
    font-size: clamp(1.65rem, 1.1rem + 1.7vw, 2.3rem);
    letter-spacing: -0.015em;
}

.hero-sub {
    margin: 0.4rem 0 1.25rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.horizon {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem 1.25rem;
    flex-wrap: wrap;
}

.tld-pill {
    display: inline-flex;
    align-items: center;
    height: 2.6rem;
    padding: 0 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface);
    font-weight: 700;
    font-size: 1.05rem;
}

.horizon-choice {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.horizon-question {
    color: var(--muted);
    font-size: 0.9rem;
}

.segmented {
    display: inline-flex;
    flex-wrap: wrap;
    padding: 3px;
    gap: 3px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
}

.segment {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.95rem;
    border-radius: 7px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.94rem;
    white-space: nowrap;
}

.segment:hover {
    background: var(--surface-sunken);
    color: var(--ink);
}

.segment.is-current {
    background: var(--accent);
    color: var(--accent-ink);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.4rem;
    margin: 1.1rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-meta strong {
    color: var(--ink);
}

.checked::before {
    content: "✓";
    margin-right: 0.35rem;
    color: var(--positive);
    font-weight: 700;
}

/* ---------- Podium ---------- */

.podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.podium-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.podium-card.is-current {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.podium-card a {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1rem 1.15rem 1.1rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.podium-card a:hover .podium-registrar {
    text-decoration: underline;
}

.podium-label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
}

.podium-registrar {
    font-weight: 600;
    font-size: 1.02rem;
    margin-top: 0.3rem;
}

.podium-amount {
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.podium-note {
    color: var(--muted);
    font-size: 0.85rem;
}

/* ---------- Results ---------- */

.results {
    padding: 1.25rem 1.35rem 1.4rem;
}

.results-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.results-head h2 {
    margin: 0;
    font-size: 1.2rem;
}

.results-sub {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.search {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.search input {
    height: 2.3rem;
    padding: 0 0.7rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: inherit;
    font: inherit;
    font-size: 0.92rem;
    min-width: 11rem;
}

.search button {
    height: 2.3rem;
    padding: 0 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface-sunken);
    color: var(--ink);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
}

.search button:hover {
    background: var(--line);
}

.search-clear {
    font-size: 0.88rem;
    color: var(--muted);
}

.no-matches {
    margin: 0;
    padding: 1.5rem 0;
    color: var(--muted);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.compare-table th {
    text-align: left;
    padding: 0 0.6rem 0.6rem;
    border-bottom: 1px solid var(--line-strong);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    white-space: nowrap;
}

.compare-table td {
    padding: 0.8rem 0.6rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.compare-table tbody tr:last-child td {
    border-bottom: 0;
}

.compare-table tbody tr:hover {
    background: var(--surface-sunken);
}

.compare-table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.compare-table th.num {
    text-align: right;
}

.compare-table th.is-primary {
    color: var(--ink);
}

.col-rank {
    width: 2.5rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.is-best .col-rank {
    color: var(--ink);
    font-weight: 700;
}

.registrar-line {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.registrar-name {
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
}

a.registrar-name:hover {
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
}

.registrar-meta {
    display: flex;
    align-items: baseline;
    gap: 0.25rem 0.8rem;
    flex-wrap: wrap;
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: 0.84rem;
}

.country {
    white-space: nowrap;
}

.flag {
    margin-right: 0.25rem;
}

.compare-table td.col-register,
.compare-table td.col-renew {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.5rem;
}

.col-register .amount,
.col-renew .amount {
    display: inline;
}

.col-register .hint,
.col-renew .hint {
    display: inline;
    margin: 0 auto 0 0;
}

.amount {
    display: block;
}

.amount-lead {
    font-weight: 700;
    font-size: 1.02rem;
}

.hint {
    font-size: 0.79rem;
    color: var(--muted);
    white-space: nowrap;
}

.hint-warn {
    color: var(--caution);
}

.hint-good {
    color: var(--positive);
}

.delta {
    color: var(--muted);
    white-space: nowrap;
}

.delta-best {
    color: var(--positive);
    font-weight: 600;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.badge-best {
    background: var(--positive-soft);
    color: var(--positive);
}

.badge-estimate {
    background: var(--surface-sunken);
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 600;
}

.verify {
    display: inline-block;
}

.verify summary {
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: baseline;
    gap: 0.28rem;
    color: var(--muted);
}

.verify summary::-webkit-details-marker {
    display: none;
}

.verify summary::after {
    content: "ⓘ";
    color: var(--line-strong);
}

.verify summary:hover,
.verify summary:hover::after {
    color: var(--ink);
}

.verify .tick {
    color: var(--positive);
    font-weight: 700;
}

.verify-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.15rem 0.7rem;
    margin: 0.5rem 0 0;
    padding: 0.6rem 0.75rem;
    background: var(--surface-sunken);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    max-width: 22rem;
}

.verify-detail dt {
    color: var(--muted);
    white-space: nowrap;
}

.verify-detail dd {
    margin: 0;
}

.col-action {
    text-align: right;
    white-space: nowrap;
}

.action-buttons {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
}

.cta {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.cta-icon {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    justify-content: center;
}

.cta-icon svg {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
}

.has-tip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tip-bubble {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.45rem);
    z-index: 4;
    width: max-content;
    max-width: 16.5rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: normal;
    text-align: left;
    box-shadow: 0 8px 20px rgb(19 26 38 / 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.has-tip:hover .tip-bubble,
.has-tip:focus-visible .tip-bubble {
    opacity: 1;
    visibility: visible;
}

.col-renew {
    overflow: visible;
}

.cta-external svg {
    width: 0.95rem;
    height: 0.95rem;
    margin-left: 0.4rem;
    flex-shrink: 0;
}

.cta:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.arrow {
    margin-left: 0.4rem;
}

.is-best .cta {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

.is-best .cta:hover {
    filter: brightness(1.06);
    color: var(--accent-ink);
}

.is-best .cta-icon {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line-strong);
}

.is-best .cta-icon:hover {
    filter: none;
    border-color: var(--accent);
    color: var(--accent);
}

.badge-affiliate {
    background: var(--surface-sunken);
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 600;
}

.no-shop {
    color: var(--muted);
    font-size: 0.85rem;
}

.mark {
    color: var(--muted);
    font-weight: 700;
}

.table-note {
    margin: 0.9rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
    max-width: 46rem;
    line-height: 1.5;
}

/* ---------- Vanaf-price shelf ---------- */

.floor {
    margin-top: 1.25rem;
}

.floor h2 {
    margin: 0;
    font-size: 1.15rem;
}

.floor-lead {
    margin: 0.45rem 0 0;
    color: var(--muted);
    max-width: 46rem;
    line-height: 1.55;
}

.floor-list {
    list-style: none;
    padding: 0;
    margin: 1.1rem 0 0;
}

.floor-list li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.2rem 1rem;
    padding: 0.95rem 0;
    border-top: 1px solid var(--line);
}

.floor-list li:first-child {
    border-top: 0;
    padding-top: 0.2rem;
}

.floor-shop {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.85rem;
}

.floor-price {
    margin: 0.2rem 0 0;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.floor-why {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
    max-width: 42rem;
}

.floor-list .cta {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
}

/* ---------- Tip ---------- */

.tip {
    margin-top: 1.25rem;
    padding: 1.2rem 1.35rem 1.3rem;
    background: var(--accent-soft);
    border: 1px solid #f6d3bd;
    border-radius: var(--radius);
}

.tip h2 {
    margin: 0;
    font-size: 1.05rem;
}

.tip p {
    margin: 0.45rem 0 0.9rem;
    color: #6b4326;
    max-width: 46rem;
    line-height: 1.55;
}

.tip-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
    text-decoration: none;
}

.tip-cta:hover {
    filter: brightness(1.06);
}

/* ---------- Hub ---------- */

.accent-text {
    color: var(--accent);
}

.hub-eyebrow {
    margin: 0 0 0.6rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.hub-eyebrow-center {
    text-align: center;
}

.hub-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 1.75rem;
}

.hub-hero-copy h1 {
    margin: 0;
    font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.65rem);
    letter-spacing: -0.02em;
}

.hub-hero-sub {
    margin: 0.9rem 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 34rem;
}

.hub-hero-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 1.6rem;
    margin: 1.4rem 0 0;
    padding: 0;
}

.hub-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    max-width: 15rem;
}

.hub-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
}

.hub-feature-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.87rem;
    min-width: 0;
}

.hub-feature-copy strong {
    font-size: 0.92rem;
}

.hub-feature-copy span {
    color: var(--muted);
}

.hub-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.hub-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.3rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.98rem;
}

.hub-btn-primary {
    background: var(--accent);
    color: var(--accent-ink);
}

.hub-btn-primary:hover {
    filter: brightness(1.06);
}

.hub-btn-secondary {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line-strong);
}

.hub-btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hub-preview {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px -24px rgba(19, 26, 38, 0.35);
    overflow: hidden;
}

.hub-preview-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.9rem;
    background: var(--surface-sunken);
    border-bottom: 1px solid var(--line);
    min-width: 0;
}

.hub-preview-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--line-strong);
}

.hub-preview-url {
    margin-left: 0.5rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hub-mini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.hub-mini-table th {
    text-align: left;
    padding: 0.7rem 1rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    white-space: nowrap;
}

.hub-mini-table th.num, .hub-mini-table td.num {
    text-align: right;
}

.hub-mini-table td {
    padding: 0.55rem 1rem;
    border-top: 1px solid var(--line);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.hub-mini-table tr.is-best td {
    font-weight: 600;
}

.hub-mini-table .badge {
    margin-left: 0.5rem;
}

.hub-example .hub-mini-table {
    background: var(--surface);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.hub-preview-link {
    display: block;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--line);
    background: var(--surface-sunken);
    text-align: center;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

.hub-preview-link:hover {
    text-decoration: underline;
}

.hub-search-panel {
    text-align: center;
}

.hub-search-panel h2 {
    margin: 0 0 1rem;
    font-size: 1.15rem;
}

.hub-search {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    max-width: 30rem;
    margin: 0 auto;
}

.hub-search input {
    flex: 1;
    height: 2.6rem;
    padding: 0 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: inherit;
    font: inherit;
    font-size: 0.95rem;
}

.hub-search button {
    height: 2.6rem;
    padding: 0 1.3rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: var(--accent-ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.hub-search button:hover {
    filter: brightness(1.06);
}

.hub-search-note {
    margin: 0.9rem 0 0;
    color: var(--caution);
    font-size: 0.9rem;
}

.hub-search-popular {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 0.6rem;
    margin: 1.1rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.quick-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    background: var(--surface-sunken);
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.86rem;
    text-decoration: none;
}

.quick-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hub-explain {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2.25rem;
}

.hub-explain-copy h2 {
    margin: 0 0 1.2rem;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.hub-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
}

.hub-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.hub-feature-list li > div {
    min-width: 0;
    flex: 1;
}

.hub-feature-list strong {
    display: block;
    font-size: 0.98rem;
}

.hub-feature-list p {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.hub-example {
    background: var(--surface-sunken);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem 1.25rem;
}

.hub-example-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
}

.hub-example-head h3 {
    margin: 0;
    font-size: 1.02rem;
}

.hub-example-more {
    display: inline-block;
    margin-top: 0.9rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.hub-example-more:hover {
    text-decoration: underline;
}

.hub-steps-band {
    margin-inline: calc(50% - 50vw);
    width: 100vw;
    background: var(--surface-sunken);
    padding: 2.6rem 0 2.8rem;
    margin-block: 1.75rem;
}

.hub-steps-inner {
    width: min(1240px, calc(100% - 2.5rem));
    margin-inline: auto;
    text-align: center;
}

.hub-steps-title {
    margin: 0 0 2rem;
    font-size: 1.55rem;
    letter-spacing: -0.01em;
}

.hub-steps-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hub-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 12rem;
}

.hub-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 1.05rem;
}

.hub-step strong {
    font-size: 0.95rem;
}

.hub-step p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

.hub-step-arrow {
    align-self: center;
    margin-top: 1.2rem;
    color: var(--line-strong);
    font-size: 1.1rem;
}

.hub-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 1.25rem;
}

.hub-highlight {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hub-highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
}

.hub-highlight strong {
    font-size: 0.98rem;
}

.hub-highlight p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.empty {
    color: var(--muted);
}

.terms h2 {
    margin: 1.6rem 0 0.5rem;
    font-size: 1.15rem;
}

.terms p {
    color: var(--muted);
    max-width: 46rem;
    line-height: 1.55;
}

#blazor-error-ui {
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

h1:focus {
    outline: none;
}

/* ---------- Cards on small screens ---------- */

@media (max-width: 980px) {
    .podium {
        grid-template-columns: 1fr;
    }

    .podium-card a {
        flex-direction: row;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 0.2rem 0.75rem;
        padding: 0.85rem 1.1rem;
    }

    .podium-registrar, .podium-amount {
        margin-top: 0;
    }

    .podium-label {
        flex-basis: 100%;
    }
}

@media (max-width: 880px) {
    .site-header-inner, main, .site-footer-inner {
        width: min(1240px, calc(100% - 1.5rem));
    }

    .panel, .page {
        padding: 1.1rem 1rem 1.3rem;
    }

    .hub-hero {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .hub-hero-sub {
        max-width: none;
    }

    .hub-explain {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .results-head {
        flex-direction: column;
        align-items: stretch;
    }

    .search input {
        flex: 1;
        min-width: 0;
    }

    .compare-table,
    .compare-table tbody,
    .compare-table tr,
    .compare-table td {
        display: block;
        width: 100%;
    }

    .compare-table thead,
    .compare-table caption {
        display: none;
    }

    .compare-table tr {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "rank registrar"
            "primary primary"
            "register register"
            "renew renew"
            "delta delta"
            "action action";
        column-gap: 0.6rem;
        align-items: baseline;
        margin-bottom: 0.75rem;
        padding: 0.9rem 1rem 1rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
    }

    .compare-table tr.is-best {
        border-color: var(--accent);
        box-shadow: 0 0 0 1px var(--accent);
    }

    .compare-table tbody tr:hover {
        background: transparent;
    }

    .compare-table td {
        padding: 0.2rem 0;
        border-bottom: 0;
        text-align: left;
    }

    .compare-table td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 0.85rem;
    }

    .compare-table td.col-register,
    .compare-table td.col-renew,
    .compare-table td.col-delta {
        display: flex;
        align-items: baseline;
        gap: 0.5rem;
        text-align: right;
    }

    /* Column name left; hint sits left of the right-aligned amount. */
    .compare-table td.col-register::before,
    .compare-table td.col-renew::before,
    .compare-table td.col-delta::before {
        margin-right: auto;
    }

    .col-register .hint,
    .col-renew .hint {
        margin: 0 0.45rem 0 0;
    }

    .compare-table td.col-rank {
        grid-area: rank;
        font-weight: 700;
        color: var(--ink);
    }

    .compare-table td.col-rank::before {
        content: "#";
        color: var(--muted);
        font-weight: 600;
    }

    .compare-table td.col-registrar {
        grid-area: registrar;
    }

    .compare-table td.col-registrar::before {
        display: none;
    }

    .compare-table td.col-primary {
        grid-area: primary;
        margin: 0.5rem 0 0.6rem;
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 0;
    }

    .compare-table td.col-primary::before {
        font-size: 0.85rem;
    }

    .col-primary .amount-lead {
        font-size: 1.75rem;
        letter-spacing: -0.02em;
    }

    .compare-table td.col-register {
        grid-area: register;
        border-top: 1px solid var(--line);
        padding-top: 0.5rem;
    }

    .compare-table td.col-renew {
        grid-area: renew;
    }

    .compare-table td.col-delta {
        grid-area: delta;
    }

    .compare-table td.col-action {
        grid-area: action;
        margin-top: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .compare-table td.col-action::before {
        display: none;
    }

    .col-action .action-buttons {
        order: 2;
    }

    .verify-detail {
        max-width: none;
    }

    .floor-list li {
        grid-template-columns: 1fr;
    }

    .floor-list .cta {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        margin-top: 0.65rem;
    }
}

@media (max-width: 640px) {
    .brand-logo {
        height: 30px;
    }

    .site-header-inner {
        padding: 0.75rem 0 0.9rem;
    }

    .horizon {
        align-items: stretch;
    }

    .segmented {
        width: 100%;
        justify-content: space-between;
    }

    .segment {
        flex: 1;
        justify-content: center;
        padding-inline: 0.4rem;
    }

    .hub-btn {
        flex: 1;
        justify-content: center;
    }

    .hub-hero-features {
        flex-direction: column;
        gap: 0.85rem;
    }

    .hub-feature {
        max-width: none;
    }

    .hub-search {
        flex-direction: column;
    }

    .hub-search button {
        width: 100%;
    }

    .hub-example-head {
        flex-direction: column;
        align-items: stretch;
    }

    .hub-example-head .segmented {
        justify-content: space-between;
    }

    .hub-mini-table,
    .hub-mini-table tbody {
        display: block;
        width: 100%;
    }

    .hub-mini-table thead {
        display: none;
    }

    .hub-mini-table tr {
        display: grid;
        grid-template-columns: 1fr auto;
        column-gap: 0.75rem;
        row-gap: 0.2rem;
        padding: 0.7rem 0.85rem;
        border-top: 1px solid var(--line);
    }

    .hub-mini-table tbody tr:first-child {
        border-top: 0;
    }

    .hub-mini-table th,
    .hub-mini-table td {
        padding: 0;
        border: 0;
        white-space: normal;
    }

    .hub-mini-table td:first-child {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 0.35rem 0.5rem;
    }

    .hub-mini-table td.num {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        grid-column: 1 / -1;
        gap: 0.75rem;
    }

    .hub-mini-table td.num::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 0.78rem;
        font-weight: 500;
    }

    .hub-steps-list {
        flex-direction: column;
        align-items: center;
    }

    .hub-step {
        width: 100%;
        max-width: 20rem;
    }

    .hub-step-arrow {
        transform: rotate(90deg);
        margin: -0.1rem 0;
    }

    .hub-steps-band {
        padding: 2rem 0 2.2rem;
    }
}

/* ---------- Registrar history ---------- */

.history-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.history h2 {
    margin: 0;
    font-size: 1.15rem;
}

.chart-legend {
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.chart-legend li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.chart-legend li::before {
    content: "";
    width: 0.85rem;
    height: 3px;
    border-radius: 999px;
    background: var(--accent);
}

.chart-legend .is-renew::before {
    background: var(--navy);
}

.chart-wrap {
    margin: 1rem 0 1.25rem;
    overflow-x: auto;
}

.price-chart {
    display: block;
    width: 100%;
    max-width: 48rem;
    height: auto;
}

.chart-plot {
    fill: var(--surface-sunken);
}

.chart-grid {
    stroke: var(--line);
    stroke-width: 1;
}

.chart-tick {
    fill: var(--muted);
    font-size: 11px;
}

.chart-line {
    stroke: var(--accent);
    stroke-width: 2.25;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.chart-line.is-renew {
    stroke: var(--navy);
}

.chart-line.is-assumed {
    stroke-dasharray: 5 4;
}

.legend-note {
    font-weight: 500;
    color: var(--muted);
}

.legend-note::before {
    content: "·";
    margin-right: 0.3rem;
}

.until-now {
    display: inline-flex;
    align-items: baseline;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.chart-dot {
    fill: var(--accent);
}

.chart-dot.is-renew {
    fill: var(--navy);
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.history-table th,
.history-table td {
    padding: 0.55rem 0.4rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.history-table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.history-cta {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 1.1rem 0 0;
}
