.tool-hero { padding: 66px 0 72px; background: #f5f0e8; border-bottom: 1px solid #ded5c5; }
.tool-hero-copy { max-width: 850px; }
.tool-hero h1 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(50px, 6.5vw, 78px); font-weight: 600; line-height: 1.03; letter-spacing: 0; }
.tool-hero-copy > p:not(.seo-eyebrow) { max-width: 720px; margin: 24px 0 0; color: #514c45; font-size: 18px; line-height: 1.7; }
.tool-hero-copy > ul { display: flex; flex-wrap: wrap; gap: 18px; margin: 25px 0 0; padding: 0; list-style: none; }
.tool-hero-copy > ul li { display: flex; align-items: center; gap: 6px; color: #666057; font-size: 12px; }
.tool-hero-copy > ul svg { width: 14px; height: 14px; color: #2a7a4b; }
.tool-section { padding: 88px 0; }
.tool-canvas-section { background: #efede7; }
.tool-workspace { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); overflow: hidden; border: 1px solid #d4cec4; border-radius: 8px; background: #fff; box-shadow: 0 20px 50px rgba(31,30,28,.08); }
.tool-input-panel { padding: 32px; }
.tool-panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.tool-panel-heading span, .tool-result-kicker { color: #847d73; font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; }
.tool-panel-heading h2 { margin: 7px 0 0; font-family: "Fraunces", Georgia, serif; font-size: 27px; font-weight: 600; }
.tool-reset { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid #ded8cf; border-radius: 5px; background: #fff; color: #625d56; cursor: pointer; font-size: 11px; }
.tool-reset svg { width: 14px; height: 14px; }
.tool-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.tool-fields-compact { gap: 12px 18px; }
.tool-field { display: block; min-width: 0; }
.tool-field-top { display: flex; justify-content: space-between; gap: 12px; color: #302d29; font-size: 12px; font-weight: 600; }
.tool-field-top output { color: #2d2b6b; font-family: "DM Mono", monospace; }
.tool-field small { display: block; min-height: 31px; margin: 5px 0 9px; color: #837d74; font-size: 10px; line-height: 1.45; }
.tool-number-wrap { display: flex; align-items: center; min-height: 46px; overflow: hidden; border: 1px solid #d9d3ca; border-radius: 5px; background: #faf9f6; }
.tool-number-wrap > span { padding: 0 11px; color: #716b63; font-size: 12px; white-space: nowrap; }
.tool-number-wrap input { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: 0; outline: 0; background: transparent; color: #26231f; font: 500 14px "DM Sans", sans-serif; }
.tool-range-field input[type="range"] { width: 100%; height: 5px; margin: 10px 0 5px; accent-color: #2d2b6b; cursor: pointer; }
.tool-range-scale { display: flex; justify-content: space-between; color: #99928a; font-family: "DM Mono", monospace; font-size: 9px; }
.tool-calculate { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 48px; margin-top: 28px; border: 0; border-radius: 6px; background: #2d2b6b; color: #fff; cursor: pointer; font: 600 13px "DM Sans", sans-serif; }
.tool-calculate svg { width: 16px; height: 16px; }
.tool-result-panel { display: flex; flex-direction: column; padding: 34px; background: #25242a; color: #fff; }
.tool-result-kicker { color: #dcb076; }
.tool-result-value { margin-top: 45px; overflow-wrap: anywhere; font-family: "Fraunces", Georgia, serif; font-size: clamp(46px, 5vw, 70px); font-weight: 600; line-height: 1; }
.tool-result-label { margin-top: 10px; color: #cfced2; font-size: 13px; }
.tool-result-gauge { height: 7px; margin-top: 25px; overflow: hidden; border-radius: 4px; background: #44434a; }
.tool-result-gauge span { display: block; width: 0; height: 100%; border-radius: inherit; background: #d8a567; transition: width .35s ease; }
.tool-result-explanation { min-height: 70px; margin: 22px 0 0; color: #bdbcc1; font-size: 13px; line-height: 1.7; }
.tool-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; margin-top: 22px; background: #48474d; }
.tool-metrics > div { min-width: 0; padding: 13px; background: #302f35; }
.tool-metrics span, .tool-metrics strong { display: block; overflow-wrap: anywhere; }
.tool-metrics span { min-height: 26px; color: #9d9ca2; font-size: 9px; line-height: 1.4; text-transform: uppercase; }
.tool-metrics strong { margin-top: 7px; color: #fff; font-family: "DM Mono", monospace; font-size: 12px; }
.tool-result-note { display: flex; gap: 9px; margin-top: auto; padding-top: 25px; color: #96959a; font-size: 10px; line-height: 1.5; }
.tool-result-note svg { width: 14px; height: 14px; flex: 0 0 14px; }
.tool-reading-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.tool-section h2 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(34px, 4vw, 50px); font-weight: 600; line-height: 1.15; letter-spacing: 0; }
.tool-prose p { margin: 0 0 20px; color: #554f48; font-size: 17px; line-height: 1.8; }
.tool-method-band { background: #f5f0e8; }
.tool-method-heading { max-width: 750px; }
.tool-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; margin-top: 45px; border: 1px solid #d9d0c0; background: #d9d0c0; }
.tool-method-grid article { min-height: 280px; padding: 27px; background: #fafaf7; }
.tool-method-grid article > span { color: #a34a24; font-family: "DM Mono", monospace; font-size: 10px; }
.tool-method-grid h3 { margin: 48px 0 12px; font-family: "Fraunces", Georgia, serif; font-size: 22px; font-weight: 600; }
.tool-method-grid p { margin: 0; color: #665f57; font-size: 13px; line-height: 1.7; }
.tool-use-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.tool-use-grid > div > p:not(.seo-eyebrow) { margin: 18px 0 0; color: #625d56; font-size: 14px; line-height: 1.75; }
.tool-use-grid ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tool-use-grid li { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 13px 15px; border: 1px solid #ddd8d0; border-radius: 5px; color: #4e4943; font-size: 13px; }
.tool-use-grid li svg { width: 17px; height: 17px; flex: 0 0 17px; color: #2a7a4b; }
.tool-related-band { background: #eeeaf5; }
.tool-related-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.tool-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-top: 38px; }
.tool-related-grid a { position: relative; min-height: 165px; padding: 22px; border: 1px solid #cec8dc; border-radius: 6px; background: #fff; color: #25222a; text-decoration: none; }
.tool-related-grid span, .tool-related-grid strong { display: block; max-width: 85%; }
.tool-related-grid span { color: #716987; font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.tool-related-grid strong { margin-top: 12px; font-family: "Fraunces", Georgia, serif; font-size: 20px; line-height: 1.3; }
.tool-related-grid svg { position: absolute; right: 18px; bottom: 18px; width: 17px; height: 17px; color: #2d2b6b; }
.tool-index-intro { max-width: 780px; }
.tool-index-intro > p:last-child { margin: 20px 0 0; color: #5f5952; font-size: 16px; line-height: 1.75; }
.tool-index-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 45px; }
.tool-index-grid a { position: relative; min-height: 245px; padding: 28px; border: 1px solid #dcd6cd; border-radius: 7px; background: #fff; color: #25221f; text-decoration: none; }
.tool-index-grid a > span { color: #805b42; font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; }
.tool-index-grid strong { display: block; max-width: 85%; margin-top: 45px; font-family: "Fraunces", Georgia, serif; font-size: 25px; line-height: 1.2; }
.tool-index-grid p { max-width: 85%; margin: 12px 0 0; color: #68625b; font-size: 13px; line-height: 1.65; }
.tool-index-grid svg { position: absolute; top: 27px; right: 27px; width: 18px; height: 18px; color: #2d2b6b; }

@media (max-width: 900px) {
  .tool-workspace, .tool-reading-grid, .tool-use-grid { grid-template-columns: 1fr; }
  .tool-reading-grid, .tool-use-grid { gap: 45px; }
  .tool-method-grid, .tool-related-grid { grid-template-columns: 1fr; }
  .tool-method-grid article { min-height: 230px; }
}

@media (max-width: 640px) {
  .tool-hero { padding: 48px 0 54px; }
  .tool-hero h1 { font-size: 43px; }
  .tool-hero-copy > p:not(.seo-eyebrow) { font-size: 16px; }
  .tool-section { padding: 66px 0; }
  .tool-input-panel, .tool-result-panel { padding: 22px; }
  .tool-fields, .tool-use-grid ul { grid-template-columns: 1fr; }
  .tool-result-panel { min-height: 500px; }
  .tool-result-value { font-size: 48px; }
  .tool-method-grid article { min-height: 210px; }
  .tool-related-heading { align-items: flex-start; flex-direction: column; }
  .tool-index-grid { grid-template-columns: 1fr; }
}
