:root {
    --blue-900: #082f6f;
    --blue-700: #0f5fb8;
    --blue-500: #1887e0;
    --ink: #101820;
    --muted: #56616d;
    --line: #d9e1ea;
    --panel: #ffffff;
    --soft: #f5f7fa;
    --soft-blue: #eaf4ff;
    --success: #0d8f69;
    --shadow: 0 24px 70px rgba(8, 47, 111, 0.16);
    --focus-ring: 0 0 0 3px rgba(24, 135, 224, 0.18);
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

/* Pico-inspired form controls, adapted to EleosForms colours and spacing. */
input[type="checkbox"],
input[type="radio"] {
    display: inline-block;
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    border: 2px solid #aebdcb;
    background-color: #ffffff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 0.76rem auto;
    color: var(--blue-700);
    vertical-align: text-bottom;
    appearance: none;
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

input[type="checkbox"] {
    border-radius: 5px;
}

input[type="radio"] {
    border-radius: 999px;
}

input[type="checkbox"]:checked {
    border-color: var(--blue-700);
    background-color: var(--blue-700);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2 6.6 11.2 12.8 4.8'/%3E%3C/svg%3E");
}

input[type="radio"]:checked {
    border-color: var(--blue-700);
    background-color: var(--blue-700);
    background-image: radial-gradient(circle, #ffffff 0 34%, transparent 38%);
}

input[type="checkbox"][role="switch"] {
    width: 2.65rem;
    height: 1.4rem;
    border-width: 2px;
    border-radius: 999px;
    background-color: #d4dee8;
    background-image: radial-gradient(circle, #ffffff 0 44%, transparent 48%);
    background-position: 0.12rem 50%;
    background-size: 1rem 1rem;
}

input[type="checkbox"][role="switch"]:checked {
    border-color: var(--blue-700);
    background-color: var(--blue-700);
    background-image: radial-gradient(circle, #ffffff 0 44%, transparent 48%);
    background-position: calc(100% - 0.12rem) 50%;
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
    border-color: #d6dee8;
    background-color: #edf1f5;
    cursor: not-allowed;
    opacity: 0.72;
}

img {
    display: block;
    max-width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 14px clamp(18px, 5vw, 64px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(217, 225, 234, 0.78);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: auto;
    height: 38px;
}

.brand-logo-footer {
    height: 44px;
}

.brand-icon {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}

.menu-button span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-menu a {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
}

.site-menu a:hover,
.site-menu a:focus-visible {
    background: var(--soft-blue);
    color: var(--blue-900);
}

.hero {
    position: relative;
    min-height: min(680px, 76vh);
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background-color: #071527;
    background-image:
        linear-gradient(90deg, rgba(5, 16, 32, 0.92) 0%, rgba(5, 16, 32, 0.8) 36%, rgba(5, 16, 32, 0.4) 58%, rgba(5, 16, 32, 0.1) 100%),
        url("../images/product/hero-product-suite-v2.webp");
    background-position: center, right -8vw center;
    background-size: cover, min(76vw, 1120px) auto;
    background-repeat: no-repeat;
}

.hero-inner {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    color: #ffffff;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue-500);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #86c7ff;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 640px;
    margin: 0;
    font-size: clamp(3.1rem, 8vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: 0;
}

h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 8px;
    font-size: 1.06rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.hero-lede {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    margin-top: 30px;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 30px;
}

.cta-with-note {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.cta-with-note small {
    max-width: 330px;
    color: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.35;
    opacity: 0.78;
    text-align: center;
}

.hero .cta-with-note small,
.final-cta .cta-with-note small {
    color: rgba(255, 255, 255, 0.84);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button-primary {
    background: var(--blue-500);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(24, 135, 224, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--blue-700);
}

.button-secondary {
    background: #ffffff;
    border-color: var(--line);
    color: var(--blue-900);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: var(--blue-500);
}

.button-small {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.85rem;
}

.button-danger {
    background: #ffffff;
    border-color: #efb5b5;
    color: #9d1f24;
}

.button-danger:hover,
.button-danger:focus-visible {
    border-color: #c83d43;
    background: #fff1f1;
}

.button-text {
    background: transparent;
    color: var(--blue-900);
}

.button-disabled,
.button[aria-disabled="true"] {
    border-color: #d6dde6;
    background: #e9edf2;
    color: #75808c;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

.feature-band,
.video-band,
.detail-band,
.pricing-band,
.gallery-band,
.final-cta,
.footer,
.form-shell,
.simple-page {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}

.feature-band {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(64px, 9vw, 112px) 0;
}

.feature-band-reverse {
    grid-template-columns: minmax(320px, 1.08fr) minmax(0, 0.92fr);
}

.feature-band-reverse .feature-copy {
    order: 2;
}

.feature-copy p,
.video-copy p,
.section-heading p,
.final-cta p,
.footer p,
.simple-page p {
    color: var(--muted);
    font-size: 1.02rem;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 22px 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: #26323f;
    font-weight: 700;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: inset 0 0 0 4px #ffffff;
    border: 2px solid var(--success);
}

.inline-link {
    color: var(--blue-700);
    font-weight: 900;
    text-decoration: none;
}

.inline-link:hover,
.inline-link:focus-visible {
    text-decoration: underline;
}

.screenshot-button,
.video-poster {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: var(--shadow);
    cursor: zoom-in;
    overflow: hidden;
}

.screenshot-button img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: #eef4fa;
}

.video-band {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    padding: clamp(54px, 8vw, 96px) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.hosting-band {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(64px, 9vw, 112px) 0;
    border-top: 1px solid var(--line);
}

.hosting-copy p {
    color: var(--muted);
    font-size: 1.02rem;
}

.partner-hero,
.partner-band,
.partner-customer-band,
.partner-brand-band,
.partner-verticals-band,
.partner-commercial-band {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}

.partner-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(650px, 72vh);
    overflow: hidden;
    padding: clamp(46px, 7vw, 82px);
    border-radius: 8px;
    background-color: #f7faff;
    background-image:
        linear-gradient(90deg, rgba(247, 250, 255, 0.98) 0%, rgba(247, 250, 255, 0.94) 35%, rgba(247, 250, 255, 0.52) 57%, rgba(247, 250, 255, 0.08) 100%),
        url("../images/resellers/reseller-hero-v2.webp");
    background-position: center, right center;
    background-size: cover, min(82vw, 1120px) auto;
    background-repeat: no-repeat;
}

.partner-hero-copy h1 {
    max-width: 700px;
    color: var(--ink);
    font-size: clamp(2.55rem, 5vw, 4.25rem);
}

.partner-hero .hero-lede {
    max-width: 650px;
    color: var(--muted);
}

.partner-image-button {
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: var(--shadow);
    cursor: zoom-in;
}

.partner-image-button img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: var(--soft);
}

.partner-hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.partner-hero-points li {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 95, 184, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--blue-900);
    font-size: 0.9rem;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(8, 47, 111, 0.08);
}

.partner-band,
.partner-verticals-band {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(64px, 9vw, 112px) 0;
    border-top: 1px solid var(--line);
}

.partner-copy p,
.partner-customer-band .section-heading p,
.partner-verticals-copy p,
.partner-commercial-band .section-heading p {
    color: var(--muted);
    font-size: 1.02rem;
}

.partner-customer-band,
.partner-brand-band,
.partner-commercial-band {
    padding: clamp(64px, 9vw, 112px) 0;
    border-top: 1px solid var(--line);
}

.partner-brand-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.partner-brand-copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.02rem;
}

.partner-brand-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin-top: 26px;
    border-top: 1px solid var(--line);
}

.partner-brand-grid article {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.partner-brand-grid h3,
.partner-brand-grid p {
    margin: 0;
}

.partner-brand-grid h3 {
    color: var(--blue-900);
    font-size: 1rem;
}

.partner-brand-grid p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.92rem;
}

.partner-benefit-grid .detail-card {
    min-height: 170px;
}

.partner-verticals-band {
    grid-template-columns: minmax(320px, 1.08fr) minmax(0, 0.92fr);
}

.vertical-card-list {
    display: grid;
    gap: 12px;
}

.vertical-card-list article,
.partner-commercial-grid article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 52px rgba(16, 24, 32, 0.08);
}

.vertical-card-list h3,
.partner-commercial-grid strong {
    color: var(--blue-900);
}

.vertical-card-list p,
.partner-commercial-grid p {
    margin: 0;
    color: var(--muted);
}

.partner-commercial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.partner-commercial-grid article {
    min-height: 150px;
}

.partner-commercial-grid strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.partner-application-shell {
    border-top: 1px solid var(--line);
}

.video-poster {
    position: relative;
    cursor: pointer;
}

.video-poster img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.play-button {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 68px;
    height: 68px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.play-button::after {
    content: "";
    position: absolute;
    left: 29px;
    top: 22px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 17px solid var(--blue-700);
}

.detail-band {
    padding: clamp(64px, 9vw, 110px) 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.detail-card {
    min-height: 190px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.detail-card p {
    margin: 0;
    color: var(--muted);
}

.pricing-band {
    padding: clamp(64px, 9vw, 112px) 0;
    border-top: 1px solid var(--line);
}

.gallery-band {
    padding: clamp(64px, 9vw, 112px) 0;
    border-top: 1px solid var(--line);
}

.gallery-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
    gap: clamp(20px, 5vw, 64px);
    align-items: end;
    margin-bottom: 28px;
}

.gallery-heading h2 {
    max-width: 760px;
}

.gallery-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.gallery-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 52px rgba(16, 24, 32, 0.08);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: zoom-in;
}

.gallery-card:first-child {
    grid-column: span 2;
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--soft);
}

.gallery-card span {
    display: grid;
    gap: 6px;
    padding: 16px;
}

.gallery-card strong {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.25;
}

.gallery-card small {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.gallery-card:hover,
.gallery-card:focus-visible {
    border-color: var(--blue-500);
    box-shadow: 0 24px 70px rgba(15, 95, 184, 0.16);
}

.pricing-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
    gap: clamp(20px, 5vw, 64px);
    align-items: end;
    margin-bottom: 28px;
}

.pricing-heading h2 {
    max-width: 760px;
}

.pricing-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.pricing-heading .eyebrow {
    color: var(--blue-500);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 52px rgba(16, 24, 32, 0.08);
}

.pricing-card-featured {
    border-color: rgba(24, 135, 224, 0.68);
    box-shadow: 0 24px 70px rgba(15, 95, 184, 0.18);
}

.pricing-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--soft);
}

.pricing-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.pricing-card h3 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.pricing-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.plan-badge,
.recommended {
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--blue-900);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plan-badge {
    margin-bottom: 12px;
    background: var(--blue-700);
    color: #ffffff;
}

.price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: auto 0 18px;
}

.price-row > div {
    display: grid;
    gap: 2px;
    min-height: 104px;
    align-content: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.price-row strong {
    color: var(--ink);
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    line-height: 1;
}

.price-row span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.price-row .annual-price {
    border-color: #b9d8f7;
    background: var(--soft-blue);
}

.price-row .recommended {
    margin-bottom: 6px;
    background: #ffffff;
    color: var(--blue-900);
}

.plan-limits {
    display: grid;
    gap: 9px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.plan-limits li {
    position: relative;
    padding-left: 24px;
    color: #26323f;
    font-weight: 800;
}

.plan-limits li::before,
.feature-pill-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.54em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue-500);
}

.pricing-card .button {
    width: 100%;
    margin-top: auto;
}

.plan-cta {
    width: 100%;
    margin-top: auto;
}

.common-features {
    margin-top: 24px;
    padding: clamp(24px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #071527;
    color: #ffffff;
}

.common-features .section-heading {
    margin-bottom: 18px;
}

.common-features h3 {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.common-features .eyebrow {
    color: #86c7ff;
}

.feature-pill-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-pill-list li {
    position: relative;
    min-height: 52px;
    padding: 12px 12px 12px 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.feature-pill-list li::before {
    left: 12px;
    background: #86c7ff;
}

.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 32px;
    margin-bottom: 34px;
    padding: clamp(34px, 6vw, 58px);
    border-radius: 8px;
    background: #071527;
    color: #ffffff;
}

.final-cta h2 {
    max-width: 760px;
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.final-cta p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.footer {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: clamp(22px, 5vw, 54px);
    align-items: start;
    padding: 26px 0 32px;
    border-top: 1px solid var(--line);
}

.footer-main {
    max-width: 560px;
}

.brand-footer {
    margin-bottom: 8px;
}

.footer p {
    max-width: 540px;
    margin: 0;
    font-size: 0.94rem;
}

.company-notice {
    margin-top: 8px !important;
    font-size: 0.84rem !important;
}

.footer-details {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) minmax(170px, 0.75fr);
    gap: 12px 22px;
    min-width: 0;
    align-items: start;
}

.footer-details dl {
    display: grid;
    gap: 4px 12px;
    grid-template-columns: auto 1fr;
    margin: 0;
}

.footer-details dt {
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 900;
}

.footer-details dd {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-details a {
    color: var(--blue-700);
    font-weight: 800;
    text-decoration: none;
}

.footer-details a:hover,
.footer-details a:focus-visible {
    text-decoration: underline;
}

.footer-details .footer-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 4px;
}

.footer-details .footer-actions .button {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.footer-policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-top: 8px;
    font-size: 0.9rem;
}

.footer-social {
    display: grid;
    align-items: center;
    gap: 8px;
    margin-top: 0;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    align-items: baseline;
}

.footer-social-links strong {
    color: var(--ink);
    font-size: 0.88rem;
}

.policy-shell {
    width: min(920px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(46px, 7vw, 82px) 0;
}

.policy-document {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 5vw, 46px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.policy-document h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.3rem, 5vw, 4rem);
}

.policy-document h2 {
    margin: 10px 0 0;
    color: var(--ink);
    font-size: 1.22rem;
}

.policy-document p {
    margin: 0;
    color: #26323f;
    line-height: 1.72;
}

.policy-document a,
.terms-check a {
    color: var(--blue-700);
    font-weight: 900;
}

.policy-updated {
    color: var(--muted) !important;
    font-weight: 800;
}

.modal[hidden] {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 22px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 18, 0.78);
}

.modal-panel {
    position: relative;
    z-index: 1;
    width: min(1360px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.modal-content img,
.modal-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.modal-content img {
    height: auto;
    aspect-ratio: auto;
}

.modal-gallery {
    position: relative;
    display: grid;
    gap: 0;
    margin: 0;
    background: #f6f9fc;
}

.modal-gallery img {
    width: 100%;
    max-height: calc(100vh - 168px);
    object-fit: contain;
    background: #ffffff;
}

.modal-gallery figcaption {
    display: grid;
    gap: 4px;
    padding: 16px 22px 20px;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

.modal-gallery figcaption strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.modal-gallery figcaption span {
    color: var(--muted);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    display: grid;
    width: 44px;
    height: 54px;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-900);
    font-size: 1.7rem;
    font-weight: 900;
    cursor: pointer;
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
    border-color: var(--blue-500);
}

.gallery-nav-prev {
    left: 14px;
}

.gallery-nav-next {
    right: 14px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    font-size: 1.2rem;
    cursor: pointer;
}

.form-shell,
.simple-page {
    padding: clamp(46px, 7vw, 82px) 0;
}

.form-intro,
.simple-panel {
    max-width: 820px;
}

.form-intro h1,
.simple-page h1 {
    color: var(--ink);
    font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.wizard {
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.wizard-progress {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    border-bottom: 1px solid var(--line);
}

.wizard-progress span {
    padding: 14px 12px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 800;
    text-align: center;
    border-right: 1px solid var(--line);
}

.wizard-progress span:last-child {
    border-right: 0;
}

.wizard-progress .is-active {
    background: var(--soft-blue);
    color: var(--blue-900);
}

.wizard-step {
    display: grid;
    gap: 18px;
    padding: clamp(22px, 4vw, 34px);
    border: 0;
}

.wizard-step[hidden] {
    display: none;
}

.wizard-step-heading {
    display: grid;
    gap: 8px;
    max-width: 760px;
}

.wizard-step-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.wizard-step-heading p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
}

.signup-shell {
    width: min(1120px, calc(100% - 36px));
    margin-inline: auto;
    padding-top: clamp(34px, 5vw, 58px);
}

.signup-shell .form-intro {
    max-width: 980px;
}

.signup-shell .form-intro h1 {
    max-width: 900px;
    margin-bottom: 16px;
    font-size: clamp(2.25rem, 4.4vw, 3.75rem);
    line-height: 1.04;
}

.signup-shell .form-intro > p:not(.eyebrow):not(.trial-offer-note) {
    max-width: 850px;
    margin-bottom: 0;
}

.billing-toggle {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(420px, 100%);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.billing-toggle label {
    display: grid;
    cursor: pointer;
}

.billing-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.billing-toggle span {
    min-height: 48px;
    padding: 12px 14px;
    background: #ffffff;
    color: var(--muted);
    font-weight: 800;
    text-align: center;
}

.billing-toggle strong {
    display: block;
    color: var(--blue-700);
    font-size: 0.76rem;
    text-transform: uppercase;
}

.billing-toggle input:checked + span {
    background: var(--blue-700);
    color: #ffffff;
}

.billing-toggle input:checked + span strong {
    color: #ffffff;
}

.pricing-tax-note {
    max-width: 820px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #d7e6f6;
    border-radius: 8px;
    background: var(--soft-blue);
    color: var(--blue-900);
    font-size: 0.95rem;
    font-weight: 700;
}

.signup-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.signup-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: 280px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.signup-plan-card input {
    position: absolute;
    inset: 16px 16px auto auto;
    width: 18px;
    height: 18px;
    accent-color: var(--blue-700);
}

.signup-plan-card:has(input:checked) {
    border-color: var(--blue-700);
    box-shadow: 0 0 0 3px rgba(20, 103, 184, 0.15), var(--shadow);
}

.signup-plan-card:hover {
    transform: translateY(-2px);
}

.signup-plan-featured {
    border-color: #7fb1e4;
}

.plan-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-right: 26px;
}

.plan-card-header strong {
    color: var(--ink);
    font-size: 1.15rem;
}

.plan-card-header em {
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--blue-900);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.plan-card-prices {
    display: grid;
    gap: 5px;
    color: var(--ink);
    font-size: 1.55rem;
    font-weight: 900;
}

.plan-price[hidden] {
    display: none;
}

.plan-card-prices small,
.plan-card-limits,
.plan-card-extra {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.plan-card-limits,
.plan-card-extra {
    display: block;
}

.plan-card-trial {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border: 1px solid #b9d8f7;
    border-left: 4px solid var(--blue-700);
    border-radius: 6px;
    background: var(--soft-blue);
    color: var(--blue-900);
}

.plan-card-trial strong {
    font-size: 0.94rem;
}

.plan-card-trial small {
    color: var(--blue-900);
    font-size: 0.82rem;
    font-weight: 800;
}

.plan-card-summary {
    min-height: 82px;
    color: #26323f;
}

.plan-card-benefits {
    display: grid;
    gap: 12px;
    align-content: start;
}

.domain-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border: 1px solid #cbd5df;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.phone-input {
    display: grid;
    grid-template-columns: minmax(140px, 0.42fr) minmax(0, 1fr);
    border: 1px solid #cbd5df;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.phone-input select,
.phone-input input {
    min-height: 46px;
    border: 0;
    border-radius: 0;
}

.phone-input select {
    border-right: 1px solid #cbd5df;
    background: var(--soft);
    font-weight: 800;
}

.domain-input input {
    border: 0;
    border-radius: 0;
}

.domain-input span {
    padding: 0 12px;
    color: var(--muted);
    font-weight: 800;
    white-space: nowrap;
}

[data-custom-domain-field].is-disabled {
    opacity: 0.55;
}

[data-custom-domain-field].is-disabled input {
    cursor: not-allowed;
}

.custom-domain-choice .checkbox-field {
    background: #ffffff;
}

.custom-domain-choice code {
    color: var(--blue-900);
    font-weight: 800;
}

.dns-panel,
.trial-summary {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.dns-panel h3,
.trial-summary h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.15rem;
}

.dns-panel[hidden] {
    display: none;
}

.dns-panel p,
.trial-summary p,
.small-note {
    margin: 0;
    color: var(--muted);
}

.dns-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.dns-guidance-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
}

.dns-records-pane,
.dns-instructions {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.dns-records-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.dns-record-list {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.dns-record-card {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.dns-record-card-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.dns-record-card h4 {
    margin: 0;
    color: var(--ink);
    font-size: 0.95rem;
}

.dns-record-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.dns-record-card p code {
    color: var(--blue-900);
    font-weight: 800;
}

.dns-records-pane strong,
.dns-records-heading strong {
    color: var(--ink);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.dns-zone-records {
    margin: 0;
    padding: 14px;
    overflow-x: auto;
    border-radius: 8px;
    background: #071527;
    color: #ffffff;
    font-size: 0.86rem;
    line-height: 1.55;
}

.dns-zone-records code {
    white-space: pre;
}

.dns-record-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
}

.dns-record-actions .field-validation {
    min-height: auto;
}

.dns-instructions h4 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 1rem;
}

.dns-instructions ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
    color: #26323f;
}

.dns-instructions code {
    overflow-wrap: anywhere;
    color: var(--blue-900);
    font-weight: 800;
}

.dns-grid div {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.dns-grid strong {
    color: var(--ink);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.dns-grid code,
.dns-zone-records,
.setup-key,
.small-note code {
    overflow-wrap: anywhere;
}

.trial-summary ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
    color: #26323f;
}

.terms-check {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: #26323f;
    font-weight: 700;
    cursor: pointer;
}

.terms-check input {
    width: 18px;
    height: 18px;
    margin-top: 0.2em;
    accent-color: var(--blue-700);
}

.confirmation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.confirmation-grid article {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.confirmation-grid h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.05rem;
}

.confirm-trial-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.confirm-trial-tags span {
    padding: 6px 9px;
    border: 1px solid #abd0f5;
    border-radius: 999px;
    background: #edf6ff;
    color: var(--blue-900);
    font-size: 0.78rem;
    font-weight: 900;
}

.dns-setup-choice {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.dns-setup-choice[hidden] {
    display: none;
}

.dns-setup-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dns-setup-options label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    padding: 13px;
    border: 1px solid #c5d2e2;
    border-radius: 8px;
    background: #ffffff;
}

.dns-setup-options label:has(input:checked) {
    border-color: var(--blue-500);
    background: var(--soft-blue);
}

.dns-setup-options span,
.dns-setup-options small {
    display: block;
}

.dns-setup-options small {
    margin-top: 4px;
    color: var(--muted);
    font-weight: 500;
}

.confirmation-grid dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.confirmation-grid dl div {
    display: grid;
    gap: 3px;
}

.confirmation-grid dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.confirmation-grid dd {
    margin: 0;
    color: #26323f;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.confirmation-grid dd a {
    color: var(--blue-700);
    text-decoration: none;
}

.confirmation-grid dd a:hover,
.confirmation-grid dd a:focus-visible {
    text-decoration: underline;
}

.confirm-field-note {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.confirmation-grid p {
    margin: 0;
    color: #26323f;
}

.compact-confirm dl div {
    grid-template-columns: minmax(110px, 0.38fr) minmax(0, 1fr);
    align-items: baseline;
    column-gap: 12px;
}

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

.field {
    display: grid;
    align-content: start;
    gap: 7px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    font-weight: 800;
}

.field small {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.field-validation {
    min-height: 1.25em;
}

.field-validation:empty {
    display: none;
}

.field-validation.is-checking {
    color: var(--muted);
}

.field-validation.is-ok {
    color: var(--success);
    font-weight: 800;
}

.field-validation.is-error {
    color: #8a1f1f;
    font-weight: 800;
}

.field-validation.is-warning {
    color: #9a5b00;
    font-weight: 800;
}

.email-code-panel {
    display: grid;
    gap: 12px;
    margin-top: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.email-code-panel.is-error {
    border-color: #f2b6b6;
    background: #fff7f7;
}

.email-code-panel.is-ok {
    border-color: #b6dfc1;
    background: #f2fbf4;
}

.email-code-panel.is-checking {
    border-color: #b9d8f7;
    background: var(--soft-blue);
}

.email-code-panel.is-warning {
    border-color: #f4d08b;
    background: #fff8e8;
}

.email-code-actions,
.email-code-check {
    display: grid;
    grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
    gap: 10px;
    align-items: end;
}

.email-code-actions .button,
.email-code-check .button {
    width: 100%;
}

.email-code-actions .field-validation {
    min-height: 0;
}

.email-code-check .field {
    min-width: 0;
}

.email-confirmed-status {
    margin-top: 2px;
}

.optional-label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.required-label {
    color: var(--blue-700);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.form-required-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.form-required-note strong {
    color: var(--blue-700);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #cbd5df;
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-field {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
    cursor: pointer;
    transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.checkbox-line {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    color: #26323f;
    font-weight: 700;
    cursor: pointer;
}

.checkbox-field:hover,
.checkbox-line:hover,
.terms-check:hover {
    border-color: #b9d0e8;
}

.checkbox-field:has(input:focus-visible),
.checkbox-line:has(input:focus-visible),
.terms-check:has(input:focus-visible) {
    box-shadow: var(--focus-ring);
}

.checkbox-field input,
.checkbox-line input {
    width: 18px;
    height: 18px;
    margin-top: 0.2em;
}

.checkbox-field span,
.checkbox-line span {
    color: #26323f;
    font-weight: 700;
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 0 clamp(22px, 4vw, 34px) clamp(22px, 4vw, 34px);
}

.wizard-actions [data-back-step][hidden] + [data-primary-step] {
    margin-left: auto;
}

.contact-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 4px;
}

.contact-actions .cta-with-note {
    align-items: flex-start;
}

.contact-actions .cta-with-note small {
    color: var(--muted);
}

.contact-shell {
    width: min(1220px, calc(100% - 36px));
}

.contact-shell .form-intro {
    max-width: 1120px;
}

.contact-shell .form-intro h1 {
    max-width: none;
    margin-bottom: 20px;
    font-size: clamp(2.45rem, 5.2vw, 4.6rem);
    line-height: 1.03;
}

.contact-shell .form-intro > p:not(.eyebrow):not(.contact-mode-link) {
    max-width: 920px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.contact-mode-link {
    margin-top: 18px;
    font-weight: 800;
}

.contact-support-callout {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(22px, 4vw, 44px);
    align-items: center;
    margin-top: 34px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.contact-support-callout h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}

.contact-support-callout p:not(.eyebrow) {
    margin: 8px 0 18px;
    color: var(--muted);
}

.contact-support-media {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(16, 24, 32, 0.09);
}

.contact-support-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: left top;
}

.contact-form .field small {
    color: var(--muted);
    line-height: 1.45;
}

.notice {
    padding: 14px 16px;
    border: 1px solid #b9d8f7;
    border-radius: 8px;
    background: var(--soft-blue);
    color: var(--blue-900);
}

.notice-error {
    border-color: #f2b6b6;
    background: #fff0f0;
    color: #8a1f1f;
}

.status-table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    border: 1px solid var(--line);
}

.status-table th,
.status-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.status-table th {
    width: 230px;
    background: var(--soft);
}

.auth-shell {
    width: min(1040px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(46px, 7vw, 82px) 0;
}

.backend-shell {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(42px, 6vw, 70px) 0;
}

.auth-panel {
    max-width: 620px;
}

.auth-panel-wide {
    max-width: 920px;
}

.auth-copy h1,
.backend-heading h1 {
    color: var(--ink);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.backend-heading h1 {
    font-size: clamp(2.25rem, 4.6vw, 3.7rem);
}

.auth-copy p,
.backend-heading p,
.setup-key-panel p,
.small-note {
    color: var(--muted);
}

.auth-form {
    margin-top: 22px;
}

.auth-form .button {
    width: max-content;
}

.error-panel {
    max-width: 760px;
}

.error-panel .button-row {
    margin-top: 26px;
}

.two-factor-grid {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    margin-top: 24px;
}

.signup-two-factor-grid {
    margin-top: 0;
}

.qr-panel,
.setup-key-panel,
.backend-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 52px rgba(16, 24, 32, 0.08);
}

.qr-panel {
    display: grid;
    place-items: center;
    min-height: 260px;
    padding: 18px;
}

.qr-panel svg {
    width: min(100%, 360px);
    height: auto;
}

.setup-key-panel {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: clamp(20px, 4vw, 30px);
}

.setup-key-panel h2,
.backend-card h2 {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.setup-key {
    display: block;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
    color: var(--ink);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 900;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.small-note {
    margin: 12px 0 0;
    font-size: 0.9rem;
}

.backend-heading {
    max-width: 820px;
    margin-bottom: 28px;
}

.backend-heading p {
    max-width: 740px;
    font-size: 1.04rem;
}

.backend-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 18px;
    align-items: start;
}

.subscriber-backend-grid {
    grid-template-columns: 1fr;
}

.backend-card {
    padding: clamp(20px, 4vw, 30px);
}

.account-summary-card {
    min-height: auto;
}

.account-summary-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.account-summary-strip div {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.account-summary-strip span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.account-summary-strip strong {
    color: var(--ink);
    overflow-wrap: anywhere;
}

.backend-card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.backend-card-header h2 {
    margin-top: 6px;
}

.backend-back {
    color: var(--blue-700);
    font-size: 0.92rem;
    font-weight: 900;
    text-decoration: none;
}

.backend-back:hover,
.backend-back:focus-visible {
    text-decoration: underline;
}

.backend-card-span {
    min-height: 100%;
}

.compact-table {
    margin-bottom: 0;
}

.compact-table th {
    width: 180px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.metric {
    display: grid;
    gap: 6px;
    min-height: 112px;
    align-content: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.metric span {
    color: var(--blue-700);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
}

.metric strong {
    color: var(--ink);
}

.backend-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.backend-action {
    display: grid;
    gap: 8px;
    min-height: 116px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    text-decoration: none;
}

.backend-action:hover,
.backend-action:focus-visible {
    border-color: var(--blue-500);
}

.backend-action[aria-disabled="true"] {
    cursor: default;
}

.backend-action strong {
    color: var(--blue-900);
    font-size: 1rem;
}

.backend-action span {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.45;
}

.subscriber-actions {
    margin-top: 18px;
}

.instance-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.instance-card,
.detail-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.instance-card {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.75fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
}

.instance-card h3 {
    margin: 2px 0 6px;
    color: var(--ink);
    font-size: 1.2rem;
    overflow-wrap: anywhere;
}

.instance-card p {
    margin: 0;
    color: var(--muted);
}

.instance-meta {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.instance-meta span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.instance-meta strong {
    color: var(--blue-900);
}

.instance-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.backend-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.detail-panel {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 18px;
}

.detail-panel h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.15rem;
}

.detail-panel p {
    margin: 0;
    color: #26323f;
}

.mini-table {
    margin: 0;
}

.mini-table th {
    width: 150px;
}

.credential-reveal {
    display: grid;
    gap: 8px;
}

.credential-reveal > span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.subscriber-billing-form {
    display: grid;
    gap: 14px;
}

.subscriber-billing-fields {
    display: grid;
    gap: 14px;
}

.subscriber-billing-fields label {
    display: grid;
    gap: 8px;
}

.subscriber-billing-fields label > span {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 900;
}

.subscriber-billing-fields input,
.subscriber-billing-fields select {
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
    border: 1px solid #b9c7da;
    border-radius: 8px;
    background-color: #ffffff;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.3;
}

.subscriber-billing-fields input:focus,
.subscriber-billing-fields select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 103, 221, 0.15);
    outline: none;
}

.subscriber-billing-fields small {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.4;
}

.subscriber-billing-form .button {
    justify-self: start;
}

.package-change-panel {
    margin-top: 18px;
}

.subscriber-update-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid #bfd4f0;
    border-radius: 8px;
    background: #f2f7ff;
}

.subscriber-update-status.is-expired {
    border-color: #f3bf8d;
    background: #fff7ed;
}

.subscriber-update-status > div {
    display: grid;
    gap: 5px;
}

.subscriber-update-status span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.subscriber-update-status strong {
    color: var(--blue-900);
}

.subscriber-update-status p {
    margin: 0;
    color: var(--muted);
}

.subscriber-update-status form {
    flex: 0 0 auto;
}

.package-change-panel .backend-card-header {
    margin-bottom: 4px;
}

.package-change-panel .backend-card-header h3 {
    margin: 0;
}

.package-change-confirmation {
    display: grid;
    gap: 6px;
    margin: 12px 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.package-change-confirmation strong {
    color: var(--ink);
}

.package-change-confirmation p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.subscriber-plan-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 6px 0 14px;
}

.subscriber-plan-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    min-height: 150px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
}

.subscriber-plan-option.is-current {
    background: var(--soft);
}

.subscriber-plan-option span {
    display: grid;
    gap: 6px;
    align-content: start;
}

.subscriber-plan-option small {
    color: var(--muted);
    line-height: 1.45;
}

.subscriber-plan-option em {
    color: var(--blue-900);
    font-size: 0.86rem;
    font-style: normal;
    font-weight: 800;
}

.plan-feature-list {
    display: grid;
    gap: 5px;
    margin: 2px 0 0;
    padding-left: 17px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.35;
}

.confirmation-line {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 10px;
    max-width: 780px;
    margin: 4px 0 14px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.confirmation-line input {
    margin-top: 3px;
}

.reseller-branding-panel {
    margin-top: 18px;
}

.reseller-branding-panel .backend-card-header h3 {
    margin: 0;
}

.subscriber-branding-options {
    display: grid;
    gap: 12px;
    margin: 12px 0 14px;
}

.subscriber-branding-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.subscriber-branding-option.is-current {
    background: var(--soft);
}

.branding-option-copy {
    display: grid;
    gap: 7px;
}

.branding-option-copy small,
.branding-option-copy em {
    color: var(--muted);
    font-size: 0.84rem;
    font-style: normal;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.branding-preview {
    display: grid;
    gap: 2px;
    max-width: 520px;
    padding: 12px;
    border: 1px solid #d7e2f0;
    border-radius: 8px;
    background: #f8fbff;
}

.branding-preview > span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.branding-preview strong {
    color: var(--ink);
}

.subscriber-update-history {
    margin-top: 18px;
}

.subscriber-update-history h3 {
    margin: 8px 0 0;
    color: var(--ink);
}

.subscriber-tabs {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.subscriber-tab-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.subscriber-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.subscriber-tab-list label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--muted);
    cursor: pointer;
    font-size: .92rem;
    font-weight: 900;
}

.subscriber-tab-list label:hover,
.subscriber-tab-list label:focus-visible {
    border-color: #bfd2ea;
    color: var(--blue-900);
}

.subscriber-tab-list span {
    display: inline-flex;
    min-width: 24px;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--blue-900);
    font-size: .76rem;
}

.subscriber-tab-panels {
    min-width: 0;
}

.subscriber-tab-panel {
    display: none;
}

.subscriber-tab-panel .backend-detail-grid,
.subscriber-tab-panel .subscriber-update-history,
.subscriber-tab-panel .reseller-branding-panel,
.subscriber-tab-panel .package-change-panel {
    margin-top: 0;
}

.subscriber-tab-stack {
    display: grid;
    gap: 14px;
}

.subscriber-access-panel {
    max-width: 820px;
}

.subscriber-tab-input:nth-of-type(1):checked ~ .subscriber-tab-list label:nth-of-type(1),
.subscriber-tab-input:nth-of-type(2):checked ~ .subscriber-tab-list label:nth-of-type(2),
.subscriber-tab-input:nth-of-type(3):checked ~ .subscriber-tab-list label:nth-of-type(3),
.subscriber-tab-input:nth-of-type(4):checked ~ .subscriber-tab-list label:nth-of-type(4),
.subscriber-tab-input:nth-of-type(5):checked ~ .subscriber-tab-list label:nth-of-type(5) {
    border-color: var(--blue-500);
    background: var(--soft-blue);
    color: var(--blue-900);
}

.subscriber-tab-input:nth-of-type(6):checked ~ .subscriber-tab-list label:nth-of-type(6) {
    border-color: var(--blue-500);
    background: var(--soft-blue);
    color: var(--blue-900);
}

.subscriber-tab-input:nth-of-type(1):checked ~ .subscriber-tab-panels .subscriber-tab-panel:nth-of-type(1),
.subscriber-tab-input:nth-of-type(2):checked ~ .subscriber-tab-panels .subscriber-tab-panel:nth-of-type(2),
.subscriber-tab-input:nth-of-type(3):checked ~ .subscriber-tab-panels .subscriber-tab-panel:nth-of-type(3),
.subscriber-tab-input:nth-of-type(4):checked ~ .subscriber-tab-panels .subscriber-tab-panel:nth-of-type(4),
.subscriber-tab-input:nth-of-type(5):checked ~ .subscriber-tab-panels .subscriber-tab-panel:nth-of-type(5) {
    display: block;
}

.subscriber-tab-input:nth-of-type(6):checked ~ .subscriber-tab-panels .subscriber-tab-panel:nth-of-type(6) {
    display: block;
}

.subscriber-domain-warning {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

.notice-warning {
    border-color: #efc98a;
    background: #fff8e9;
    color: #684612;
}

.subscriber-domain-warning span {
    flex: 1 1 320px;
}

.portal-status-check,
.subscriber-domain-panel .subscriber-actions form {
    margin: 0;
}

.portal-status-check {
    display: grid;
    justify-items: start;
    gap: 10px;
    margin-top: 12px;
}

.subscriber-domain-panel {
    max-width: 980px;
}

.subscriber-dns-records {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status-badge-success {
    background: #e8f7ee;
    color: #17633a;
}

.subscriber-initial-access form {
    margin: 0;
}

.backend-status-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.backend-status-strip div {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft-blue);
}

.backend-status-strip span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.backend-status-strip strong {
    color: var(--blue-900);
    overflow-wrap: anywhere;
}

.logout-form {
    margin: 0;
}

.logout-form .button {
    min-height: 40px;
    padding: 9px 14px;
}

.admin-shell {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 56px;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.admin-sidebar {
    position: sticky;
    top: 16px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.admin-sidebar a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--muted);
    font-weight: 800;
}

.admin-sidebar a:hover,
.admin-sidebar a:focus-visible,
.admin-sidebar a.is-active {
    background: var(--soft-blue);
    color: var(--blue-900);
}

.admin-content {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.admin-heading h1 {
    margin: 6px 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.admin-heading p {
    margin: 0;
    color: var(--muted);
}

.admin-metric-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.admin-action-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.admin-stacked-panels {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.admin-tabs {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.admin-tab-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.admin-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.admin-tab-list label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--muted);
    cursor: pointer;
    font-size: .9rem;
    font-weight: 900;
}

.admin-tab-list label:hover,
.admin-tab-list label:focus-visible {
    border-color: #bfd2ea;
    color: var(--blue-900);
}

.admin-tab-list span {
    display: inline-flex;
    min-width: 24px;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--blue-900);
    font-size: .76rem;
}

.admin-tab-panels {
    min-width: 0;
}

.admin-tab-panel {
    display: none;
}

.admin-tab-panel .backend-card {
    margin: 0;
}

.admin-tab-input:nth-of-type(1):checked ~ .admin-tab-list label:nth-of-type(1),
.admin-tab-input:nth-of-type(2):checked ~ .admin-tab-list label:nth-of-type(2),
.admin-tab-input:nth-of-type(3):checked ~ .admin-tab-list label:nth-of-type(3),
.admin-tab-input:nth-of-type(4):checked ~ .admin-tab-list label:nth-of-type(4),
.admin-tab-input:nth-of-type(5):checked ~ .admin-tab-list label:nth-of-type(5),
.admin-tab-input:nth-of-type(6):checked ~ .admin-tab-list label:nth-of-type(6),
.admin-tab-input:nth-of-type(7):checked ~ .admin-tab-list label:nth-of-type(7),
.admin-tab-input:nth-of-type(8):checked ~ .admin-tab-list label:nth-of-type(8) {
    border-color: var(--blue-500);
    background: var(--soft-blue);
    color: var(--blue-900);
}

.admin-tab-input:nth-of-type(1):checked ~ .admin-tab-panels .admin-tab-panel:nth-of-type(1),
.admin-tab-input:nth-of-type(2):checked ~ .admin-tab-panels .admin-tab-panel:nth-of-type(2),
.admin-tab-input:nth-of-type(3):checked ~ .admin-tab-panels .admin-tab-panel:nth-of-type(3),
.admin-tab-input:nth-of-type(4):checked ~ .admin-tab-panels .admin-tab-panel:nth-of-type(4),
.admin-tab-input:nth-of-type(5):checked ~ .admin-tab-panels .admin-tab-panel:nth-of-type(5),
.admin-tab-input:nth-of-type(6):checked ~ .admin-tab-panels .admin-tab-panel:nth-of-type(6),
.admin-tab-input:nth-of-type(7):checked ~ .admin-tab-panels .admin-tab-panel:nth-of-type(7),
.admin-tab-input:nth-of-type(8):checked ~ .admin-tab-panels .admin-tab-panel:nth-of-type(8) {
    display: block;
}

.admin-filter-bar,
.admin-inline-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) auto;
    gap: 12px;
    align-items: end;
}

.admin-filter-bar label,
.admin-inline-form label,
.admin-form-grid label:not(.checkbox-field):not(.checkbox-line) {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 800;
}

.admin-filter-bar input,
.admin-filter-bar select,
.admin-inline-form input,
.admin-form-grid input:not([type="checkbox"]):not([type="radio"]),
.admin-form-grid select,
.admin-form-grid textarea,
.admin-note-form textarea {
    width: 100%;
    border: 1px solid #cfd9e6;
    border-radius: 6px;
    padding: 11px 12px;
    font: inherit;
    color: var(--ink);
    background: #ffffff;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-form-grid .field-full,
.admin-inline-form .field-full {
    grid-column: 1 / -1;
}

.billing-policy-form small {
    color: var(--muted);
    font-weight: 500;
    line-height: 1.45;
}

.subscriber-managed-arrangement {
    display: grid;
    gap: 10px;
}

.subscriber-managed-arrangement p {
    margin: 0;
}

.subscriber-managed-arrangement .button {
    justify-self: start;
}

.table-scroll {
    max-width: 100%;
    overflow: auto;
}

.admin-page .table-scroll {
    max-height: min(620px, 62vh);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.admin-table {
    margin: 0;
    min-width: 760px;
}

.admin-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f3f7fb;
    color: var(--muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.table-subtext {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .82rem;
    overflow-wrap: anywhere;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.table-actions form,
.button-row form {
    margin: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #edf4ff;
    color: var(--blue-900);
    font-size: .78rem;
    font-weight: 900;
    white-space: nowrap;
}

.status-active,
.status-trialing,
.status-available,
.status-completed,
.status-processed,
.status-archived-removed {
    background: #e9f8ef;
    color: #17643a;
}

.status-failed,
.status-deployment-failed,
.status-archive-failed,
.status-past-due,
.status-abuse-or-policy {
    background: #fff1f1;
    color: #9d1f24;
}

.status-archive-pending,
.status-pending_review,
.status-queued,
.status-generated,
.status-processing {
    background: #fff7dc;
    color: #755500;
}

.status-retired {
    background: #eef1f4;
    color: #56616d;
}

.muted {
    color: var(--muted);
}

.admin-note-form {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.admin-note {
    border-top: 1px solid var(--line);
    padding: 12px 0;
}

.admin-note strong,
.admin-note span {
    display: block;
}

.admin-note span {
    color: var(--muted);
    font-size: .85rem;
}

.admin-note p {
    margin: 6px 0 0;
}

@media (max-width: 920px) {
    .menu-button {
        display: grid;
    }

    .site-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 18px;
        display: none;
        width: min(280px, calc(100vw - 36px));
        flex-direction: column;
        align-items: stretch;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

    .site-menu.is-open {
        display: flex;
    }

    .site-menu.static-menu {
        position: static;
        display: flex;
        width: auto;
        flex-direction: row;
        align-items: center;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .feature-band,
    .feature-band-reverse,
    .video-band,
    .hosting-band,
    .partner-hero,
    .partner-band,
    .partner-brand-showcase,
    .partner-verticals-band,
    .two-factor-grid,
    .backend-grid,
    .gallery-heading,
    .pricing-heading {
        grid-template-columns: 1fr;
    }

    .feature-band-reverse .feature-copy {
        order: 0;
    }

    .admin-shell {
        grid-template-columns: 1fr;
        width: min(100% - 24px, 720px);
    }

    .admin-sidebar {
        position: static;
        display: flex;
        overflow-x: auto;
    }

    .admin-sidebar a {
        white-space: nowrap;
    }

    .admin-metric-grid,
    .admin-action-grid,
    .admin-two-column,
    .admin-form-grid,
    .admin-filter-bar,
    .admin-inline-form {
        grid-template-columns: 1fr;
    }

    .detail-grid,
    .pricing-grid,
    .signup-plan-grid,
    .confirmation-grid,
    .backend-detail-grid,
    .backend-action-grid,
    .partner-commercial-grid,
    .product-gallery,
    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dns-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-pill-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .final-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer,
    .footer-details,
    .dns-guidance-layout {
        grid-template-columns: 1fr;
    }

    .instance-card,
    .account-summary-strip {
        grid-template-columns: 1fr;
    }

    .subscriber-plan-options {
        grid-template-columns: 1fr;
    }

    .subscriber-update-status {
        align-items: flex-start;
        flex-direction: column;
    }

    .partner-hero {
        min-height: auto;
        padding-top: 320px;
        background-position: center, right top;
        background-size: cover, 780px auto;
    }

    .partner-hero-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .topbar {
        min-height: 64px;
    }

    .hero {
        min-height: 72vh;
        background-image:
            linear-gradient(90deg, rgba(5, 16, 32, 0.94) 0%, rgba(5, 16, 32, 0.86) 52%, rgba(5, 16, 32, 0.66) 100%),
            url("../images/product/hero-product-suite-v2.webp");
        background-position: center, 72% center;
        background-size: cover, 900px auto;
    }

    .field-grid,
    .email-code-actions,
    .email-code-check,
    .detail-grid,
    .pricing-grid,
    .signup-plan-grid,
    .confirmation-grid,
    .instance-card,
    .backend-detail-grid,
    .backend-action-grid,
        .backend-status-strip,
        .dns-grid,
        .dns-setup-options,
        .subscriber-dns-records,
        .product-gallery,
        .partner-commercial-grid,
        .metric-grid,
        .feature-pill-list,
        .wizard-progress {
        grid-template-columns: 1fr;
    }

    .contact-support-callout {
        grid-template-columns: 1fr;
    }

    .contact-support-media {
        max-height: 220px;
    }

    .gallery-card:first-child {
        grid-column: auto;
    }

    .price-row {
        grid-template-columns: 1fr;
    }

    .wizard-progress span {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .wizard-actions {
        flex-direction: column-reverse;
    }

    .wizard-actions .button {
        width: 100%;
    }

    .billing-toggle,
    .domain-input,
    .phone-input {
        grid-template-columns: 1fr;
    }

    .compact-confirm dl div {
        grid-template-columns: 1fr;
    }

    .domain-input span {
        padding: 0 12px 12px;
    }

    .phone-input select {
        border-right: 0;
        border-bottom: 1px solid #cbd5df;
    }

    .partner-hero {
        padding: 260px 20px 28px;
        background-image:
            linear-gradient(180deg, rgba(247, 250, 255, 0.12) 0%, rgba(247, 250, 255, 0.68) 40%, rgba(247, 250, 255, 0.99) 66%),
            url("../images/resellers/reseller-hero-v2.webp");
        background-position: center top, right top;
        background-size: cover, 720px auto;
    }

    .partner-hero-points {
        grid-template-columns: 1fr;
    }

    .partner-brand-grid {
        grid-template-columns: 1fr;
    }

    .status-table,
    .status-table tbody,
    .status-table tr,
    .status-table th,
    .status-table td {
        display: block;
        width: 100%;
    }

    .auth-form .button {
        width: 100%;
    }
}

/* Trial activation and reseller self-service */
.trial-offer-note {
    margin: 6px 0 0;
    color: var(--blue-900);
    font-weight: 800;
}

.inline-trial-note {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.82rem;
}

.trial-activation-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid #b8d8f5;
    border-left: 4px solid var(--blue-700);
    border-radius: 6px;
    background: var(--soft-blue);
}

.trial-activation-summary.is-due {
    border-color: #e3b449;
    border-left-color: #b77700;
    background: #fff9ea;
}

.trial-activation-summary p,
.reseller-branding-removal-form p {
    margin: 4px 0 0;
}

.branding-preview img {
    display: block;
    width: auto;
    max-width: min(180px, 100%);
    max-height: 64px;
    object-fit: contain;
}

.reseller-branding-removal-form {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.reseller-branding-removal-form .button {
    width: fit-content;
}

.reseller-workspace {
    max-width: 1440px;
}

.reseller-selector {
    max-width: 520px;
    margin-bottom: 18px;
}

.reseller-selector label,
.reseller-branding-editor,
.reseller-branding-editor label {
    display: grid;
    gap: 7px;
}

.reseller-selector label > span,
.reseller-branding-editor label > span {
    font-weight: 800;
}

.reseller-workspace-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 20px;
    align-items: start;
}

.reseller-support-editor {
    margin-bottom: 20px;
}

.reseller-support-summary {
    display: grid;
    gap: 14px;
    margin: 18px 0 22px;
    padding: 18px 0 22px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.reseller-support-summary h4 {
    margin: 0;
    color: var(--ink);
    font-size: 1rem;
}

.reseller-support-summary .reseller-branding-form {
    display: grid;
    gap: 10px;
}

.reseller-branding-editor {
    gap: 16px;
}

.reseller-logo-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--soft);
}

.reseller-logo-preview img {
    width: 150px;
    height: 70px;
    object-fit: contain;
    background: #ffffff;
}

.reseller-branding-records {
    display: grid;
    gap: 10px;
}

.reseller-branding-record {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.reseller-branding-record:last-child {
    border-bottom: 0;
}

.reseller-branding-record h3,
.reseller-branding-record p {
    margin: 4px 0;
}

.reseller-branding-record-logo {
    display: grid;
    place-items: center;
    width: 110px;
    height: 70px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    color: var(--muted);
    font-size: 0.8rem;
}

.reseller-branding-record-logo img {
    max-width: 96px;
    max-height: 56px;
    object-fit: contain;
}

.reseller-branding-record-actions {
    display: grid;
    justify-items: end;
    gap: 8px;
}

@media (max-width: 900px) {
    .trial-activation-summary,
    .reseller-logo-preview {
        align-items: flex-start;
        flex-direction: column;
    }

    .reseller-workspace-grid {
        grid-template-columns: 1fr;
    }

    .reseller-branding-record {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .reseller-branding-record-actions {
        grid-column: 1 / -1;
        justify-items: start;
    }
}

.form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.human-verification {
    display: grid;
    gap: 6px;
    width: min(100%, 360px);
    margin-top: 18px;
}

.human-verification-label {
    color: var(--ink);
    font-size: 0.82rem;
    line-height: 1.25;
}

.human-verification altcha-widget {
    --altcha-color-primary: #1266cc;
    --altcha-color-success: #147a52;
    --altcha-border-color: #b9c7d8;
    --altcha-border-radius: 6px;
    --altcha-max-width: 360px;
    width: 100%;
}

.human-verification > small {
    color: var(--muted);
    line-height: 1.45;
}

.email-code-panel .human-verification {
    margin: 0 0 12px;
}

.signup-wizard .wizard-step:last-of-type > .human-verification {
    margin-top: 24px;
}
