:root { color: #252234; background: #f6f5f3; font: 16px/1.55 system-ui, "Microsoft YaHei UI", sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.top, main { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 69px; border-bottom: 1px solid #e1dfe5; }
.top a { display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; font-weight: 750; }
#mode { color: #625d70; font-size: .85rem; }
main { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 6vw, 72px); align-items: start; padding-block: 55px; }
.offer { position: relative; overflow: hidden; isolation: isolate; min-height: 330px; padding: clamp(24px, 5vw, 55px); border-radius: 20px; background: #2b2446; color: #fff8ff; }
.offer h1 { margin: 0; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.15; }
.offer p { max-width: 31ch; color: #e8ddef; }
.price { font-size: 3.25rem; line-height: 1.05; margin-top: 27px; font-weight: 700; }
.price span { font-size: 1.55rem; }
.caption { margin-bottom: 0; font-size: .85rem; }
.mark { position: absolute; z-index: -1; bottom: -115px; right: -120px; width: 333px; aspect-ratio: 1; border: 1px solid #9b83cf; border-radius: 48% 52% 24% 76%; transform: rotate(-39deg); }
.mark::after { content: ""; position: absolute; inset: 14px; border: 1px solid #7963a6; border-radius: inherit; }
.account { padding-block: 9px; }
h2 { margin: 0 0 20px; font-size: 1.35rem; }
form, label { display: grid; gap: 7px; }
form { gap: 16px; }
input, textarea { width: 100%; padding: 8px 11px; color: inherit; border: 1px solid #8a8396; border-radius: 7px; background: #fffefd; font: inherit; }
textarea { resize: vertical; overflow-wrap: anywhere; font: .9rem/1.5 Consolas, monospace; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 9px; }
button { padding: 7px 13px; border: 1px solid #c0b9cd; border-radius: 7px; background: #fffefd; color: inherit; cursor: pointer; font: inherit; }
.primary { background: #4b38a9; border-color: #4b38a9; color: #fff; font-weight: 650; }
button:hover { border-color: #4b38a9; }
:focus-visible { outline: 2px solid #4b38a9; outline-offset: 3px; }
#payment-link a { color: #342482; }
#orders { margin-top: 18px; }
#feedback:not(:empty) { color: #8a3044; }
@media (max-width: 705px) { main { grid-template-columns: 1fr; padding-block: 26px; } }
