/* "Try it without signing up" (public beta page). Uses the landing page's tokens; no inline styles, no external fonts. */
.try-it { border-top: 1px solid var(--line); padding-block: clamp(1.6rem, 3.6vw, 2.8rem); }
.try-it h2 { font-size: clamp(1.85rem, 3vw, 2.85rem); line-height: 1.08; letter-spacing: -.043em; }
.try-privacy { margin-top: .6rem; font-weight: 650; color: var(--navy); }
.try-app { display: grid; gap: 1rem; margin-top: 1rem; }
.try-input { display: grid; gap: .5rem; }
.try-input label { font-weight: 650; }
.try-input textarea { width: 100%; min-height: 11rem; resize: vertical; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink); font: 1.02rem/1.6 var(--serif); }
.try-input textarea:disabled { background: #efeadd; color: var(--soft); }
.try-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.try-actions button { font: 650 .95rem/1.3 var(--sans); padding: .7rem 1rem; border-radius: 4px; border: 1px solid var(--navy); background: var(--white); color: var(--navy); cursor: pointer; min-height: 44px; }
.try-actions button.try-primary { background: var(--navy); color: #fff; }
.try-actions button:hover:not(:disabled) { background: #e7e3d6; }
.try-actions button.try-primary:hover:not(:disabled) { background: #354961; }
.try-actions button:disabled { opacity: .55; cursor: not-allowed; }
.try-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; color: var(--soft); font-size: .88rem; min-height: 1.4em; }
.try-report { min-height: 9rem; padding: 1rem; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.try-empty { color: var(--soft); max-width: 60ch; }
.try-nojs { color: var(--soft); font-size: .9rem; }
.try-result { display: grid; gap: .9rem; }
.try-result h3 { font-size: 1.3rem; }
.try-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .6rem; }
.try-tile { display: flex; flex-direction: column; gap: .15rem; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.try-tile strong { font: 600 1.3rem/1.2 var(--serif); color: var(--navy); }
.try-tile span { font-size: .82rem; color: var(--soft); }
.try-legend { display: grid; gap: .3rem; margin: 0; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 4px; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.try-legend legend { padding-inline: .3rem; font-size: .88rem; color: var(--soft); }
.try-key { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; min-height: 32px; cursor: pointer; }
.try-key input { margin-top: .3rem; flex: none; width: 1.1rem; height: 1.1rem; }
.try-key-text b { font-weight: 650; }
.try-swatch { flex: none; padding: 0 .35rem; }
.try-text { max-height: 24rem; overflow: auto; padding: 1rem; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font: 1.02rem/1.85 var(--serif); white-space: pre-wrap; overflow-wrap: anywhere; }
.try-m { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; border-radius: 3px; }
.try-vlong { background-color: #efd2cf; background-image: repeating-linear-gradient(135deg, transparent 0 5px, rgba(32, 40, 58, .24) 5px 6px); }
.try-adverb { background-color: #d7e1f7; text-decoration: underline dotted; }
.try-passive { background-color: #e5d9f3; text-decoration: underline wavy; }
.try-filter { background-color: #d2eadb; text-decoration: underline dashed; }
.try-weak { background-color: #f6e0b8; text-decoration: underline double; }
.try-repeat { background-color: #e1ddd1; text-decoration: underline solid; font-weight: 650; }
.try-rhythm-svg { display: block; width: 100%; height: 56px; border-bottom: 1px solid var(--line); }
.try-rhythm-svg .bar { fill: var(--navy); }
.try-rhythm-svg .bar.long { fill: var(--amber); }
.try-rhythm-svg .bar.vlong { fill: #a8322f; }
.try-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.try-note { font: italic 1.05rem/1.4 var(--serif); color: var(--navy); }
.try-more { display: grid; gap: .8rem; margin-top: 1.2rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 4px; background: var(--white); max-width: 60rem; }
.try-more p { max-width: 62ch; }
.try-more .button { justify-self: start; }
@media (max-width: 680px) {
  .try-actions button, .try-more .button { width: 100%; }
  .try-legend { grid-template-columns: minmax(0, 1fr); }
  .try-text { max-height: 20rem; padding: .8rem; }
}
@media (forced-colors: active) {
  .try-m { forced-color-adjust: none; background-color: Canvas; color: CanvasText; border: 1px solid CanvasText; }
}
