@font-face {
    font-family: "Hosting Manrope";
    src: url("/assets/fonts/manrope/Manrope.ttf") format("truetype");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

/* Hosting cards; no styles leak into the rest of the page. */
.hosting-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 32px;
}
.hosting-cards .hosting-card { max-width: none; }
.hosting-card {
    --hosting-ink: #101821;
    --hosting-muted: #6b7079;
    --hosting-accent: #ff681e;
    --hosting-accent-light: #fff0e7;
    --hosting-panel: #f7f8fa;

    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 560px;
    padding: 28px;
    overflow: visible;
    color: var(--hosting-ink);
    background:
        radial-gradient(circle 280px at 100% 24px, #ffd0b5, #fff1e7 65%, transparent 72%),
        linear-gradient(155deg, #fff 0%, #fff 66%, #fffaf7 100%);
    font-family: "Hosting Manrope", Arial, sans-serif;
    line-height: 1.35;
}

.hosting-card, .hosting-card * { box-sizing: border-box; }
.hosting-card__section { position: relative; }
.hosting-card__heading { min-height: 145px; }
.hosting-card__heading-content { position: relative; z-index: 1; max-width: 310px; }
.hosting-card__illustration {
    position: absolute;
    z-index: 0;
    top: -48px;
    right: -52px;
    width: 260px;
    aspect-ratio: 1686 / 1443;
    pointer-events: none;
    user-select: none;
}
.hosting-card__cloud,
.hosting-card__platform,
.hosting-card__product {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.hosting-card__cloud { transform: translateY(-6%); }
.hosting-card__platform { z-index: 1; transform: translate(0%, 27%) scale(.85); }
.hosting-card__product { z-index: 2; transform: translateY(-2%) scale(.85); }
.hosting-card__badge {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    color: #df5d20;
    background: #fff0e9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.hosting-card .hosting-card__title {
    margin: 10px 0 10px;
    color: var(--hosting-ink);
    font-family: inherit;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.04em;
}
.hosting-card__subtitle {
    margin: 0;
    white-space: pre-line;
    max-width: 230px;
    color: var(--hosting-muted);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
}

.hosting-card__benefits {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 4px 0 20px;
}
.hosting-card__benefit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px;
    border-radius: 999px;
    background: var(--hosting-panel);
    color: #313740;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.hosting-card__benefit-check,
.hosting-card__feature-check {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    color: #fff;
    background: var(--hosting-accent);
    font-size: 11px;
    font-weight: 800;
}
.hosting-card__periods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
    gap: 3px;
    margin-bottom: 13px;
    padding: 3px;
    border-radius: 26px;
    background: #f3f4f6;
}
.hosting-card__period {
    display: flex;
    min-height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
    padding: 4px 3px;
    border: 0;
    border-radius: 999px;
    color: var(--hosting-ink);
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background .16s ease, box-shadow .16s ease;
}
.hosting-card__period.is-active {
    color: #fff;
    background: linear-gradient(115deg, #ff915a, #ff5d17);
    box-shadow: 0 3px 8px rgba(255, 111, 41, .16);
}
.hosting-card__period:focus-visible,
.hosting-card__action:focus-visible {
    outline: 3px solid #ffad82;
    outline-offset: 2px;
}

.hosting-card__pricing {
    display: flex;
    min-width: 0;
    justify-content: space-between;
    align-items: center;
    gap: 9px;
    margin: 0 0 8px;
}
.hosting-card__price-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.hosting-card__price-line {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0 5px;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.05em;
}
.hosting-card__currency {
    font-size: .55em;
    font-weight: 600;
    letter-spacing: normal;
    white-space: nowrap;
}
.hosting-card__saving {
    display: flex;
    flex: 0 0 50%;
    min-height: 52px;
    align-items: center;
    gap: 7px;
    padding: 7px 8px;
    border-radius: 22px;
    color: #ee671f;
    background: var(--hosting-accent-light);
    box-shadow: 0 0 14px rgba(238, 103, 31, .12);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}
.hosting-card__saving[hidden] { display: none; }
.hosting-card__total {
    display: block;
    min-height: 1.3em;
    margin-top: 5px;
    white-space: nowrap;
    color: var(--hosting-muted);
    font-size: 11px;
    line-height: 1.3;
}
.hosting-card__saving-icon {
    display: grid;
    flex: 0 0 21px;
    place-items: center;
}
.hosting-card__svg { display: block; width: 21px; height: 21px; }

.hosting-card__features {
    padding: 7px 12px;
    border-radius: 20px;
    background: var(--hosting-panel);
}
.hosting-card .hosting-card__feature-list { margin: 0; padding: 0; list-style: none; }
.hosting-card .hosting-card__feature {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) minmax(0, 40%);
    align-items: center;
    gap: 9px;
    min-height: 43px;
    padding: 3px 0;
    border-bottom: 1px solid #eceef1;
}
.hosting-card__feature:last-child { border-bottom: 0; }
.hosting-card__feature-icon {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 9px;
    color: var(--hosting-accent);
    background: #ffe9dc;
}
.hosting-card__feature-icon .hosting-card__svg { width: 19px; height: 19px; }
.hosting-card__feature-label, .hosting-card__feature-value {
    color: var(--hosting-ink);
    font-size: 13px;
    line-height: 1.3;
}
.hosting-card__feature-value { text-align: right; }
/* An explanation that does not fit wraps below the single visible line. */
.hosting-card__unlimited {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    column-gap: 4px;
    max-height: 1.3em;
    overflow: hidden;
}
.hosting-card__unlimited > span { flex: none; white-space: nowrap; }
.hosting-card__unlimited-note:empty { display: none; }
.hosting-card__feature-check { width: 19px; height: 19px; margin-left: auto; }

.hosting-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 20px;
}
.hosting-card__action {
    display: inline-flex;
    flex: 1 1 130px;
    min-height: 51px;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.hosting-card__action--primary {
    border: 1px solid #ff732f;
    color: #fff;
    background: linear-gradient(105deg, #ff9463, #ff681b);
}
.hosting-card__action--secondary {
    border: 1px solid #ffb98e;
    color: #e65b17;
    background: #fff4ec;
}
.hosting-card__action .hosting-card__svg { width: 19px; height: 19px; }
.hosting-card__action:hover { filter: brightness(.98); }

@media (min-width: 1200px) {
    .hosting-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 767px) {
    .hosting-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .hosting-card__illustration { right: -38px; }
}

@media (min-width: 1200px), (min-width: 768px) and (max-width: 1100px), (max-width: 480px) {
    .hosting-card { padding: 22px 16px; }
    .hosting-card .hosting-card__title { font-size: 25px; }
    .hosting-card__heading { min-height: 128px; }
    .hosting-card__subtitle { max-width: 165px; font-size: 13.5px; }
    .hosting-card__illustration { width: 190px; top: -32px; right: -38px; }
    .hosting-card__benefits { gap: 3px; }
    .hosting-card__benefit { gap: 3px; padding: 4px 3px; font-size: 10.5px; }
    .hosting-card__benefit-check { width: 13px; height: 13px; font-size: 10px; }
    .hosting-card__periods { grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); }
    .hosting-card__period { font-size: 13px; }
    .hosting-card__pricing { gap: 8px; }
    .hosting-card__saving { min-height: 58px; gap: 6px; padding: 6px 8px; font-size: 11px; }
    .hosting-card__saving-icon { flex-basis: 18px; }
    .hosting-card__saving-icon .hosting-card__svg { width: 18px; height: 18px; }
    .hosting-card__price-line { font-size: 28px; }
    .hosting-card__feature-label, .hosting-card__feature-value { font-size: 12px; font-weight: 500; }
    .hosting-card .hosting-card__feature { grid-template-columns: 26px minmax(0, 1fr) minmax(0, 40%); gap: 6px; }
    .hosting-card__feature-icon { width: 26px; height: 26px; }
    .hosting-card__action { font-size: 14px; }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .hosting-card .hosting-card__title { font-size: 24px; }
    .hosting-card__illustration { width: 140px; top: -32px; right: -40px; }
    .hosting-card__price-line { font-size: 22px; gap: 0 3px; }
    .hosting-card__total { font-size: 10px; }
    .hosting-card__saving { min-height: 64px; font-size: 10px; }
}

@media (min-width: 1101px) and (max-width: 1199px), (min-width: 481px) and (max-width: 600px) {
    .hosting-card__price-line { font-size: 34px; }
}

@media (max-width: 360px) {
    .hosting-card__price-line { font-size: 24px; gap: 0 3px; }
    .hosting-card__total { font-size: 10px; }
    .hosting-card__saving { min-height: 64px; font-size: 10px; }
}

@media (max-width: 480px) {
    .hosting-card__illustration { right: -26px; }
}
