.content-page {
    width: min(100% - 40px, 980px);
    margin: 0 auto;
    padding: 64px 0 80px;
}

.page-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 30px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.page-intro h1 {
    max-width: 680px;
    font-size: 42px;
    line-height: 1.08;
}

.page-intro p:not(.eyebrow) {
    max-width: 620px;
    margin-top: 12px;
    color: var(--ink-soft);
    font-size: 14px;
}

.back-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.back-home:hover { background: #edf1ed; }

.article-stack {
    margin-top: 10px;
}

.article-section {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 30px;
    padding: 35px 0;
    border-bottom: 1px solid var(--line);
}

.article-section h2 {
    font-size: 17px;
    line-height: 1.25;
}

.section-number {
    display: block;
    margin-bottom: 8px;
    color: var(--coral);
    font-family: ui-monospace, monospace;
    font-size: 10px;
    font-weight: 850;
}

.article-copy {
    color: #465149;
    font-size: 13px;
}

.article-copy > p + p { margin-top: 12px; }
.article-copy ul { display: grid; gap: 10px; list-style: none; }
.article-copy li { position: relative; padding-left: 18px; }
.article-copy li::before { position: absolute; left: 0; color: var(--lime-dark); content: "●"; font-size: 8px; line-height: 2.2; }
.article-copy strong { color: var(--ink); }

.number-demo {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    max-width: 430px;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 5px;
}

.number-demo span {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    background: var(--surface);
    border-right: 1px solid var(--line);
    font-family: ui-monospace, monospace;
    font-size: 15px;
    font-weight: 900;
}

.number-demo span:last-child { border: 0; }
.number-demo span:nth-child(1) { color: #246ccc; }
.number-demo span:nth-child(2) { color: #21845b; }
.number-demo span:nth-child(3) { color: #d04b3f; }
.number-demo span:nth-child(4) { color: #634bb0; }
.number-demo span:nth-child(5) { color: #a54b25; }
.number-demo span:nth-child(6) { color: #147b83; }
.number-demo span:nth-child(7) { color: #222; }
.number-demo span:nth-child(8) { color: #6d756f; }

.difficulty-table {
    width: 100%;
    margin-top: 16px;
    border-collapse: collapse;
    font-size: 12px;
}

.difficulty-table th,
.difficulty-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.difficulty-table th { background: #e8ede8; color: var(--ink-soft); font-size: 9px; text-transform: uppercase; }

.tip-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.tip-list div {
    min-height: 92px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--yellow);
    border-radius: 5px;
}

.tip-list strong { display: block; margin-bottom: 4px; font-size: 12px; }
.tip-list p { color: var(--ink-soft); font-size: 10px; }

.release-list { margin-top: 25px; }

.release {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 28px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.release-meta strong { display: block; font-family: ui-monospace, monospace; font-size: 20px; }
.release-meta time { color: var(--ink-soft); font-size: 10px; }
.release-badge { display: inline-block; margin-bottom: 8px; padding: 3px 7px; background: var(--lime); border-radius: 3px; font-size: 8px; font-weight: 900; }
.release h2 { margin-bottom: 12px; font-size: 19px; }
.release ul { display: grid; gap: 8px; list-style: none; color: #465149; font-size: 12px; }
.release li { position: relative; padding-left: 17px; }
.release li::before { position: absolute; left: 0; color: var(--coral); content: "+"; font-weight: 900; }

.contact-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 34px;
    margin-top: 34px;
}

.contact-aside {
    padding-right: 28px;
    border-right: 1px solid var(--line);
}

.contact-aside h2,
.contact-form h2 { margin-bottom: 18px; font-size: 19px; }
.contact-aside > p { color: var(--ink-soft); font-size: 12px; }
.contact-method { padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-method small { display: block; margin-bottom: 4px; color: var(--ink-soft); font-size: 9px; font-weight: 750; }
.contact-method strong { font-size: 15px; }
.contact-note { margin-top: 18px; padding: 13px; background: #f1f5e6; border: 1px solid #d7e3b5; border-radius: 5px; color: #465149; font-size: 10px; }

.contact-form form { display: grid; gap: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-form label { display: grid; gap: 5px; color: var(--ink-soft); font-size: 9px; font-weight: 800; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 11px 12px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 5px;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 3px solid rgba(75, 139, 234, 0.25); border-color: #4b8bea; }
.contact-form .primary-action { width: 100%; }
.honeypot { position: absolute !important; left: -9999px !important; }
.honeypot[hidden] { display: none !important; }

.notice {
    margin-bottom: 16px;
    padding: 11px 13px;
    background: #eef7ed;
    border: 1px solid #b7d8b5;
    border-radius: 5px;
    color: #25633d;
    font-size: 11px;
}
.notice.error { background: #fff0ee; border-color: #e8b5af; color: #9f332b; }
.notice ul { padding-left: 16px; }

@media (max-width: 700px) {
    .content-page { width: min(100% - 28px, 980px); padding: 38px 0 58px; }
    .page-intro { grid-template-columns: 1fr; align-items: start; gap: 16px; }
    .page-intro h1 { font-size: 31px; }
    .back-home { justify-self: start; }
    .article-section { grid-template-columns: 1fr; gap: 15px; padding: 28px 0; }
    .tip-list { grid-template-columns: 1fr; }
    .release { grid-template-columns: 1fr; gap: 10px; }
    .contact-layout { grid-template-columns: 1fr; gap: 28px; }
    .contact-aside { padding: 0 0 26px; border-right: 0; border-bottom: 1px solid var(--line); }
    .form-row { grid-template-columns: 1fr; }
}
