.publish-app {
    padding-top: 58px;
}

.publish-home-link {
    color: #60717c;
    font-size: 12px;
    text-decoration: none;
}

.publish-home-link:hover {
    color: #1769aa;
}

.publish-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 260px;
    margin: 4px 0 22px;
    padding: 32px 38px;
    overflow: hidden;
    border: 1px solid #dfeaf0;
    border-radius: 16px;
    background:
        radial-gradient(ellipse at 86% 20%, rgba(99, 186, 183, .2), transparent 34%),
        linear-gradient(120deg, #f8fbfc, #eaf4f8);
}

.publish-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.publish-hero-art {
    position: relative;
    flex: 0 0 260px;
    height: 200px;
}

.publish-hero-file {
    position: absolute;
    top: 16px;
    right: 38px;
    display: grid;
    gap: 11px;
    width: 112px;
    height: 140px;
    padding: 20px 17px;
    border: 1px solid #d8e6eb;
    border-radius: 11px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 15px 34px rgba(32, 61, 83, .14);
    transform: rotate(7deg);
}

.publish-hero-file span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 22px;
    margin-bottom: 3px;
    border-radius: 5px;
    background: #e6f3f5;
    color: #347b82;
    font: 800 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.publish-hero-file i {
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #dce8ed;
}

.publish-hero-file i:last-child {
    width: 66%;
}

.publish-hero-upload {
    position: absolute;
    right: 115px;
    bottom: 14px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 5px solid #f3f8f9;
    border-radius: 20px;
    background: linear-gradient(145deg, #2784b4, #1769aa);
    color: #fff;
    box-shadow: 0 10px 24px rgba(23, 105, 170, .24);
    transform: rotate(-8deg);
}

.publish-hero-upload svg {
    display: block;
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.publish-hero-spark {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #52b18e;
    box-shadow: 0 0 0 5px rgba(82, 177, 142, .12);
}

.publish-hero-spark-one {
    top: 20px;
    right: 2px;
}

.publish-hero-spark-two {
    right: 34px;
    bottom: 38px;
    width: 5px;
    height: 5px;
    background: #64a7c7;
    box-shadow: 0 0 0 4px rgba(100, 167, 199, .13);
}

.publish-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #36856f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
}

.publish-kicker span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #49a688;
    box-shadow: 0 0 0 4px rgba(73, 166, 136, .12);
}

.publish-hero h1 {
    margin: 0;
    color: #22323d;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -.05em;
    line-height: 1.25;
}

.publish-hero-copy > p:last-child {
    max-width: 580px;
    margin: 15px 0 0;
    color: #6b7a84;
    font-size: 14px;
    line-height: 1.8;
}

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

.publish-step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    align-content: start;
    column-gap: 14px;
    min-width: 0;
    min-height: 158px;
    padding: 20px;
    border: 1px solid #e1e8ec;
    border-radius: 10px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 5px 16px rgba(32, 61, 83, .025);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.publish-step:hover {
    border-color: #c5dbe5;
    box-shadow: 0 10px 24px rgba(32, 61, 83, .08);
    transform: translateY(-2px);
}

.publish-step-icon {
    display: grid;
    place-items: center;
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 44px;
    height: 44px;
    border: 1px solid #dce9ef;
    border-radius: 12px;
    background: #eaf3f8;
    color: #1769aa;
}

.publish-step-icon .editor-icon,
.publish-security-note .editor-icon {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.publish-step-number {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    color: #39856e;
    font: 800 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .1em;
}

.publish-step h2 {
    grid-column: 2;
    grid-row: 2;
    margin: 7px 0 6px;
    color: #30414b;
    font-size: 16px;
}

.publish-step p {
    grid-column: 2;
    grid-row: 3;
    margin: 0;
    color: #70808a;
    font-size: 13px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.publish-step code {
    padding: 2px 4px;
    border-radius: 3px;
    background: #f0f3f5;
    color: #425764;
    font: 11px ui-monospace, SFMono-Regular, Consolas, monospace;
}

.publish-security-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 18px;
    padding: 19px 21px;
    border: 1px solid #e6e5d7;
    border-radius: 9px;
    background: #fbfaf3;
    color: #7e7952;
}

.publish-security-note > .editor-icon {
    flex: 0 0 20px;
    margin-top: 2px;
    color: #8c8050;
}

.publish-security-note h2 {
    margin: 0;
    color: #645e3e;
    font-size: 13px;
}

.publish-security-note p {
    margin: 6px 0 0;
    color: #78745e;
    font-size: 12px;
    line-height: 1.7;
}

.publish-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 23px;
}

.publish-primary-link {
    display: inline-flex;
    align-items: center;
    min-height: 39px;
    padding: 0 15px;
    border-radius: 6px;
    background: #1769aa;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.publish-primary-link:hover {
    background: #125d91;
}

.publish-app + .editor-footer {
    margin-top: 0;
}

@media (max-width: 600px) {
    .publish-app {
        padding-top: 30px;
    }

    .publish-hero {
        min-height: 0;
        margin-top: 0;
        padding: 27px 19px;
    }

    .publish-hero-art {
        display: none;
    }

    .publish-steps {
        grid-template-columns: 1fr;
    }

    .publish-step {
        min-height: 0;
        padding: 16px;
    }

    .publish-security-note {
        padding: 14px;
    }
}
