/* Ploomu content in the measured proportions of the reference homepage. */
.home #analyzer {
  min-height: calc(100svh - 76px);
  justify-content: center;
  padding: 12px 24px 24px;
}
.home .hero-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-bottom: 40px;
}
.home #analyzer .hero-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(640px, 100%);
  max-width: 640px;
  min-height: 48px;
  margin: 0;
  color: rgba(30, 35, 44, .62);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  text-wrap: pretty;
}
.home #analyzer h1 {
  max-width: 1200px;
  margin: 0;
  color: #152443;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: normal;
  opacity: .92;
  text-wrap: balance;
}
.home #analyzer .article-box {
  width: min(880px, 100%);
  gap: 4px;
  padding: 6px 12px 12px;
  border-radius: 24px;
}
.home #analyzer .article-box textarea {
  height: 80px;
  min-height: 80px;
  max-height: 80px;
  padding: 12px;
  font-size: 16px;
  line-height: 1.4;
}
.home #analyzer .box-row { padding-inline: 0; }
.home #analyzer .analyze-btn { width: 36px; height: 36px; }
.home #analyzer .analyze-btn svg { width: 20px; height: 20px; }
.home #analyzer .hero-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(880px, 100%);
  margin-top: 40px;
}
.home #analyzer .hero-links .pill {
  gap: 8px;
  height: 44px;
  padding: 12px 20px;
  border-radius: 100px;
  border-color: rgba(9, 45, 78, .18);
  background: rgba(255, 255, 255, .4);
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  box-shadow: none;
}
.home #analyzer .hero-links .pill:hover { background: rgba(255, 255, 255, .62); }
.home #analyzer .hero-links .pill svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .home #analyzer { min-height: calc(100svh - 64px); }
  .home #analyzer h1 { font-size: clamp(32px, 4.7vw, 46px); line-height: 1.4; }
}
@media (max-width: 600px) {
  .home #analyzer { padding: 68px 24px 36px; }
  .home .hero-intro { gap: 24px; }
  .home #analyzer .hero-sub { min-height: 72px; font-size: 15px; line-height: 24px; }
  .home #analyzer h1 { font-size: clamp(32px, 8.5vw, 40px); line-height: 1.4; }
  .home #analyzer .hero-links { flex-direction: column; align-items: stretch; gap: 16px; }
  .home #analyzer .hero-links .pill { width: 100%; }
}

/* Compact home task chips share one selection, like the reference composer tools. */
.home #analyzer .home-composer-tools { display: flex; align-items: center; gap: 12px; min-width: 0; }
.home #analyzer .home-task-modes { display: flex; align-items: center; gap: 8px; min-width: 0; }
.home #analyzer .home-task-chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; padding: 4px 9px; border: 1px solid rgba(9,45,78,.15); border-radius: 100px; background: rgba(255,255,255,.16); color: #43516b; font-size: 13px; font-weight: 400; line-height: 20px; white-space: nowrap; transition: background-color .16s, border-color .16s, color .16s; }
.home #analyzer .home-task-chip:hover { background: rgba(255,255,255,.38); border-color: rgba(59,104,180,.3); }
.home #analyzer .home-task-chip[aria-checked="true"] { border-color: rgba(65,112,216,.32); color: #315fae; background: rgba(66,110,236,.105); }
.home #analyzer .home-task-chip:focus-visible { outline: 2px solid #5682d0; outline-offset: 2px; }
.home #analyzer .home-task-chip svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.home #analyzer .home-task-compact { display: none; }
.home #analyzer .home-composer-tools .word-count { color: #748096; font-size: 11px; white-space: nowrap; }
@media (max-width:600px) {
  .home #analyzer .box-row { gap: 8px; }
  .home #analyzer .home-composer-tools { flex: 1; gap: 0; }
  .home #analyzer .home-task-modes { gap: 6px; }
  .home #analyzer .home-task-chip { gap: 0; min-height: 28px; padding: 4px 8px; font-size: 12px; line-height: 18px; }
  .home #analyzer .home-task-chip svg,
  .home #analyzer .home-task-chip:has(.home-task-compact) .home-task-label,
  .home #analyzer .home-composer-tools .word-count { display: none; }
  .home #analyzer .home-task-compact { display: inline; }
}
@media (prefers-reduced-motion:reduce) { .home #analyzer .home-task-chip { transition: none; } }

@media (max-width:360px) {
  .home #analyzer .home-task-modes { gap: 4px; }
  .home #analyzer .home-task-chip { padding-inline: 6px; font-size: 11px; }
}
