 .page-hero {
     text-align: center;
     padding: 3rem 1.5rem 2rem
 }

 .page-hero .hero-pill {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     background: var(--white);
     border: 1px solid var(--border);
     border-radius: 100px;
     padding: 5px 14px 5px 6px;
     font-size: 10px;
     font-weight: 600;
     color: var(--ink2);
     margin-bottom: 1.4rem
 }

 .page-hero .hero-pill-dot {
     width: 20px;
     height: 20px;
     border-radius: 50%;
     background: linear-gradient(135deg, var(--primary), #A855F7);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 10px;
     color: #fff
 }

 .page-hero h1 {
     font-size: clamp(1.9rem, 4.5vw, 3rem);
     font-weight: 800;
     line-height: 1.15;
     color: var(--ink);
     letter-spacing: -1px;
     margin-bottom: .8rem
 }

 .page-hero h1 em {
     font-style: normal;
     background: linear-gradient(135deg, var(--primary), #A855F7);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent
 }

 .page-hero p {
     font-size: .95rem;
     color: var(--muted);
     max-width: 460px;
     margin: 0 auto;
     line-height: 1.7
 }

 .tool-wrapper {
     max-width: 1000px;
     margin: 0 auto;
     padding: 0 1.5rem 4rem
 }

 .layout {
     display: grid;
     grid-template-columns: 1fr 340px;
     gap: 20px;
     align-items: start
 }

 .card {
     background: var(--white);
     border: 1.5px solid var(--border);
     border-radius: 16px;
     padding: 20px;
     margin-bottom: 16px
 }

 .card-title {
     font-size: 11px;
     font-weight: 700;
     letter-spacing: .14em;
     text-transform: uppercase;
     color: var(--muted);
     margin-bottom: 12px
 }

 textarea {
     width: 100%;
     border: 1.5px solid var(--border);
     border-radius: 10px;
     outline: none;
     font-family: 'Fira Code', monospace;
     font-size: 14px;
     color: var(--ink);
     padding: 12px 14px;
     background: var(--bg);
     resize: none;
     transition: border-color .2s;
     line-height: 1.7
 }

 textarea:focus {
     border-color: var(--primary);
     box-shadow: 0 0 0 3px rgba(91, 79, 233, .1)
 }

 textarea::placeholder {
     color: var(--muted)
 }

 .clear-btn {
     background: none;
     border: none;
     cursor: pointer;
     font-size: 11.5px;
     font-weight: 600;
     color: var(--muted);
     font-family: 'Plus Jakarta Sans', sans-serif;
     padding: 3px 8px;
     border-radius: 7px
 }

 .clear-btn:hover {
     background: rgba(255, 90, 90, .09);
     color: #e55
 }

 /* STAT CARDS */
 .stats-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 10px;
     margin-bottom: 16px
 }

 .stat-box {
     background: var(--bg);
     border: 1px solid var(--border);
     border-radius: 12px;
     padding: 14px;
     text-align: center
 }

 .stat-box-num {
     font-size: 1.6rem;
     font-weight: 800;
     color: var(--primary);
     line-height: 1;
     letter-spacing: -0.5px
 }

 .stat-box-lbl {
     font-size: 10.5px;
     color: var(--muted);
     font-weight: 600;
     margin-top: 4px;
     text-transform: uppercase;
     letter-spacing: .08em
 }

 /* DETAILED STATS */
 .detail-row {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 9px 0;
     border-bottom: 1px solid var(--border)
 }

 .detail-row:last-child {
     border-bottom: none
 }

 .detail-lbl {
     font-size: 13px;
     color: var(--ink2);
     font-weight: 500
 }

 .detail-val {
     font-size: 13px;
     color: var(--primary);
     font-weight: 700;
     font-family: 'Fira Code', monospace
 }

 /* KEYWORD TABLE */
 .kw-row {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 8px 0;
     border-bottom: 1px solid var(--border)
 }

 .kw-row:last-child {
     border-bottom: none
 }

 .kw-word {
     font-size: 13px;
     font-weight: 600;
     color: var(--ink);
     font-family: 'Fira Code', monospace
 }

 .kw-bar-wrap {
     flex: 1;
     margin: 0 12px;
     height: 6px;
     background: var(--border);
     border-radius: 3px;
     overflow: hidden
 }

 .kw-bar {
     height: 100%;
     background: linear-gradient(90deg, var(--primary), #A855F7);
     border-radius: 3px;
     transition: width .3s
 }

 .kw-count {
     font-size: 12px;
     color: var(--muted);
     font-weight: 600;
     min-width: 30px;
     text-align: right
 }

 /* READING LEVELS */
 .level-badge {
     display: inline-block;
     padding: 4px 10px;
     border-radius: 100px;
     font-size: 11px;
     font-weight: 700;
     letter-spacing: .05em
 }

 .level-easy {
     background: #E8FBF7;
     color: #48C9B0
 }

 .level-medium {
     background: #FFF5E9;
     color: #FF9F43
 }

 .level-hard {
     background: #FFF0F0;
     color: #FF6B6B
 }

 .toast {
     position: fixed;
     bottom: 24px;
     left: 50%;
     transform: translateX(-50%) translateY(80px);
     background: var(--ink);
     color: #fff;
     font-size: 13px;
     font-weight: 600;
     padding: 10px 20px;
     border-radius: 100px;
     display: flex;
     align-items: center;
     gap: 8px;
     box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
     transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
     z-index: 999
 }

 .toast-dot {
     width: 7px;
     height: 7px;
     border-radius: 50%;
     background: #2EC99A
 }

 .toast.show {
     transform: translateX(-50%) translateY(0)
 }

 @media(max-width:760px) {
     .layout {
         grid-template-columns: 1fr
     }

     .stats-grid {
         grid-template-columns: repeat(3, 1fr)
     }
 }

 @media(max-width:460px) {
     .stats-grid {
         grid-template-columns: repeat(2, 1fr)
     }
 }