/* DomainSeller — typography, rules and one functional accent. */
:root {
    --ink: #202329;
    --muted: #626771;
    --accent: #234be8;
    --accent-hover: #1939bc;
    --paper: #ffffff;
    --surface: #f4f5f7;
    --line: #dce0e5;
    --field-border: #9da4ae;
    --radius: 3px;
    --bs-body-font-family: "Helvetica Neue", Arial, sans-serif;
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
button, input, select, a { touch-action: manipulation; }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { color: var(--ink); background: #dce4ff; }
[hidden] { display: none !important; }
.container-xl { width: 100%; max-width: 1232px; padding-inline: 40px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.2; }
h2 { font-size: 25px; letter-spacing: -.65px; }
h3 { font-size: 17px; letter-spacing: -.2px; }
small, .small { font-size: 13px; }
code { color: var(--ink); font-size: .85em; overflow-wrap: anywhere; }
.skip-link { position: absolute; left: 24px; top: -100px; z-index: 10; background: var(--ink); color: white; padding: 12px 18px; }
.skip-link:focus { top: 10px; color: white; }

/* Shared frame */
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; min-height: 96px; position: relative; }
.site-header::after { content: ""; position: absolute; bottom: 0; left: 40px; right: 40px; height: 1px; background: var(--line); }
.wordmark { color: var(--ink); font-size: 24px; font-weight: 700; letter-spacing: -1.15px; text-decoration: none; line-height: 1; }
.wordmark-stop { color: var(--accent); }
.header-caption { color: var(--muted); font-size: 12px; border-left: 1px solid var(--line); padding-left: 30px; }
.header-contact { font-size: 13px; text-decoration: none; }
.header-contact:hover { text-decoration: underline; }
.contact-short { display: none; }
main { flex: 1; min-width: 0; }
main:focus { outline: none; }
.site-footer { display: grid; grid-template-columns: 1fr auto; column-gap: 40px; row-gap: 25px; margin-top: 64px; padding-top: 28px; padding-bottom: 25px; position: relative; font-size: 12px; color: var(--muted); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 40px; right: 40px; height: 1px; background: var(--line); }
.footer-company p { margin: 0 0 4px; }
.footer-company .footer-company-name { color: var(--ink); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 10px 24px; max-width: 560px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-copyright { grid-column: 1 / -1; font-size: 11px; margin: 0; }

/* The domain is the product; no split marketing hero. */
.domain-sale { padding-top: 53px; }
.domain-presentation { display: grid; grid-template-columns: minmax(0, 1fr); }
.sale-availability { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.domain-name { --domain-max: 112; display: block; width: 100%; min-width: 0; margin: 0 0 24px; font-size: clamp(44px, 8.8vw, 112px); font-weight: 500; line-height: 1.1; letter-spacing: -.055em; }
[data-fit-domain] { min-width: 0; white-space: nowrap; word-break: normal; overflow-wrap: normal; hyphens: none; }
[data-domain-text] { display: inline-block; white-space: nowrap; }
.domain-name--long { font-size: clamp(11px, 2.5vw, 40px); }
.sale-description { color: var(--muted); font-size: 16px; margin: 0 0 36px; }
.sale-bar { display: grid; grid-template-columns: 1fr 1.15fr auto; align-items: center; gap: 32px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 25px 0; }
.price-caption { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.price { color: var(--ink); font-size: 45px; font-weight: 500; line-height: 1.15; letter-spacing: -1.9px; font-variant-numeric: tabular-nums; margin: 0; white-space: nowrap; }
.tax-label { display: block; font-size: 12px; color: var(--muted); margin-top: 7px; }
.sale-scope p { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.sale-scope span { color: var(--muted); font-size: 13px; line-height: 1.7; }
.sale-action { min-width: 250px; }
.btn { border-radius: var(--radius); font-size: 14px; font-weight: 500; line-height: 1.4; padding: 12px 20px; box-shadow: none; transition: background-color .15s, border-color .15s; }
.btn-primary { color: white; background: var(--accent); border-color: var(--accent); }
.btn-primary:hover, .btn-primary:active, .btn-primary:focus-visible { color: white; background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline-dark { color: var(--ink); border-color: var(--field-border); }
.btn-outline-dark:hover { background: var(--ink); color: white; border-color: var(--ink); }
.purchase-button { min-height: 50px; display: inline-flex; justify-content: center; align-items: center; font-size: 15px; padding: 14px 24px; }
.sale-action .purchase-button { display: flex; }
.payment-note { font-size: 11px; color: var(--muted); margin: 11px 0 0; text-align: center; }
.payment-note strong { font-size: inherit; font-weight: 600; color: var(--ink); }
.payment-provider { color: var(--ink); font-weight: 600; }

/* Compact explanations, structured by rules instead of cards. */
.transfer-section { padding-top: 38px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.section-heading h2 { font-size: 23px; margin: 0; }
.section-heading > p { font-size: 12px; color: var(--muted); margin: 0; }
.transfer-steps { counter-reset: transfer; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; gap: 38px; }
.transfer-steps li { counter-increment: transfer; position: relative; padding-left: 32px; }
.transfer-steps li::before { content: counter(transfer, decimal-leading-zero); position: absolute; top: 1px; left: 0; color: var(--accent); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.transfer-steps h3 { font-size: 15px; margin: 0 0 10px; }
.transfer-steps p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.75; }
.sale-details { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; padding-top: 46px; margin-top: 42px; position: relative; }
.sale-details::before { content: ""; position: absolute; top: 0; left: 40px; right: 40px; background: var(--line); height: 1px; }
.details-intro h2 { font-size: 23px; margin-bottom: 18px; }
.details-intro p { font-size: 13px; line-height: 1.85; color: var(--muted); }
.details-intro a { color: var(--ink); }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details:first-child { padding-top: 0; }
summary { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); flex-shrink: 0; font-size: 17px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 13px 30px 2px 0; }

/* Shared page hierarchy */
.inner-page { padding-top: 34px; padding-bottom: 12px; }
.back-link { display: inline-block; font-size: 12px; color: var(--muted); margin-bottom: 27px; text-decoration: none; }
.back-link::before { content: "‹"; margin-right: 8px; font-size: 17px; line-height: 1; }
.back-link:hover { text-decoration: underline; }
.page-heading { margin-bottom: 35px; }
.page-title { font-size: 36px; letter-spacing: -1.1px; font-weight: 500; margin-bottom: 12px; }
.page-heading > p, .page-intro { color: var(--muted); margin-bottom: 0; font-size: 15px; max-width: 660px; }
.page-context { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.narrow-page { max-width: 848px; padding-top: 48px; }
.content-panel { padding-top: 28px; border-top: 2px solid var(--ink); }
.content-panel p { font-size: 14px; }
.content-panel > :last-child { margin-bottom: 0; }
.status-domain, .summary-domain { --domain-max: 28; display: block; width: 100%; font-size: 28px; font-weight: 500; letter-spacing: -.85px; line-height: 1.2; margin-bottom: 12px; }
.summary-domain.domain-name--long { font-size: clamp(11px, 1.5vw, 16px); }
.status-domain.domain-name--long { font-size: clamp(11px, 2.5vw, 25px); }
.order-reference { color: var(--muted); font-size: 12px !important; margin-bottom: 22px; }
.status-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; padding-bottom: 25px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.status-total .price { font-size: 32px; letter-spacing: -1px; }
.status-total > span { font-size: 12px; color: var(--muted); }
.status-message { max-width: 620px; }
.status-message .btn { margin-top: 7px; }
.order-support { margin-top: 27px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.order-support p { max-width: 610px; }
.message-page { max-width: 848px; padding-top: 56px; }
.message-page .page-heading { border-top: 2px solid var(--accent); padding-top: 25px; }
.message-page .page-title { font-size: 32px; }
.message-contact { margin-top: 28px; color: var(--muted); font-size: 13px; }

/* Poll only the authorised order page; payment handling stays in cron. */
.order-refresh { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; color: var(--muted); }
.order-refresh p { margin: 0; font-size: 13px; line-height: 1.7; }
.order-refresh-spinner { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: order-status-spin .85s linear infinite; }
.order-refresh--scheduled .order-refresh-spinner { display: none; }
.order-refresh-link { display: inline-block; margin-top: 14px; font-size: 13px; }
@keyframes order-status-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .order-refresh-spinner { animation: none; } }

.order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.direct-delivery-form { min-width: 220px; max-width: 300px; padding: 12px 0; }
.direct-delivery-form label { display: block; font-size: 12px; margin-bottom: 9px; }
.direct-delivery-form input[type=checkbox] { vertical-align: middle; margin-right: 5px; }

/* Checkout: recognisable fields and a restrained order ledger. */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.checkout-form { grid-column: 1; grid-row: 1; min-width: 0; border-top: 2px solid var(--ink); padding-top: 24px; }
.checkout-error { padding: 13px 16px; margin: 0 0 20px; border: 1px solid #b3261e; border-radius: var(--radius); background: #fff3f1; color: #84211b; font-size: 14px; }
.checkout-error[hidden] { display: none; }
.checkout-form fieldset { min-width: 0; }
.checkout-form legend { float: none; font-size: 19px; font-weight: 600; letter-spacing: -.4px; margin-bottom: 4px; }
.form-instruction { font-size: 12px; color: var(--muted); margin: 0 0 22px; }
.checkout-form label, .simple-form label, .code-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 7px; }
.customer-types { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 24px; }
.customer-types label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 400; }
input[type=radio], input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--accent); flex-shrink: 0; }
.form-control, .form-select { min-height: 46px; border: 1px solid var(--field-border); border-radius: var(--radius); background-color: white; color: var(--ink); padding: 10px 12px; font-size: 16px; line-height: 1.5; box-shadow: none; }
.form-control:hover, .form-select:hover { border-color: var(--ink); }
.form-control:focus, .form-select:focus { color: var(--ink); border-color: var(--accent); outline: 3px solid #c6d1ff; outline-offset: 1px; box-shadow: none; }
.form-control:user-invalid, .form-select:user-invalid { border-color: #b3261e; outline-color: #f4c7c4; }
.form-control::placeholder { color: #747a84; font-size: 14px; }
.checkout-form small, .simple-form small { display: block; font-size: 12px; color: var(--muted); margin-top: 7px; line-height: 1.65; }
.optional { color: var(--muted); font-weight: 400; }
.consent-box { margin-top: 27px; padding-top: 24px; border-top: 1px solid var(--line); }
.checkout-form .consent-label { display: flex; align-items: flex-start; gap: 11px; font-size: 12px; font-weight: 400; line-height: 1.8; margin-bottom: 15px; }
.consent-label input { margin-top: 3px; }
.delivery-policy { margin: 17px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.checkout-submit { margin-top: 27px; }
.checkout-submit .purchase-button { width: 100%; }
.checkout-button-label[hidden], .checkout-button-loading[hidden] { display: none; }
.checkout-button-loading:not([hidden]) { display: inline-flex; align-items: center; gap: 9px; }
.checkout-button-spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: order-status-spin .75s linear infinite; }
@media (prefers-reduced-motion: reduce) { .checkout-button-spinner { animation: none; } }
.checkout-submit > p { font-size: 12px; color: var(--muted); margin-top: 10px; margin-bottom: 0; }
.order-summary { grid-column: 2; grid-row: 1; min-width: 0; padding: 24px; background: var(--surface); border-top: 2px solid var(--ink); position: sticky; top: 24px; }
.order-summary > h2 { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-bottom: 20px; }
.summary-description { font-size: 12px; color: var(--muted); margin-bottom: 25px; }
.totals { margin: 0; font-size: 13px; }
.totals > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 0; }
.totals dt { font-weight: 400; }
.totals dd { white-space: nowrap; margin-bottom: 0; font-variant-numeric: tabular-nums; }
.totals .grand-total { margin-top: 12px; padding-top: 16px; border-top: 1px solid #cdd2da; font-weight: 600; }
.grand-total dt { font-weight: 600; }
.summary-exclusions { font-size: 12px; color: var(--muted); margin: 17px 0 0; }
.summary-delivery { border-top: 1px solid #cdd2da; margin-top: 24px; padding-top: 21px; }
.summary-delivery h3 { font-size: 14px; margin-bottom: 10px; }
.summary-delivery p { color: var(--muted); font-size: 12px; margin-bottom: 0; line-height: 1.75; }
.order-summary .payment-note { text-align: left; margin-top: 23px; }
.simple-form { max-width: 540px; border-top: 2px solid var(--ink); padding-top: 26px; }
.simple-form .form-control { margin-bottom: 22px; }
.simple-form .btn { margin-top: 3px; }

/* Delivery, documents and administration use the same visual language. */
.code-area { margin: 26px 0; padding: 23px; background: var(--surface); }
.code-container { display: flex; align-items: stretch; gap: 10px; margin-top: 10px; }
.code-container .form-control { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; min-width: 0; }
.code-container .btn { flex-shrink: 0; }
.code-expiry { font-size: 12px !important; margin: 12px 0 0; color: var(--muted); }
.delivery-help { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 25px; }
.delivery-help h2 { font-size: 20px; margin-bottom: 17px; }
.delivery-instructions { font-size: 14px; color: var(--muted); padding-left: 21px; line-height: 1.85; margin-bottom: 25px; }
.delivery-instructions li { padding-left: 4px; margin-bottom: 8px; }
.delivery-security { margin-top: 17px; color: var(--muted); font-size: 12px !important; }
.legal-content { font-size: 14px; line-height: 1.85; }
.legal-content > h2 { font-size: 21px; margin-top: 30px; margin-bottom: 13px; }
.legal-content .page-title { margin-bottom: 25px; }
.legal-seller { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 22px; color: var(--muted); font-size: 13px; }
.admin-page h2 { font-size: 23px; margin-top: 35px; }
.admin-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 25px 0; }
.admin-toolbar span { font-size: 12px; color: var(--muted); }
.table { font-size: 12px; --bs-table-bg: transparent; --bs-table-border-color: var(--line); }
.table th { font-weight: 600; }
.table td { padding: 14px 8px; vertical-align: middle; }
.table small { font-size: 11px; color: var(--muted); }
.inline-form { display: inline-block; margin: 3px; }
.btn-sm { font-size: 11px; padding: 7px 10px; }

@media (max-width: 1023px) {
    .container-xl { padding-inline: 32px; }
    .site-header::after, .site-footer::before, .sale-details::before { left: 32px; right: 32px; }
    .domain-name { --domain-max: 88; }
    .sale-bar { gap: 24px; grid-template-columns: 1fr 1fr auto; }
    .sale-action { min-width: 220px; }
    .sale-scope span br { display: none; }
    .checkout-layout { gap: 38px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
    .order-summary { padding: 20px; }
    .transfer-steps { gap: 23px; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 9px; }
    .footer-links { max-width: 400px; }
}

@media (max-width: 767px) {
    .container-xl { padding-inline: 24px; }
    .site-header { min-height: 79px; grid-template-columns: 1fr auto; gap: 18px; }
    .site-header::after, .site-footer::before, .sale-details::before { left: 24px; right: 24px; }
    .wordmark { font-size: 22px; }
    .header-caption { display: none; }
    .header-contact { font-size: 12px; }
    .domain-sale { padding-top: 34px; }
    .domain-name { --domain-max: 66; order: 1; margin-bottom: 15px; }
    .sale-availability { order: 2; margin-bottom: 0; font-size: 14px; }
    .sale-description { display: none; }
    .sale-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 21px 28px; margin-top: 27px; padding: 23px 0; }
    .sale-price { grid-row: 1; }
    .sale-action { grid-column: 2; grid-row: 1; }
    .sale-scope { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--line); padding-top: 18px; }
    .sale-scope p { display: inline; font-size: 12px; margin-right: 8px; }
    .sale-scope span { display: inline; font-size: 12px; }
    .sale-scope span br { display: none; }
    .price { font-size: 36px; letter-spacing: -1.5px; }
    .transfer-section { padding-top: 29px; }
    .section-heading { margin-bottom: 22px; }
    .section-heading h2, .details-intro h2 { font-size: 22px; }
    .transfer-steps { grid-template-columns: 1fr; gap: 23px; }
    .transfer-steps li { padding-left: 32px; }
    .transfer-steps h3 { margin-bottom: 5px; }
    .transfer-steps p { line-height: 1.7; }
    .sale-details { grid-template-columns: 1fr; gap: 15px; padding-top: 29px; margin-top: 30px; }
    .details-intro h2 { margin-bottom: 12px; }
    .details-intro p { margin-bottom: 12px; }
    .site-footer { grid-template-columns: 1fr; gap: 20px; margin-top: 43px; padding-top: 24px; }
    .footer-links { justify-content: flex-start; max-width: none; gap: 12px 23px; }
    .page-title { font-size: 30px; letter-spacing: -.8px; }
    .page-heading { margin-bottom: 27px; }
    .page-heading > p, .page-intro { font-size: 14px; }
    .inner-page { padding-top: 27px; }
    .back-link { margin-bottom: 24px; }
    .narrow-page, .message-page { padding-top: 34px; }
    .checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 29px; }
    .order-summary { grid-column: 1; grid-row: 1; position: static; padding: 21px; }
    .checkout-form { grid-column: 1; grid-row: 2; }
    .summary-domain { --domain-max: 29; }
    .order-summary > h2 { margin-bottom: 13px; }
    .summary-description { margin-bottom: 14px; }
    .order-summary .totals > div { padding-block: 5px; }
    .order-summary .grand-total { margin-top: 8px; padding-top: 12px; }
    .summary-exclusions { margin-top: 13px; }
    .summary-delivery { display: none; }
    .order-summary .payment-note { margin-top: 13px; }
    .order-reference code { display: block; margin-top: 5px; }
    .code-area { padding: 18px; }
}

@media (max-width: 479px) {
    .container-xl { padding-inline: 20px; }
    .site-header { min-height: 71px; }
    .site-header::after, .site-footer::before, .sale-details::before { left: 20px; right: 20px; }
    .wordmark { font-size: 21px; }
    .contact-full { display: none; }
    .contact-short { display: inline; }
    .domain-sale { padding-top: 30px; }
    .domain-name { --domain-max: 48; margin-bottom: 14px; }
    .sale-availability { font-size: 13px; }
    .sale-bar { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 23px; padding-top: 21px; padding-bottom: 19px; }
    .sale-price { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: end; }
    .price-caption { grid-row: 1; grid-column: 1 / -1; margin: 0 0 4px; }
    .sale-price .price { grid-row: 2; grid-column: 1; font-size: 39px; }
    .tax-label { grid-row: 2; grid-column: 2; margin: 0 0 5px; font-size: 11px; }
    .sale-action { grid-column: 1; grid-row: 2; min-width: 0; margin-top: 22px; }
    .sale-scope { grid-column: 1; grid-row: 3; border-top: 0; padding-top: 19px; }
    .sale-scope p { display: block; margin-bottom: 4px; font-size: 13px; }
    .sale-scope span { display: block; font-size: 12px; line-height: 1.7; }
    .purchase-button { font-size: 15px; width: 100%; }
    .payment-note { margin-top: 10px; }
    .section-heading h2, .details-intro h2 { font-size: 21px; letter-spacing: -.5px; }
    .section-heading > p { font-size: 12px; }
    .transfer-steps p { font-size: 12px; }
    .transfer-steps h3 { font-size: 14px; }
    summary { font-size: 13px; }
    details p { font-size: 12px; margin-right: 13px; }
    .page-title { font-size: 28px; }
    .checkout-submit .purchase-button { font-size: 14px; padding-inline: 10px; }
    .code-container { flex-direction: column; }
    .code-container .btn { align-self: flex-start; }
    .status-domain { --domain-max: 28; }
    .message-page .page-title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
