/* Host in Australia Website client area template: the website's colours, type and corners laid over
   Horizon. Made by frame.php from the measures in the site's configuration: change those
   and run frame.php and build.php again. */

/* ------------------------------------------------------------------ colours and shapes */
body.hz, body.auth.client { --bg: #ffffff; --surface: #fff; --surface-2: color-mix(in srgb, rgb(0,15,47) 5%, #fff); --ink: rgb(0,15,47); --muted: color-mix(in srgb, rgb(0,15,47) 68%, #ffffff); --line: color-mix(in srgb, rgb(0,15,47) 14%, #ffffff); --accent: rgb(1,33,105); --accent-ink: #fff; --accent-soft: color-mix(in srgb, rgb(1,33,105) 12%, #fff); --bar: rgb(0,15,47); --bar-2: color-mix(in srgb, rgb(0,15,47) 80%, rgb(1,33,105)); --bar-ink: #F4F6F8; --bar-muted: rgba(244, 246, 248, .68); --head: rgb(0,15,47); --band: color-mix(in srgb, rgb(0,15,47) 5%, #fff); --band-ink: rgb(0,15,47); --label: color-mix(in srgb, rgb(0,15,47) 6%, #fff); --shadow: 0 1px 0 rgba(0, 0, 0, .04); --hz-side: rgb(0,15,47); --hz-side-2: color-mix(in srgb, rgb(0,15,47) 84%, #fff); --hz-side-ink: rgba(244, 246, 248, .86); --hz-side-muted: rgba(244, 246, 248, .58); --st-text: rgb(0,15,47); --st-link: rgb(1,33,105); --st-line-strong: color-mix(in srgb, color-mix(in srgb, rgb(0,15,47) 14%, #ffffff) 62%, rgb(0,15,47)); --st-edge: rgb(1,33,105); --radius: 16px; --ctl-h: 44px; --st-btn-r: 8px; --st-card-r: 16px;
  font-family: "Montserrat",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; color: var(--st-text); background: var(--bg); }
:root[data-theme="dark"] body.hz, :root[data-theme="dark"] body.auth.client { --bg: rgb(7,12,22); --surface: color-mix(in srgb, rgb(7,12,22) 92%, #fff); --surface-2: color-mix(in srgb, rgb(230,235,245) 5%, color-mix(in srgb, rgb(7,12,22) 92%, #fff)); --ink: rgb(230,235,245); --muted: color-mix(in srgb, rgb(230,235,245) 68%, rgb(7,12,22)); --line: color-mix(in srgb, rgb(230,235,245) 14%, rgb(7,12,22)); --accent: rgb(121,138,176); --accent-ink: #fff; --accent-soft: color-mix(in srgb, rgb(121,138,176) 12%, color-mix(in srgb, rgb(7,12,22) 92%, #fff)); --bar: rgb(3,7,16); --bar-2: color-mix(in srgb, rgb(3,7,16) 80%, rgb(121,138,176)); --bar-ink: #F4F6F8; --bar-muted: rgba(244, 246, 248, .68); --head: rgb(3,7,16); --band: color-mix(in srgb, rgb(230,235,245) 5%, color-mix(in srgb, rgb(7,12,22) 92%, #fff)); --band-ink: rgb(230,235,245); --label: color-mix(in srgb, rgb(230,235,245) 6%, color-mix(in srgb, rgb(7,12,22) 92%, #fff)); --shadow: 0 1px 0 rgba(0, 0, 0, .3); --hz-side: rgb(3,7,16); --hz-side-2: color-mix(in srgb, rgb(3,7,16) 84%, #fff); --hz-side-ink: rgba(244, 246, 248, .86); --hz-side-muted: rgba(244, 246, 248, .58); --st-text: rgb(230,235,245); --st-link: rgb(121,138,176); --st-line-strong: color-mix(in srgb, color-mix(in srgb, rgb(230,235,245) 14%, rgb(7,12,22)) 62%, rgb(230,235,245)); --st-edge: rgb(121,138,176); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.hz, :root:not([data-theme="light"]) body.auth.client { --bg: rgb(7,12,22); --surface: color-mix(in srgb, rgb(7,12,22) 92%, #fff); --surface-2: color-mix(in srgb, rgb(230,235,245) 5%, color-mix(in srgb, rgb(7,12,22) 92%, #fff)); --ink: rgb(230,235,245); --muted: color-mix(in srgb, rgb(230,235,245) 68%, rgb(7,12,22)); --line: color-mix(in srgb, rgb(230,235,245) 14%, rgb(7,12,22)); --accent: rgb(121,138,176); --accent-ink: #fff; --accent-soft: color-mix(in srgb, rgb(121,138,176) 12%, color-mix(in srgb, rgb(7,12,22) 92%, #fff)); --bar: rgb(3,7,16); --bar-2: color-mix(in srgb, rgb(3,7,16) 80%, rgb(121,138,176)); --bar-ink: #F4F6F8; --bar-muted: rgba(244, 246, 248, .68); --head: rgb(3,7,16); --band: color-mix(in srgb, rgb(230,235,245) 5%, color-mix(in srgb, rgb(7,12,22) 92%, #fff)); --band-ink: rgb(230,235,245); --label: color-mix(in srgb, rgb(230,235,245) 6%, color-mix(in srgb, rgb(7,12,22) 92%, #fff)); --shadow: 0 1px 0 rgba(0, 0, 0, .3); --hz-side: rgb(3,7,16); --hz-side-2: color-mix(in srgb, rgb(3,7,16) 84%, #fff); --hz-side-ink: rgba(244, 246, 248, .86); --hz-side-muted: rgba(244, 246, 248, .58); --st-text: rgb(230,235,245); --st-link: rgb(121,138,176); --st-line-strong: color-mix(in srgb, color-mix(in srgb, rgb(230,235,245) 14%, rgb(7,12,22)) 62%, rgb(230,235,245)); --st-edge: rgb(121,138,176); } }
.hz h1:where(:not(.ha-site, .ha-site *)), .hz h2:where(:not(.ha-site, .ha-site *)), .hz h3:where(:not(.ha-site, .ha-site *)), body.auth.client h1:where(:not(.ha-site, .ha-site *)), body.auth.client h2:where(:not(.ha-site, .ha-site *)) { font-family: inherit; color: var(--ink); }
.hz .page-title, .hz .section-head h2, body.auth.client .auth-title { color: var(--ink); font-weight: 800; letter-spacing: -.015em; }
.hz .page-title { font-size: clamp(1.75rem, 3.3vw, 2.5rem); line-height: 1.15; margin-bottom: .3em; }
.hz main a:not(.btn):not(.menu-link):not(.group-card):not(.fav-card), body.auth.client main a:not(.btn), body.auth.client .auth-foot a {
  color: var(--st-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.hz main a:not(.btn):not(.menu-link):hover, body.auth.client main a:not(.btn):hover { text-decoration-thickness: 2px; }
.hz main .group-card a, .hz main a.group-card { text-decoration: none; }
.hz :focus-visible, body.auth.client :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* the website's corners: buttons and fields, cards and boxes */
.hz .btn, body.auth.client .btn, .hz input:not([type="checkbox"]):not([type="radio"]):where(:not(.ha-site, .ha-site *)), .hz select:where(:not(.ha-site, .ha-site *)), .hz textarea:where(:not(.ha-site, .ha-site *)),
body.auth.client input:not([type="checkbox"]):not([type="radio"]):where(:not(.ha-site, .ha-site *)), body.auth.client select:where(:not(.ha-site, .ha-site *)), .hz .choice, .hz .badge { border-radius: var(--st-btn-r); }
.hz .card, .hz .plan, .hz .group-card, .hz .stat, .hz .hero, .hz .quick, .hz .modal, .hz .drop, .hz .steps, .hz .alert, .hz .table-wrap, body.auth.client .auth-box { border-radius: var(--st-card-r); }
/* buttons: the website's main colour for the main one, an outline for the others */
.hz .btn, body.auth.client .btn {
  font-weight: 650; padding-left: 18px; padding-right: 18px; border: 1px solid var(--st-line-strong); background: var(--surface); color: var(--ink);
  box-shadow: none; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
.hz .btn:hover, body.auth.client .btn:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; transform: none; filter: none; text-decoration: none; }
.hz .btn-primary, body.auth.client .btn-primary, :root[data-theme="dark"] body.hz .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: none; }
.hz .btn-primary:hover, body.auth.client .btn-primary:hover, :root[data-theme="dark"] body.hz .btn-primary:hover { background: color-mix(in srgb, var(--accent) 84%, var(--ink)); border-color: color-mix(in srgb, var(--accent) 84%, var(--ink)); color: var(--accent-ink); }
.hz .btn-danger:hover { color: #fff; }
.hz .btn[disabled], .hz .btn[aria-disabled="true"] { opacity: .55; }

/* fields */
.hz input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):where(:not(.ha-site, .ha-site *)), .hz select:where(:not(.ha-site, .ha-site *)), .hz textarea:where(:not(.ha-site, .ha-site *)),
body.auth.client input:not([type="checkbox"]):not([type="radio"]):where(:not(.ha-site, .ha-site *)), body.auth.client select:where(:not(.ha-site, .ha-site *)), body.auth.client textarea:where(:not(.ha-site, .ha-site *)) {
  border: 1px solid var(--st-line-strong); background: var(--surface); color: var(--ink);
}
.hz input:focus:where(:not(.ha-site, .ha-site *)), .hz select:focus:where(:not(.ha-site, .ha-site *)), .hz textarea:focus:where(:not(.ha-site, .ha-site *)), body.auth.client input:focus:where(:not(.ha-site, .ha-site *)), body.auth.client select:focus:where(:not(.ha-site, .ha-site *)) {
  border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); outline: 0;
}
.hz label:where(:not(.ha-site, .ha-site *)), body.auth.client label:where(:not(.ha-site, .ha-site *)) { font-weight: 600; }

/* cards, tables, labels */
.hz .card { border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); background: var(--surface); }
.hz .card > h2:first-child, .hz .card > .card-head { padding: 14px 20px; font-weight: 750; font-size: 1.02rem; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); }
.hz .card > h2:first-child .ico, .hz .card-head h2 .ico { color: var(--accent); }
.hz table th:where(:not(.ha-site, .ha-site *)) { color: var(--muted); font-weight: 650; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; }
.hz .badge { font-weight: 700; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.hz .crumbs { color: var(--muted); font-size: .86rem; }
.hz main .crumbs a:not(.btn) { color: var(--muted); }
.hz .lead { color: var(--muted); font-size: 1.08rem; }
.hz .drop { border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .1); padding: 4px; }
.hz .stat { border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: none; }
.hz .steps { border: 1px solid var(--line); background: var(--surface); }
.hz .steps li { font-weight: 600; }
.hz .steps li.on { background: var(--accent); color: var(--accent-ink); }
.hz .modal { border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .25); }
.hz .section-head h2 { font-size: 1.5rem; position: relative; padding-bottom: 12px; }
.hz .section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 52px; height: 3px; background: var(--accent); border-radius: 0; }

/* ------------------------------------------------------------------ the client area's own menu, under the website's header */
/* visitors: Horizon's header becomes a plain store bar; the logo is in the header above */
body.hz-public { background: var(--bg); }
.hz-header { position: relative; /* not static: the phone menu opens above the dimmed page only when the bar has a stacking order */ background: var(--surface); backdrop-filter: none; border-bottom: 1px solid var(--line); }
.hz-header-in { min-height: 50px; width: 100%; max-width: 1200px; padding: 0 20px; gap: 12px; }
.hz-header .hz-brand { display: none; }
.hz-menus { margin: 0 auto 0 0; }
.hz-menus > ul { background: none; padding: 0; gap: 22px; }
.hz-menus .menu-btn, .hz-menus .menu-link { height: 50px; padding: 0; font-weight: 550; color: var(--muted); font-size: .93rem; background: none; }
.hz-menus .menu:hover > .menu-btn, .hz-menus .menu:hover > .menu-link, .hz-menus .menu.open > .menu-btn { background: none; color: var(--ink); box-shadow: none; }
.hz-menus .menu.current > .menu-btn, .hz-menus .menu.current > .menu-link { background: none; color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }
.hz-menus .menu > .drop { left: 0; transform: none; }
/* visitors sign in from the website header above (on phones: in its menu), so the store bar does not repeat those two links */
.hz-header .hz-signin, .hz-header .hz-signin + .btn { display: none; }
body.hz-public .hz-content { padding: 34px 20px 72px; max-width: 1200px; width: 100%; }
@media (max-width: 860px) {
  .hz-menus > ul { background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; gap: 0; }
  .hz-menus .menu-btn, .hz-menus .menu-link { height: 44px; }
  .hz-header .nav-toggle { margin-right: auto; }
}

/* the website's header and footer: not stuck to the top inside the client area, above Horizon's layers */
header.ha-site, .ha-site header { position: relative; top: auto; }
.ha-site { z-index: 45; }
footer.ha-site { position: relative; z-index: auto; margin-top: 0; }
body.hz-app .ha-site { position: relative; }

/* signed in: the side menu in the colour of the website's footer */
.hz-side .hz-brand { display: none; }
.hz-side-top { min-height: 0; }
.hz-nav a, .hz .hz-nav a { color: var(--hz-side-ink); text-decoration: none; }
.hz .hz-nav a:hover { color: #fff; }
.hz-nav a.on { background: var(--hz-side-2); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.hz-top { background: var(--surface); border-bottom: 1px solid var(--line); backdrop-filter: none; }
.hz .hz-search input { background: none !important; border: 0 !important; box-shadow: none !important; }
.hz-search { border: 1px solid var(--st-line-strong); border-radius: var(--st-btn-r); }
@media (max-width: 960px) { .hz-side:not(.open) { box-shadow: none; } }

/* sign-in, register and password pages: the same header and footer around the card */
body.auth.client { padding: 0; justify-content: flex-start; background: var(--bg); }
body.auth.client .auth-brand, body.auth.client .auth-foot-line { display: none; }
body.auth.client .auth-box { margin: 56px auto 0; width: calc(100% - 32px); border: 1px solid var(--line); padding: 32px 34px; box-shadow: 0 24px 60px rgba(0, 0, 0, .08); background: var(--surface); }
body.auth.client .auth-box::before { content: ""; display: block; height: 4px; margin: -32px -34px 28px; background: var(--accent); border-radius: var(--st-card-r) var(--st-card-r) 0 0; }
body.auth.client .auth-foot { margin: 30px auto 56px; padding: 0 16px; }
body.auth.client footer.ha-site { margin-top: auto; width: 100%; }
body.auth.client header.ha-site, body.auth.client .ha-site { width: 100%; }
body.auth.client .btn-block { height: 46px; }
@media (max-width: 560px) { body.auth.client .auth-box { padding: 24px 20px; margin-top: 28px; } body.auth.client .auth-box::before { margin: -24px -20px 22px; } }

/* ------------------------------------------------------------------ the store and the order pages */
.hz .page-head { align-items: flex-end; margin-bottom: 20px; }
.hz .hero { position: relative; overflow: hidden; border: 1px solid var(--line); padding: 52px 40px 46px; color: var(--st-text);
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%), var(--surface); }
.hz .hero > * { position: relative; z-index: 1; }
.hz .hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; line-height: 1.13; margin-bottom: .35em; color: var(--ink); }
.hz .hero p { color: var(--muted); font-size: 1.1rem; }
.hz .hero .btn:not(.btn-primary) { background: var(--surface); color: var(--ink); }
.hz .quick { background: var(--hz-side); border-top: 3px solid var(--accent); margin-top: 0; }
.hz .quick a, .hz main .quick a:not(.btn):not(.menu-link):not(.group-card):not(.fav-card) { color: #F4F6F8; text-decoration: none; font-weight: 600; }
.hz .quick a .ico { color: color-mix(in srgb, var(--accent) 50%, #fff); }
.hz .quick a:hover { background: rgba(255, 255, 255, .08); }
.hz .group-card { border: 1px solid var(--line); background: var(--surface); transition: transform .15s, border-color .15s, box-shadow .15s; }
.hz .group-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 16%, transparent); }
.hz .group-card .ico { color: var(--accent); }
.hz .plan { border: 1px solid var(--line); background: var(--surface); }
.hz .plan-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.hz .plan-head h2 { color: var(--ink); }
.hz .plan.featured { border: 2px solid var(--accent); box-shadow: 0 18px 40px color-mix(in srgb, var(--accent) 18%, transparent); }
.hz .plan-buy .amount { color: var(--ink); font-weight: 800; }
.hz .choice { border: 1px solid var(--st-line-strong); }
.hz .choice:hover { border-color: var(--accent); }
.hz input:checked + .choice, .hz .choice:has(input:checked), .hz .choice.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent); }
.hz .store-side .sb-head { font-weight: 650; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hz main .store-side a:not(.btn) { color: var(--ink); text-decoration: none; }
.hz main .store-side a.on { box-shadow: inset 3px 0 0 var(--accent); background: var(--accent-soft); font-weight: 700; }
@media (max-width: 600px) { .hz .hero { padding: 34px 22px 30px; } }
/* Horizon parts made for its dark banner, on the light banner of this template */
.hz .hero { --bar-ink: var(--ink); --bar-muted: var(--muted); }
.hz .hero::after { display: none; }
.hz .hero-tld { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.hz .hero-tld span { color: var(--muted); }
.hz .hero-tld:hover, .hz .hero-tld:focus-visible { border-color: var(--accent); background: var(--accent-soft); }
.hz .domain-hero .hero-links a { color: var(--st-link); }
.hz .domain-hero .hero-off { color: var(--accent); }
.hz .domain-hero .domain-search input { background: var(--surface); color: var(--ink); }
.hz .steps li.on .n { background: color-mix(in srgb, var(--accent-ink) 22%, transparent); color: var(--accent-ink); }
.hz .store-sec-head .n { color: var(--accent); }
/* until the CoreInto release with the same fix: a new password on its own row; the currency list on phones opens towards the page */
.inline-ctl:has(> [data-generate-password]) { flex-wrap: wrap; }
.inline-ctl:has(> [data-generate-password]) > input { flex: 1 1 100%; }
.inline-ctl:has(> [data-generate-password]) > [data-generate-password] { flex: 1 1 auto; justify-content: center; }
@media (max-width: 760px) { .hz-header-right .currency-drop { left: auto; right: 0; max-width: calc(100vw - 24px); } }
@media (prefers-reduced-motion: reduce) { .hz .group-card { transition: none; } .hz .group-card:hover { transform: none; } }
