:root { color-scheme: light; --ink: #152033; --muted: #728097; --line: #e5eaf1; --accent: #e52f52; --accent-dark: #bd1f3d; --soft: #fff1f4; --panel: #ffffff; --bg: #f5f7fb; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: radial-gradient(circle at 8% 0%, #fff 0, transparent 34%), var(--bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
.page-shell { display: flex; flex-direction: column; align-items: center; min-height: 100vh; padding: 52px 20px 30px; }
.calculator { width: min(100%, 920px); display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px 46px; padding: 46px 50px 34px; background: var(--panel); border: 1px solid #e9edf3; border-radius: 28px; box-shadow: 0 24px 70px rgba(28, 44, 70, .09); }
.intro { grid-column: 1 / -1; }
.eyebrow { margin: 0 0 19px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 620px; margin: 0; font-size: clamp(32px, 5vw, 54px); line-height: .98; letter-spacing: -.055em; }
.lead { margin: 17px 0 22px; color: var(--muted); font-size: 16px; }
.paper-note { display: inline-flex; align-items: center; gap: 11px; padding: 10px 14px; background: #f7f9fc; border-radius: 12px; font-size: 13px; }
.paper-note strong, .paper-note small { display: block; }.paper-note small { margin-top: 2px; color: var(--muted); font-size: 11px; }.paper-icon { color: var(--accent); font-size: 25px; line-height: 1; }
.calculator-form { min-width: 0; }.control-group { border: 0; margin: 0 0 27px; padding: 0; }.control-group legend { margin-bottom: 14px; font-size: 14px; font-weight: 750; }
.option-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }.choice { position: relative; cursor: pointer; }.choice input, .print-choice input { position: absolute; opacity: 0; }.choice span { display: grid; min-height: 47px; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 700; transition: border-color .2s, background .2s, color .2s, box-shadow .2s; }.choice input:checked + span { color: var(--accent-dark); background: var(--soft); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(229, 47, 82, .08); }.choice input:focus-visible + span, .print-choice input:focus-visible ~ .print-content { outline: 3px solid rgba(229, 47, 82, .25); outline-offset: 2px; }
.print-options { display: grid; gap: 8px; }.print-choice { display: flex; align-items: center; gap: 12px; position: relative; min-height: 58px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }.print-choice:has(input:checked) { border-color: var(--accent); background: var(--soft); }.print-visual { flex: 0 0 45px; width: 45px; height: 30px; border-radius: 5px; background: linear-gradient(100deg, #222 0 50%, #edf0f5 50%); box-shadow: inset 0 0 0 1px rgba(21,32,51,.06); }.print-visual--1-0 { background: linear-gradient(90deg, #222 0 50%, #f0f2f6 50%); }.print-visual--1-1 { background: #222; }.print-visual--4-0 { background: linear-gradient(90deg, #f32f55, #ffb56c); }.print-visual--4-4 { background: linear-gradient(135deg, #f32f55, #725bf4); }.print-visual--4-1 { background: linear-gradient(90deg, #f32f55 0 50%, #222 50%); }.print-content strong, .print-content small { display: block; }.print-content strong { font-size: 13px; }.print-content small { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.result-card { align-self: start; padding: 24px; border-radius: 18px; color: #fff; background: linear-gradient(145deg, #27364d, #142033); box-shadow: 0 18px 34px rgba(21, 32, 51, .2); }.result-topline { display: flex; align-items: center; justify-content: space-between; color: #aebbd0; font-size: 11px; font-weight: 700; letter-spacing: .03em; }.result-dot { width: 8px; height: 8px; border-radius: 50%; background: #5de1a5; box-shadow: 0 0 0 4px rgba(93,225,165,.12); }.total { margin-top: 24px; font-size: 42px; font-weight: 800; letter-spacing: -.06em; }.unit-price { margin-top: 4px; color: #fff; font-size: 14px; font-weight: 700; }.unit-price span { color: #94a4bb; font-size: 11px; font-weight: 500; }.result-summary { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); color: #c2ccda; font-size: 12px; line-height: 1.45; }.copy-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 19px; padding: 12px 10px; border: 0; border-radius: 10px; color: #fff; background: var(--accent); cursor: pointer; font-size: 12px; font-weight: 750; transition: background .2s, transform .2s; }.copy-button:hover { background: var(--accent-dark); }.copy-button:active { transform: translateY(1px); }.copy-button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }.copy-icon { font-size: 14px; }.copy-status { min-height: 16px; margin: 9px 0 0; color: #aebbd0; font-size: 11px; text-align: center; }
.disclaimer { grid-column: 1 / -1; display: flex; gap: 11px; align-items: flex-start; margin-top: 2px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }.disclaimer p { max-width: 760px; margin: 0; font-size: 11px; line-height: 1.55; }.info-icon { display: grid; flex: 0 0 18px; place-items: center; width: 18px; height: 18px; border: 1px solid #b5c0d0; border-radius: 50%; color: #7a8799; font-size: 11px; font-weight: 800; }.concept-label { margin: 18px 0 0; color: #9ba6b6; font-size: 10px; line-height: 1.5; text-align: center; text-transform: uppercase; letter-spacing: .1em; }.concept-label span { color: #b4bdc9; text-transform: none; letter-spacing: 0; }
@media (max-width: 760px) { .page-shell { padding: 22px 12px; }.calculator { grid-template-columns: 1fr; gap: 22px; padding: 30px 20px 24px; border-radius: 21px; }.intro, .disclaimer { grid-column: auto; }.result-card { order: 3; }.calculator-form { order: 2; }.intro { order: 1; }.disclaimer { order: 4; } h1 { font-size: clamp(32px, 11vw, 46px); }.lead { font-size: 14px; }.option-grid { grid-template-columns: repeat(3, 1fr); }.choice:nth-child(4), .choice:nth-child(5) { grid-column: span 1; }.total { font-size: 38px; } }
@media (max-width: 390px) { .calculator { padding-inline: 15px; }.option-grid { gap: 6px; }.choice span { font-size: 12px; }.print-choice { padding-inline: 10px; }.print-content strong { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
