* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    color: #302923;
    background: #ead7b5;
}

.page {
    min-height: 100vh;
    padding: 28px 18px 46px;
    background:
        repeating-linear-gradient(90deg, rgba(160,120,80,.07) 0, rgba(160,120,80,.07) 1px, transparent 1px, transparent 5px),
        linear-gradient(to bottom, #fcebd1, #dec9a2);
}

.card {
    position: relative;
    width: auto;
    max-width: 980px;
    margin: 0 auto;
    padding: 56px clamp(18px, 4vw, 42px) 42px;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0,0,0,.11);
}

.card > h1 {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(31px, 5vw, 46px);
    line-height: 1.08;
    color: #302822;
}

.card > .intro {
    max-width: 680px;
    margin: 14px auto 0;
    text-align: center;
    color: #665d56;
    font-size: 17px;
    line-height: 1.6;
}

.eyebrow {
    position: absolute;
    top: 30px;
    left: clamp(18px, 4vw, 42px);
    margin: 0;
    color: #8a6849;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.help-topbar {
    position: absolute;
    top: 22px;
    right: clamp(18px, 4vw, 42px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 34px;
}

.flow {
    max-width: 780px;
    margin: 20px auto 0;
    padding: 12px 16px;
    border: 1px solid #ddcfbc;
    border-radius: 12px;
    background: #fff9ef;
    color: #4b3e33;
    text-align: center;
    font-weight: 800;
    line-height: 1.45;
}

.editor-origin-note {
    margin: 16px auto 0;
    max-width: 700px;
    padding: 11px 14px;
    border: 1px solid #d7c3a8;
    border-radius: 10px;
    background: #fff4df;
    color: #58483a;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}

.editor-return-fallback {
    margin: 10px auto 0;
    max-width: 680px;
    color: #7a4d38;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

button.cta,
button.bottom-cta {
    cursor: pointer;
    font: inherit;
}

.cta,
.bottom-cta {
    display: flex;
    width: max-content;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    margin: 18px auto 0;
    padding: 10px 16px;
    border: 1px solid #9d7b56;
    border-radius: 9px;
    color: #fff;
    background: #49382c;
    font-weight: 800;
    text-decoration: none;
}

.steps {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.step {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr);
    gap: 14px;
    padding: 20px;
    border: 1px solid #e5ddd3;
    border-radius: 14px;
    background: #fffdfa;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: #554235;
    font-weight: 900;
    font-size: 18px;
}

.step h2 {
    margin: 2px 0 7px;
    font-size: 20px;
    color: #3a3029;
}

.step p {
    margin: 0;
    color: #625a54;
    line-height: 1.63;
}

.step-note,
.half-bar {
    margin-top: 12px !important;
    padding: 11px 13px;
    border-radius: 9px;
    background: #f7f0e6;
}

.half-bar strong {
    display: block;
    margin-bottom: 4px;
    color: #44372e;
}

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

.info-box {
    padding: 20px;
    border: 1px solid #dfd0bd;
    border-radius: 14px;
    background: #f5eee4;
}

.info-box h2 {
    margin: 0 0 7px;
    font-size: 18px;
}

.info-box p {
    margin: 0;
    color: #655b52;
    line-height: 1.6;
}

.details {
    margin-top: 34px;
}

.details-header {
    max-width: 760px;
    margin: 0 auto 18px;
    text-align: center;
}

.details-header h2 {
    margin: 0;
    font-size: clamp(25px, 4vw, 34px);
    color: #342b25;
}

.details-header p {
    margin: 9px 0 0;
    color: #6a6058;
    line-height: 1.6;
}

.guide-section {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid #e2d6c7;
    border-radius: 14px;
    background: #fffdfa;
    scroll-margin-top: 16px;
}

.guide-section h3 {
    margin: 0 0 8px;
    color: #3b3028;
    font-size: 21px;
}

.guide-section > p {
    margin: 0;
    color: #625950;
    line-height: 1.65;
}

.guide-tip {
    margin-top: 12px !important;
    padding: 10px 13px;
    border-radius: 9px;
    background: #f7f0e6;
    color: #50443b !important;
}

.guide-media {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.guide-figure { margin: 0; }

.guide-image-link {
    display: block;
    overflow: hidden;
    border: 1px solid #ddcdb8;
    border-radius: 11px;
    background: #f8f2e8;
    box-shadow: 0 4px 14px rgba(77,55,36,.08);
}

.guide-image {
    display: block;
    width: 100%;
    height: auto;
}

.guide-figure figcaption {
    margin-top: 7px;
    color: #766a60;
    font-size: 13px;
    line-height: 1.5;
}

.finish {
    margin-top: 28px;
    text-align: center;
}

@media (max-width: 680px) {
    .page {
        padding: 14px 10px 30px;
    }

    .card {
        padding: 70px 14px 30px;
        border-radius: 13px;
    }

    .eyebrow {
        top: 18px;
        left: 14px;
    }

    .help-topbar {
        top: 42px;
        right: 14px;
        left: 14px;
    }

    .step {
        grid-template-columns: 38px minmax(0,1fr);
        gap: 10px;
        padding: 16px 13px;
    }

    .step-number {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .step h2 {
        font-size: 18px;
    }

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

    .cta,
    .bottom-cta {
        width: 100%;
    }
}
