:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #231944;
  background: #f8f6ff;
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
.top, main, footer { width: min(1100px, calc(100% - 48px)); margin-inline: auto; }
.top { min-height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 750; text-decoration: none; }
.top-link { color: #5534ac; font-weight: 650; text-underline-offset: 5px; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(20px, 5vw, 64px); min-height: 490px; padding-block: 42px; }
.tag { font-size: .88rem; color: #5939ab; font-weight: 700; letter-spacing: .06em; }
h1 { margin: 14px 0 18px; font-size: clamp(2.55rem, 5.2vw, 4.5rem); line-height: 1.13; letter-spacing: -.045em; }
.hero p, .workspace-heading p { color: #5b5271; margin: 0; }
.hero p { max-width: 390px; font-size: 1.04rem; }
.button, button { display: inline-block; padding: 11px 18px; border: 0; border-radius: 12px; background: #6e4fd0; color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.hero .button { margin-top: 24px; }
.button:hover, button:hover { background: #5635b4; }
button:disabled { cursor: wait; opacity: .65; }
.illustration { display: grid; place-items: center; position: relative; min-height: 365px; background: #ede6ff; border-radius: 32px; overflow: hidden; }
.sheet { width: 200px; height: 256px; border-radius: 22px; }
.sheet-back { position: absolute; background: #6e4fd0; transform: translate(25px, -2px) rotate(13deg); }
.sheet-front { background: #fff; box-shadow: 0 14px 42px #37208430; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: translateX(-15px) rotate(-8deg); }
.wave { margin: 18px 0 11px; display: flex; align-items: center; gap: 3px; height: 25px; }
.wave i { width: 4px; height: 8px; border-radius: 6px; background: #9a83e9; }
.wave i:nth-child(2n) { height: 14px; }
.wave i:nth-child(3n) { height: 22px; }
.wave i:nth-child(5n) { height: 25px; background: #ffc93c; }
.caption-line { height: 6px; width: 92px; border-radius: 4px; background: #d7c9ff; margin-top: 7px; }
.caption-line.short { width: 56px; }
.workspace { border: 1px solid #e9e1fb; background: #fff; border-radius: 24px; padding: clamp(20px, 5vw, 44px); scroll-margin-top: 20px; }
h2 { margin: 0 0 4px; line-height: 1.3; font-size: 1.65rem; }
form { margin-top: 24px; }
label { display: block; margin: 0 0 7px; font-weight: 700; }
textarea, input { display: block; width: 100%; font: inherit; color: inherit; padding: 12px 14px; border: 1px solid #cfc4e8; border-radius: 12px; background: #fffeff; }
textarea { resize: vertical; }
textarea::placeholder { color: #736888; }
:focus-visible { outline: 3px solid #6e4fd0; outline-offset: 3px; }
.plain-note, [role="status"] { font-size: .91rem; color: #5b5271; }
[role="status"]:empty { display: none; }
.result { border-top: 1px solid #e9e1fb; margin-top: 24px; padding-top: 24px; }
.result :is(input, textarea) { margin-bottom: 15px; }
footer { color: #5b5271; padding: 27px 0 36px; font-size: .9rem; }
@media (max-width: 720px) {
  .top, main, footer { width: calc(100% - 32px); }
  .top { min-height: 61px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 30px 0; }
  .illustration { min-height: 245px; }
  .sheet { scale: .74; }
}
