/* Order form (/order/{plan}/) in Daylight Glass: the account form beside the plan summary, over the opening blobs.
   Loads after tokens.css, site.css and forms.css ($vcPageCss = array('forms', 'order')), and replaces
   css/checkout.css on this page. Fields, alerts and the password Show button are in forms.css. */

.vc-order { position: relative; overflow: hidden; overflow: clip; padding: calc(var(--vc-header-h) + clamp(24px, 3vw, 40px)) 0 clamp(72px, 8vw, 112px); background: var(--bg); }
.vc-order .vc-blob--sky { top: -40%; }
.vc-order .vc-blob--lilac { bottom: -20%; }
.vc-order .vc-wrap { z-index: 1; }
.vc-order [hidden] { display: none !important; }

/* Opening: the two steps, the H1 and its line. */
.vc-order-intro { max-width: 720px; }
.vc-order-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; padding: 0; list-style: none; color: var(--mut2); font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.vc-order-progress li { display: flex; align-items: center; gap: 8px; }
.vc-order-progress li + li::before { content: ""; width: 28px; height: 1px; margin-right: 4px; background: var(--line-strong); }
.vc-order-progress span { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--card); color: var(--mut); font-weight: 700; letter-spacing: 0; }
.vc-order-progress [aria-current] { color: var(--acc-strong); font-weight: 700; }
.vc-order-progress [aria-current] span { border-color: var(--lime); background: var(--lime); color: var(--on-lime); }
.vc-order-title { margin: 22px 0 0; font-size: clamp(40px, 5vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; text-wrap: balance; }
.vc-order-lead { margin-top: 16px; color: var(--mut); font-size: clamp(17px, 1.4vw, 19px); text-wrap: pretty; }
.vc-order-preview { margin-top: 24px; }

/* On phones the summary shows first (it comes first in the page). From 1024px the form is on the left and the
   summary stays in view on the right. */
.vc-order-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 1024px) {
  .vc-order-layout { grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "form summary"; gap: 28px; align-items: start; }
  .vc-order-form-panel { grid-area: form; }
  .vc-order-summary { grid-area: summary; position: sticky; top: calc(var(--vc-header-h) + 20px); }
}
.vc-order-summary, .vc-order-form-panel { min-width: 0; border-radius: var(--radius-card); background: var(--vc-bright); box-shadow: var(--vc-bright-shadow); -webkit-backdrop-filter: var(--vc-glass-blur); backdrop-filter: var(--vc-glass-blur); }

/* Plan summary. */
.vc-order-summary { padding: clamp(22px, 3vw, 30px); }
.vc-order-summary-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.vc-order-summary-heading h2 { color: var(--mut2); font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.vc-order-summary-heading a { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(15,22,38,.25); text-underline-offset: 4px; }
.vc-order-summary-heading a:hover, .vc-order-summary-heading a:focus { color: var(--acc-strong); text-decoration-color: currentColor; }
.vc-order-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 14px; font-size: 48px; line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.vc-order-price span { color: var(--mut2); font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.vc-order-specs { margin: 20px 0 0; border-top: 1px solid var(--rule); }
.vc-order-specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.4; }
.vc-order-specs dt { color: var(--mut); }
.vc-order-specs dd { margin: 0; font-weight: 700; text-align: right; }
.vc-order-coupon { margin-top: 16px; padding: 10px 14px; border: 1px solid var(--lime-line); border-radius: var(--radius-sm); background: var(--lime-soft); font-size: 15px; font-weight: 700; }
.vc-order-billing-note { margin-top: 16px; color: var(--mut); font-size: 14px; line-height: 1.5; }
.vc-order-guarantee { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; font-weight: 700; }
.vc-order-guarantee span, .vc-order-assurance span { flex: none; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lime-soft); color: var(--acc-strong); font-size: 12px; font-weight: 800; }

/* The form. */
.vc-order-form-panel { padding: clamp(22px, 4vw, 40px); }
.vc-order-form-panel > .vc-alert { margin-bottom: 24px; }
.vc-order-error strong { margin-bottom: 4px; }
.vc-order-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.vc-order-fieldset legend { float: left; width: 100%; padding: 0; font-size: clamp(22px, 2.2vw, 26px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.vc-order-fieldset legend + * { clear: both; }
.vc-order-section-note { padding-top: 8px; color: var(--mut); font-size: 15px; }
.vc-order-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 24px; }
@media (min-width: 640px) {
  .vc-order-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .vc-order-field-email, .vc-order-field-country { grid-column: 1 / -1; }
}

/* Company and phone, folded away. */
.vc-order-optional { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.vc-order-optional summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-size: 15px; font-weight: 700; list-style: none; cursor: pointer; }
.vc-order-optional summary::-webkit-details-marker { display: none; }
.vc-order-optional summary::before { content: "+"; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--card); font-size: 17px; line-height: 1; }
.vc-order-optional[open] summary::before { content: "−"; }
.vc-order-optional summary:hover { color: var(--acc-strong); }
.vc-order-optional .vc-order-fields { margin-top: 12px; }

/* Payment: the buttons, what's included and the cards accepted. */
.vc-order-payment { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--rule); }
.vc-order-payment > p:first-child { color: var(--mut); font-size: 15px; }
.vc-order-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.vc-order-actions .vc-btn { flex: 1 1 220px; }
.vc-order-paypal img { display: block; height: 22px; width: auto; }
.vc-order-assurance { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; }
.vc-order-assurance li { display: flex; align-items: center; gap: 8px; }
.vc-order-paywith { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--neutral-soft); color: var(--mut); font-size: 14px; }
.vc-order-paywith-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.vc-order-paywith-logos img { display: block; }
.vc-order-terms { margin-top: 16px; color: var(--mut2); font-size: 14px; }
.vc-order-terms a { color: var(--ink); font-weight: 700; }
