.tool-page main { background: var(--paper); }
.tool-directory-hero { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 110px 0 120px; }
.tool-directory-hero h1 { max-width: 780px; margin: 0; font-family: var(--serif); font-size: clamp(56px, 7vw, 104px); font-weight: 500; letter-spacing: -.052em; line-height: .93; }
.tool-directory-hero > p:last-child { max-width: 550px; margin: 30px 0 0; color: #5f5e57; font-size: 19px; line-height: 1.55; }
.tool-directory { padding: 90px max(24px, calc((100vw - 1320px)/2)) 120px; background: #1e201e; color: white; }
.tool-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tool-card { min-height: 310px; padding: 26px; position: relative; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; color: white; text-decoration: none; }
.tool-card:not(.tool-card-soon):hover { border-color: var(--acid); box-shadow: 6px 6px 0 var(--acid); }
.tool-card-number { color: #aaa9a1; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.tool-card-arrow { position: absolute; top: 23px; right: 27px; font-size: 24px; }
.tool-card h3 { max-width: 440px; margin: auto 0 15px; font-family: var(--serif); font-size: clamp(34px, 4vw, 60px); font-weight: 500; letter-spacing: -.04em; line-height: .96; }
.tool-card p { max-width: 440px; margin: 0; color: #aaa9a1; font-size: 14px; line-height: 1.5; }
.tool-card-soon { border-style: dashed; color: #aaa9a1; }
.tool-card-soon h3 { color: white; }
.tool-hero { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 90px 0 75px; display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.tool-hero h1, .tool-section-heading h2, .tool-info-section h2 { max-width: 780px; margin: 0; font-family: var(--serif); font-size: clamp(54px, 7vw, 100px); font-weight: 500; letter-spacing: -.052em; line-height: .93; }
.tool-hero-intro { max-width: 600px; margin: 28px 0 0; color: #55554f; font-size: 20px; line-height: 1.5; }
.tool-hero-note { max-width: 220px; padding: 16px 0 0; border-top: 2px solid var(--ink); color: #5f5e57; font-size: 12px; line-height: 1.5; }
.tool-hero-note strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; }
.watermark-section { padding: 90px max(24px, calc((100vw - 1320px)/2)) 110px; background: #1e201e; color: white; }
.tool-section-heading { margin-bottom: 42px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.tool-section-heading .eyebrow { color: #b9b9af; }
.tool-section-heading h2 { max-width: 580px; font-size: clamp(45px, 5vw, 72px); }
.watermark-workspace { display: grid; grid-template-columns: minmax(290px, .58fr) minmax(0, 1.42fr); min-height: 650px; overflow: hidden; border-radius: 12px; background: #f4f1e9; color: var(--ink); }
.watermark-controls { padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.tool-upload { min-height: 75px; padding: 13px; display: flex; align-items: center; gap: 13px; border: 1px dashed #aaa89e; border-radius: 7px; cursor: pointer; }
.tool-upload:hover { border-color: var(--ink); background: white; }
.tool-upload-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 20px; }
.tool-upload strong, .tool-upload small { display: block; }
.tool-upload strong { font-size: 13px; }
.tool-upload small { margin-top: 2px; color: #77766e; font-size: 10px; }
.tool-field { flex: 1; min-width: 0; }
.tool-field label { display: flex; justify-content: space-between; margin-bottom: 8px; color: #585750; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tool-field output { color: #87857c; font-weight: 600; letter-spacing: 0; text-transform: none; }
.tool-field input[type="text"], .tool-field select { height: 42px; }
.tool-field-row { display: flex; gap: 13px; }
.tool-field input[type="range"] { width: 100%; accent-color: var(--blue); }
.tool-colour { width: 100%; height: 42px; padding: 3px; border: 1px solid #cdcbc2; border-radius: 7px; background: white; cursor: pointer; }
.tool-check { display: flex; align-items: center; gap: 9px; color: #51504a; font-size: 12px; font-weight: 650; cursor: pointer; }
.tool-check input { width: 16px; height: 16px; accent-color: var(--blue); }
.tool-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.tool-actions .button-primary { flex: 1 1 100%; justify-content: space-between; box-shadow: 4px 4px 0 var(--acid); }
.tool-secondary-button, .tool-reset-button { padding: 11px 13px; border: 1px solid #bcbab0; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; font-size: 11px; font-weight: 800; }
.tool-secondary-button { flex: 1; }
.tool-reset-button { flex: 0 0 auto; }
.tool-secondary-button:hover, .tool-reset-button:hover { border-color: var(--ink); background: white; }
.tool-local-note { margin: 0; color: #77766e; font-size: 10px; }
.watermark-preview-panel { min-width: 0; padding: 23px; display: grid; grid-template-rows: auto minmax(0, 1fr); background: #30322f; color: white; }
.tool-preview-toolbar { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 17px; color: #aaa9a1; font-size: 10px; font-weight: 750; }
.tool-preview-toolbar span:first-child { display: flex; align-items: center; gap: 7px; }
.tool-preview-toolbar i { width: 7px; height: 7px; border-radius: 50%; background: #76c66d; }
.watermark-canvas-stage { min-height: 500px; padding: 30px; display: grid; place-items: center; overflow: hidden; background-color: #242624; background-image: linear-gradient(45deg, #2d2f2c 25%, transparent 25%), linear-gradient(-45deg, #2d2f2c 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #2d2f2c 75%), linear-gradient(-45deg, transparent 75%, #2d2f2c 75%); background-size: 26px 26px; background-position: 0 0, 0 13px, 13px -13px, -13px 0;
}
.watermark-canvas-stage canvas { display: block; max-width: 100%; max-height: 580px; box-shadow: 0 16px 35px rgba(0,0,0,.25); }
.watermark-empty { display: grid; gap: 8px; color: #a8a9a1; text-align: center; }
.watermark-empty strong { color: white; font-family: var(--serif); font-size: 29px; font-weight: 500; }
.watermark-empty span { font-size: 12px; }
.watermark-canvas-stage canvas[hidden], .watermark-empty[hidden] { display: none; }
.tool-info-section { padding: 115px max(24px, calc((100vw - 1320px)/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.tool-info-section h2 { font-size: clamp(48px, 5vw, 76px); }
.tool-info-copy { max-width: 480px; align-self: end; color: #5f5e57; font-size: 17px; line-height: 1.6; }
.tool-info-copy p { margin: 0 0 20px; }

@media (max-width: 740px) {
    .tool-directory-hero { width: calc(100% - 30px); padding: 75px 5px 85px; }
    .tool-directory-hero h1 { font-size: clamp(54px, 16vw, 76px); }
    .tool-directory-hero > p:last-child { font-size: 17px; }
    .tool-directory { padding-top: 70px; padding-bottom: 80px; }
    .tool-card-grid { grid-template-columns: 1fr; }
    .tool-card { min-height: 260px; }
    .tool-hero { width: calc(100% - 30px); padding: 62px 5px 68px; display: block; }
    .tool-hero h1 { font-size: clamp(54px, 16vw, 76px); }
    .tool-hero-intro { font-size: 17px; }
    .tool-hero-note { margin-top: 45px; }
    .watermark-section { padding-top: 70px; padding-bottom: 80px; }
    .tool-section-heading { display: block; }
    .tool-section-heading h2 { margin-top: 20px; font-size: 48px; }
    .watermark-workspace { grid-template-columns: 1fr; }
    .watermark-controls { padding: 20px 16px; }
    .watermark-preview-panel { min-height: 500px; padding: 16px; }
    .watermark-canvas-stage { min-height: 410px; padding: 16px; }
    .tool-info-section { padding-top: 80px; padding-bottom: 80px; grid-template-columns: 1fr; gap: 35px; }
}
