/* tools/_shared/tools.css - the free tools section: /tools and every tool page.
   Light page, deep navy + teal accents, real photos in 3:2 boxes (the whole picture, never cut),
   3D scenes that move only with transform/opacity (smooth on phones), all motion off for reduced motion. */

.tz-page, .tz-scene, .tz-guide {
    --tz-navy: #0f2a4a;
    --tz-navy-2: #0b1f3a;
    --tz-teal: #14b8a6;
    --tz-teal-d: #0d9488;
    --tz-sky: #0ea5e9;
    --tz-ink: #0f172a;
    --tz-text: #334155;
    --tz-muted: #5b6b82;
    --tz-line: #e2e8f0;
    --tz-bg: #f4f7fb;
    --tz-ease: cubic-bezier(.22, .8, .24, 1);
    --tz-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 10px 24px -12px rgba(15, 42, 74, .22), 0 34px 60px -28px rgba(15, 42, 74, .30);
    --tz-shadow-hi: 0 2px 4px rgba(15, 23, 42, .06), 0 18px 36px -14px rgba(15, 42, 74, .30), 0 50px 80px -34px rgba(15, 42, 74, .42);
}
.tz-page {
    background: linear-gradient(180deg, #ffffff 0%, var(--tz-bg) 520px, #ffffff 100%);
    color: var(--tz-text);
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    padding-bottom: 10px;
    text-align: left;
}
.tz-page *, .tz-page *::before, .tz-page *::after { box-sizing: border-box; }
.tz-page [hidden] { display: none !important; }
.tz-page h1, .tz-page h2, .tz-page h3 { color: var(--tz-ink); letter-spacing: -.3px; }
.tz-page a:where(:not(.tz-btn)) { color: inherit; }   /* buttons keep their own text colour */

.tz-wrap { width: 96%; max-width: 2560px; margin: 0 auto; }
.tz-wrap--narrow { max-width: 2560px; }   /* full width like every other section; long lists use two columns instead */

/* ---------- breadcrumbs ---------- */
.tz-crumbs { width: 96%; max-width: 2560px; margin: 18px auto 0; font-size: 13.5px; color: var(--tz-muted); }
.tz-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.tz-crumbs li + li::before { content: '/'; margin-right: 6px; color: #b6c2d2; }
.tz-crumbs a { color: var(--tz-teal-d); text-decoration: none; font-weight: 600; }
.tz-crumbs a:hover { text-decoration: underline; }

/* ---------- shared text pieces ---------- */
.tz-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--tz-teal-d); background: #e6fbf8; border: 1px solid #c6f2ec; }
.tz-grad { background: linear-gradient(100deg, var(--tz-teal) 0%, var(--tz-sky) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tz-head { text-align: center; max-width: 820px; margin: 0 auto 34px; }
.tz-head h2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; margin: 14px 0 10px; font-weight: 800; }
.tz-head p { font-size: 16.5px; line-height: 1.75; color: var(--tz-muted); margin: 0; }
.tz-band { padding: 64px 0; }
.tz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 14px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--tz-ease), box-shadow .25s, background .25s, color .25s; }
.tz-btn--primary { color: #fff; background: linear-gradient(135deg, var(--tz-teal) 0%, var(--tz-teal-d) 100%); box-shadow: 0 14px 28px -14px rgba(13, 148, 136, .85); }
.tz-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(13, 148, 136, .9); color: #fff; }
.tz-btn--glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }
.tz-btn--glass:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); color: #fff; }
.tz-btn--light { color: var(--tz-navy); background: #fff; border-color: var(--tz-line); }
.tz-btn--light:hover { border-color: #99f6e4; transform: translateY(-2px); }

/* =====================================================================
   HUB HERO (/tools): navy stage with the six tool photos in a 3D arc
   ===================================================================== */
.tz-hub-hero { position: relative; width: 96%; max-width: 2560px; margin: 18px auto 0; border-radius: 30px; overflow: hidden; color: #e6edf7;
    background: radial-gradient(900px 520px at 82% 30%, rgba(20, 184, 166, .22), transparent 60%), radial-gradient(700px 520px at 8% 110%, rgba(14, 165, 233, .18), transparent 60%), linear-gradient(135deg, #0b1f3a 0%, #102c50 55%, #0d3a4f 100%);
    box-shadow: 0 30px 60px -30px rgba(11, 31, 58, .55); }
.tz-hub-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 26px 26px; pointer-events: none; }
.tz-hub-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 30px; padding: 62px 4% 56px; min-height: 560px; }
.tz-hub-text .tz-eyebrow { color: #99f6e4; background: rgba(20, 184, 166, .14); border-color: rgba(94, 234, 212, .3); }
.tz-hub-text h1 { color: #fff; font-size: clamp(34px, 3.6vw, 58px); line-height: 1.08; font-weight: 800; margin: 18px 0 16px; letter-spacing: -1px; }
.tz-hub-text p.tz-lead { font-size: 17.5px; line-height: 1.75; color: #c3d0e6; max-width: 620px; margin: 0 0 26px; }
.tz-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.tz-facts li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600; color: #e6edf7; }
.tz-facts i { color: #5eead4; }
.tz-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* the 3D carousel: one big card in front, one turned card on each side; it moves to the next tool every few seconds.
   Every card has its own 3D transform (no shared 3D space), so cards never cut through each other. */
.tz-arc { position: relative; height: 450px; }
.tz-arc-stage { position: absolute; inset: 0 0 40px; transform: perspective(1500px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .9s var(--tz-ease); }
.tz-arc-card { position: absolute; left: 50%; top: 50%; width: 56%; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; display: block; text-decoration: none;
    transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: transform 1s var(--tz-ease), opacity .8s var(--tz-ease), box-shadow 1s, filter 1s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25), 0 30px 50px -22px rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .25); background: #0b1f3a; }
.tz-arc-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tz-arc-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, 0) 36%); pointer-events: none; }
.tz-arc-card.is-side { filter: brightness(.78) saturate(.9); }
.tz-arc-card.is-front { box-shadow: 0 2px 4px rgba(0, 0, 0, .25), 0 40px 70px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(94, 234, 212, .35); }
.tz-arc-cap { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: #fff; background: rgba(11, 31, 58, .78); border: 1px solid rgba(255, 255, 255, .18); }
.tz-arc-cap i { color: #5eead4; }
.tz-arc-floor { position: absolute; left: 18%; right: 18%; bottom: 28px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); }
.tz-arc-dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 8px; }
.tz-arc-dots span { width: 8px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .3); transition: width .4s var(--tz-ease), background .4s; }
.tz-arc-dots span.on { width: 26px; background: #5eead4; }

/* =====================================================================
   TOOL PAGE HERO: text + the 3D photo scene
   ===================================================================== */
.tz-tool-hero { width: 96%; max-width: 2560px; margin: 18px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 40px; align-items: center; padding: 34px 3% 30px; border-radius: 30px;
    background: radial-gradient(800px 420px at 90% 10%, rgba(20, 184, 166, .12), transparent 60%), radial-gradient(700px 420px at 0% 100%, rgba(14, 165, 233, .10), transparent 60%), #ffffff;
    border: 1px solid #e8eef6; box-shadow: var(--tz-shadow); }
.tz-tool-hero h1 { font-size: clamp(32px, 3.2vw, 52px); line-height: 1.1; font-weight: 800; margin: 16px 0 14px; letter-spacing: -.8px; }
.tz-tool-hero p.tz-lead { font-size: 17px; line-height: 1.75; color: var(--tz-muted); margin: 0 0 22px; max-width: 640px; }
.tz-tool-hero .tz-facts li { background: #f6f9fc; border-color: var(--tz-line); color: var(--tz-ink); }
.tz-tool-hero .tz-facts i { color: var(--tz-teal-d); }

/* the 3D scene */
.tz-scene { position: relative; margin: 0; padding: 26px 40px 46px; perspective: 1600px; }
.tz-stage { position: relative; transform-style: preserve-3d; transform: rotateX(calc(7deg + var(--rx, 0deg))) rotateY(calc(-12deg + var(--ry, 0deg))); transition: transform .9s var(--tz-ease); }
.tz-plate { position: absolute; inset: 7% -5% -7% 7%; border-radius: 26px; transform: translateZ(-70px);
    background: linear-gradient(135deg, #0f2a4a 0%, #0d4a5a 100%); box-shadow: 0 40px 70px -30px rgba(11, 31, 58, .55); }
.tz-plate::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 28px 28px; }
.tz-photo { position: relative; aspect-ratio: 3 / 2; border-radius: 24px; padding: 10px; transform: translateZ(0); animation: tzFloat 9s ease-in-out infinite;
    background: linear-gradient(145deg, #ffffff 0%, #eef3f9 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 4px rgba(15, 23, 42, .08), 0 30px 50px -18px rgba(15, 42, 74, .42), 0 70px 90px -40px rgba(15, 42, 74, .45); }
.tz-photo > img, .tz-photo > picture > img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.tz-sheen { position: absolute; inset: 10px; border-radius: 16px; overflow: hidden; pointer-events: none; }
.tz-sheen::before { content: ''; position: absolute; top: -20%; bottom: -20%; width: 34%; left: -50%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .34), rgba(255, 255, 255, 0)); transform: skewX(-14deg); animation: tzSheen 7s ease-in-out infinite; }
.tz-scan { position: absolute; left: 10px; right: 10px; top: 10px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(20, 184, 166, 0), #2dd4bf 20%, #5eead4 50%, #2dd4bf 80%, rgba(20, 184, 166, 0)); box-shadow: 0 0 18px 4px rgba(45, 212, 191, .55); animation: tzScan 4.2s ease-in-out infinite; }
.tz-corners i { position: absolute; width: 34px; height: 34px; border: 3px solid #5eead4; filter: drop-shadow(0 0 6px rgba(45, 212, 191, .7)); }
.tz-corners i:nth-child(1) { left: 22%; top: 16%; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.tz-corners i:nth-child(2) { right: 22%; top: 16%; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.tz-corners i:nth-child(3) { left: 22%; bottom: 14%; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.tz-corners i:nth-child(4) { right: 22%; bottom: 14%; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.tz-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; border-radius: 16px; background: rgba(255, 255, 255, .96); border: 1px solid #e6edf5;
    box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 22px 36px -16px rgba(15, 42, 74, .45); transform: translateZ(90px); animation: tzChip 7s ease-in-out infinite; white-space: nowrap; }
.tz-chip--a { left: -26px; bottom: 14%; }
.tz-chip--b { right: -22px; top: 10%; animation-delay: -3.5s; }
.tz-chip-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #14b8a6, #0ea5e9); box-shadow: 0 8px 16px -8px rgba(14, 165, 233, .9); }
.tz-chip--b .tz-chip-ic { background: linear-gradient(135deg, #0f2a4a, #1d4f80); }
.tz-chip small { display: block; font-size: 11.5px; font-weight: 600; color: var(--tz-muted); letter-spacing: .2px; }
.tz-chip b { display: block; font-size: 15px; color: var(--tz-ink); }
.tz-floor { position: absolute; left: 14%; right: 10%; bottom: 4px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 42, 74, .28), rgba(15, 42, 74, 0)); animation: tzFloor 9s ease-in-out infinite; }

@keyframes tzFloat { 0%, 100% { transform: translateZ(0) translateY(0); } 50% { transform: translateZ(14px) translateY(-10px); } }
@keyframes tzChip { 0%, 100% { transform: translateZ(90px) translateY(0); } 50% { transform: translateZ(104px) translateY(-9px); } }
@keyframes tzFloor { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.92); opacity: .75; } }
@keyframes tzSheen { 0%, 55% { left: -50%; } 100% { left: 130%; } }
@keyframes tzScan { 0% { top: 10px; } 50% { top: calc(100% - 13px); } 100% { top: 10px; } }

/* the checker pages (AI Visibility Checker): their own hero text + this scene beside it */
.avc-hero__head.tz-with-scene { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 36px; align-items: center; text-align: left; }
.avc-hero__head.tz-with-scene .avc-hero__sub { margin-left: 0; }
.avc-hero__head.tz-with-scene .tz-scene { font-family: 'Poppins', system-ui, sans-serif; }
.avc-hero__head.tz-with-scene .tz-scene { padding: 10px 34px 40px; }

/* =====================================================================
   THE TOOL ITSELF: one premium card around the tool's own screen
   ===================================================================== */
.tz-tool-shell { width: 96%; max-width: 2560px; margin: 30px auto 0; padding: 30px; border-radius: 28px; background: #fff; border: 1px solid #e8eef6; box-shadow: var(--tz-shadow); position: relative; }
.tz-tool-shell::before { content: ''; position: absolute; left: 30px; right: 30px; top: 0; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--tz-teal), var(--tz-sky), #6366f1); }
.tz-shell-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.tz-shell-head h2 { margin: 0; font-size: 22px; font-weight: 800; }
.tz-shell-head h2 i { color: var(--tz-teal-d); margin-right: 8px; }
.tz-shell-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; padding: 7px 13px; border-radius: 999px; }

/* =====================================================================
   HUB CONTENT: intro, value tiles, the tool boxes (3 per row)
   ===================================================================== */
.tz-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.tz-intro h2 { font-size: clamp(26px, 2.5vw, 38px); line-height: 1.2; font-weight: 800; margin: 14px 0 14px; }
.tz-intro p { font-size: 16.5px; line-height: 1.85; margin: 0 0 14px; color: var(--tz-text); }
.tz-values { display: grid; gap: 16px; }
.tz-value { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid #e8eef6; box-shadow: var(--tz-shadow); }
.tz-value-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; font-size: 20px; background: linear-gradient(135deg, #14b8a6, #0ea5e9); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 12px 22px -10px rgba(14, 165, 233, .8); }
.tz-value:nth-child(2) .tz-value-ic { background: linear-gradient(135deg, #0f2a4a, #1d4f80); box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 12px 22px -10px rgba(15, 42, 74, .8); }
.tz-value:nth-child(3) .tz-value-ic { background: linear-gradient(135deg, #6366f1, #0ea5e9); box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 12px 22px -10px rgba(99, 102, 241, .8); }
.tz-value h3 { margin: 2px 0 6px; font-size: 17px; font-weight: 700; }
.tz-value p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--tz-muted); }

.tz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.tz-card { position: relative; display: flex; flex-direction: column; border-radius: 26px; background: #fff; border: 1px solid #e6edf5; text-decoration: none; overflow: hidden;
    box-shadow: var(--tz-shadow); transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .45s var(--tz-ease), box-shadow .45s var(--tz-ease), border-color .3s; }
.tz-card:hover { --lift: -6px; box-shadow: var(--tz-shadow-hi); border-color: #c8efe9; }
.tz-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(20, 184, 166, .10), transparent 45%); }
.tz-card:hover::after { opacity: 1; }
.tz-card-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #e9eef5; }
.tz-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .6s var(--tz-ease); }
.tz-card:hover .tz-card-media img { filter: brightness(1.06) saturate(1.05); }   /* no zoom: the whole picture always shows */
.tz-card-tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 11px; font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(11, 31, 58, .74); border: 1px solid rgba(255, 255, 255, .2); }
.tz-card-tag i { color: #5eead4; }
.tz-card-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px 26px 26px; }
.tz-card-title { font-size: 22px; font-weight: 800; color: var(--tz-ink); letter-spacing: -.3px; }
.tz-card-text { font-size: 15px; line-height: 1.7; color: var(--tz-muted); }
.tz-card-points { display: flex; flex-wrap: wrap; gap: 8px; }
.tz-card-points span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: var(--tz-navy); background: #f2f6fb; border: 1px solid #e6edf5; }
.tz-card-points i { color: var(--tz-teal-d); font-size: 11px; }
.tz-card-go { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: 14px; font-weight: 700; font-size: 15px; color: #fff;
    background: linear-gradient(135deg, #0f2a4a 0%, #16406b 100%); box-shadow: 0 12px 24px -14px rgba(15, 42, 74, .9); transition: background .3s, box-shadow .3s; }
.tz-card:hover .tz-card-go { background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); box-shadow: 0 14px 26px -14px rgba(13, 148, 136, .95); }
.tz-card-go i { transition: transform .3s var(--tz-ease); }
.tz-card:hover .tz-card-go i { transform: translateX(4px); }

/* steps + FAQ + CTA */
.tz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--tz-cols, 3), minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.tz-step { position: relative; padding: 30px 26px 28px; border-radius: 24px; background: #fff; border: 1px solid #e8eef6; box-shadow: var(--tz-shadow);
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s var(--tz-ease); }
.tz-step-n { position: absolute; right: 22px; top: 18px; font-size: 44px; font-weight: 800; color: #eef3f8; line-height: 1; }
.tz-step-ic { width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, #14b8a6, #0ea5e9); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 14px 24px -12px rgba(14, 165, 233, .85); margin-bottom: 18px; position: relative; }
.tz-step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; position: relative; }
.tz-step p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--tz-muted); position: relative; }
.tz-faq { display: grid; gap: 12px; align-items: start; }
@media (min-width: 1100px) { .tz-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; } }
.tz-faq details { border-radius: 18px; background: #fff; border: 1px solid #e8eef6; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: box-shadow .3s, border-color .3s; }
.tz-faq details[open] { border-color: #c8efe9; box-shadow: var(--tz-shadow); }
.tz-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 22px; font-weight: 700; font-size: 16px; color: var(--tz-ink); }
.tz-faq summary::-webkit-details-marker { display: none; }
.tz-faq summary i { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; color: var(--tz-teal-d); background: #e6fbf8; transition: transform .3s var(--tz-ease); }
.tz-faq details[open] summary i { transform: rotate(45deg); }
.tz-faq details p { margin: 0; padding: 0 22px 20px; font-size: 15px; line-height: 1.75; color: var(--tz-text); }
.tz-cta { width: 96%; max-width: 2560px; margin: 10px auto 40px; border-radius: 30px; padding: 46px 4%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; color: #e6edf7;
    background: radial-gradient(700px 300px at 85% 0%, rgba(20, 184, 166, .25), transparent 60%), linear-gradient(135deg, #0b1f3a 0%, #123a63 60%, #0c6b6c 100%); box-shadow: 0 30px 60px -30px rgba(11, 31, 58, .55); }
.tz-cta h2 { color: #fff; margin: 0 0 8px; font-size: clamp(24px, 2.2vw, 34px); font-weight: 800; }
.tz-cta p { margin: 0; color: #c3d0e6; font-size: 16px; line-height: 1.7; }

/* reveal on scroll (only when the script runs; without it everything is visible) */
.tz-js .tz-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--tz-ease), transform .8s var(--tz-ease); }
.tz-js .tz-reveal.is-in { opacity: 1; transform: none; }
.tz-paused, .tz-paused * { animation-play-state: paused !important; }

/* ---------- sizes ---------- */
@media (max-width: 1180px) {
    .tz-hub-in, .tz-tool-hero { grid-template-columns: 1fr; }
    .tz-arc { height: 420px; max-width: 760px; margin: 0 auto; width: 100%; }
    .tz-intro { grid-template-columns: 1fr; }
    .tz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tz-steps { grid-template-columns: 1fr 1fr; }
    .avc-hero__head.tz-with-scene { grid-template-columns: 1fr; }
    .avc-hero__head.tz-with-scene .tz-scene { max-width: 720px; }
    .tz-scene { max-width: 760px; margin: 0 auto; }
}
@media (max-width: 760px) {
    .tz-hub-in { padding: 40px 6% 34px; min-height: 0; }
    .tz-arc { height: 290px; }
    .tz-arc-card { width: 64%; border-radius: 14px; }
    .tz-arc-cap { font-size: 11.5px; padding: 6px 10px; left: 8px; bottom: 8px; }
    .tz-tool-hero { padding: 26px 5% 20px; gap: 18px; }
    .tz-scene { padding: 14px 18px 34px; }
    .tz-chip { padding: 8px 12px 8px 8px; gap: 9px; border-radius: 13px; }
    .tz-chip-ic { width: 32px; height: 32px; border-radius: 10px; font-size: 13px; }
    .tz-chip b { font-size: 13px; } .tz-chip small { font-size: 10.5px; }
    .tz-chip--a { left: -6px; } .tz-chip--b { right: -6px; }
    .tz-grid, .tz-steps { grid-template-columns: 1fr; }
    .tz-band { padding: 46px 0; }
    .tz-tool-shell { padding: 22px 16px; border-radius: 22px; }
    .tz-tool-shell::before { left: 16px; right: 16px; }
    .tz-cta { grid-template-columns: 1fr; padding: 34px 6%; }
    .tz-card-body { padding: 20px 20px 22px; }
}
@media (hover: none) { .tz-card, .tz-step { transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .tz-page *, .tz-page *::before, .tz-page *::after { animation: none !important; transition: none !important; }
    .tz-js .tz-reveal { opacity: 1; transform: none; }
}

/* ---------- expert guide (azToolGuide): header, key takeaways, contents list that stays in view, article ---------- */
.tz-guide { font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--tz-text); text-align: left; }
.tz-guide *, .tz-guide *::before, .tz-guide *::after { box-sizing: border-box; }
.tz-guide-head { max-width: 900px; margin: 0 auto 38px; text-align: center; }
.tz-guide-head h2 { font-size: clamp(27px, 2.7vw, 40px); line-height: 1.2; margin: 14px 0 12px; font-weight: 800; color: var(--tz-ink); letter-spacing: -.4px; }
.tz-guide-lead { font-size: 17px; line-height: 1.8; color: var(--tz-muted); margin: 0 0 16px; }
.tz-guide-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 0; font-size: 13.5px; font-weight: 600; color: var(--tz-muted); }
.tz-guide-meta i { color: var(--tz-teal-d); margin-right: 6px; }
/* Full width: contents | article | key takeaways on wide screens; contents + (takeaways above the article) on laptops; one column on phones */
.tz-guide-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); grid-template-areas: 'toc side' 'toc body'; gap: 30px 46px; align-items: start; }
.tz-guide-toc { grid-area: toc; } .tz-guide-side { grid-area: side; } .tz-guide-body { grid-area: body; }
.tz-guide-side .tz-g-key { margin-bottom: 0; }
.tz-g-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 9px 16px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #0b1f3a; background: #5eead4; text-decoration: none; position: relative; z-index: 1; transition: transform .25s var(--tz-ease), background .25s; }
.tz-g-back:hover { background: #99f6e4; transform: translateY(-1px); }
@media (min-width: 1500px) {
    .tz-guide-grid { grid-template-columns: 280px minmax(0, 1fr) 380px; grid-template-areas: 'toc body side'; gap: 46px; }
    .tz-guide-side { position: sticky; top: 96px; }
}
.tz-guide-toc { position: sticky; top: 96px; padding: 22px 20px; border-radius: 22px; background: #fff; border: 1px solid #e6edf6; box-shadow: var(--tz-shadow); }
.tz-guide-toc-title { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--tz-navy); }
.tz-guide-toc-title i { color: var(--tz-teal-d); margin-right: 6px; }
.tz-guide-toc ol { list-style: none; counter-reset: g; margin: 0; padding: 0; display: grid; gap: 2px; }
.tz-guide-toc li { counter-increment: g; }
.tz-guide-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 8px 10px; border-radius: 12px; font-size: 14px; line-height: 1.45; color: var(--tz-text); text-decoration: none; transition: background .25s var(--tz-ease), color .25s var(--tz-ease); }
.tz-guide-toc a::before { content: counter(g, decimal-leading-zero); font-size: 12px; font-weight: 800; color: #94a3b8; padding-top: 2px; }
.tz-guide-toc a:hover, .tz-guide-toc a.is-on { background: #ecfdf9; color: var(--tz-teal-d); }
.tz-guide-toc a.is-on::before { color: var(--tz-teal-d); }
.tz-guide-body { min-width: 0; font-size: 16.5px; line-height: 1.85; }
.tz-g-key { position: relative; padding: 26px 30px 24px; border-radius: 24px; margin-bottom: 34px; color: #dbe7f5; background: radial-gradient(120% 140% at 0% 0%, #12406a 0%, var(--tz-navy) 45%, var(--tz-navy-2) 100%); box-shadow: var(--tz-shadow-hi); overflow: hidden; }
.tz-g-key::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 212, 191, .28), transparent 70%); pointer-events: none; }
.tz-g-key h3 { margin: 0 0 12px; font-size: 18px; color: #fff; }
.tz-g-key h3 i { color: #5eead4; margin-right: 8px; }
.tz-g-key ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.tz-g-key li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.7; }
.tz-g-key li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free'; font-weight: 900; position: absolute; left: 0; top: 1px; color: #5eead4; font-size: 13px; }
.tz-g-key b, .tz-g-key strong { color: #fff; }
.tz-g-sec { scroll-margin-top: 96px; padding: 30px 0 10px; border-top: 1px solid #e6edf6; }
.tz-guide-body > .tz-g-sec:first-child { border-top: 0; padding-top: 0; }
.tz-g-sec h3 { margin: 0 0 14px; font-size: clamp(21px, 1.8vw, 27px); line-height: 1.3; font-weight: 800; color: var(--tz-ink); letter-spacing: -.3px; }
.tz-g-sec h4 { margin: 22px 0 8px; font-size: 18px; line-height: 1.4; font-weight: 700; color: var(--tz-navy); }
.tz-g-sec p { margin: 0 0 16px; }
.tz-g-sec a { color: var(--tz-teal-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tz-g-sec strong { color: var(--tz-ink); }
.tz-g-sec ul, .tz-g-sec ol { margin: 0 0 18px; padding-left: 4px; list-style: none; display: grid; gap: 8px; }
.tz-g-sec ul > li { position: relative; padding-left: 26px; }
.tz-g-sec ul > li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--tz-teal), var(--tz-sky)); }
.tz-g-sec ol { counter-reset: n; }
.tz-g-sec ol > li { counter-increment: n; position: relative; padding-left: 40px; }
.tz-g-sec ol > li::before { content: counter(n); position: absolute; left: 0; top: .15em; width: 27px; height: 27px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--tz-teal-d), var(--tz-navy)); }
.tz-g-sec ul.tz-g-check > li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free'; font-weight: 900; width: auto; height: auto; background: none; color: var(--tz-teal-d); top: 0; left: 2px; font-size: 13px; }
.tz-g-tip { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; margin: 6px 0 20px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, #f0fdfa, #f0f9ff); border: 1px solid #c8efe9; font-size: 15.5px; line-height: 1.75; }
.tz-g-tip > i { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--tz-teal), var(--tz-sky)); box-shadow: 0 8px 18px -8px rgba(13, 148, 136, .7); }
.tz-g-tip p { margin: 0; }
.tz-g-tip b { color: var(--tz-ink); }
.tz-g-tip--warn { background: linear-gradient(135deg, #fff7ed, #fffbeb); border-color: #fde3c4; }
.tz-g-tip--warn > i { background: linear-gradient(135deg, #f59e0b, #ea580c); box-shadow: 0 8px 18px -8px rgba(234, 88, 12, .6); }
.tz-g-table { width: 100%; overflow-x: auto; margin: 6px 0 22px; border-radius: 18px; border: 1px solid #e6edf6; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.tz-g-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.6; min-width: 560px; }
.tz-g-table th { text-align: left; padding: 13px 16px; font-size: 12.5px; letter-spacing: .6px; text-transform: uppercase; color: #fff; background: var(--tz-navy); }
.tz-g-table td { padding: 13px 16px; vertical-align: top; border-top: 1px solid #edf2f8; }
.tz-g-table tr:nth-child(even) td { background: #f8fbfe; }
.tz-g-table td:first-child { font-weight: 700; color: var(--tz-ink); }
.tz-g-code { margin: 6px 0 20px; padding: 18px 20px; border-radius: 16px; overflow-x: auto; font: 14px/1.7 ui-monospace, 'Cascadia Code', Consolas, monospace; color: #d6f5ef; background: var(--tz-navy-2); box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .15); white-space: pre; }
.tz-g-code .c { color: #7d93ad; }
.tz-g-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 6px 0 22px; }
.tz-g-card { padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid #e6edf6; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); font-size: 15px; line-height: 1.7; }
.tz-g-card h4 { margin: 0 0 6px; font-size: 16.5px; }
.tz-g-card h4 i { color: var(--tz-teal-d); margin-right: 8px; }
.tz-g-card p { margin: 0; }
@media (max-width: 1080px) {
    .tz-guide-grid { grid-template-columns: 1fr; grid-template-areas: 'toc' 'side' 'body'; gap: 24px; }
    .tz-guide-toc { position: static; }
    .tz-guide-toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .tz-guide-toc ol, .tz-g-cards { grid-template-columns: 1fr; }
    .tz-g-key { padding: 22px 20px; }
    .tz-guide-body { font-size: 16px; }
    .tz-g-tip { grid-template-columns: 1fr; }
}
.tz-g-sec code, .tz-guide-body code { padding: 2px 7px; border-radius: 7px; font: 600 .88em/1.5 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--tz-navy); background: #eef4fb; border: 1px solid #dfe8f3; white-space: nowrap; }

/* Checker pages (ai-visibility-checker/avc.css): same full width as every other tool page; their questions in two columns */
.avc-page .avc-wrap, .avc-page .avc-wrap--narrow { max-width: 2560px; }
@media (min-width: 1100px) { .avc-page .avc-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px 18px; } }
@media (min-width: 2200px) { .tz-guide-grid { grid-template-columns: 320px minmax(0, 1fr) 440px; gap: 56px; } }   /* very wide screens: the side columns grow with the page */
/* <picture> (fast AVIF / WebP pictures) adds no box of its own: the img inside keeps every rule written for it */
.tz-page picture, .tz-scene picture, .tz-hub picture, .avc-page picture { display: contents; }
