/* Tool story only: flat dark surfaces, ruled columns, numbered workflow. */
.tool-section { color: #f2f2ed; background: #20221e; margin-bottom: var(--section-gap); position: relative; }
.tool-section::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(-1 * var(--section-gap)); height: var(--section-gap); background: #fff; }
.tool-story { display: grid; grid-template-columns: 228fr 1212fr; }
.tool-section-label { grid-column: 1; grid-row: 1 / 3; padding: 24px var(--gutter); font-family: var(--mono); font-size: 10px; line-height: 16px; letter-spacing: .05em; border-right: 1px solid var(--line-dark); }
.tool-heading { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: 720fr 492fr; min-height: 174px; border-bottom: 1px solid var(--line-dark); }
.tool-heading h2 { margin: 0; padding: 28px 0 32px 32px; font-size: 63px; font-weight: 400; line-height: 56px; letter-spacing: -.065em; }
.tool-subtitle { margin: 0; padding: 96px 34px 25px; max-width: 410px; font-size: 17px; line-height: 26px; }
.tool-explanation { grid-column: 2; grid-row: 2; min-height: 388px; padding: 52px 32px 46px; }
.tool-copy { max-width: 1000px; font-size: 15px; line-height: 26px; }
.tool-intro { margin: 0 0 18px; }
.tool-editing { margin: 0 0 12px; }
.tool-editing strong { margin-right: 6px; font-family: var(--mono); font-size: 17px; font-weight: 500; }
.tool-connection { margin: 0; font-family: var(--mono); font-size: 18px; font-weight: 500; line-height: 26px; letter-spacing: .03em; text-transform: uppercase; }
.tool-handoff { margin: 0; }
.tool-workflow { display: grid; grid-template-columns: 359fr 1081fr; background: #171914; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.tool-workflow-aside { padding: 28px var(--gutter) 0; border-right: 1px solid var(--line-dark); }
.tool-workflow-aside h3 { margin: 0; font-family: var(--mono); font-size: 18px; font-weight: 500; line-height: 26px; letter-spacing: .02em; text-transform: uppercase; }
.tool-workflow-aside p { margin: 20px 0 0; color: rgba(255,255,255,.58); font-size: 15px; line-height: 24px; }
.tool-workflow-aside p + p { margin-top: 24px; }
.tool-steps { list-style: none; padding: 0; margin: 0; }
.tool-step { display: grid; grid-template-columns: 64fr 522fr 495fr; min-height: 97.5px; }
.tool-step + .tool-step { border-top: 1px solid var(--line-dark); }
.tool-step > * + * { border-left: 1px solid var(--line-dark); }
.tool-step-number { display: flex; align-items: center; padding: 16px 18px; font-family: var(--mono); font-size: 18px; color: rgba(255,255,255,.45); }
.tool-step-title { margin: 0; display: flex; align-items: center; padding: 16px 32px; font-size: 40px; font-weight: 400; line-height: 44px; letter-spacing: -.065em; }
.tool-step-description { margin: 0; display: flex; align-items: center; padding: 8px 32px; font-size: 17px; line-height: 26px; color: rgba(255,255,255,.58); }
.tool-bottom { height: 45px; background: #11120f; }
@media (max-width: 1200px) and (min-width: 901px) {
  .tool-heading h2 { font-size: 52px; line-height: .9; }
  .tool-heading { grid-template-columns: 2fr 1fr; }
  .tool-subtitle { padding-left: 24px; padding-right: 24px; }
  .tool-step-title { font-size: 32px; line-height: 36px; padding-left: 24px; padding-right: 24px; }
  .tool-step-description { font-size: 16px; padding-left: 24px; padding-right: 24px; }
  .tool-workflow-aside p { font-size: 16px; }
}
@media (max-width: 900px) {
  .tool-story { grid-template-columns: 1fr; }
  .tool-section-label { grid-column: 1; grid-row: 1; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .tool-heading { grid-column: 1; grid-row: 2; grid-template-columns: 1fr; }
  .tool-heading h2 { font-size: clamp(38px,6.4vw,56px); line-height: .95; padding: 28px var(--gutter); }
  .tool-subtitle { padding: 0 var(--gutter) 28px; max-width: 560px; }
  .tool-explanation { grid-column: 1; grid-row: 3; min-height: 0; padding: 32px var(--gutter); }
  .tool-workflow { grid-template-columns: 1fr; }
  .tool-workflow-aside { border-right: 0; border-bottom: 1px solid var(--line-dark); padding-bottom: 28px; }
  .tool-workflow-aside p { max-width: 660px; }
  .tool-step { grid-template-columns: 56px minmax(0,1fr) minmax(0,1fr); }
  .tool-step-title { font-size: 32px; line-height: 36px; padding: 20px var(--gutter); }
  .tool-step-description { font-size: 16px; padding: 20px var(--gutter); }
}
@media (max-width: 600px) {
  .tool-step { grid-template-columns: 44px minmax(0,1fr); }
  .tool-step-number { grid-row: 1 / 3; align-items: flex-start; padding: 24px 12px; font-size: 14px; }
  .tool-step-title { grid-column: 2; padding-bottom: 12px; }
  .tool-step-description { grid-column: 2; padding-top: 0; }
  .tool-copy { font-size: 16px; }
  .tool-editing strong { font-size: 16px; }
  .tool-connection { font-size: 18px; }
}

/* Reduced prose leading is balanced by spacing, preserving the workflow position. */
@media (min-width: 1051px) {
  .tool-subtitle { max-width: 360px; font-size: 15px; line-height: 24px; }
  .tool-copy { line-height: 24px; }
  .tool-intro { margin-bottom: 22px; }
  .tool-editing { margin-bottom: 22px; }
  .tool-explanation { padding-bottom: 50px; }
  .tool-workflow { background: linear-gradient(to right, #1d1e1a, #121310); }
}

/* Phone prose separation; preserve the existing typography and desktop spacing. */
@media (max-width: 640px) {
  .tool-copy .tool-intro { margin-bottom: 22px; }
  /* Optical gaps include 6px / 14px of line-box whitespace at the emphasis. */
  .tool-copy .tool-editing { margin-bottom: 12px; }
  .tool-copy .tool-connection { margin-bottom: 4px; }
}
