.hepo-os-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px clamp(24px, 5vw, 72px) 48px;
}

.hepo-os-hero,
.hepo-os-section {
    background: #fff;
    border: 1px solid #d7dde4;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 22px;
}

.hepo-os-hero {
    align-items: center;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-areas:
        "open copy"
        "plant copy";
    gap: 26px;
    margin-left: auto;
    margin-right: auto;
    max-width: 820px;
}

.hepo-os-hero img {
    width: 100%;
    height: auto;
}

.hepo-os-hero-open-logo {
    grid-area: open;
}

.hepo-os-hero-copy {
    grid-area: copy;
}

.hepo-os-hero-plant-logo {
    display: block;
    grid-area: plant;
    justify-self: center;
    max-width: 190px;
}

.hepo-os-hero h1,
.hepo-os-section h1 {
    margin-top: 0;
}

.hepo-os-kicker {
    color: #005c8d;
    font-weight: 700;
}

.hepo-os-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.hepo-os-header strong,
.hepo-os-header span {
    display: block;
}

.hepo-os-header span {
    color: #667085;
    font-size: 14px;
}

.hepo-os-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.hepo-os-nav a {
    background: #eef2f7;
    border-radius: 999px;
    color: #1f2933;
    padding: 9px 13px;
    text-decoration: none;
}

.hepo-os-nav a.is-active {
    background: #005c8d;
    color: #fff;
}

.hepo-os-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hepo-os-autofill-trap {
    height: 0;
    left: -9999px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    width: 0;
}

.hepo-os-signup-section {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.hepo-os-signup-form {
    max-width: 680px;
}

.hepo-os-signup-head {
    margin-bottom: 10px;
    text-align: center;
}

.hepo-os-signup-head h2 {
    margin-bottom: 0;
}

.hepo-os-login-link {
    color: #b42318;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    margin-top: 8px;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hepo-os-signup-intro {
    margin-bottom: 24px;
}

.hepo-os-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.hepo-os-grid-compact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: 680px;
}

.hepo-os-field-wide {
    grid-column: span 2;
}

.hepo-os-field-small {
    max-width: 180px;
}

.hepo-os-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-weight: 600;
}

.hepo-os-field input,
.hepo-os-field textarea {
    border: 1px solid #cfd5dc;
    border-radius: 6px;
    box-sizing: border-box;
    min-height: 40px;
    padding: 8px 10px;
    width: 100%;
}

.hepo-os-field input.is-invalid,
.hepo-os-field textarea.is-invalid,
.hepo-os-check.is-invalid {
    border-color: #b42318;
    box-shadow: 0 0 0 1px #b42318;
}

.hepo-os-check.is-invalid {
    border: 1px solid #b42318;
    border-radius: 6px;
    padding: 10px;
}

.hepo-os-field textarea {
    min-height: 260px;
}

.hepo-os-help {
    color: #667085;
    font-size: 13px;
    font-weight: 400;
}

.hepo-os-required {
    color: #b42318;
}

.hepo-os-required-note {
    color: #667085;
    display: block;
    font-size: 12px;
}

.hepo-os-address-block,
.hepo-os-password-block {
    border-top: 1px solid #e3e8ee;
    margin-top: 2px;
    max-width: 680px;
    padding-top: 18px;
}

.hepo-os-info-link {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: 0;
    box-shadow: none;
    color: #111827;
    cursor: pointer;
    display: inline-block;
    font: inherit;
    font-weight: 600;
    line-height: 1.35;
    margin: 6px 0 16px;
    padding: 0;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hepo-os-info-link:hover,
.hepo-os-info-link:focus {
    background: none;
    color: #111827;
    outline-offset: 3px;
}

.hepo-os-block-tip {
    background: #fff;
    border: 1px solid #d7dde4;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
    color: #111827;
    display: none;
    line-height: 1.5;
    margin: 10px 0 16px;
    max-width: 640px;
    padding: 14px 16px;
}

.hepo-os-block-tip p {
    margin: 0 0 10px;
}

.hepo-os-block-tip p:last-child {
    margin-bottom: 0;
}

.hepo-os-block-tip a {
    color: #111827;
    font-weight: 700;
}

.hepo-os-block-tip.is-visible {
    display: block;
}

.hepo-os-password-wrap {
    display: block;
    position: relative;
}

.hepo-os-password-wrap input {
    padding-right: 44px;
}

.hepo-os-password-wrap .hepo-os-password-toggle {
    -webkit-appearance: none;
    align-items: center;
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    color: #8a94a6 !important;
    cursor: pointer;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    line-height: 0;
    margin: 0;
    min-height: 0;
    min-width: 0;
    padding: 0;
    position: absolute;
    right: 8px;
    text-shadow: none;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
}

.hepo-os-password-wrap .hepo-os-password-toggle:focus {
    background: transparent !important;
    outline-offset: 3px;
}

.hepo-os-password-wrap .hepo-os-password-toggle.is-visible {
    color: #111827 !important;
}

.hepo-os-password-wrap .hepo-os-password-toggle svg {
    fill: none;
    height: 21px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 21px;
}

.hepo-os-password-meter {
    border-radius: 999px;
    color: #111827;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
    max-width: max-content;
    padding: 5px 12px;
}

.hepo-os-password-meter.is-empty {
    display: none;
}

.hepo-os-password-meter.is-weak {
    background: #fdecec;
    color: #8a1f1f;
}

.hepo-os-password-meter.is-medium {
    background: #fff4cc;
    color: #7a4b00;
}

.hepo-os-password-meter.is-strong {
    background: #e7f7ed;
    color: #1d5e2e;
}

.hepo-os-signup-form > .button.button-primary {
    align-self: flex-start;
    max-width: 100%;
    white-space: normal;
    width: auto;
}

.hepo-os-check {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    font-weight: 500;
    line-height: 1.45;
}

.hepo-os-check input[type="checkbox"] {
    flex: 0 0 auto;
    height: 20px;
    margin: 2px 0 0;
    vertical-align: middle;
    width: 20px;
}

.hepo-os-check-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hepo-os-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hepo-os-terms {
    background: #f6f9fc;
    border: 1px solid #d7dde4;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 16px;
}

.hepo-os-terms h2 {
    margin-top: 0;
}

.hepo-os-table {
    border-collapse: collapse;
    width: 100%;
}

.hepo-os-table th,
.hepo-os-table td {
    border-bottom: 1px solid #e3e8ee;
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
}

.hepo-os-status-note {
    color: #b42318;
    font-size: 13px;
    margin-top: 6px;
}

.hepo-os-media-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.hepo-os-media-card {
    background: #fafbfd;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
}

.hepo-os-media-card img,
.hepo-os-selected-image img {
    border-radius: 8px;
    display: block;
    height: auto;
    width: 100%;
}

.hepo-os-selected-image {
    background: #fafbfd;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    margin-top: 10px;
    max-width: 620px;
    padding: 12px;
}

.hepo-os-selected-image strong {
    display: block;
    margin-top: 8px;
}

.hepo-os-selected-image p {
    color: #667085;
    margin: 5px 0 0;
}

.hepo-os-notice {
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 14px 16px;
}

.hepo-os-notice.is-success {
    background: #e7f7ed;
    color: #1d5e2e;
}

.hepo-os-notice.is-error {
    background: #fdecec;
    color: #8a1f1f;
}

.hepo-os-tip {
    background: #005c8d;
    border-radius: 50%;
    color: #fff;
    cursor: help;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    height: 20px;
    justify-content: center;
    line-height: 20px;
    margin-left: 4px;
    position: relative;
    vertical-align: middle;
    width: 20px;
}

.hepo-os-tip:hover::after,
.hepo-os-tip:focus::after {
    background: #1f2933;
    border-radius: 8px;
    bottom: 28px;
    color: #fff;
    content: attr(aria-label);
    font-size: 13px;
    font-weight: 400;
    left: 50%;
    line-height: 1.4;
    max-width: min(360px, 80vw);
    padding: 10px 12px;
    position: absolute;
    transform: translateX(-50%);
    width: max-content;
    z-index: 10;
}

.hepo-os-data-list {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 10px 16px;
}

.hepo-os-data-list dt {
    color: #667085;
    font-weight: 700;
}

.hepo-os-data-list dd {
    margin: 0;
}

.hepo-os-danger {
    background: #fff6f6;
    border: 1px solid #f2c7c7;
    border-radius: 8px;
    margin-top: 24px;
    padding: 16px;
}

.hepo-os-danger-button {
    border-color: #b42318;
    color: #b42318;
}

.hepo-os-narrow {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hepo-os-login-link {
    margin-bottom: 0;
}

.hepo-os-info-links {
    background: #f8fafc;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    margin: 18px auto 0;
    max-width: 820px;
    padding: 16px;
}

.hepo-os-info-links-title {
    color: #344054;
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hepo-os-info-links-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hepo-os-info-links a {
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    color: #1d2939;
    display: block;
    font-size: 14px;
    padding: 12px 14px;
    text-decoration: none;
}

.hepo-os-info-links a:hover {
    border-color: #b42318;
    color: #b42318;
}

.hepo-os-info-links strong {
    display: block;
    font-size: 15px;
    line-height: 1.35;
}

.hepo-os-info-links span {
    color: #667085;
    display: block;
    line-height: 1.45;
    margin-top: 3px;
}

.hepo-os-legal,
.hepo-os-faq {
    margin-left: auto;
    margin-right: auto;
    max-width: 820px;
}

.hepo-os-legal h2 {
    color: #005c8d;
    font-size: 20px;
}

.hepo-os-legal h3 {
    border-top: 1px solid #e3e8ee;
    font-size: 18px;
    margin: 26px 0 10px;
    padding-top: 18px;
}

.hepo-os-faq > p {
    background: #f8fafc;
    border-left: 4px solid #b42318;
    border-radius: 8px;
    color: #344054;
    margin-bottom: 18px;
    padding: 14px 16px;
}

.hepo-os-faq-item {
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    margin-top: 10px;
    overflow: hidden;
    padding: 0;
}

.hepo-os-faq-item summary {
    align-items: center;
    color: #1d2939;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 16px;
    justify-content: space-between;
    line-height: 1.45;
    list-style: none;
    padding: 16px 18px;
}

.hepo-os-faq-item summary::-webkit-details-marker {
    display: none;
}

.hepo-os-faq-item summary::after {
    align-items: center;
    background: #f2f4f7;
    border-radius: 999px;
    color: #667085;
    content: "+";
    display: inline-flex;
    flex: 0 0 24px;
    font-size: 18px;
    height: 24px;
    justify-content: center;
    line-height: 1;
    width: 24px;
}

.hepo-os-faq-item[open] summary {
    border-bottom: 1px solid #e3e8ee;
    color: #b42318;
}

.hepo-os-faq-item[open] summary::after {
    background: #fff1f0;
    color: #b42318;
    content: "−";
}

.hepo-os-faq-item div {
    color: #344054;
    padding: 14px 18px 18px;
}

.hepo-os-faq-item div p {
    margin: 0 0 10px;
}

.hepo-os-faq-item div p:last-child {
    margin-bottom: 0;
}

.hepo-os-honeypot {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    width: 0;
}

@media (max-width: 720px) {
    .hepo-os-hero,
    .hepo-os-grid {
        grid-template-columns: 1fr;
    }

    .hepo-os-hero {
        grid-template-areas:
            "open"
            "copy"
            "plant";
        justify-items: stretch;
    }

    .hepo-os-hero img {
        max-width: 240px;
    }

    .hepo-os-hero-open-logo,
    .hepo-os-hero-plant-logo {
        justify-self: center;
    }

    .hepo-os-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .hepo-os-nav {
        justify-content: flex-start;
    }

    .hepo-os-actions .button {
        width: 100%;
    }

    .hepo-os-signup-form > .button.button-primary {
        align-self: stretch;
        width: 100%;
    }

    .hepo-os-info-links-grid {
        grid-template-columns: 1fr;
    }

    .hepo-os-data-list {
        grid-template-columns: 1fr;
    }

    .hepo-os-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hepo-os-field-wide {
        grid-column: auto;
    }

    .hepo-os-field-small {
        max-width: none;
    }

    .hepo-os-password-wrap input {
        padding-right: 44px;
    }
}
