*{box-sizing:border-box}
body{margin:0;background:#faf8f8;color:#263445;font:15px/1.6 Inter,Arial,Helvetica,sans-serif;font-synthesis:none}
main{display:grid;place-items:start center;min-height:calc(100vh - 70px);max-width:none;margin:0;padding:clamp(30px,8vh,82px) 18px 64px}
.history-gate{width:min(100%,680px);margin:0;padding:clamp(24px,5vw,46px);border:1px solid #e9dfe2;border-radius:18px;background:#fff;box-shadow:0 16px 42px #30202712;text-align:center}
.history-gate h1{margin:0 0 9px;color:#302027;font-size:clamp(26px,4vw,34px);font-weight:750;letter-spacing:-.45px;line-height:1.2}
.history-gate>p{max-width:540px;margin:0 auto 15px;color:#58677a;font-size:14px;line-height:1.7}
.history-gate h2{margin:22px 0 9px;color:#302027;font-size:20px;letter-spacing:-.2px;line-height:1.3}
.history-preview{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0;padding:13px;border:1px solid #eee6e8;border-radius:12px;background:#fcf9fa;filter:blur(2px);opacity:.55;pointer-events:none}
.history-photo{height:134px;border-radius:9px;background:linear-gradient(135deg,#eee6e8,#d8cbd0)}
.history-lines{padding:12px 4px 0}
.history-lines span{display:block;height:16px;margin:0 0 15px;border-radius:6px;background:#ddd3d7}
.history-lines span:last-child{width:60%}
.history-button{display:inline-flex;align-items:center;justify-content:center;min-width:140px;min-height:46px;margin:4px 5px;padding:10px 19px;border:1px solid #a81031;border-radius:7px;background:#a81031;color:#fff;font-size:14px;font-weight:750;text-decoration:none;transition:background .15s,border-color .15s,box-shadow .15s}
.history-button:hover,.history-button:focus-visible{border-color:#84112b;background:#84112b;color:#fff;text-decoration:none;box-shadow:0 3px 10px #a8103128}
.history-gate .history-secondary{border-color:#d9cbd0;background:#fff;color:#302027}
.history-gate .history-secondary:hover,.history-gate .history-secondary:focus-visible{border-color:#a81031;background:#fff5f6;color:#8f102c}
.history-gate a:not(.history-button){color:#9e1732;font-weight:650;text-decoration:none;text-underline-offset:3px}
.history-gate a:not(.history-button):hover,.history-gate a:not(.history-button):focus-visible{color:#781128;text-decoration:underline}
.history-gate p:last-child{margin:22px auto 0;padding-top:15px;border-top:1px solid #eee8ea;color:#778294;font-size:12px}
a:focus-visible{outline:3px solid #b31f3d;outline-offset:3px}
@media(max-width:520px){main{min-height:calc(100vh - 62px);padding:25px 12px 40px}.history-gate{padding:23px 17px;border-radius:14px}.history-preview{grid-template-columns:1fr;margin:18px 0;padding:9px}.history-photo{height:110px}.history-lines{display:none}.history-gate h2{font-size:18px}.history-gate>p{font-size:13px}.history-button{width:100%;margin:4px 0}}
