/* A fresh page snapshot expands from the switch in either direction. */
html.theme-revealing::view-transition {pointer-events:none}
html.theme-revealing::view-transition-group(root) {animation:none}
html.theme-revealing::view-transition-image-pair(root) {isolation:isolate}
html.theme-revealing::view-transition-old(root),
html.theme-revealing::view-transition-new(root) {mix-blend-mode:normal;opacity:1;animation:none}
html.theme-revealing::view-transition-old(root) {z-index:1}
html.theme-revealing::view-transition-new(root) {z-index:2;animation:theme-circle-reveal .62s cubic-bezier(.22,.72,.2,1) both}
@keyframes theme-circle-reveal {
  from {clip-path:circle(0 at var(--theme-reveal-x,95vw) var(--theme-reveal-y,24px))}
  to {clip-path:circle(var(--theme-reveal-radius,150vmax) at var(--theme-reveal-x,95vw) var(--theme-reveal-y,24px))}
}
@media (prefers-reduced-motion:reduce) {
  html.theme-revealing::view-transition-new(root) {animation:none}
}
/* The thumb shows the active theme and the switch stays on the same dark top bar. */
.topbar .wrap {align-items:center}
.site-theme-toggle {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;
  min-height:28px;padding:0;color:#d4dbd9;background:transparent;
  border:0;border-radius:4px;font:inherit;font-weight:650;line-height:1;white-space:nowrap;
}
.site-theme-toggle[hidden] {display:none}
.site-theme-toggle:focus-visible {outline:2px solid #eed08c;outline-offset:3px}
.site-theme-toggle:hover {color:#fff1cc}
.theme-switch-track {
  box-sizing:border-box;position:relative;display:block;flex:none;width:43px;height:25px;
  border-radius:20px;border:1px solid #748184;background:#29353a;
  transition:border-color .2s ease,background-color .2s ease;
}
.theme-switch-thumb {
  position:absolute;left:2px;top:2px;display:grid;place-items:center;width:19px;height:19px;
  border-radius:50%;background:#f3e6c5;color:#423722;box-shadow:0 1px 3px #050a0e80;
  transition:transform .22s cubic-bezier(.25,.8,.25,1),background-color .2s ease;
}
.site-theme-toggle .theme-switch-thumb svg {
  grid-area:1 / 1;width:13px;height:13px;stroke-width:1.9;
  transition:opacity .17s ease,transform .21s ease;
}
.theme-switch-thumb .theme-sun {opacity:1;transform:rotate(0) scale(1)}
.theme-switch-thumb .theme-moon {opacity:0;transform:rotate(-35deg) scale(.68)}
.site-theme-toggle:hover .theme-switch-track {border-color:#e5c884}
.site-theme-toggle[aria-checked=true] .theme-switch-track {background:#5a4928;border-color:#c4a56a}
.site-theme-toggle[aria-checked=true] .theme-switch-thumb {transform:translateX(18px);background:#efd497}
.site-theme-toggle[aria-checked=true] .theme-sun {opacity:0;transform:rotate(40deg) scale(.68)}
.site-theme-toggle[aria-checked=true] .theme-moon {opacity:1;transform:rotate(0) scale(1)}
@media (prefers-reduced-motion:reduce) {
  .site-theme-toggle .theme-switch-track,.site-theme-toggle .theme-switch-thumb,.site-theme-toggle .theme-switch-thumb svg {transition:none}
}
@media (max-width:680px) {
  .topbar .wrap {padding-block:2px}
  .top-links {gap:8px}
  .site-theme-toggle {min-width:44px;min-height:44px}
  .theme-toggle-label {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
}
@media (max-width:370px) {
  .topbar .wrap>span {max-width:46%;line-height:1.35}
}
@media print {.site-theme-toggle {display:none}}

/* Printed documents and the canvas used for a handwritten signature keep their paper colours. */
@media screen {
  html[data-theme=dark] {
    color-scheme:dark;
    --paper:#101619;--ink:#f2f0e8;--muted:#bcc5c4;--line:#3a4649;
    --surface:#1b2428;--raised:#253035;--field:#121b1f;--strong-line:#697579;
    --accent:#e6c781;--tint:#332e23;--positive:#9de2b3;--negative:#ffb0a5;
    --green:var(--positive);
  }
  html[data-theme=dark] :is(.skip,.tabs,.compare-filters,.editorial,.technology-strip,.company-box,.hp-section-nav,.hp-spec-section,.hp-family-section,.order-summary,.unit-offers,.pdf-preview,.pdf-preview-toolbar,.comparison-bottom,.comparison-guide) {
    background:var(--surface);border-color:var(--line);color:var(--ink);
  }
  html[data-theme=dark] :is(.hosting-product,.comparison-section.expanded,.legal-document) {background:var(--paper);color:var(--ink)}
  html[data-theme=dark] :is(.button.dark,.button.outline:hover) {
    background:var(--raised);color:var(--ink);border-color:var(--strong-line);
  }
  html[data-theme=dark] :is(.tabs button[aria-selected=true],.tax-switch button.selected,.compare-filters button[aria-pressed=true]) {
    background:var(--accent);color:#242119;
  }
  html[data-theme=dark] :is(.tax-switch,.button.outline,.compare-filters,.quantity-control,.contact-strip,.contact-channel) {border-color:var(--strong-line)}
  html[data-theme=dark] :is(.tabs button,.tax-switch button,.technology-layout>p,.breadcrumb,.billing-note,.under-plans>span,.editorial-number span,.muted,.secure-note,.form-grid label small,.summary-plan-label,.tracking-page p,.price>span,.footer-bottom) {color:var(--muted)}
  html[data-theme=dark] :is(.tabs button span,.offer-pick) {color:#efdaa9;background:#483d28}
  html[data-theme=dark] :is(.technology-layout strong,.hosting-matrix td b) {color:var(--ink)}
  html[data-theme=dark] .technology-logos img {filter:brightness(0) invert(.85);mix-blend-mode:normal}
  html[data-theme=dark] .technology-logos img:hover {opacity:1}
  html[data-theme=dark] :is(.eyebrow,em,.text-link:hover,.benefit-grid article>span,.editorial-number,.editorial h2 em,.journey li>b,.process-list article>b,.contact-intro h1 em), html[data-theme=dark] summary::after {color:var(--accent)}
  html[data-theme=dark] :focus-visible {outline-color:var(--accent)}
  html[data-theme=dark] :is(.tabs,.benefit-grid,.benefit-grid article,.journey li,.process-list article,.faq details,details,footer,.order-detail-box,.summary-total) {border-color:var(--line)}
  html[data-theme=dark] .footer-grid :is(a,.cart-privacy-settings,span) {color:#b4c1c4}
  html[data-theme=dark] .footer-grid :is(a,.cart-privacy-settings):hover {color:var(--accent)}
  html[data-theme=dark] .payu-logo {content:url("/assets/payu-white.png")}

  /* Catalogue, hosting and VPS. */
  html[data-theme=dark] :is(.offer-card,.service-illustrations article,.vps-benefits article,.hp-family-grid,.hp-spec-table-wrap,.purchase-box,.vps-scroll table) {
    --offer-edge:var(--line);background:var(--surface);border-color:var(--line);color:var(--ink);
  }
  html[data-theme=dark] :is(.offer-card.offer-featured,.offer-family-intro,.hp-family-grid .hp-current-plan) {
    --offer-edge:#74633e;background:linear-gradient(135deg,#353023,var(--surface) 74%);border-color:#74633e;color:var(--ink);
  }
  html[data-theme=dark] .offer-card-mark {color:var(--accent)}
  html[data-theme=dark] .offer-card-mark path {fill:#3a3529}
  html[data-theme=dark] :is(.offer-card-cap>span,.vps-benefits article>span,.hp-row-icon svg,.hp-row-value,.hp-spec-layout h2 em,.hp-scope-title,.hp-questions>div:first-child a) {color:var(--accent)}
  html[data-theme=dark] :is(.offer-card .offer-card-description,.offer-card-specs dt,.offer-card-features,.offer-card .price>span,.offer-card .price small,.offer-card-purchase>small,.offer-family-intro p,.service-illustrations p,.vps-benefits article p,.vps-footnote,.hp-family-price-note,.hp-family-label,.hp-family-grid dt,.hp-spec-brand span,.hp-section-nav a,.hp-service-rows article p,.hp-row-icon>span,.hp-website-scope li>span,.hp-all-plans) {color:var(--muted)}
  html[data-theme=dark] :is(.offer-card-specs dd,.hp-family-grid dd,.hp-spec-table td,.hp-website-scope>strong) {color:var(--ink)}
  html[data-theme=dark] :is(.hp-spec-table thead,.vps-scroll tbody th) {background:var(--raised);color:var(--ink)}
  html[data-theme=dark] :is(.hp-spec-table th,.hp-spec-table thead th) {color:var(--muted)}
  html[data-theme=dark] .hp-infra-modules span {color:#a9bdb4}
  html[data-theme=dark] :is(.hp-spec-table th,.hp-spec-table td,.hp-website-scope,.hp-family-grid article,.hp-family-grid dl>div,.hp-service-rows,.hp-service-rows article,.hp-questions details,.vps-scroll th,.vps-scroll td,.vps-scroll) {border-color:var(--line)}

  /* Tables use opaque backgrounds behind sticky headers and the first column. */
  html[data-theme=dark] :is(.comparison,.comparison-scroll,.hosting-matrix tbody td,.compare-arrows button) {color:var(--ink);background:var(--surface);border-color:var(--line)}
  html[data-theme=dark] :is(.comparison thead th,.comparison th:first-child,.hosting-matrix thead th,.hosting-matrix th:first-child,.hosting-matrix .compare-section th) {color:var(--ink);background:var(--raised)}
  html[data-theme=dark] .hosting-matrix .matrix-recommended {background:#393223;color:var(--ink)}
  html[data-theme=dark] .hosting-matrix tbody tr:nth-child(even) td {background:#202b2f}
  html[data-theme=dark] .hosting-matrix tbody tr:hover td {background:#343229}
  html[data-theme=dark] :is(.comparison th,.comparison td,.hosting-matrix th,.hosting-matrix td) {border-color:var(--line)}
  html[data-theme=dark] :is(.matrix-plans th:first-child small,.matrix-price,.hosting-matrix tbody th small,.comparison-guide small) {color:var(--muted)}
  html[data-theme=dark] .matrix-price b {color:var(--ink)}
  html[data-theme=dark] .compare-yes {color:var(--positive)}
  html[data-theme=dark] .compare-arrows button:not(:disabled):hover {background:var(--accent);color:#242119}
  html[data-theme=dark] .comparison-scroll {scrollbar-color:#9b895d var(--raised)}
  html[data-theme=dark] .comparison-scroll::-webkit-scrollbar-track {background:var(--raised)}

  /* Contact fields, tracking, payment methods and contract disclosure. */
  html[data-theme=dark] :is(.contact-page,.legal-document) {background:radial-gradient(ellipse at 85% 0,#272821,transparent 34em),var(--paper)}
  html[data-theme=dark] :is(.contact-form-card,.tracking-form,.checkout-card,.remove-dialog,.order-detail-box,.contract-choice,.legal-paper,.pdf-preview-control,.pdf-preview-fit) {color:var(--ink);background:var(--surface);border-color:var(--line)}
  html[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]),select,textarea,.contact-page input:not([type=radio]),.contact-page textarea,.offer-domain input,.period-menu select,.promo-fields input,.tracking-form input) {
    background-color:var(--field);color:var(--ink);border-color:var(--strong-line);
  }
  html[data-theme=dark] :is(input,textarea)::placeholder {color:#a6b0b1;opacity:1}
  html[data-theme=dark] :is(input,select,textarea):focus-visible {border-color:var(--accent);outline-color:var(--accent)}
  html[data-theme=dark] :is(input[type=checkbox],input[type=radio]) {accent-color:var(--accent)}
  html[data-theme=dark] :is(.configured-item,.configured-head,.account-credentials,.unit-offers,.offer-option,.summary-breakdown,.order-summary,.promo-box,.contract-choice .check-label,.contact-topic,.promo-fields,.setup-info) {border-color:var(--line)}
  html[data-theme=dark] :is(.configured-head h3,.unit-offers legend,.payment-methods-compact legend,.contract-choice h3,.contract-choice .check-label) {color:var(--ink)}
  html[data-theme=dark] :is(.unit-offers legend,.setup-info,.configured-head .remove-item,.payment-choice small,.payment-methods-compact .payment-choice small,.quote-line small,.quote-line.setup-line,.configured-head p,.offer-option small,.offer-price s,.offer-domain>small,.cart-amount>span,.period-menu>span,.signature-tools,.checkout-flow .signature-disclosure,.checkout .contract-choice .contract-reference,.checkout-heading .checkout-steps li,.pdf-preview-status,.pdf-preview-page-label) {color:var(--muted)}
  html[data-theme=dark] :is(.setup-note p,.contact-panel-card,.contact-demo,.contact-topic:has(input:checked),.contact-heading-icon,.contact-channel-icon,.domain-suggestions button,.signature-tools #signature-clear,.setup-info[aria-expanded=true],.setup-info:hover,#tracking-result:not(:empty),.environment-note) {
    color:var(--ink);background:var(--tint);border-color:#796843;
  }
  html[data-theme=dark] :is(.contact-panel-card p,.contact-feedback[data-state=demo]) {color:#dcd0b3}
  html[data-theme=dark] :is(.contact-order summary,.contact-topic:has(input:checked) .contact-topic-icon,.contact-channel-icon,.contact-heading-icon,.contact-channel>svg,.promo-trigger span,.contract-choice summary,.pdf-preview-download,.payment-methods-compact .payment-choice:hover:not(:has(input:disabled)) b) {color:var(--accent)}
  html[data-theme=dark] .contact-topic:has(input:checked) .contact-topic-dot {background:var(--field);border-color:var(--accent)}
  html[data-theme=dark] .payment-choice:not(.payment-methods-compact .payment-choice) {background:var(--surface);border-color:var(--line)}
  html[data-theme=dark] .payment-choice:has(input:checked):not(.payment-methods-compact .payment-choice) {background:var(--tint);border-color:var(--accent)}
  html[data-theme=dark] .checkout-steps::before {background:var(--line)}
  html[data-theme=dark] .checkout-heading .checkout-steps b {background:var(--surface);color:var(--muted);border-color:var(--strong-line)}
  html[data-theme=dark] .checkout-heading .checkout-steps .active {color:var(--accent)}
  html[data-theme=dark] .checkout-heading .checkout-steps .active b {background:var(--accent);color:#231f17}
  html[data-theme=dark] .checkout-heading .checkout-steps .done b {background:#6a5226;color:#fff1cd}
  html[data-theme=dark] :is(.account-status,.state-symbol,.checkout-success-icon,.order-summary .term-summary) {background:#1e392f;color:var(--positive)}
  html[data-theme=dark] :is(.order-summary .summary-breakdown .term-summary,.order-summary .term-summary b,.order-summary .term-summary small,.unlocked-methods,.promo-box .promo-ok,.promo-summary b,.contact-feedback[data-state=success]) {color:var(--positive)}
  html[data-theme=dark] :is(.form-error,.state-symbol.failed) {background:#3c2526;color:var(--negative)}
  html[data-theme=dark] :is(.promo-box .promo-bad,.domain-error,.contact-feedback[data-state=error]) {color:var(--negative)}
  html[data-theme=dark] .order-page .state-symbol.expired {background:var(--tint);color:var(--accent)}
  html[data-theme=dark] .order-summary .summary-breakdown .setup-line {color:var(--muted)}

  /* Article pages and the navigation surrounding the original legal text. */
  html[data-theme=dark] :is(.legal-back,.legal-back span,.legal-meta,.legal-content p,.legal-sublist li,.legal-prelude p,.legal-document-end p,.legal-toc a,.legal-document-nav a,.legal-page p,.legal-page li) {color:var(--muted)}
  html[data-theme=dark] :is(.legal-content h2,.legal-content h3,.legal-content h4,.legal-content strong,.legal-toc>nav>ol>li>a) {color:var(--ink)}
  html[data-theme=dark] :is(.legal-number,.legal-alpha,.legal-cover .eyebrow,.legal-content a,.legal-document-end a,.legal-top,.legal-toc summary,.legal-toc a>span:first-child:not(:only-child),.legal-toc a:hover,.legal-toc a[data-current],.legal-clause>p.legal-clause-title>.legal-number) {color:var(--accent)}
  html[data-theme=dark] :is(.legal-document-nav,.legal-toc,.legal-toc ol ol,.legal-section+.legal-section,.legal-meta>span+span,.legal-prelude,.legal-document-end) {border-color:var(--line)}
  html[data-theme=dark] :is(.legal-document-nav a:hover,.legal-document-nav a[aria-current=page]) {background:var(--tint);color:var(--accent)}
  html[data-theme=dark] .legal-document :focus-visible {outline:2px solid var(--accent);outline-offset:3px}
}
@media screen and (max-width:900px) {
  html[data-theme=dark] .legal-toc {background:var(--surface)}
  html[data-theme=dark] .legal-document-nav a {border-color:var(--strong-line)}
}
