:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: #1f2937; background: #f4f8fc; }
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 32px 18px; background: radial-gradient(circle at 10% 0%, #d9efff 0, transparent 36%), radial-gradient(circle at 90% 100%, #e5ddff 0, transparent 34%), #f7fafc; }
.app { width: min(100%, 720px); }
header { margin: 0 4px 28px; }
.eyebrow { margin: 0 0 10px; color: #4263eb; font-size: .77rem; font-weight: 800; letter-spacing: .12em; }
h1 { margin: 0; color: #172554; font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.15; letter-spacing: -.04em; }
.lead { margin: 14px 0 0; line-height: 1.7; color: #526174; }
.card, .settings { border: 1px solid rgba(255,255,255,.8); border-radius: 20px; background: rgba(255,255,255,.86); box-shadow: 0 18px 45px rgba(59, 75, 110, .12); backdrop-filter: blur(10px); }
.card { padding: clamp(20px, 5vw, 32px); }
label { display: block; margin-bottom: 9px; font-size: .92rem; font-weight: 750; color: #27364b; }
textarea, select { width: 100%; border: 1px solid #d7dfeb; border-radius: 12px; color: #1f2937; background: #fff; font: inherit; }
textarea { min-height: 160px; padding: 15px; resize: vertical; font-size: 1.05rem; line-height: 1.6; }
textarea:focus, select:focus, input:focus-visible, button:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 2px; }
.counter { margin-top: 7px; text-align: right; color: #7b8796; font-size: .78rem; }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
button { min-height: 44px; border: 0; border-radius: 11px; padding: 0 17px; font: inherit; font-weight: 750; cursor: pointer; transition: transform .15s, opacity .15s, background .15s; }
button:hover:not(:disabled) { transform: translateY(-1px); }
button:disabled { opacity: .45; cursor: not-allowed; }
.primary { color: white; background: #4263eb; box-shadow: 0 5px 12px rgba(66,99,235,.27); }
.primary:hover { background: #3653ce; }.secondary { color: #334155; background: #e9eef6; }.text-button { margin-left: auto; color: #5b6b7f; background: transparent; }
.settings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 18px; padding: 22px clamp(20px, 5vw, 32px); }
select { height: 44px; padding: 0 11px; }.range-setting label { display: flex; justify-content: space-between; }.range-setting output { color: #4263eb; }
input[type="range"] { width: 100%; accent-color: #4263eb; }.range-labels { display: flex; justify-content: space-between; color: #8995a5; font-size: .75rem; }
.status { min-height: 1.4em; margin: 18px 4px 7px; color: #4263eb; font-size: .9rem; font-weight: 650; }.note { margin: 0 4px; color: #718096; font-size: .78rem; line-height: 1.6; }
@media (max-width: 620px) { body { padding: 24px 14px; }.settings { grid-template-columns: 1fr; gap: 19px; }.text-button { margin-left: 0; } }
