/* Tools — public discovery page for native + external tools */

/* ===== Hero ===== */
.tools-hero {
  padding-block: 88px;
  background: var(--surface);
}

.tools-hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}

.tools-hero-copy h1 {
  margin: 16px 0;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -1px;
}

.tools-hero-sub {
  max-width: 600px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.tools-hero-note {
  margin: 24px 0 0;
  color: var(--muted-brand);
  font-size: 13.5px;
}

/* Hero left — one "tool desk" object on a subtle Warm Ivory field */
.tools-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: var(--canvas);
  border-radius: 28px;
}

.tool-desk {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.tool-desk-head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--soft-line);
  color: var(--muted-brand);
  font-size: 13px;
  font-weight: 600;
}

.tool-desk-list {
  display: flex;
  flex-direction: column;
}

.tool-desk-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--soft-line);
}

.tool-desk-row:last-child {
  border-bottom: 0;
}

.tool-desk-marker {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--line);
  border-radius: 50%;
}

.tool-desk-active .tool-desk-marker {
  background: var(--brand);
}

.tool-desk-need {
  flex: 1;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.tool-desk-active .tool-desk-need {
  color: var(--brand);
}

.tool-desk-arrow {
  color: var(--accent);
  font-size: 14px;
}

.tool-desk-dest {
  color: var(--muted-brand);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.tool-desk-active .tool-desk-dest {
  color: var(--brand);
}

.tool-desk-strip {
  padding: 14px 20px;
  color: var(--surface);
  background: var(--brand);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
}

/* Compact editorial statement replacing the old task-chip row */
.tools-statement {
  padding-block: 32px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tools-statement p {
  margin: 0;
  color: var(--brand);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

/* ===== Shared section rhythm ===== */
.tools-section {
  height: auto;
  padding-block: 80px;
  background: var(--surface);
}

.tools-section-muted {
  background: var(--canvas);
}

.tools-section .section-heading-right {
  max-width: 660px;
  margin-bottom: 32px;
}

.tools-section .section-heading-right .eyebrow {
  margin-bottom: 16px;
}

/* ===== Native tools ===== */
.native-tools-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
  margin-bottom: 20px;
}

.assistant-panel,
.promptbuilder-panel {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius-lg);
}

.assistant-panel {
  color: var(--surface);
  background: var(--brand);
}

.promptbuilder-panel {
  background: var(--surface);
  border: 1px solid var(--line);
}

.native-tool-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 12px;
  color: var(--surface);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.native-tool-tag-brand {
  color: var(--brand);
  background: rgba(27, 67, 50, 0.08);
}

.assistant-panel h3,
.promptbuilder-panel h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

.assistant-panel h3 {
  color: var(--surface);
}

.promptbuilder-panel h3 {
  color: var(--brand);
}

.assistant-panel > p,
.promptbuilder-panel > p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
}

.assistant-panel > p {
  color: rgba(247, 242, 236, 0.84);
}

.promptbuilder-panel > p {
  color: var(--muted);
}

.native-tool-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.native-tool-inputs span {
  padding: 6px 12px;
  color: var(--surface);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 12.5px;
}

.assistant-preview {
  margin-bottom: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
}

.assistant-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.assistant-preview-head span {
  color: rgba(247, 242, 236, 0.7);
  font-size: 12px;
}

.assistant-preview-head b {
  color: var(--surface);
  font-size: 12.5px;
  font-weight: 700;
}

.assistant-preview > p {
  margin: 0 0 10px;
  color: rgba(247, 242, 236, 0.9);
  font-size: 13.5px;
  line-height: 1.7;
}

.assistant-preview-action {
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 700;
}

.promptbuilder-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 18px;
  background: var(--canvas);
  border-radius: var(--radius-md);
}

.promptbuilder-preview span {
  padding: 7px 13px;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
}

.assistant-panel .btn,
.promptbuilder-panel .btn {
  align-self: flex-start;
  margin-top: auto;
}

.assistant-panel .btn {
  color: var(--brand);
  background: var(--surface);
}

.tools-native-note {
  margin: 0;
  color: var(--muted-brand);
  font-size: 14px;
}

.tools-native-note a {
  color: var(--accent);
  font-weight: 700;
}

/* ===== Specialized tools — one shared editorial canvas ===== */
.specialized-canvas {
  display: flex;
  align-items: stretch;
  gap: 40px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.specialized-side {
  flex: 1;
  min-width: 0;
}

.specialized-divider {
  width: 1px;
  flex: 0 0 1px;
  background: var(--line);
}

.specialized-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.specialized-head h3 {
  margin: 0;
  color: var(--brand);
  font-size: 19px;
  font-weight: 700;
}

.external-badge {
  flex: 0 0 auto;
  padding: 4px 10px;
  color: var(--muted-brand);
  background: var(--canvas);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.specialized-what {
  margin: 0 0 16px;
  color: var(--muted-brand);
  font-size: 14.5px;
  line-height: 1.7;
}

.specialized-uses {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
  padding-inline-start: 18px;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.8;
}

.specialized-caution {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13.5px;
  line-height: 1.7;
}

.specialized-caution-inline {
  color: var(--accent);
}

.specialized-external-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--muted-brand);
  font-size: 12.5px;
}

/* ===== General AI — 2x2 varied composition ===== */
.general-ai-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-areas:
    "chatgpt gemini"
    "notebooklm deepseek";
  gap: 20px;
}

.general-ai-panel {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.general-ai-chatgpt {
  grid-area: chatgpt;
  background: var(--canvas);
}

.general-ai-gemini {
  grid-area: gemini;
}

.general-ai-deepseek {
  grid-area: deepseek;
}

.general-ai-notebooklm {
  grid-area: notebooklm;
}

.general-ai-panel > p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.75;
}

.general-ai-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px;
}

.general-ai-list dt {
  margin: 0 0 2px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.general-ai-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.6;
}

.directory-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.notebooklm-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 16px;
  background: var(--canvas);
  border-radius: var(--radius-md);
  direction: var(--doc-flip);
}

.notebooklm-flow span {
  padding: 8px 14px;
  color: var(--brand);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.notebooklm-flow i {
  color: var(--gold);
  font-style: normal;
}

/* ===== Canva strip ===== */
.canva-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  padding: 36px;
  background: var(--canvas);
  border-inline-start: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  align-items: center;
}

.canva-copy h3 {
  font-size: 20px;
}

.canva-copy > p {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.canva-formats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.canva-formats span {
  padding: 14px 8px;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
}

/* ===== Decision board ===== */
.decision-board-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 8px 32px;
}

.decision-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.decision-row:last-child {
  border-bottom: 0;
}

.decision-row span {
  color: var(--ink);
  font-size: 15px;
}

.decision-row b {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
}

.decision-row b i {
  color: var(--accent);
  font-style: normal;
}

/* ===== Responsible use — compact banner ===== */
.responsible-use-section {
  padding-block: 32px;
}

.responsible-use-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--accent);
  border-radius: var(--radius-lg);
}

.responsible-use-copy {
  flex: 1;
  min-width: 0;
}

.responsible-use-card h2 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 21px;
  font-weight: 700;
}

.responsible-use-card > .responsible-use-copy > p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.responsible-use-principles {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
}

.responsible-use-principles span {
  padding: 8px 16px;
  color: var(--brand);
  background: var(--canvas);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* ===== Related content — one shared strip ===== */
.tools-related-strip {
  padding-block: 48px;
  background: var(--canvas);
}

.tools-related-grid {
  display: flex;
  align-items: center;
  gap: 32px;
}

.tools-related-card {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.tools-related-divider {
  width: 1px;
  align-self: stretch;
  background: var(--line);
}

.tools-related-card p {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .tools-hero {
    padding-block: 64px;
  }

  .tools-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
  }

  .tools-hero-copy h1 {
    font-size: 42px;
  }

  .tools-section {
    padding-block: 64px;
  }

  .native-tools-grid,
  .general-ai-grid,
  .canva-card {
    grid-template-columns: 1fr;
  }

  .general-ai-grid {
    grid-template-areas:
      "chatgpt"
      "gemini"
      "deepseek"
      "notebooklm";
  }

  .specialized-canvas {
    flex-direction: column;
    padding: 28px;
    gap: 28px;
  }

  .specialized-divider {
    width: auto;
    height: 1px;
  }

  .canva-formats {
    grid-template-columns: 1fr 1fr;
  }

  .responsible-use-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .responsible-use-principles {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tools-related-grid {
    flex-direction: column;
  }

  .tools-related-divider {
    width: 100%;
    height: 1px;
  }
}

@media (max-width: 575.98px) {
  .tools-hero-copy h1 {
    font-size: 34px;
  }

  .decision-row {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 16px;
  }

  .canva-formats {
    grid-template-columns: 1fr;
  }

  .notebooklm-flow {
    flex-wrap: wrap;
  }

  .decision-board-panel {
    padding: 4px 20px;
  }
}
