.tools-head{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:32px clamp(40px,5vw,80px);align-items:center}
.tools-head h1{font-size:clamp(4rem,1.4rem + 6vw,7.5rem)}
.tools-head-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.tools-head-photo figcaption{margin-top:8px;font-size:.8125rem;color:var(--muted)}
@media (max-width:900px){.tools-head{grid-template-columns:minmax(0,1fr)}}
.tools-head .chapters{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.tools-head .chapters a{display:inline-flex;align-items:center;min-height:48px;padding:0 18px;background:var(--ink);color:var(--paper);font-weight:800;text-decoration:none;transition:background-color 160ms ease}
.tools-head .chapters a:hover{background:var(--red)}
.tool{padding-block:clamp(80px,9vw,128px)}
.tool.is-tone{background:var(--surface)}
.tool-inner{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:40px clamp(40px,6vw,104px);align-items:start}
.tool h2{font-family:var(--font);font-weight:900;font-stretch:68%;text-transform:uppercase;letter-spacing:-.015em;line-height:.9;font-size:clamp(3rem,1.4rem + 4.4vw,5.5rem)}
.tool-text p{margin-top:18px;max-width:44ch;font-size:1.125rem}
.tool-text .tool-note{font-size:.9375rem;color:var(--muted)}
.tool-form{display:grid;gap:18px;padding:36px;background:var(--ink);color:var(--paper)}
.tool.is-tone .tool-form{background:var(--paper);color:var(--ink)}
.tool-form input,.tool-form select{background:var(--paper)}
.tool.is-tone .tool-form input,.tool.is-tone .tool-form select{background:var(--surface)}
.tool-form input:focus-visible,.tool-form select:focus-visible{outline:3px solid var(--red);outline-offset:2px}
.tool-form .button{width:100%}
.pace-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.predict-result ul{list-style:none;padding:0}
.predict-result li{display:flex;justify-content:space-between;gap:16px;padding:10px 12px;font-size:1.125rem;font-variant-numeric:tabular-nums}
.predict-result li:nth-child(odd){background:var(--surface)}
.predict-result li strong{font-weight:900}
.predict-result li span{color:var(--muted);font-size:.9375rem}
.predict-result li.is-input{color:var(--muted)}
.splits-result{max-height:440px;overflow:auto}
.splits-result table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.splits-result th,.splits-result td{padding:8px 4px;text-align:left}
.splits-result th{position:sticky;top:0;background:var(--ink);font-size:.875rem}
.splits-result tbody tr:nth-child(5n) td{font-weight:800}
.splits-result td+td,.splits-result th+th{text-align:right}
.splits-summary{margin-bottom:10px;font-size:1.125rem;font-weight:800}
.apps{padding-block:clamp(88px,10vw,140px)}
.app-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px clamp(40px,5vw,80px);margin-top:48px}
.app-group h3{padding-top:12px;border-top:6px solid var(--ink);font-family:var(--font);font-weight:900;font-stretch:68%;text-transform:uppercase;font-size:2rem;line-height:.95}
.app-group:first-child h3{border-top-color:var(--red)}
.app-group ul{list-style:none;padding:0;margin-top:8px}
.app-group li{padding-block:16px}
.tool-photo{margin-top:32px}
.tool-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.tool-photo figcaption{margin-top:8px;font-size:.8125rem;color:var(--muted)}
.app-group h4{margin:0;font-size:1.25rem;font-weight:800}
.app-kind{margin-top:2px;font-size:.875rem;font-weight:700;color:var(--red)}
.app-group li p:not(.app-kind){margin-top:6px;max-width:54ch}
.app-group li a{display:inline-block;margin-top:8px;font-weight:800;text-decoration-color:var(--red)}
.apps-note{margin-top:48px;max-width:80ch;font-size:.9375rem;color:var(--muted)}
@media (max-width:900px){
  .tool-inner,.app-groups{grid-template-columns:minmax(0,1fr)}
  .tool-form{padding:26px 20px}
}
