:root {
    --ink: #101828;
    --ink-2: #344054;
    --muted: #667085;
    --line: #e7eaf0;
    --soft: #f7f9fc;
    --white: #ffffff;
    --brand: #5b4cf0;
    --brand-2: #755ff7;
    --accent: #16b8a6;
    --dark: #111827;
    --radius: 18px;
    --radius-lg: 26px;
    --shadow: 0 18px 50px rgba(17, 24, 39, .08);
    --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow-shell { width: min(calc(100% - 40px), 820px); margin-inline: auto; text-align: center; }
.article-shell { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.tool-shell { width: min(calc(100% - 40px), 1000px); margin-inline: auto; }
.section { padding: 96px 0; }
.section-tight { padding-top: 70px; }
.soft-section { background: var(--soft); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; transform: translateY(-160%); background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.88); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(231,234,240,.8); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, var(--brand), var(--accent)); box-shadow: 0 8px 22px rgba(91,76,240,.24); }
.brand-mark svg { width: 25px; fill: #fff; }
.brand-text { font-size: 22px; line-height: 1; }
.brand-text span { color: var(--brand); }
.brand-custom-logo { letter-spacing: 0; }
.brand-custom-logo .custom-logo-link { display: inline-flex; align-items: center; }
.brand-custom-logo .custom-logo { display: block; width: auto; max-width: 220px; max-height: 52px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 28px; }
.nav-list a { color: var(--ink-2); font-size: 14px; font-weight: 650; }
.nav-list a:hover { color: var(--brand); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle > span:not(.screen-reader-text) { width: 23px; height: 2px; display: block; margin: 5px 0; background: var(--ink); border-radius: 2px; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--brand); border-radius: 11px; background: var(--brand); color: #fff; font-weight: 750; box-shadow: 0 9px 24px rgba(91,76,240,.18); transition: .2s ease; }
.button:hover { transform: translateY(-1px); background: #4d3ee4; }
.button-small { min-height: 40px; padding: 9px 15px; font-size: 14px; }
.button-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: none; }
.button-ghost:hover { background: var(--soft); }
.button-light { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.button-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.2); box-shadow: none; }
.button-full { width: 100%; }
.text-link { color: var(--brand); font-weight: 750; display: inline-flex; align-items: center; gap: 6px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(3px); }
.muted-link { color: var(--muted); }

/* Typography */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: 12px; line-height: 1; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(22,184,166,.1); }
h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 21px; }
p { margin-top: 0; color: var(--muted); }

/* Home Hero */
.hero { position: relative; overflow: hidden; padding: 112px 0 96px; background: linear-gradient(180deg, #fbfbff 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 76px; position: relative; z-index: 2; }
.hero-copy h1 { max-width: 720px; margin: 22px 0 24px; }
.hero-copy h1 span { background: linear-gradient(100deg, var(--brand), #8d5cf6 50%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 650px; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; color: var(--muted); font-size: 13px; font-weight: 650; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-glow-one { width: 430px; height: 430px; right: -180px; top: -170px; background: radial-gradient(circle, rgba(91,76,240,.13), rgba(91,76,240,0) 70%); }
.hero-glow-two { width: 360px; height: 360px; left: 35%; bottom: -230px; background: radial-gradient(circle, rgba(22,184,166,.12), rgba(22,184,166,0) 70%); }
.hero-panel { background: #0f172a; color: #fff; border-radius: var(--radius-lg); box-shadow: 0 35px 70px rgba(15,23,42,.24); overflow: hidden; transform: rotate(1.3deg); }
.panel-topbar { display: flex; align-items: center; gap: 7px; padding: 15px 18px; background: #172036; border-bottom: 1px solid rgba(255,255,255,.07); }
.panel-dot { width: 9px; height: 9px; background: #344054; border-radius: 50%; }
.panel-title { margin-left: 8px; font-size: 11px; color: #98a2b3; }
.panel-body { padding: 28px; }
.fake-field, .fake-select { padding: 14px 15px; border: 1px solid #344054; background: #121a2e; border-radius: 10px; margin-bottom: 14px; }
.fake-field span, .fake-select span, .code-label { display: block; color: #7f8ba3; font-size: 9px; font-weight: 800; letter-spacing: .1em; margin-bottom: 4px; }
.fake-field strong, .fake-select strong { display: block; font-size: 13px; font-weight: 600; color: #dbe2ee; overflow-wrap: anywhere; }
.fake-row { display: grid; grid-template-columns: 1fr auto; align-items: stretch; gap: 12px; }
.fake-select { margin-bottom: 0; }
.fake-generate { display: grid; place-items: center; min-width: 104px; background: var(--brand); padding: 0 16px; border-radius: 10px; font-weight: 750; font-size: 13px; }
.fake-result { position: relative; margin-top: 18px; background: #07101f; border: 1px solid #253049; border-radius: 12px; padding: 16px 65px 16px 16px; }
.fake-result code { display: block; color: #a7f3d0; font-size: 11px; overflow-wrap: anywhere; }
.copy-demo { position: absolute; top: 14px; right: 13px; border: 1px solid #344054; background: #172036; color: #dbe2ee; border-radius: 8px; padding: 7px 9px; font-size: 10px; }

/* Sections */
.section-heading { margin-bottom: 36px; }
.section-heading h2 { margin: 10px 0 0; }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.centered-heading { max-width: 680px; text-align: center; margin-inline: auto; margin-bottom: 46px; }
.centered-heading p { font-size: 18px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-card { display: block; min-height: 245px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 rgba(17,24,39,.02); transition: .2s ease; }
.tool-card:hover { transform: translateY(-4px); border-color: rgba(91,76,240,.25); box-shadow: var(--shadow); }
.tool-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.tool-icon { min-width: 44px; height: 44px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 12px; background: #f1efff; color: var(--brand); font-size: 12px; font-weight: 850; }
.tool-arrow { color: #98a2b3; font-size: 18px; }
.tool-category { color: var(--brand); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.tool-card h3, .tool-card h2 { font-size: 21px; margin: 8px 0 11px; }
.tool-card p { margin: 0; font-size: 14px; }
.category-section { background: var(--soft); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { position: relative; min-height: 300px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.category-card:after { content: ''; position: absolute; width: 150px; height: 150px; right: -70px; bottom: -70px; border-radius: 50%; background: rgba(91,76,240,.06); transition: .25s; }
.category-card:hover:after { transform: scale(1.35); }
.category-number { color: #98a2b3; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.category-card h3 { font-size: 28px; margin: 70px 0 12px; }
.category-link { display: inline-block; margin-top: 18px; color: var(--brand); font-weight: 750; }
.why-section { background: var(--dark); color: #fff; }
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.why-copy h2, .why-copy p { color: #fff; }
.why-copy p { color: #aeb7c6; font-size: 18px; }
.benefit-list { border-top: 1px solid rgba(255,255,255,.1); }
.benefit { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.benefit > strong { color: #687386; font-size: 12px; }
.benefit h3 { color: #fff; margin-bottom: 8px; }
.benefit p { color: #9ca7b8; margin: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.post-thumb { aspect-ratio: 16/9; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #ece9ff, #e8faf7); color: var(--brand); font-weight: 800; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 22px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; color: #98a2b3; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 800; }
.post-card h3, .post-card h2 { font-size: 21px; margin: 10px 0; }
.post-card p { font-size: 14px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 46px 50px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(120deg, var(--brand), #4830d8 55%, #2f2a82); overflow: hidden; position: relative; }
.cta-box h2 { color: #fff; max-width: 720px; margin: 10px 0 10px; }
.cta-box p { color: rgba(255,255,255,.75); margin: 0; }
.eyebrow-light { color: #d8d3ff; }
.cta-box-dark { background: var(--dark); }

/* Inner pages */
.page-hero { padding: 110px 0 88px; background: linear-gradient(180deg, #f8f7ff 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.compact-hero { padding: 82px 0 68px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 60px); margin: 18px 0; }
.page-hero p { max-width: 700px; margin-inline: auto; font-size: 18px; }
.hire-hero { padding-bottom: 100px; }
.centered-actions { justify-content: center; }
.tool-filter { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-button { border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 750; }
.filter-button.is-active, .filter-button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tool-grid-directory { grid-template-columns: repeat(3, 1fr); }
.suggest-box { margin-top: 64px; padding: 38px 42px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--soft); }
.suggest-box h2 { font-size: 31px; margin: 8px 0; }
.suggest-box p { margin: 0; }
.content-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.content-intro h2 { margin-top: 12px; }
.prose { color: var(--ink-2); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 31px; margin-top: 46px; }
.prose h3 { font-size: 22px; margin-top: 30px; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose pre, .prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.prose pre { overflow-x: auto; background: #0f172a; color: #d8e0ec; padding: 22px; border-radius: 12px; }
.large-prose { font-size: 18px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; }
.value-card > span, .service-card > span { color: var(--brand); font-size: 11px; font-weight: 850; }
.value-card h3 { margin: 42px 0 10px; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 75px; }
.contact-aside h2 { font-size: 30px; }
.check-list { padding: 0; margin: 24px 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; margin: 13px 0; color: var(--ink-2); }
.check-list li:before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.contact-note { margin-top: 34px; padding: 20px; border-radius: 14px; background: var(--soft); }
.contact-note p { margin: 5px 0 0; font-size: 14px; }
.contact-form { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-form label { display: block; margin-bottom: 19px; }
.contact-form label > span { display: block; margin-bottom: 7px; font-weight: 750; font-size: 13px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid #d9dde6; border-radius: 10px; padding: 12px 13px; color: var(--ink); background: #fff; outline: none; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91,76,240,.08); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; font-weight: 650; }
.form-success { color: #067647; background: #ecfdf3; border: 1px solid #abefc6; }
.form-error { color: #b42318; background: #fef3f2; border: 1px solid #fecdca; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.service-card h2 { font-size: 26px; margin: 52px 0 12px; }
.large-check-list { margin-top: 0; margin-bottom: 30px; }
.post-grid-archive { grid-template-columns: repeat(3, 1fr); }
.pagination-wrap { margin-top: 45px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 39px; height: 39px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; }
.page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }
.empty-state { text-align: center; padding: 70px 20px; border: 1px dashed #d8dce5; border-radius: var(--radius); }
.single-hero { padding: 88px 0 55px; background: linear-gradient(180deg, #f8f7ff, #fff); }
.single-hero h1 { font-size: clamp(38px, 5vw, 62px); margin: 18px 0; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--brand); font-weight: 700; font-size: 13px; }
.single-excerpt { font-size: 19px; }
.article-featured { margin-top: 30px; }
.article-featured img { border-radius: var(--radius-lg); width: 100%; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 68px; padding-top: 60px; padding-bottom: 95px; }
.article-content { font-size: 17px; }
.article-content img { border-radius: 12px; }
.sticky-card { position: sticky; top: 105px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.sticky-card h2, .sticky-card h3 { font-size: 24px; margin: 9px 0 10px; }
.search-result { padding: 26px 0; border-bottom: 1px solid var(--line); }
.search-result > span { color: var(--brand); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.search-result h2 { font-size: 28px; margin: 7px 0; }
.not-found { min-height: 70vh; display: grid; place-items: center; padding: 90px 0; text-align: center; }
.error-code { display: block; margin-bottom: 6px; font-size: clamp(90px, 18vw, 180px); line-height: .9; color: #eeecff; font-weight: 900; letter-spacing: -.07em; }
.not-found h1 { font-size: clamp(40px, 5vw, 60px); margin: 14px 0; }

/* Tool template */
.tool-page-hero { padding: 72px 0 54px; background: #fafaff; border-bottom: 1px solid var(--line); }
.tool-breadcrumb { display: flex; gap: 8px; margin-bottom: 22px; color: #98a2b3; font-size: 13px; }
.tool-breadcrumb a { color: var(--brand); }
.tool-page-hero h1 { font-size: clamp(38px, 5vw, 56px); margin: 10px 0 14px; }
.tool-page-hero p { max-width: 720px; font-size: 18px; }
.tool-workspace-section { padding: 46px 0 10px; }
.tool-workspace { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.workspace-header { display: flex; justify-content: space-between; gap: 20px; padding: 23px 28px; border-bottom: 1px solid var(--line); background: #fbfbfd; }
.workspace-header h2 { font-size: 25px; margin: 6px 0 0; }
.privacy-chip { align-self: center; padding: 7px 10px; border-radius: 999px; background: #ecfdf3; color: #067647; font-size: 11px; font-weight: 800; }
.workspace-body { padding: 28px; }
.tool-label { display: block; margin-bottom: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--ink-2); }
.tool-textarea { width: 100%; resize: vertical; border: 1px solid #d9dde6; border-radius: 12px; padding: 15px; outline: none; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tool-textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91,76,240,.08); }
.workspace-actions { display: flex; gap: 10px; margin-top: 16px; }
.tool-output { position: relative; margin-top: 20px; padding: 17px; background: #0f172a; border-radius: 12px; }
.tool-output .tool-label { color: #98a2b3; }
.tool-output code { color: #a7f3d0; overflow-wrap: anywhere; }
.tool-copy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 70px; }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 8px; }

/* ==================================================
   Elementor JSON Validator
   ================================================== */
.tool-hero-chip { display: inline-flex; margin-top: 8px; }
.elementor-validator button:focus-visible,
.elementor-validator textarea:focus-visible,
.elementor-validator input:focus-visible {
    outline: 3px solid rgba(91,76,240,.2);
    outline-offset: 3px;
}
.validator-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    margin-bottom: 22px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--soft);
}
.validator-tab {
    min-height: 40px;
    padding: 8px 14px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 800;
}
.validator-tab.is-active {
    background: #fff;
    color: var(--brand);
    box-shadow: 0 8px 20px rgba(17,24,39,.07);
}
.validator-panel[hidden],
.validator-results[hidden] { display: none; }
.upload-dropzone {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 250px;
    padding: 28px;
    border: 1px dashed #c7cedb;
    border-radius: var(--radius);
    background: #fbfcff;
    text-align: center;
    transition: .2s ease;
}
.upload-dropzone.is-dragging {
    border-color: var(--brand);
    background: #f4f2ff;
    box-shadow: 0 0 0 4px rgba(91,76,240,.08);
}
.upload-dropzone-copy {
    display: grid;
    justify-items: center;
    gap: 9px;
}
.upload-dropzone-copy strong {
    color: var(--ink);
    font-size: 20px;
    line-height: 1.25;
}
.upload-dropzone-copy span,
.upload-dropzone-copy small {
    color: var(--muted);
}
.upload-button { margin: 10px 0 2px; }
.screen-reader-file {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.selected-file {
    margin: 12px 0 0;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 650;
}
.validator-textarea {
    min-height: 300px;
    line-height: 1.55;
}
.validator-primary-actions {
    align-items: center;
    flex-wrap: wrap;
}
.validator-primary-actions .button:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}
.validator-message {
    min-height: 26px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 750;
}
.validator-message.is-error { color: #b42318; }
.validator-message.is-success { color: #067647; }
.validator-results { margin-top: 22px; }
.result-panel {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}
.result-panel h3 {
    margin: 6px 0 8px;
    font-size: 28px;
}
.result-panel p { margin: 0; }
.result-panel.is-elementor-strong {
    border-color: #abefc6;
    background: #f3fdf6;
}
.result-panel.is-elementor-weak,
.result-panel.is-valid-json {
    border-color: #fedf89;
    background: #fffbeb;
}
.result-panel.is-invalid {
    border-color: #fecdca;
    background: #fff6f5;
}
.result-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: flex-start;
    gap: 8px;
    max-width: 340px;
}
.result-badge,
.domain-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid rgba(16,24,40,.08);
    border-radius: 999px;
    background: #fff;
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 800;
}
.report-actions {
    align-items: center;
    flex-wrap: wrap;
}
.report-feedback {
    color: #067647;
    font-size: 13px;
    font-weight: 800;
}
.validator-section {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}
.validator-section-heading { margin-bottom: 18px; }
.validator-section-heading h3 {
    margin: 7px 0 0;
    font-size: 24px;
}
.validator-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 11px;
}
.validator-stat-card {
    min-height: 94px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--soft);
}
.validator-stat-card span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.validator-stat-card strong {
    display: block;
    margin-top: 12px;
    color: var(--ink);
    font-size: 30px;
    line-height: 1;
}
.validator-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.template-info-list {
    margin: 0;
}
.template-info-row,
.widget-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.template-info-row:first-child,
.widget-row:first-child { padding-top: 0; }
.template-info-row:last-child,
.widget-row:last-child { border-bottom: 0; padding-bottom: 0; }
.template-info-row dt,
.widget-row span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}
.template-info-row dd,
.widget-row strong {
    margin: 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 850;
    text-align: right;
    overflow-wrap: anywhere;
}
.empty-result-note {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
.url-count { margin-bottom: 14px; }
.domain-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.url-list {
    display: grid;
    gap: 8px;
}
.url-list code {
    display: block;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #0f172a;
    color: #a7f3d0;
    font-size: 12px;
    overflow-wrap: anywhere;
}
.text-button {
    display: inline-flex;
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--brand);
    font-weight: 850;
}
.diagnostic-list {
    display: grid;
    gap: 10px;
}
.diagnostic-item {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
}
.diagnostic-item.is-error {
    border-color: #fecdca;
    background: #fff6f5;
}
.diagnostic-item.is-warning {
    border-color: #fedf89;
    background: #fffbeb;
}
.diagnostic-item.is-info {
    border-color: #b9e6fe;
    background: #f0f9ff;
}
.diagnostic-level {
    align-self: start;
    display: inline-flex;
    justify-content: center;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(16,24,40,.08);
    color: var(--ink-2);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.diagnostic-body strong {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
}
.diagnostic-body p {
    margin: 0;
    font-size: 14px;
}
.positive-diagnostic {
    margin: 0;
    color: #067647;
    font-weight: 800;
}
.validator-disclaimer {
    margin: 16px 0 0;
    font-size: 13px;
}

/* Footer */
.site-footer { padding-top: 68px; background: #0d1423; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; padding-bottom: 55px; }
.brand-footer .brand-text { color: #fff; }
.footer-brand p { max-width: 330px; margin-top: 18px; color: #8994a6; font-size: 14px; }
.site-footer h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { margin: 18px 0 0; padding: 0; list-style: none; }
.footer-links li { margin: 10px 0; }
.footer-links a { color: #9aa5b6; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom p { margin: 0; color: #6f7b8e; font-size: 12px; }

@media (max-width: 980px) {
    .hero-grid, .why-grid, .content-split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero { padding-top: 82px; }
    .hero-panel { max-width: 620px; transform: none; }
    .tool-grid, .tool-grid-directory, .post-grid, .post-grid-archive { grid-template-columns: repeat(2, 1fr); }
    .category-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout, .tool-copy-grid { grid-template-columns: 1fr; gap: 40px; }
    .validator-stat-grid { grid-template-columns: repeat(3, 1fr); }
    .validator-details-grid { grid-template-columns: 1fr; }
    .article-sidebar, .tool-copy-aside { display: none; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 780px) {
    .section { padding: 72px 0; }
    .header-inner { min-height: 68px; }
    .menu-toggle { display: block; margin-left: auto; }
    .primary-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 18px 20px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(17,24,39,.08); }
    .primary-nav.is-open { display: block; }
    .nav-list { display: block; }
    .nav-list li { border-bottom: 1px solid var(--line); }
    .nav-list a { display: block; padding: 13px 0; }
    .nav-cta { margin-top: 16px; width: 100%; }
    .split-heading, .cta-box, .suggest-box { align-items: flex-start; flex-direction: column; }
    .cta-box { padding: 34px 28px; }
    .tool-grid, .tool-grid-directory, .post-grid, .post-grid-archive, .category-grid, .service-grid { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; gap: 0; }
    .tool-card { min-height: 220px; }
    .values-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 520px) {
    .shell, .narrow-shell, .article-shell, .tool-shell { width: min(calc(100% - 28px), var(--shell)); }
    .hero { padding: 68px 0; }
    .hero-copy h1 { font-size: 43px; }
    .hero-actions .button { width: 100%; }
    .hero-trust { display: grid; gap: 8px; }
    .panel-body { padding: 18px; }
    .fake-row { grid-template-columns: 1fr; }
    .fake-generate { min-height: 42px; }
    .section-heading { margin-bottom: 28px; }
    .page-hero, .compact-hero { padding: 65px 0 52px; }
    .workspace-header { display: block; }
    .privacy-chip { display: inline-block; margin-top: 12px; }
    .workspace-body, .contact-form { padding: 20px; }
    .workspace-actions { flex-direction: column; }
    .workspace-actions .button { width: 100%; }
    .result-panel { display: block; }
    .result-badges { justify-content: flex-start; max-width: none; margin-top: 16px; }
    .validator-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .diagnostic-item { grid-template-columns: 1fr; gap: 9px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 0; }
}
