/* ==========================================================================
   In The Zone Code, LLC — site styles
   Sizes, colours and breakpoints match the original WordPress (Astra theme)
   site: desktop above 921px, tablet 545–921px, phone 544px and below.
   ========================================================================== */

:root {
    --itz-blue: #205ca4;
    --itz-blue-light: #689fe1;
    --itz-blue-wash: rgba(32, 90, 162, 0.75);
    --itz-link: #12a0ff;
    --itz-red: #cf2e2e;
    --itz-red-dark: #a92424;
    --itz-dark: #3a3a3a;
    --itz-text: #4b4f58;
    --itz-page-bg: #cccccc;
    --itz-white: #ffffff;
    --itz-menu-bg: #f9f9f9;
    --itz-rule: #cccccc;
    --itz-footer-rule: #e5e5e5;
    --itz-font: Verdana, Helvetica, Arial, sans-serif;
    --itz-content-width: 1200px;
    --itz-header-width: 1240px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 93.75%; /* 15px */
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--itz-page-bg);
    color: var(--itz-text);
    font-family: var(--itz-font);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.65em;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--itz-link);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--itz-dark);
}

a:focus-visible,
button:focus-visible {
    outline: 2px dotted currentColor;
    outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 20px;
    color: var(--itz-dark);
    font-family: var(--itz-font);
    font-weight: 400;
}

h1 { font-size: 2.6666666667rem; line-height: 1.4em; }  /* 40px */
h2 { font-size: 2.1333333333rem; line-height: 1.3em; }  /* 32px */
h3 { font-size: 1.7333333333rem; line-height: 1.3em; }  /* 26px */
h4 { font-size: 1.6rem; line-height: 1.2em; }           /* 24px */
h5 { font-size: 1.3333333333rem; line-height: 1.2em; }  /* 20px */
h6 { font-size: 1.0666666667rem; line-height: 1.25em; } /* 16px */

/* Blazor moves focus to the page heading after navigating; don't draw a ring around it. */
h1:focus {
    outline: none;
}

p {
    margin: 0 0 1.6em;
}

strong,
b {
    font-weight: bold;
}

figure {
    margin: 0;
}

.visually-hidden {
    position: absolute !important;
    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;
    top: 7px;
    left: -9999px;
    z-index: 100000;
    padding: 15px 23px 14px;
    background-color: #f1f1f1;
    color: #21759b;
    font-weight: bold;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
}

.skip-link:focus {
    left: 6px;
}

/* ---------- Header ---------- */

.site-header {
    position: relative;
    z-index: 99;
    background-color: var(--itz-blue);
}

.site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: var(--itz-header-width);
    min-height: 70px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-branding {
    display: flex;
    /* A zero basis keeps the menu button on the same row on phones; the title wraps instead. */
    flex: 1 1 0%;
    align-items: center;
    min-width: 0;
    padding: 15px 0;
}

.site-branding__logo-link {
    flex: none;
    padding-right: 1em;
}

.site-branding__logo {
    display: block;
    width: 50px;
}

.site-title {
    display: block;
    font-size: 1.6666666667rem; /* 25px */
    line-height: 1.2;
}

.site-title a,
.site-title a:hover,
.site-title a:focus {
    color: var(--itz-white);
}

.main-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    display: block;
    padding: 0 1em;
    color: var(--itz-white);
    line-height: 70px;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
    color: var(--itz-blue-light);
}

.menu-toggle {
    display: none;
}

/* A menu item that holds other links. */
.nav-group__toggle {
    display: block;
    width: 100%;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.nav-group__toggle::after {
    content: "";
    display: inline-block;
    margin-left: 0.45em;
    border: 4px solid transparent;
    border-top-color: currentColor;
    border-bottom-width: 0;
    vertical-align: middle;
}

.main-nav .nav-group__menu {
    display: none;
}

.main-nav .nav-group.is-open > .nav-group__menu {
    display: block;
}

@media (min-width: 922px) {
    .nav-group {
        position: relative;
    }

    .nav-group__toggle {
        padding: 0 1em;
        color: var(--itz-white);
        line-height: 70px;
    }

    .nav-group__toggle:hover,
    .nav-group__toggle:focus-visible,
    .nav-group:has(a.active) > .nav-group__toggle {
        color: var(--itz-blue-light);
    }

    .main-nav .nav-group__menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 100;
        min-width: 100%;
        background-color: var(--itz-blue);
        box-shadow: 0 4px 8px rgb(0 0 0 / 25%);
    }

    .main-nav .nav-group__menu a {
        line-height: 2.75;
        white-space: nowrap;
    }
}

/* A touch screen has no hover, so there the menus only open when tapped. */
@media (min-width: 922px) and (hover: hover) {
    .main-nav .nav-group:hover > .nav-group__menu {
        display: block;
    }
}

/* ---------- Cover bands (image + colour wash) ---------- */

.cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 1em;
    overflow: hidden;
    background-color: var(--cover-bg, var(--itz-blue));
    color: var(--itz-white);
}

.cover__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}

.cover__dim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: inherit;
    opacity: var(--cover-dim, 40%);
    pointer-events: none;
}

.cover__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--itz-content-width);
    margin: 0 auto;
}

.cover :is(h1, h2, h3, h4, h5, h6, p) {
    margin: 0;
    color: inherit;
}

.cover .cover__subtitle {
    margin-top: 0.5em;
    font-size: 20px;
    line-height: 1.4;
}

.cover--map .cover__inner {
    text-align: center;
}

.map-embed {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 31px;
    border: 0;
    vertical-align: middle;
}

/* ---------- Text sections ---------- */

.content-section {
    margin: 0;
    padding: 3em;
}

.content-section__inner {
    max-width: var(--itz-content-width);
    margin: 0 auto;
}

.content-section__inner > :last-child {
    margin-bottom: 0;
}

.content-section a:not(.button) {
    text-decoration: underline;
}

/* Headings that keep the look of the original site's text: the service names on the Services page
   (bold, underlined body text) and the simulator heading (h3 size). */
.content-section h2.service-title {
    margin: 0 0 1.6em;
    color: inherit;
    font-size: 20px;
    font-weight: bold;
    line-height: inherit;
    text-decoration: underline;
}

.content-section h2.section-title {
    font-size: 1.7333333333rem; /* 26px */
    line-height: 1.3em;
}

.figure-caption {
    margin: 0 0 20px;
    color: var(--itz-dark);
    font-size: 1.6rem; /* 24px */
    line-height: 1.2em;
    text-align: center;
}

.download-note {
    margin-top: 1em;
    font-size: 0.9333333333rem; /* 14px */
}

@media (min-width: 1201px) {
    .content-section {
        margin: 2rem 0 1rem;
        padding: 4em 0;
    }
}

/* ---------- Home: simulator feature ---------- */

.feature {
    padding-top: 24px;
    padding-bottom: 24px;
}

.feature p {
    margin-bottom: 32px;
}

.figure-center img {
    display: block;
    margin: 0 auto;
}

/* ---------- Buttons ---------- */

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em;
}

.feature .buttons {
    margin-top: 24px;
}

.buttons--spaced {
    margin-top: 1em;
}

.buttons--page-end {
    padding-bottom: 2em;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    border: 0;
    border-radius: 9999px;
    background-color: var(--itz-blue);
    color: var(--itz-white);
    font-family: inherit;
    font-size: inherit;
    line-height: 1em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.button:hover,
.button:focus {
    background-color: var(--itz-dark);
    color: var(--itz-white);
}

.button--red {
    background-color: var(--itz-red);
}

.button--red:hover,
.button--red:focus {
    background-color: var(--itz-red-dark);
}

/* ---------- License store: forms ---------- */

.store-step,
.store-intro,
.store-heading,
.store-form,
.store-alert,
.order-summary,
.store-notice,
.store-buttons,
.store-help,
.paypal-checkout,
.license-box {
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;
}

.store-step {
    margin-bottom: 0.5em;
    color: var(--itz-dark);
    font-size: 0.9333333333rem; /* 14px */
    font-weight: bold;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.store-alert {
    margin-bottom: 1.5em;
    padding: 0.75em 1em;
    border-left: 4px solid var(--itz-blue);
    background-color: var(--itz-white);
    color: var(--itz-dark);
}

.store-alert--error {
    border-left-color: var(--itz-red);
}

.store-help {
    margin-top: 2em;
    font-size: 0.9333333333rem; /* 14px */
}

.paypal-checkout {
    margin-bottom: 2em;
}

.paypal-checkout__total {
    margin-bottom: 1em;
    color: var(--itz-dark);
    font-size: 20px;
}

/* PayPal's buttons draw themselves; keep them a comfortable width on wide screens. */
.paypal-checkout__buttons {
    max-width: 400px;
    min-height: 150px;
}

.paypal-checkout__hint {
    max-width: 400px;
    margin: 0.75em 0 0;
    font-size: 0.9333333333rem; /* 14px */
}

.link-button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--itz-link);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.link-button:hover,
.link-button:focus {
    color: var(--itz-dark);
}

.store-form .form-field input.code-input {
    width: 9em;
    font-family: Consolas, "Courier New", monospace;
    font-size: 1.4rem;
    letter-spacing: 0.25em;
}

.store-intro {
    margin-bottom: 1.5em;
}

.store-buttons {
    justify-content: flex-start;
}

.form-field {
    min-width: 0;
    margin: 0 0 1.5em;
    padding: 0;
    border: 0;
}

.form-field > label:not(.product-choice),
.form-field > legend {
    display: block;
    margin-bottom: 0.4em;
    padding: 0;
    color: var(--itz-dark);
    font-weight: bold;
}

.form-hint {
    margin: -0.2em 0 0.5em;
    font-size: 0.9333333333rem; /* 14px */
}

.store-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], input:not([type]), textarea, select) {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #767676;
    border-radius: 4px;
    background-color: var(--itz-white);
    color: var(--itz-dark);
    font: inherit;
    line-height: 1.4;
}

.store-form textarea {
    resize: vertical;
}

.store-form input[type="number"] {
    width: 8em;
}

/* One feature's checkbox and its name on the Features page. */
.feature-choice {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 0.4em;
}

/* The Request a Quote page's three license counts, under one heading. */
.quote-licenses > .form-field:last-child {
    margin-bottom: 0;
}

.quote-licenses > .validation-message {
    margin: 0 0 0.75em;
}

.store-form :is(input, textarea, select):focus-visible {
    border-color: var(--itz-blue);
    outline: 2px solid var(--itz-blue);
    outline-offset: 1px;
}

.store-form :is(input, textarea, select).invalid {
    border-color: var(--itz-red);
}

/* The form has no script, so the license chosen decides which of these show. A browser without :has() shows them all,
   and the server ignores whichever ones the license doesn't use. */
.store-form:not(:has(.product-choice--concurrent input:checked)) .seats-field,
.store-form:has(.product-choice--concurrent input:checked) .machine-code-field,
.store-form:not(:has(.product-choice--two-machines input:checked)) .second-machine-code-field {
    display: none;
}
.code-text,
.store-form :is(input, textarea).code-text {
    font-family: Consolas, "Courier New", monospace;
    overflow-wrap: anywhere;
}

.validation-message {
    margin-top: 0.3em;
    color: var(--itz-red-dark);
    font-size: 0.9333333333rem; /* 14px */
}

.product-choice {
    display: flex;
    gap: 0.75em;
    align-items: center;
    margin-bottom: 0.5em;
    padding: 12px 14px;
    border: 1px solid #767676;
    border-radius: 4px;
    background-color: var(--itz-white);
    cursor: pointer;
}

.product-choice:has(input:checked) {
    border-color: var(--itz-blue);
    box-shadow: 0 0 0 1px var(--itz-blue);
}

.product-choice input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--itz-blue);
}

.product-choice__name {
    flex: 1;
    color: var(--itz-dark);
}

.product-choice__description {
    display: block;
    color: var(--itz-text);
    font-size: 0.9333333333rem; /* 14px */
}

.product-choice__price {
    color: var(--itz-dark);
    font-weight: bold;
    white-space: nowrap;
}

/* The Request a Quote link under the licenses on the Buy page. It looks like a license choice, with a space where the
   radio button would be so its text lines up with theirs. */
.product-choice--quote,
.content-section a.product-choice--quote {
    color: inherit;
    text-decoration: none;
}

.product-choice--quote::before {
    content: "";
    flex: none;
    width: 18px;
}

.product-choice--quote:hover,
.product-choice--quote:focus-visible {
    border-color: var(--itz-blue);
    box-shadow: 0 0 0 1px var(--itz-blue);
}

.product-choice--quote .product-choice__price {
    color: var(--itz-link);
}

.order-summary {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5em 1.5em;
    margin-bottom: 2em;
}

.order-summary dt {
    color: var(--itz-dark);
    font-weight: bold;
}

.order-summary dd {
    min-width: 0;
    margin: 0;
}

.store-notice {
    margin-bottom: 2em;
    padding: 1em 1.25em;
    border-left: 4px solid var(--itz-blue);
    background-color: var(--itz-white);
}

.license-box {
    margin-bottom: 1.5em;
}

.license-box__label {
    display: block;
    margin-bottom: 0.4em;
    font-weight: 700;
}

.license-box textarea {
    display: block;
    width: 100%;
    margin-bottom: 0.75em;
    padding: 0.75em;
    border: 1px solid currentColor;
    background-color: var(--itz-white);
    resize: vertical;
}

/* ---------- Footer ---------- */

.site-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 20px 35px;
    border-top: 1px solid var(--itz-footer-rule);
    background-color: var(--itz-blue);
    color: var(--itz-white);
    text-align: center;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: inherit;
    text-decoration: underline;
}

.site-footer a:hover,
.site-footer a:focus {
    color: inherit;
    text-decoration: none;
}

/* ---------- About Zone: capability sections ---------- */

.capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2em 3em;
    margin: 2.5em 0;
}

.content-section h3.capability__title {
    margin-bottom: 0.6em;
    padding-bottom: 0.3em;
    border-bottom: 2px solid var(--itz-blue);
    font-size: 1.3333333333rem; /* 20px */
    font-weight: bold;
}

.capability__list {
    margin: 0;
    padding-left: 1.2em;
}

.capability__list li + li {
    margin-top: 0.4em;
}

/* ---------- Zone Licenses ---------- */

.license-list {
    display: grid;
    gap: 1.25em;
    max-width: 760px;
    margin: 0 auto;
}

.license-list__email {
    overflow-wrap: anywhere;
}

.license-list__downloads {
    justify-content: center;
    margin-bottom: 1.5em;
}

.report-summary {
    margin-top: 2em;
    text-align: center;
}

.license-card {
    padding: 1.25em 1.5em;
    border: 1px solid var(--itz-rule);
    background-color: var(--itz-white);
}

.content-section h3.license-card__name {
    margin: 0 0 0.4em;
    font-size: 1.2rem; /* 18px */
}

.license-card__detail {
    margin: 0 0 0.25em;
    font-size: 0.9333333333rem; /* 14px */
}

.license-card__code {
    margin-top: 0.75em;
}

.license-card__code summary {
    color: var(--itz-blue);
    cursor: pointer;
}

.license-card__code textarea {
    display: block;
    width: 100%;
    margin: 0.5em 0 0.75em;
    padding: 0.75em;
    border: 1px solid currentColor;
    background-color: var(--itz-white);
    resize: vertical;
}

.license-card__buttons {
    justify-content: flex-start;
    margin-top: 1em;
}

/* ---------- Prices ---------- */

.order-summary__note {
    display: block;
    font-size: 0.9333333333rem; /* 14px */
}

.price-problems {
    margin: 0;
    padding-left: 1.25em;
}

.prices-heading {
    margin-top: 2.5em;
}

.prices-subheading {
    margin-top: 2em;
    scroll-margin-top: 1em;
}

.price-table {
    width: 100%;
    max-width: 960px;
    margin: 0 auto 1em;
    border-collapse: collapse;
    background-color: var(--itz-white);
    font-size: 0.9333333333rem; /* 14px */
}

.price-table th,
.price-table td {
    padding: 0.6em 0.75em;
    border: 1px solid var(--itz-rule);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.price-table th {
    overflow-wrap: normal;
}

.price-table__prices {
    margin: 0;
    padding: 0;
    list-style: none;
}

.price-table__actions {
    white-space: nowrap;
}

.price-table__actions .link-button {
    margin-left: 0.75em;
}

/* Too many columns for a phone: each company becomes a card of label and value pairs. */
@media (max-width: 760px) {
    .price-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .price-table,
    .price-table tbody,
    .price-table tr,
    .price-table td {
        display: block;
    }

    .price-table tr {
        margin-bottom: 1em;
        border: 1px solid var(--itz-rule);
    }

    .price-table td {
        display: grid;
        grid-template-columns: 9em 1fr;
        gap: 0.75em;
        border: 0;
        border-bottom: 1px solid var(--itz-rule);
    }

    .price-table td:last-child {
        border-bottom: 0;
    }

    .price-table td:not([data-label]) {
        display: block;
    }

    .price-table td[data-label]::before {
        content: attr(data-label);
        font-weight: bold;
    }
}

/* ---------- Seat usage ---------- */

/* The license's email, just under its name. */
.seat-email {
    margin: -0.5em 0 1.25em;
    text-align: center;
    overflow-wrap: anywhere;
}

.seat-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em 2.5em;
    margin: 0 auto 1.5em;
    text-align: center;
}

.seat-stats dt {
    font-size: 0.9333333333rem; /* 14px */
}

.seat-stats dd {
    margin: 0;
    color: var(--itz-dark);
    font-size: 1.8666666667rem; /* 28px */
}

.seat-status {
    text-align: center;
}

.seat-chart {
    max-width: 960px;
    margin: 1.5em auto;
    padding: 1em;
    background-color: var(--itz-white);
}

.seat-chart__title {
    margin-bottom: 0.5em;
    color: var(--itz-dark);
    font-weight: bold;
}

/* The chart keeps a readable size on a phone and scrolls inside its own box. */
.seat-chart__scroll {
    overflow-x: auto;
}

.seat-chart__plot {
    display: block;
    width: 100%;
    min-width: 640px;
    height: auto;
}

.seat-chart__grid {
    stroke: #e6e6e6;
    stroke-width: 1;
}

.seat-chart__axis {
    fill: var(--itz-text);
    font-size: 12px;
}

.seat-chart__gap {
    fill: #efefef;
}

.seat-chart__line {
    fill: none;
    stroke: var(--itz-blue);
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.seat-chart__area {
    fill: var(--itz-blue);
    fill-opacity: 0.1;
}

.seat-chart__column {
    fill: var(--itz-blue);
}

.seat-chart__limit {
    stroke: var(--itz-dark);
    stroke-width: 1;
}

.seat-chart__hit {
    fill: transparent;
}

.seat-chart__hit:hover {
    fill: rgb(32 92 164 / 18%);
}

.seat-day {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75em;
    margin: 1em auto 2em;
}

.seat-day input[type="date"] {
    padding: 0.5em;
    border: 1px solid var(--itz-rule);
    background-color: var(--itz-white);
}

.seat-numbers {
    max-width: 960px;
    margin: 2em auto 0;
}

.seat-numbers summary {
    margin-bottom: 1em;
    color: var(--itz-blue);
    cursor: pointer;
}

/* ---------- Zone Videos: outline and player ---------- */

/* These sections vary a lot in length, so they flow down two columns instead of lining up in rows. */
.capabilities--flow {
    display: block;
    column-count: 2;
    column-gap: 3em;
}

.capabilities--flow .capability {
    margin-bottom: 2em;
    break-inside: avoid;
}

.zone-video {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1.5em;
    border: 1px solid var(--itz-rule);
    background-color: var(--itz-dark);
}

/* ---------- About Zone: screenshots ---------- */

.content-section h2.screenshots-title {
    margin-top: 2.5em;
}

.screenshots {
    display: grid;
    gap: 2.5em;
}

.screenshot img {
    display: block;
    margin: 0 auto;
    border: 1px solid var(--itz-rule);
}

.screenshot figcaption {
    margin-top: 0.6em;
    color: var(--itz-dark);
    font-size: 0.9333333333rem; /* 14px */
    text-align: center;
}

/* ---------- Tablet and phone (921px and below) ---------- */

@media (max-width: 921px) {
    html {
        font-size: 85.5%;
    }

    h1 { font-size: 30px; }
    h2 { font-size: 25px; }
    h3 { font-size: 20px; }

    .content-section h2.section-title { font-size: 20px; }

    .button {
        padding: 14px 28px;
    }

    .feature {
        margin: 1rem 0;
    }

    /* Header switches to a hamburger button with a drop-down menu. */
    .menu-toggle {
        display: flex;
        flex: none;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        margin-left: 1em;
        padding: 0;
        border: 2px solid var(--itz-rule);
        border-radius: 0;
        background: transparent;
        color: var(--itz-white);
        cursor: pointer;
    }

    .menu-toggle__icon {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

    .menu-toggle__icon--close,
    .nav-open .menu-toggle__icon--open {
        display: none;
    }

    .nav-open .menu-toggle__icon--close {
        display: block;
    }

    .main-nav {
        display: none;
        flex: 0 0 calc(100% + 40px);
        margin: 0 -20px;
        background-color: var(--itz-white);
    }

    .nav-open .main-nav {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        border-top: 1px solid var(--itz-rule);
        background-color: var(--itz-menu-bg);
    }

    .main-nav a,
    .nav-group__toggle {
        padding: 0 20px;
        border-bottom: 1px solid var(--itz-rule);
        color: var(--itz-dark);
        line-height: 3em;
    }

    .main-nav a:hover,
    .main-nav a:focus,
    .nav-group__toggle:hover,
    .nav-group__toggle:focus-visible {
        color: var(--itz-blue);
    }

    .main-nav .nav-group__menu {
        border-top: 0;
    }

    .main-nav .nav-group__menu a {
        padding-left: 40px;
    }

    .main-nav a.active {
        background-color: var(--itz-blue-wash);
        color: var(--itz-white);
    }
}

/* ---------- Phone (544px and below) ---------- */

@media (max-width: 544px) {
    .content-section {
        padding: 2em;
    }

    .button {
        padding: 12px 24px;
    }

    .main-nav a,
    .nav-group__toggle {
        color: #000000;
    }

    .order-summary {
        grid-template-columns: 1fr;
        gap: 0.15em;
    }

    .order-summary dd {
        margin-bottom: 0.6em;
    }

    .product-choice {
        flex-wrap: wrap;
    }

    .capabilities {
        grid-template-columns: 1fr;
    }

    .capabilities--flow {
        column-count: 1;
    }
}

/* ---------- Text utilities (last, so they win over the heading sizes above) ---------- */

.has-text-align-center {
    text-align: center;
}

.text-medium {
    font-size: 20px;
}

.text-huge {
    font-size: 42px;
    line-height: 1.4;
}
