/* The try box under the hero: paste AI text, get it back rewritten. */
#try { padding-top: 24px; }
#try .lede { max-width: 40em; margin: -20px auto 24px; text-align: center; color: var(--muted); }
.try-box { padding: 20px; }
.try-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .try-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.try-pane { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.try-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; font-weight: 600; }
.try-head select { min-height: 36px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-weight: 400; }
.try-box textarea, .try-result { width: 100%; min-height: 15rem; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); color: var(--text); font: inherit; line-height: 1.55; }
/* Both boxes share one fixed height so they line up side by side; a long rewrite scrolls inside its box. */
.try-box textarea, .try-result { height: 17rem; }
.try-result { overflow-y: auto; }
.try-box textarea { resize: none; }
.try-box textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.try-result { border-style: dashed; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); }
.try-result.has-text { border-style: solid; color: var(--text); }
.try-result:focus { outline: none; }
.try-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.try-foot .btn { margin-left: auto; }
.try-count, .try-left { color: var(--muted); font-size: 14px; }
.try-count.over { color: var(--bad); }
.try-copy { min-height: 32px; padding: 0 12px; font-size: 14px; }
.try-check:has(iframe) { min-height: 65px; }
.try-check:empty { display: none; }
.try-status { margin: 0; color: var(--muted); }
.try-status[hidden], .try-cta[hidden], .try-copy[hidden] { display: none; }
.try-box .btn:disabled { opacity: 0.55; cursor: default; }
.try-progress { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.try-progress[hidden] { display: none; }
.try-progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.9s linear; }
.try-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent-soft); }
.try-cta p { margin: 0; flex: 1 1 18em; }
.try-privacy { margin: 14px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
@media (prefers-reduced-motion: reduce) { .try-progress i { transition: none; } }
