:root {
  --it-bg: #050816;
  --it-bg-soft: #0a1022;
  --it-panel: #0d1428;
  --it-panel-2: #101a31;
  --it-panel-3: #131f3c;
  --it-line: rgba(53, 207, 244, .12);
  --it-line-strong: rgba(83, 207, 244, .22);
  --it-text: #f5f8ff;
  --it-muted: #9da9c0;
  --it-soft: #71819e;
  --it-blue: #35cff4;
  --it-cyan: #7cefff;
  --it-violet: #8f5bff;
  --it-success: #67e0be;
  --it-danger: #ff9aab;
  --it-grad: linear-gradient(135deg, #35cff4 0%, #467ef7 42%, #8f5bff 100%);
  --it-shadow: 0 28px 90px rgba(0, 0, 0, .42);
}

html:has(body.inspidea-tools-page),
body.inspidea-tools-page {
  margin: 0;
  background: var(--it-bg) !important;
  color: var(--it-text) !important;
  scroll-behavior: smooth;
}

body.inspidea-tools-page #wpadminbar { position: fixed; }
body.inspidea-tools-page > #page,
body.inspidea-tools-page > .site { background: var(--it-bg) !important; }

.inspidea-tools-shell,
.inspidea-tools-shell *,
.inspidea-tools-shell *::before,
.inspidea-tools-shell *::after { box-sizing: border-box; }

.inspidea-tools-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(53, 207, 244, .16), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(143, 91, 255, .18), transparent 30%),
    linear-gradient(180deg, #040714 0%, #070b18 32%, #0a1020 100%);
  color: var(--it-text);
  font-family: Inter, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding: 18px 0 0;
}

.inspidea-tools-shell a { color: inherit; text-decoration: none; }
.inspidea-tools-shell img { max-width: 100%; }
.inspidea-tools-shell button,
.inspidea-tools-shell input,
.inspidea-tools-shell select,
.inspidea-tools-shell textarea { font: inherit; }

.inspidea-tools-shell h1,
.inspidea-tools-shell h2,
.inspidea-tools-shell h3,
.inspidea-tools-shell strong { color: var(--it-text); }

.it-wrap { width: min(100% - 40px, 1240px); margin-inline: auto; }

.it-skip-link {
  position: fixed;
  z-index: 100000;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  color: #050816 !important;
  font-weight: 800;
  transform: translateY(-150%);
}

.it-skip-link:focus { transform: translateY(0); }

.it-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 14px 18px;
  border: 1px solid rgba(83, 207, 244, .09);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(8, 15, 31, .92), rgba(10, 18, 36, .82));
  box-shadow: 0 22px 52px rgba(4, 10, 24, .26);
  backdrop-filter: blur(12px);
}

.it-brand { display: inline-flex; flex: 0 0 auto; }
.it-brand img { display: block; width: auto; height: 48px; object-fit: contain; filter: drop-shadow(0 10px 26px rgba(53, 207, 244, .18)); }

.it-nav { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.it-nav a,
.it-top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.it-nav a {
  color: var(--it-muted);
  background: rgba(15, 24, 45, .62);
  box-shadow: inset 0 0 0 1px rgba(53, 207, 244, .06);
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.it-nav a:hover,
.it-nav a[aria-current="page"] { color: #fff; background: rgba(22, 34, 63, .9); box-shadow: inset 0 0 0 1px rgba(83, 207, 244, .14); }

.it-top-cta {
  color: #fff;
  background: linear-gradient(135deg, rgba(12, 19, 36, .96), rgba(16, 25, 47, .94));
  box-shadow: inset 0 0 0 1px rgba(53, 207, 244, .08), 0 18px 38px rgba(12, 18, 38, .28);
}

.it-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 18px;
  color: var(--it-muted);
  font-size: 13px;
}

.it-breadcrumbs a { color: #b8c9e0; }
.it-breadcrumbs a:hover { color: var(--it-cyan); }

.it-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(10, 18, 36, .96), rgba(11, 18, 34, .88));
  box-shadow: inset 0 0 0 1px rgba(53, 207, 244, .05), var(--it-shadow);
}

.it-hero::before,
.it-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
}

.it-hero::before { right: -70px; top: -140px; background: radial-gradient(circle, rgba(143, 91, 255, .2), transparent 70%); }
.it-hero::after { left: -80px; bottom: -150px; background: radial-gradient(circle, rgba(53, 207, 244, .18), transparent 68%); }
.it-hero--hub { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 32px; align-items: center; }

.it-eyebrow,
.it-kicker,
.it-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--it-line);
  border-radius: 999px;
  background: rgba(14, 23, 43, .78);
  color: #dce6f7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1;
  text-transform: uppercase;
}

.it-eyebrow { padding: 10px 14px; }
.it-kicker { padding: 9px 14px; margin-bottom: 16px; }
.it-chip { padding: 8px 11px; font-size: 11px; }
.it-eyebrow i,
.it-notes i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--it-grad); box-shadow: 0 0 18px rgba(89, 199, 255, .65); }

.it-hero h1,
.it-tool-intro h1 {
  margin: 16px 0 14px;
  font-size: clamp(40px, 5.7vw, 68px);
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.it-hero h1 { max-width: 13ch; }
.it-hero p,
.it-tool-intro > p,
.it-lead { max-width: 760px; margin: 0; color: #b7c6dd; font-size: 18px; line-height: 1.65; }
.it-notes { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 22px; color: var(--it-muted); font-size: 13px; }
.it-notes span { display: inline-flex; align-items: center; gap: 8px; }

.it-system-card {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(53, 207, 244, .12);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(9, 14, 28, .98), rgba(15, 23, 42, .98));
  box-shadow: 0 34px 90px rgba(0, 0, 0, .48);
  transform: rotate(-2deg);
}

.it-system-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; font-size: 13px; letter-spacing: .08em; }
.it-system-card__top span { padding: 7px 10px; border: 1px solid var(--it-line); border-radius: 999px; color: var(--it-muted); font-size: 11px; letter-spacing: 0; }
.it-system-stat { display: flex; align-items: end; justify-content: space-between; padding: 20px; border-radius: 22px; background: var(--it-panel); }
.it-system-stat span { color: var(--it-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.it-system-stat strong { font-size: 44px; line-height: 1; letter-spacing: -.05em; }
.it-system-lines { display: grid; gap: 10px; margin-top: 16px; }
.it-system-lines i { display: block; height: 12px; border-radius: 999px; background: linear-gradient(90deg, rgba(53, 207, 244, .3), rgba(143, 91, 255, .14)); }
.it-system-lines i:nth-child(2) { width: 82%; }
.it-system-lines i:nth-child(3) { width: 64%; }

.it-section { margin-top: 72px; }
.it-section-head { margin-bottom: 26px; }
.it-section h2,
.it-final-cta h2,
.it-generator h2,
.it-content-card h2,
.it-info-card h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.it-tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.it-tool-card {
  position: relative;
  display: flex;
  min-height: 292px;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--it-line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(11, 19, 37, .96), rgba(12, 20, 38, .88));
  box-shadow: 0 18px 42px rgba(3, 8, 20, .22);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

a.it-tool-card:hover { transform: translateY(-3px); border-color: rgba(139, 92, 255, .3); box-shadow: 0 24px 54px rgba(0, 0, 0, .22); }
.it-tool-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(53, 207, 244, .35), rgba(143, 91, 255, .1), transparent); }
.it-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.it-glow-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border: 1px solid rgba(83, 207, 244, .1); border-radius: 16px; background: rgba(13, 22, 42, .72); color: var(--it-cyan); box-shadow: inset 0 0 24px rgba(89, 199, 255, .06), 0 0 30px rgba(139, 92, 255, .08); }
.it-glow-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.it-tool-card h3 { margin: 0 0 9px; font-size: 21px; line-height: 1.2; letter-spacing: -.03em; }
.it-tool-card p { margin: 0; color: #c7d5ec; font-size: 14px; line-height: 1.65; }
.it-card-status { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; color: #9edff0; font-size: 12px; font-weight: 800; }
.it-card-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--it-grad); }
.it-tool-card.is-coming,
.it-tool-card.is-draft { opacity: .75; }
.it-tool-card.is-coming .it-card-status,
.it-tool-card.is-draft .it-card-status { color: var(--it-muted); }
.it-tool-card.is-coming .it-card-status::before,
.it-tool-card.is-draft .it-card-status::before { background: #60708c; }

.it-info-grid,
.it-content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.it-info-card,
.it-content-card,
.it-privacy-panel {
  padding: 26px;
  border: 1px solid var(--it-line);
  border-radius: 28px;
  background: rgba(11, 19, 37, .72);
}

.it-info-card h2,
.it-content-card h2 { font-size: clamp(26px, 3vw, 38px); }
.it-info-card p,
.it-content-card p,
.it-privacy-panel p { margin: 0; color: #c7d5ec; line-height: 1.7; }

.it-tool-intro { max-width: 900px; padding: 20px 0 26px; }
.it-tool-intro h1 { max-width: 14ch; }

.it-generator {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--it-line);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(10, 18, 36, .96), rgba(11, 18, 34, .9));
  box-shadow: var(--it-shadow);
}

.it-generator::after { content: ""; position: absolute; z-index: 0; right: -140px; bottom: -170px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(143, 91, 255, .14), transparent 68%); pointer-events: none; }
.it-generator__heading,
.it-generator__grid { position: relative; z-index: 1; }
.it-generator__heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.it-generator h2 { font-size: clamp(30px, 4vw, 46px); }
.it-privacy-badge { display: inline-flex; align-items: center; gap: 9px; max-width: 390px; margin: 0; padding: 10px 13px; border: 1px solid rgba(103, 224, 190, .16); border-radius: 14px; background: rgba(103, 224, 190, .06); color: #b9f5e3; font-size: 13px; }
.it-privacy-badge span { font-weight: 900; }
.it-generator__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); gap: 18px; align-items: stretch; }
.it-generator__form,
.it-generator__result { padding: 22px; border: 1px solid rgba(83, 207, 244, .08); border-radius: 24px; background: rgba(11, 19, 37, .72); }
.it-generator__form { display: grid; gap: 20px; }
.it-generator__result { display: flex; flex-direction: column; gap: 18px; }
.it-generator__result h3 { margin: 12px 0 5px; font-size: 24px; letter-spacing: -.03em; }
.it-generator__result p { margin: 0; color: var(--it-muted); font-size: 13px; line-height: 1.55; }
.it-field-grid { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(220px, 1.1fr); gap: 14px; }
.it-field { display: grid; align-content: start; gap: 8px; }
.it-field label { color: #e8f1ff; font-size: 14px; font-weight: 800; }
.it-required { color: var(--it-danger); }
.it-optional { margin-left: 7px; color: #899bb8; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.it-field input,
.it-field select,
.it-field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(83, 207, 244, .14);
  border-radius: 14px;
  outline: 0;
  background: rgba(6, 12, 26, .82);
  color: #f5f8ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.it-field input,
.it-field select { padding: 0 14px; }
.it-field textarea { min-height: 122px; padding: 13px 14px; resize: vertical; }
.it-field select { padding-right: 38px; color-scheme: dark; }
.it-field input::placeholder,
.it-field textarea::placeholder { color: #657794; opacity: 1; }
.it-field input:focus,
.it-field select:focus,
.it-field textarea:focus { border-color: rgba(53, 207, 244, .7); box-shadow: 0 0 0 3px rgba(53, 207, 244, .14); }
.it-field input[readonly] { color: #dff6ff; text-overflow: ellipsis; }
.it-field small { color: #899bb8; font-size: 12px; line-height: 1.45; }
.it-field .it-field-error { color: var(--it-danger); font-weight: 700; }
.it-field.has-error input { border-color: rgba(255, 154, 171, .66); box-shadow: 0 0 0 3px rgba(255, 154, 171, .1); }

.it-result-actions,
.it-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.it-result-actions { margin-top: auto; }
.it-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}

.it-btn:hover:not(:disabled) { transform: translateY(-1px); }
.it-btn--primary { background: var(--it-grad); border-color: rgba(124, 239, 255, .18); box-shadow: 0 18px 36px rgba(29, 65, 156, .24); }
.it-btn--secondary { border-color: rgba(83, 207, 244, .16); background: rgba(13, 22, 42, .78); color: #dff6ff; }
.it-btn--ghost { border-color: rgba(157, 169, 192, .14); background: transparent; color: #b8c9df; }
.it-btn:disabled { cursor: not-allowed; opacity: .42; filter: grayscale(.25); }
.it-result-status { min-height: 21px; color: #b8c9df !important; }
.it-result-status.is-success { color: var(--it-success) !important; }
.it-format-note { padding: 12px 13px; border-radius: 14px; background: rgba(255, 255, 255, .03); }

.it-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.it-steps li { padding: 20px; border: 1px solid var(--it-line); border-radius: 24px; background: rgba(11, 19, 37, .72); }
.it-steps li > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 14px; background: var(--it-grad); color: #fff; font-size: 14px; font-weight: 900; box-shadow: 0 12px 30px rgba(89, 199, 255, .18); }
.it-steps h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.02em; }
.it-steps p { margin: 0; color: var(--it-muted); font-size: 14px; line-height: 1.55; }

.it-content-card code { display: block; max-width: 100%; margin: 18px 0; padding: 15px; overflow-wrap: anywhere; white-space: normal; border: 1px solid rgba(53, 207, 244, .12); border-radius: 14px; background: rgba(5, 9, 20, .75); color: #9fe6ff; font: 13px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; direction: ltr; }
.it-check-list { display: grid; gap: 11px; margin: 18px 0 0; padding: 0; list-style: none; }
.it-check-list li { position: relative; padding-left: 21px; color: #d8e4f7; }
.it-check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--it-grad); }

.it-definition-grid,
.it-example-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.it-definition-grid article,
.it-example-grid article { min-width: 0; padding: 18px; border: 1px solid var(--it-line); border-radius: 22px; background: rgba(11, 19, 37, .72); }
.it-definition-grid code,
.it-example-grid code { color: #9fe6ff; font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.it-definition-grid h3 { margin: 14px 0 7px; font-size: 18px; }
.it-definition-grid p { margin: 0; color: var(--it-muted); font-size: 13px; line-height: 1.55; }
.it-example-grid article { display: grid; align-content: start; gap: 12px; }
.it-example-grid span { color: #eef5ff; font-size: 15px; font-weight: 800; }

.it-privacy-panel { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: linear-gradient(135deg, rgba(53, 207, 244, .08), rgba(143, 91, 255, .08)); }
.it-privacy-panel h2 { font-size: clamp(28px, 3.8vw, 44px); }

.it-faq-list { display: grid; gap: 10px; max-width: 940px; }
.it-faq-list details { border: 1px solid var(--it-line); border-radius: 20px; background: rgba(11, 19, 37, .72); }
.it-faq-list summary { position: relative; padding: 18px 54px 18px 20px; cursor: pointer; color: #eef5ff; font-weight: 800; list-style: none; }
.it-faq-list summary::-webkit-details-marker { display: none; }
.it-faq-list summary::after { content: "+"; position: absolute; top: 50%; right: 20px; width: 28px; height: 28px; border-radius: 9px; background: rgba(53, 207, 244, .08); color: var(--it-cyan); text-align: center; line-height: 28px; transform: translateY(-50%); }
.it-faq-list details[open] summary::after { content: "−"; }
.it-faq-list details p { margin: 0; padding: 0 20px 20px; color: #b7c6dd; line-height: 1.7; }

.it-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.it-related-grid a { display: grid; gap: 8px; min-height: 130px; padding: 20px; border: 1px solid var(--it-line); border-radius: 22px; background: rgba(11, 19, 37, .72); transition: transform .2s ease, border-color .2s ease; }
.it-related-grid a:hover { transform: translateY(-2px); border-color: rgba(143, 91, 255, .3); }
.it-related-grid span { color: #9edff0; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.it-related-grid strong { font-size: 18px; line-height: 1.35; }

.it-final-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 72px; padding: 32px; border: 1px solid var(--it-line); border-radius: 32px; background: linear-gradient(180deg, rgba(12, 20, 38, .96), rgba(11, 19, 37, .9)); box-shadow: var(--it-shadow); }
.it-final-cta h2 { max-width: 16ch; font-size: clamp(30px, 4.2vw, 50px); }
.it-final-cta p { max-width: 650px; margin: 0; color: var(--it-muted); line-height: 1.65; }
.it-final-cta > .it-btn { flex: 0 0 auto; }

.it-footer { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-top: 64px; padding: 28px 0; border-top: 1px solid var(--it-line); color: var(--it-muted); font-size: 13px; }
.it-footer strong { font-size: 14px; letter-spacing: .08em; }
.it-footer p { margin: 5px 0 0; }
.it-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.it-footer a:hover { color: var(--it-cyan); }

/* Compatibility layer: Astra/Elementor global rules are printed after plugin CSS. */
body.inspidea-tools-page .inspidea-tools-shell h1,
body.inspidea-tools-page .inspidea-tools-shell h2,
body.inspidea-tools-page .inspidea-tools-shell h3,
body.inspidea-tools-page .inspidea-tools-shell strong { color: var(--it-text) !important; }
body.inspidea-tools-page .inspidea-tools-shell p { color: var(--it-muted) !important; }
body.inspidea-tools-page .inspidea-tools-shell .it-hero p,
body.inspidea-tools-page .inspidea-tools-shell .it-tool-intro > p,
body.inspidea-tools-page .inspidea-tools-shell .it-lead { color: #b7c6dd !important; }
body.inspidea-tools-page .inspidea-tools-shell .it-content-card p,
body.inspidea-tools-page .inspidea-tools-shell .it-privacy-panel p { color: #c7d5ec !important; }
body.inspidea-tools-page .inspidea-tools-shell .it-breadcrumbs {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Adapta RGPD owns the legal footer on this installation. Keep one legal nav and
   bring its site-wide bar into the tools visual system without touching consent UI. */
body.inspidea-tools-page:has(.argpd-footer:not(.argpd-amazon-affiliate)) .inspidea-tools-shell .it-footer nav { display: none; }
body.inspidea-tools-page .argpd-footer:not(.argpd-amazon-affiliate) {
  border-top: 1px solid var(--it-line) !important;
  background: #050816 !important;
  color: #9da9c0 !important;
  font-family: Inter, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
body.inspidea-tools-page .argpd-footer:not(.argpd-amazon-affiliate) a { color: #b7c6dd !important; }
body.inspidea-tools-page .argpd-footer:not(.argpd-amazon-affiliate) a:hover { color: #35cff4 !important; }

.inspidea-tools-shell a:focus-visible,
.inspidea-tools-shell button:focus-visible,
.inspidea-tools-shell summary:focus-visible { outline: 3px solid var(--it-cyan); outline-offset: 3px; }

@media (max-width: 1040px) {
  .it-hero--hub,
  .it-generator__grid { grid-template-columns: 1fr; }
  .it-system-card { max-width: 620px; transform: none; }
  .it-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .it-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.it-definition-grid,
	.it-example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .it-generator__heading { align-items: start; flex-direction: column; }
  .it-final-cta { align-items: start; flex-direction: column; }
}

@media (max-width: 767px) {
  .inspidea-tools-shell { padding-top: 12px; }
  .it-wrap { width: min(100% - 28px, 1240px); }
  .it-topbar { align-items: stretch; flex-direction: column; padding: 14px; border-radius: 22px; }
  .it-brand { justify-content: center; }
  .it-brand img { height: 38px; }
  .it-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .it-nav a { padding-inline: 8px; border-radius: 14px; font-size: 12px; }
  .it-top-cta { width: 100%; min-height: 50px; }
  .it-breadcrumbs { overflow-x: auto; white-space: nowrap; }
  .it-hero { padding: 20px; border-radius: 26px; }
  .it-hero h1,
  .it-tool-intro h1 { font-size: clamp(32px, 9.5vw, 44px); max-width: none; }
  .it-hero p,
  .it-tool-intro > p,
  .it-lead { font-size: 15px; }
  .it-tools-grid,
  .it-info-grid,
  .it-content-grid,
  .it-related-grid,
  .it-definition-grid,
  .it-example-grid { grid-template-columns: 1fr; }
  .it-tool-card { min-height: 250px; padding: 19px; }
  .it-section { margin-top: 48px; }
  .it-section h2,
  .it-final-cta h2,
  .it-generator h2 { font-size: clamp(28px, 8vw, 38px); }
  .it-generator { padding: 17px; border-radius: 25px; }
  .it-generator__form,
  .it-generator__result { padding: 17px; border-radius: 20px; }
  .it-field-grid { grid-template-columns: 1fr; }
  .it-result-actions,
  .it-cta-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .it-result-actions .it-btn,
  .it-cta-actions .it-btn { width: 100%; }
  .it-steps { grid-template-columns: 1fr; gap: 10px; }
  .it-steps li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 17px; }
  .it-steps li > span { margin: 0; }
  .it-info-card,
  .it-content-card,
  .it-privacy-panel { padding: 19px; border-radius: 23px; }
  .it-privacy-panel { grid-template-columns: 1fr; }
  .it-final-cta { margin-top: 48px; padding: 21px; border-radius: 25px; }
  .it-final-cta > .it-btn { width: 100%; }
  .it-footer { align-items: start; flex-direction: column; margin-top: 48px; }
}

@media (max-width: 430px) {
  .it-wrap { width: min(100% - 22px, 1240px); }
  .it-nav { grid-template-columns: 1fr 1fr; }
  .it-nav a:first-child { grid-column: 1 / -1; }
  .it-hero { padding: 17px; }
  .it-eyebrow { width: 100%; justify-content: center; font-size: 10px; }
  .it-notes { display: grid; grid-template-columns: 1fr 1fr; }
  .it-system-card { padding: 16px; }
  .it-system-card__top { align-items: start; flex-direction: column; }
  .it-generator { padding: 13px; }
  .it-generator__form,
  .it-generator__result { padding: 15px; }
  .it-privacy-badge { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.inspidea-tools-page) { scroll-behavior: auto; }
  .inspidea-tools-shell *,
  .inspidea-tools-shell *::before,
  .inspidea-tools-shell *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (forced-colors: active) {
  .it-btn,
  .it-tool-card,
  .it-generator,
  .it-field input,
  .it-field select,
  .it-field textarea { border: 1px solid ButtonText; }
}
