* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #fff;
    font-family: Inter, Arial, sans-serif;
}

.icon-library {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.landing {
    /* Frame 8 is designed at 375 × 813. */
    --unit: calc(min(100vw, 540px) / 375);
    position: relative;
    width: min(100%, 540px);
    margin-inline: auto;
    padding-bottom: calc(20 * var(--unit));
    background: #cce6f9 url("img/background.png") center top / calc(625 * var(--unit)) auto no-repeat;
    color: #152534;
}

@supports (width: 1cqw) {
    body {
        container-type: inline-size;
    }

    .landing {
        --unit: calc(min(100cqw, 540px) / 375);
    }
}

.hero {
    position: relative;
    height: calc(120 * var(--unit));
}

.art {
    position: absolute;
    overflow: hidden;
    margin: 0;
}

.art img {
    position: absolute;
    display: block;
    max-width: none;
}

.logo {
    left: calc(159 * var(--unit));
    top: calc(19 * var(--unit));
    width: calc(56 * var(--unit));
    height: calc(56 * var(--unit));
    z-index: 1;
}

.logo img {
    left: -8.48%;
    top: -8.74%;
    width: 119.3%;
    height: 116.33%;
}

.headline {
    position: absolute;
    inset-inline: 0;
    top: calc(80 * var(--unit));
    margin: 0;
    color: #064289;
    text-align: center;
    font: italic 900 calc(23 * var(--unit)) / 1.3 "Arial Black", Inter, Arial, sans-serif;
    letter-spacing: calc(0.35 * var(--unit));
    word-spacing: calc(2 * var(--unit));
    white-space: nowrap;
    transform: scaleX(0.9);
}

@supports (background-clip: text) {
    .headline {
        background: linear-gradient(#1c73c5 18%, #064388 50%, #082147 84%);
        background-clip: text;
        color: transparent;
    }
}

.support-link {
    left: calc(100% - 67 * var(--unit));
    top: calc(388 * var(--unit));
    width: calc(47 * var(--unit));
    height: calc(37 * var(--unit));
    z-index: 1;
    touch-action: none;
    user-select: none;
}

.support-link img {
    left: -47.04%;
    top: -25.65%;
    width: 193.91%;
    height: 164.66%;
}

.link-panel {
    margin-inline: calc(16 * var(--unit));
    padding: calc(16 * var(--unit));
    background: #eff8fc;
    border-radius: calc(20 * var(--unit));
}

.link-panel + .link-panel {
    margin-top: calc(16 * var(--unit));
}

.panel-heading,
.entry {
    display: flex;
    align-items: center;
    gap: calc(12 * var(--unit));
}

.panel-heading {
    min-height: calc(40 * var(--unit));
    margin-bottom: calc(16 * var(--unit));
}

.web-panel .panel-heading {
    min-height: calc(59 * var(--unit));
}

.panel-heading h2,
.entry h3 {
    margin: 0;
    font-weight: 700;
    font-size: calc(16 * var(--unit));
    line-height: calc(20 * var(--unit));
}

.panel-heading p,
.entry p {
    margin: calc(2 * var(--unit)) 0 0;
    color: #5c798d;
    font-size: calc(13 * var(--unit));
    line-height: calc(19 * var(--unit));
}

.panel-heading p {
    margin-top: var(--unit);
}

.heading-label,
.entry-label {
    flex: 1;
    min-width: 0;
}

.heading-icon,
.entry-icon {
    display: grid;
    flex: none;
    place-items: center;
    border: 1px solid #c8dde9;
    border-radius: calc(13 * var(--unit));
}

.heading-icon {
    width: calc(40 * var(--unit));
    height: calc(40 * var(--unit));
    color: #050b10;
    background: #fbfdff;
}

.entry-icon {
    width: calc(36 * var(--unit));
    height: calc(36 * var(--unit));
    font-size: calc(13 * var(--unit));
    font-weight: 700;
}

.heading-icon svg,
.entry-icon svg,
.entry-action svg {
    display: block;
    width: calc(20 * var(--unit));
    height: calc(20 * var(--unit));
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.panel-badge {
    flex: none;
    padding: 0 calc(13 * var(--unit));
    border: 1px solid #287dbb;
    border-radius: calc(14 * var(--unit));
    color: #1268b9;
    font-size: calc(13 * var(--unit));
    font-weight: 700;
    line-height: calc(31 * var(--unit));
    white-space: nowrap;
}

.entries {
    list-style: none;
    padding: 0;
    margin: 0;
}

.entry {
    min-height: calc(66 * var(--unit));
}

.entry + .entry {
    border-top: 1px solid #ccdfe9;
}

.entry-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(4 * var(--unit));
    flex: none;
    font-size: calc(13 * var(--unit));
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.entry-action svg {
    width: calc(15 * var(--unit));
    height: calc(15 * var(--unit));
}

.web-action {
    width: calc(84 * var(--unit));
    min-height: calc(35 * var(--unit));
    border-radius: calc(9 * var(--unit));
    color: #fff;
    background: linear-gradient(110deg, #009ce9, #0648e0);
}

.download-action {
    width: calc(115 * var(--unit));
    min-height: calc(37 * var(--unit));
    border: 1px solid #c8d7e1;
    border-radius: calc(15 * var(--unit));
    color: #152534;
    background: #fbfdff;
}

.entry-action,
.support-link {
    cursor: pointer;
}

.support-link.is-dragging {
    cursor: grabbing;
}

.entry-action:focus-visible,
.support-link:focus-visible {
    outline: 2px solid #082057;
    outline-offset: 2px;
}

.link-status {
    margin: calc(12 * var(--unit)) calc(16 * var(--unit)) 0;
    text-align: center;
    font-size: 13px;
}

.link-status:empty {
    display: none;
}

