:root {
    --ink: #20172f;
    --muted: #6f6280;
    --line: #e7dfef;
    --panel: #ffffff;
    --wash: #fbf7fb;
    --violet: #7c5cff;
    --pink: #f3a5c8;
    --mint: #8bd7c8;
    --gold: #ffd166;
    --shadow: 0 18px 45px rgba(47, 28, 72, .12);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(180deg, #fff 0%, #fbf8fd 34%, #fff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }

.site-header,
.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    filter: drop-shadow(0 10px 18px rgba(47, 28, 72, .16));
}

.brand-copy { min-width: 0; }

.brand strong { display: block; line-height: 1; font-size: 16px; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: 0; text-transform: uppercase; }

.top-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
}

.language-switcher a {
    min-width: 32px;
    padding: 6px 8px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.language-switcher a.is-active {
    background: var(--violet);
    color: #fff;
}

.hero-section,
.tool-hero,
.directory-hero,
.section,
.not-found {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-section,
.tool-hero,
.directory-hero {
    padding: 42px 0 28px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.breadcrumbs a {
    color: #6e54e8;
}

.breadcrumbs a::after {
    content: "/";
    margin-left: 8px;
    color: #b5a8c5;
}

.hero-copy {
    max-width: 780px;
    margin: 0 auto 22px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 10px;
    color: #765e98;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
    margin-bottom: 12px;
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.05;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 10px;
    font-size: clamp(26px, 3.4vw, 38px);
    letter-spacing: 0;
}

h3 { margin-bottom: 10px; font-size: 20px; }

.hero-text {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.generator-panel {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 20px 55px rgba(47, 28, 72, .1);
}

.field label,
.control-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
}

.field input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-size: 16px;
    outline: none;
}

.field input:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, .12);
}

.control-group { margin-top: 0; }

.tool-controls {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #eee7f4;
    border-radius: 8px;
    background: #fcfafe;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 12px;
    align-items: end;
    padding-top: 2px;
    border: 0;
    background: transparent;
}

.option-field {
    min-width: 0;
}

.option-field .control-label {
    margin-bottom: 6px;
    font-size: 13px;
}

.options-grid select {
    width: 100%;
    height: 44px;
    padding: 0 36px 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 800;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #6f6280 50%), linear-gradient(135deg, #6f6280 50%, transparent 50%);
    background-position: calc(100% - 18px) 18px, calc(100% - 12px) 18px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.toggle-option {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
}

.toggle-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--violet);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip,
.tab,
.button,
.copy-pill {
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.chip {
    min-height: 38px;
    padding: 0 14px;
    color: #6f6280;
    background: #f0ebf4;
    border: 1px solid transparent;
}

.chip.is-active {
    color: #fff;
    background: var(--violet);
    box-shadow: 0 8px 18px rgba(124, 92, 255, .22);
}

.chips [data-style="coquette"].is-active { background: var(--pink); color: var(--ink); }
.chips [data-style="gamer"].is-active { background: var(--mint); color: var(--ink); }
.chips [data-style="y2k"].is-active { background: var(--gold); color: var(--ink); }

.generator-actions {
    display: grid;
    align-items: center;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.generator-main-button {
    justify-self: end;
    min-width: 170px;
}

.generator-refresh-button {
    min-width: 150px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
}

.button-primary {
    color: #fff;
    background: var(--violet);
    box-shadow: 0 12px 25px rgba(124, 92, 255, .28);
}

.button-light {
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
}

.count-badge {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    margin-left: 8px;
    place-items: center;
    border-radius: 999px;
    background: #f0eaf4;
    color: #6f6280;
    font-size: 12px;
}

.results {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px;
    border-radius: 8px;
    background: #f0eaf4;
}

.tab {
    flex: 1 1 130px;
    padding: 11px 12px;
    color: #6f6280;
    background: transparent;
}

.tab.is-active {
    color: var(--ink);
    background: #fff;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.result-card {
    display: flex;
    min-width: 0;
    min-height: 112px;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.result-card strong {
    overflow-wrap: anywhere;
    font-size: 19px;
    line-height: 1.35;
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.result-meta span {
    padding: 5px 8px;
    border-radius: 8px;
    background: #f4f0f8;
    color: #6f6280;
    font-size: 12px;
    font-weight: 800;
}

.result-tip {
    margin-top: 10px;
    color: var(--muted);
}

.result-card-actions {
    display: flex;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}

.result-card-variants {
    justify-content: flex-start;
}

.mini-button {
    min-width: 0;
    max-width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    font-weight: 800;
    overflow: hidden;
    padding: 8px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-card-variants .mini-button {
    flex: 1 1 96px;
}

.result-card small {
    display: block;
    max-width: 100%;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.guestbook-entry {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 0%, #fbf8fd 100%);
}

.guestbook-entry h2 {
    margin-bottom: 6px;
    font-size: 24px;
}

.guestbook-entry p {
    color: var(--muted);
    line-height: 1.55;
}

.guestbook-details {
    margin-top: 12px;
}

.guestbook-details summary {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 16px;
    border-radius: 8px;
    background: var(--violet);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    list-style: none;
}

.guestbook-details summary::-webkit-details-marker {
    display: none;
}

.guestbook-form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.guestbook-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.guestbook-form label,
.admin-login label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}

.guestbook-form input,
.guestbook-form select,
.guestbook-form textarea,
.admin-login input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.guestbook-form input,
.guestbook-form select,
.admin-login input {
    height: 44px;
    padding: 0 12px;
}

.guestbook-form textarea {
    min-height: 104px;
    padding: 12px;
    resize: vertical;
}

.hp-field {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

.notice {
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 800;
}

.notice.success {
    border: 1px solid #b7ead5;
    background: #effcf6;
    color: #146c43;
}

.notice.error {
    border: 1px solid #f2b8c4;
    background: #fff3f5;
    color: #9f1239;
}

.community-section {
    padding-top: 34px;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.community-card,
.community-empty,
.admin-comment-card,
.admin-login {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(47, 28, 72, .06);
}

.community-card {
    padding: 18px;
}

.community-card-head,
.admin-comment-meta,
.admin-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.community-card-head span,
.admin-comment-meta span,
.admin-stats span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #f0eaf4;
    color: #6f6280;
    font-size: 12px;
    font-weight: 900;
}

.community-idea {
    display: inline-flex;
    margin: 14px 0 10px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 900;
}

.community-card p,
.community-empty p,
.admin-comment-card p {
    color: var(--muted);
    line-height: 1.6;
}

.community-empty {
    padding: 24px;
}

.admin-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0 72px;
}

.admin-heading {
    max-width: 720px;
    margin-bottom: 24px;
}

.admin-heading p {
    color: var(--muted);
    line-height: 1.6;
}

.admin-login {
    display: grid;
    max-width: 460px;
    gap: 16px;
    padding: 22px;
}

.admin-stats {
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.admin-comment-list {
    display: grid;
    gap: 14px;
}

.admin-comment-card {
    padding: 18px;
}

.admin-comment-card.status-pending {
    border-color: #ffd166;
}

.admin-comment-card.status-approved {
    border-color: #8bd7c8;
}

.admin-comment-card.status-rejected {
    border-color: #f3a5c8;
}

.admin-source {
    font-size: 13px;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-button.approve {
    border-color: #8bd7c8;
    color: #146c43;
}

.mini-button.reject,
.mini-button.delete {
    border-color: #f3a5c8;
    color: #9f1239;
}

.mini-button.is-copied,
.copy-pill.is-copied {
    border-color: rgba(139, 215, 200, .9);
    background: rgba(139, 215, 200, .22);
    color: #24685e;
}

.section {
    padding: 48px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 24px;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.compact-grid .tool-card {
    min-height: 150px;
}

.tool-card {
    display: block;
    min-height: 160px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(47, 28, 72, .06);
}

.tool-card span {
    display: inline-flex;
    margin-bottom: 14px;
    color: #7c5cff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tool-card p,
.site-footer p,
.faq-list p { color: var(--muted); line-height: 1.6; }

.example-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.emoji-library-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.emoji-library-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(47, 28, 72, .05);
}

.emoji-library-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.emoji-library-card p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.55;
}

.emoji-token-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.emoji-token {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfaf7;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.emoji-token:hover,
.emoji-token:focus-visible {
    border-color: #7c5cff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(124, 92, 255, .13);
}

.link-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.link-cloud a,
.copy-pill {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
}

.small-cloud a {
    padding: 10px 12px;
    font-size: 14px;
}

.browse-all {
    margin: 22px 0 0;
    font-weight: 900;
}

.browse-all a {
    color: #6e54e8;
}

.directory-more {
    margin: 18px 0 0;
    text-align: left;
}

.section > .directory-more {
    text-align: left;
}

.directory-more a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: #6e54e8;
    font-weight: 900;
}

.split-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding-top: 22px;
}

.info-panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.guide-section {
    padding-top: 30px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.guide-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(47, 28, 72, .05);
}

.guide-card h3 {
    font-size: 19px;
}

.guide-card p,
.guide-card li {
    color: var(--muted);
    line-height: 1.65;
}

.guide-card p {
    margin-bottom: 14px;
}

.guide-card ul {
    margin: 0;
    padding-left: 18px;
}

.steps-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.8;
}

.tips-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.75;
}

.guide-copy {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.7;
}

.seo-article {
    display: grid;
    gap: 22px;
}

.legal-hero {
    padding-bottom: 12px;
}

.legal-page {
    display: grid;
    gap: 16px;
    max-width: 900px;
}

.article-block {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.article-block p,
.article-block li {
    color: var(--muted);
    line-height: 1.75;
}

.article-block p:last-child {
    margin-bottom: 0;
}

.idea-list {
    columns: 2;
    column-gap: 26px;
}

.idea-list p {
    break-inside: avoid;
}

.schema-sample {
    overflow-x: auto;
    margin: 0;
    padding: 16px;
    border-radius: 8px;
    background: #fcfafe;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.6;
}

.directory-section {
    padding-top: 28px;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 900;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 36px 0 44px;
    border-top: 1px solid var(--line);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--muted);
    font-weight: 800;
}

[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .hero-copy,
[dir="rtl"] .tool-page .hero-copy {
    text-align: right;
}

[dir="rtl"] .brand,
[dir="rtl"] .top-nav,
[dir="rtl"] .language-switcher,
[dir="rtl"] .breadcrumbs,
[dir="rtl"] .hero-actions,
[dir="rtl"] .generator-actions,
[dir="rtl"] .site-footer nav {
    direction: rtl;
}

.tool-page .site-header,
.tool-page .site-footer,
.tool-page .tool-hero,
.tool-page .section {
    width: min(1180px, calc(100% - 32px));
}

.tool-page .tool-hero {
    padding-top: 36px;
}

.tool-page .breadcrumbs,
.tool-page .hero-copy,
.tool-page .section-heading {
    max-width: none;
}

.tool-page .hero-copy {
    max-width: 640px;
}

.tool-page .generator-panel {
    max-width: none;
}

.tool-page .section {
    padding: 34px 0;
}

.tool-page .split-section,
.tool-page .tool-grid,
.tool-page .guide-grid {
    align-items: stretch;
}

.tool-page .guide-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tool-page .info-panel,
.tool-page .guide-card,
.tool-page .tool-card {
    height: 100%;
}

.tool-page .example-grid {
    align-items: flex-start;
}

.tool-page .faq-section {
    padding-bottom: 56px;
}

.not-found {
    min-height: 60vh;
    padding: 96px 0;
    text-align: center;
}

@media (max-width: 980px) {
    .result-grid,
    .intent-grid,
    .trust-grid,
    .limit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-actions {
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
    }

    .top-nav,
    .language-switcher {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero-section,
    .tool-hero {
        padding-top: 34px;
    }

    .hero-copy { text-align: left; }
    .hero-text { font-size: 17px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .generator-panel { padding: 18px; }
    .options-grid { grid-template-columns: 1fr 1fr; }
    .generator-actions { align-items: stretch; grid-template-columns: 1fr; }
    .button { width: 100%; }
    .result-grid,
    .community-grid,
    .guestbook-fields,
    .tool-grid,
    .guide-grid,
    .idea-list,
    .split-section,
    .intent-grid,
    .trust-grid,
    .limit-grid,
    .rule-item { grid-template-columns: 1fr; }
    .idea-list { columns: 1; }
    .site-footer { flex-direction: column; }
}

@media (max-width: 460px) {
    .options-grid { grid-template-columns: 1fr; }
}


.intent-section,
.trust-section,
.platform-rule-section,
.limit-section {
    padding-top: 30px;
}

.intent-grid,
.trust-grid,
.limit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.intent-card,
.trust-item,
.limit-item,
.rule-item {
    display: block;
    height: 100%;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.intent-card {
    box-shadow: 0 10px 28px rgba(47, 28, 72, .06);
}

.intent-card span {
    display: inline-block;
    margin-bottom: 10px;
    color: #6e54e8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.intent-card p,
.trust-item p,
.limit-item p,
.rule-item p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

.rule-list {
    display: grid;
    gap: 10px;
}

.rule-item {
    display: grid;
    grid-template-columns: minmax(130px, .32fr) 1fr;
    gap: 16px;
    align-items: start;
}

.rule-item strong,
.limit-item strong {
    color: var(--ink);
}

/* final responsive overrides for redesign */
@media (max-width: 980px) {
    .intent-grid,
    .trust-grid,
    .limit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .intent-grid,
    .trust-grid,
    .limit-grid,
    .rule-item,
    .emoji-library-grid {
        grid-template-columns: 1fr;
    }
}

.discovery-section {
    padding-top: 30px;
}

.discovery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.discovery-link {
    display: grid;
    gap: 8px;
    min-height: 96px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(47, 28, 72, .05);
}

.discovery-link span {
    color: #6e54e8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.discovery-link strong {
    overflow-wrap: anywhere;
    line-height: 1.35;
}

@media (max-width: 980px) {
    .discovery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .discovery-grid {
        grid-template-columns: 1fr;
    }
}

.cluster-hero {
    padding-bottom: 34px;
}

.hub-section,
.cluster-discovery-section,
.tool-cluster-section,
.hub-support-section,
.hub-crosslinks {
    padding-top: 30px;
}

.hub-tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-tool-card {
    min-height: 180px;
}

.hub-guide-section .info-panel {
    min-height: 220px;
}

.hub-link-cloud a {
    border-color: rgba(110, 84, 232, .22);
    background: #fff;
}

.cluster-discovery-grid .discovery-link {
    min-height: 120px;
}

@media (max-width: 980px) {
    .hub-tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hub-tool-grid {
        grid-template-columns: 1fr;
    }
}

.blog-hero {
    padding-bottom: 34px;
}

.blog-index-section,
.blog-article-section,
.blog-more-section,
.blog-discovery-section {
    padding-top: 30px;
}

.blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-card {
    min-height: 190px;
}

.blog-card span {
    color: #6e54e8;
    font-weight: 900;
}

.blog-article {
    max-width: 900px;
    margin: 0 auto;
}

.article-block {
    margin-bottom: 34px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.article-block:last-child {
    border-bottom: 0;
}

.article-block p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.keyword-block .small-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(110, 84, 232, .22);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.blog-home-grid .discovery-link {
    min-height: 128px;
}

@media (max-width: 760px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-article {
        max-width: none;
    }
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-link {
    flex: 0 0 auto;
    color: #6e54e8;
    font-size: 14px;
    font-weight: 900;
}

.home-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-article-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(47, 28, 72, .06);
}

.home-article-date,
.home-article-keyword {
    color: #6e54e8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-article-card h3 {
    margin: 12px 0 10px;
    line-height: 1.25;
}

.home-article-card p {
    flex: 1;
    margin-bottom: 18px;
    color: var(--muted);
    line-height: 1.65;
}

.home-article-keyword {
    overflow-wrap: anywhere;
}

@media (max-width: 980px) {
    .home-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-article-grid {
        grid-template-columns: 1fr;
    }
}


.blog-hero .hero-copy {
    max-width: 880px;
    text-align: left;
}

.article-meta {
    margin: 8px 0 18px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
}

/* 2026 Gen Z redesign foundation: digital identity playground */
:root {
    --ink: #f8fbff;
    --muted: #aeb7c8;
    --line: rgba(255, 255, 255, .16);
    --panel: rgba(13, 18, 32, .84);
    --wash: #05070d;
    --violet: #9b5cff;
    --pink: #ff4fd8;
    --mint: #28f7c9;
    --gold: #ffe45c;
    --blue: #42a5ff;
    --acid: #ccff00;
    --hot: #ff3d81;
    --deep: #05070d;
    --surface: rgba(255, 255, 255, .075);
    --surface-strong: rgba(255, 255, 255, .12);
    --shadow: 0 24px 70px rgba(0, 0, 0, .36);
    --glow-lime: 0 0 34px rgba(204, 255, 0, .28);
    --glow-pink: 0 0 34px rgba(255, 79, 216, .28);
}

html {
    background: var(--deep);
}

body {
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 14% 7%, rgba(204, 255, 0, .18), transparent 24rem),
        radial-gradient(circle at 82% 12%, rgba(255, 79, 216, .2), transparent 26rem),
        radial-gradient(circle at 55% 44%, rgba(66, 165, 255, .14), transparent 28rem),
        linear-gradient(180deg, #05070d 0%, #0b1020 48%, #05070d 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .34;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 78%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .13;
    background-image:
        radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1px),
        radial-gradient(circle at 80% 60%, #fff 0 1px, transparent 1px);
    background-size: 18px 18px, 26px 26px;
    mix-blend-mode: screen;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: min(1220px, calc(100% - 32px));
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(5, 7, 13, .72);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
    backdrop-filter: blur(18px);
}

.brand-logo {
    filter: drop-shadow(0 0 16px rgba(204, 255, 0, .42));
}

.brand strong {
    color: #fff;
    font-weight: 950;
    letter-spacing: 0;
}

.brand small {
    color: var(--acid);
    font-size: 10px;
    font-weight: 900;
}

.top-nav a,
.language-switcher a,
.section-link,
.breadcrumbs a {
    transition: color .18s ease, background .18s ease, transform .18s ease, border-color .18s ease;
}

.top-nav a:hover,
.section-link:hover,
.breadcrumbs a:hover {
    color: var(--acid);
}

.language-switcher {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
}

.language-switcher a {
    color: var(--muted);
}

.language-switcher a.is-active {
    background: var(--acid);
    color: #05070d;
}

.hero-section,
.tool-hero,
.directory-hero {
    position: relative;
    width: min(1220px, calc(100% - 32px));
    padding: clamp(46px, 7vw, 92px) 0 34px;
}

.hero-section::before,
.tool-hero::before,
.directory-hero::before {
    content: "@  #  *  +";
    position: absolute;
    right: 2%;
    top: 22px;
    max-width: 360px;
    color: rgba(255, 255, 255, .16);
    font-size: clamp(42px, 8vw, 104px);
    font-weight: 950;
    line-height: .86;
    letter-spacing: 0;
    transform: rotate(-7deg);
    pointer-events: none;
}

.hero-section::after,
.tool-hero::after,
.directory-hero::after {
    content: "emoji / bio / username";
    position: absolute;
    left: 0;
    bottom: 4px;
    color: rgba(204, 255, 0, .34);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: left;
    margin-left: 0;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 10px;
    border: 1px solid rgba(204, 255, 0, .42);
    border-radius: 8px;
    color: var(--acid);
    background: rgba(204, 255, 0, .08);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: var(--glow-lime);
}

h1,
h2,
h3 {
    color: #fff;
    font-weight: 950;
    letter-spacing: 0;
}

h1 {
    max-width: 980px;
    font-size: clamp(42px, 8vw, 104px);
    line-height: .88;
    text-wrap: balance;
}

h2 {
    font-size: clamp(30px, 5vw, 58px);
    line-height: .96;
    text-wrap: balance;
}

h3 {
    line-height: 1.08;
}

.hero-text,
.guide-copy,
.article-block p,
.tool-card p,
.site-footer p,
.faq-list p,
.intent-card p,
.trust-item p,
.limit-item p,
.rule-item p,
.home-article-card p,
.discovery-link span,
.brand small,
.breadcrumbs,
.top-nav {
    color: var(--muted);
}

.hero-text {
    margin-left: 0;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.45;
}

.button,
.mini-button,
.chip,
.tab,
.link-cloud a,
.keyword-block .small-cloud span {
    border-radius: 8px;
    font-weight: 950;
    letter-spacing: 0;
}

.button {
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .24);
    transform: translateZ(0);
}

.button:hover,
.mini-button:hover,
.chip:hover,
.tab:hover,
.link-cloud a:hover,
.discovery-link:hover,
.tool-card:hover,
.intent-card:hover,
.home-article-card:hover {
    transform: translateY(-2px);
}

.button-primary,
.generator-main-button {
    border-color: rgba(204, 255, 0, .68);
    background: linear-gradient(135deg, var(--acid), var(--mint));
    color: #05070d;
    box-shadow: var(--glow-lime), 0 18px 46px rgba(0, 0, 0, .34);
}

.button-light,
.generator-refresh-button,
.mini-button {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .09);
    color: #fff;
}

.generator-panel,
.intent-card,
.trust-item,
.limit-item,
.rule-item,
.tool-card,
.discovery-link,
.home-article-card,
.blog-card,
.info-panel,
.faq-list details {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
        rgba(8, 12, 24, .88);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.generator-panel::before,
.tool-card::before,
.intent-card::before,
.home-article-card::before,
.discovery-link::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--acid), var(--pink), var(--blue));
    opacity: .92;
}

.generator-panel {
    padding: clamp(18px, 3vw, 28px);
    backdrop-filter: blur(18px);
}

.field input,
.options-grid select {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.field input::placeholder {
    color: rgba(248, 251, 255, .48);
}

.field input:focus,
.options-grid select:focus {
    border-color: var(--acid);
    box-shadow: 0 0 0 4px rgba(204, 255, 0, .14);
}

.field label,
.control-label {
    color: #fff;
}

.tool-controls {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .045);
}

.chips {
    gap: 8px;
}

.chip {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    color: var(--muted);
}

.chip.is-active,
.tab.is-active {
    border-color: rgba(255, 79, 216, .65);
    background: linear-gradient(135deg, rgba(255, 79, 216, .95), rgba(155, 92, 255, .95));
    color: #fff;
    box-shadow: var(--glow-pink);
}

.toggle-option {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .075);
    color: #fff;
}

.tabs {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .055);
}

.result-card {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 88% 8%, rgba(204, 255, 0, .18), transparent 9rem),
        rgba(255, 255, 255, .08);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
}

.result-card strong {
    color: #fff;
}

.result-card small {
    color: var(--muted);
}

.result-card-variants .mini-button,
.home-article-keyword,
.home-article-date,
.discovery-link span,
.intent-card span,
.blog-card span,
.section-link {
    color: var(--acid);
}

.tool-grid,
.intent-grid,
.trust-grid,
.discovery-grid,
.home-article-grid,
.blog-grid {
    align-items: stretch;
}

.tool-card,
.intent-card,
.discovery-link,
.home-article-card,
.blog-card {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.tool-card:hover,
.intent-card:hover,
.discovery-link:hover,
.home-article-card:hover,
.blog-card:hover {
    border-color: rgba(204, 255, 0, .48);
    box-shadow: var(--glow-lime), var(--shadow);
}

.tool-card span,
.intent-card span,
.discovery-link span,
.home-article-date,
.home-article-keyword,
.blog-card span {
    font-size: 11px;
    letter-spacing: 0;
}

.link-cloud a,
.keyword-block .small-cloud span {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.link-cloud a:nth-child(3n + 1) { border-color: rgba(204, 255, 0, .42); }
.link-cloud a:nth-child(3n + 2) { border-color: rgba(255, 79, 216, .42); }
.link-cloud a:nth-child(3n) { border-color: rgba(66, 165, 255, .42); }

.faq-list summary {
    color: #fff;
}

.site-footer {
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.article-meta {
    color: var(--acid);
}

@keyframes bng-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-4deg); }
    50% { transform: translate3d(0, -10px, 0) rotate(3deg); }
}

@keyframes bng-float-centered {
    0%, 100% { transform: translate(-50%, -50%) rotate(-4deg); }
    50% { transform: translate(-50%, calc(-50% - 10px)) rotate(3deg); }
}

.hero-section .generator-panel,
.tool-hero .generator-panel {
    animation: bng-float 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }
}

@media (max-width: 980px) {
    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
    }

    .header-actions,
    .top-nav {
        width: 100%;
    }

    .top-nav {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero-section::before,
    .tool-hero::before,
    .directory-hero::before {
        opacity: .48;
    }
}

@media (max-width: 760px) {
    .site-header,
    .hero-section,
    .tool-hero,
    .directory-hero,
    .section,
    .not-found {
        width: min(100% - 22px, 1220px);
    }

    .hero-copy,
    .blog-hero .hero-copy {
        text-align: left;
    }

    h1 {
        font-size: clamp(40px, 15vw, 62px);
    }

    .hero-section::before,
    .tool-hero::before,
    .directory-hero::before {
        right: -12px;
        top: 52px;
        font-size: 58px;
    }

    .hero-section .generator-panel,
    .tool-hero .generator-panel,
    .hero-visual img {
        animation: none;
    }
}

/* Step 1 mobile containment fixes */
@media (max-width: 760px) {
    .site-header {
        overflow: hidden;
    }

    .header-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        min-width: 0;
        overflow: hidden;
    }

    .top-nav {
        max-width: 100%;
        min-width: 0;
        scrollbar-width: thin;
    }

    .language-switcher {
        justify-content: flex-start;
        max-width: 100%;
        overflow-x: auto;
    }
}

/* Step 2 homepage hero visual system */
.hero-section-v2 {
    padding-top: clamp(34px, 5.8vw, 76px);
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(320px, .72fr);
    gap: clamp(22px, 5vw, 72px);
    align-items: center;
    margin-bottom: clamp(22px, 4vw, 42px);
}

.hero-section-v2 .hero-copy {
    margin-bottom: 0;
}

.hero-visual {
    position: relative;
    min-height: clamp(360px, 41vw, 560px);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 36%, rgba(204, 255, 0, .16), transparent 14rem),
        radial-gradient(circle at 82% 80%, rgba(255, 79, 216, .22), transparent 15rem),
        rgba(255,255,255,.055);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.16);
    overflow: hidden;
    isolation: isolate;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    pointer-events: none;
}

.hero-visual::after {
    content: "✦  ✧  ✺";
    position: absolute;
    right: 22px;
    top: 18px;
    color: rgba(204,255,0,.72);
    font-size: 28px;
    font-weight: 950;
    letter-spacing: 0;
    text-shadow: 0 0 24px rgba(204,255,0,.42);
}

.hero-visual img {
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(112%, 620px);
    height: auto;
    transform: translate(-50%, -50%) rotate(-2deg);
    filter: drop-shadow(0 28px 48px rgba(0,0,0,.44));
    animation: bng-float-centered 7.5s ease-in-out infinite;
}

.hero-float-card {
    position: absolute;
    z-index: 2;
    display: grid;
    gap: 4px;
    max-width: 240px;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(5, 7, 13, .72);
    box-shadow: 0 18px 42px rgba(0,0,0,.34);
    backdrop-filter: blur(14px);
}

.hero-float-card span {
    color: var(--acid);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.hero-float-card strong {
    color: #fff;
    font-size: 18px;
    line-height: 1.05;
}

.hero-float-card-top {
    left: 18px;
    top: 24px;
    transform: rotate(-3deg);
}

.hero-float-card-bottom {
    right: 18px;
    bottom: 24px;
    transform: rotate(3deg);
}

.hero-section-v2 > .generator-panel {
    max-width: 1040px;
    margin-left: 0;
    margin-right: auto;
}

@media (max-width: 1080px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 430px;
        max-width: 720px;
    }
}

@media (max-width: 760px) {
    .hero-layout {
        gap: 20px;
        margin-bottom: 20px;
    }

    .hero-visual {
        min-height: 312px;
    }

    .hero-visual img {
        width: min(118%, 420px);
    }

    .hero-float-card {
        max-width: 176px;
        padding: 10px 11px;
    }

    .hero-float-card strong {
        font-size: 14px;
    }

    .hero-float-card-bottom {
        right: 10px;
        bottom: 14px;
    }

    .hero-float-card-top {
        left: 10px;
        top: 14px;
    }
}

/* Step 2 mobile first-viewport tuning */
@media (max-width: 760px) {
    .hero-section-v2 {
        padding-top: 24px;
    }

    .hero-section-v2 h1 {
        font-size: clamp(38px, 11vw, 46px);
        line-height: .94;
    }

    .hero-section-v2 .hero-text {
        font-size: 16px;
        line-height: 1.42;
    }

    .hero-section-v2 .hero-actions {
        gap: 9px;
        margin-top: 16px;
    }

    .hero-section-v2 .button {
        min-height: 46px;
    }

    .hero-section-v2 .hero-visual {
        min-height: 284px;
    }
}

/* Step 3 exploration sections: mood lanes, tool posters, guide cards */
.mood-section,
.discovery-section,
.cluster-discovery-section,
.blog-discovery-section {
    position: relative;
}

.mood-section::before,
.discovery-section::before,
.cluster-discovery-section::before,
.blog-discovery-section::before {
    content: "";
    position: absolute;
    inset: 12px auto auto -5vw;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(204,255,0,.18);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,255,0,.12), transparent 64%);
    pointer-events: none;
}

.mood-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.mood-card {
    position: relative;
    display: grid;
    align-content: end;
    min-height: 188px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.04)),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 8rem),
        rgba(8,12,24,.86);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.mood-card::before {
    content: "✦";
    position: absolute;
    right: 16px;
    top: 12px;
    color: rgba(255,255,255,.72);
    font-size: 34px;
    font-weight: 950;
    text-shadow: 0 0 22px currentColor;
}

.mood-card::after {
    content: "0" counter(mood-card);
    position: absolute;
    left: 14px;
    top: 12px;
    color: rgba(255,255,255,.24);
    font-size: 40px;
    font-weight: 950;
    line-height: 1;
}

.mood-grid {
    counter-reset: mood-card;
}

.mood-card {
    counter-increment: mood-card;
}

.mood-card span,
.mood-card strong {
    position: relative;
    z-index: 1;
}

.mood-card span {
    margin-bottom: 8px;
    color: var(--acid);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.mood-card strong {
    color: #fff;
    font-size: 22px;
    line-height: 1.04;
}

.mood-card:hover {
    transform: translateY(-4px) rotate(-1deg);
    border-color: rgba(204,255,0,.5);
    box-shadow: var(--glow-lime), var(--shadow);
}

.mood-card-1 { background-color: rgba(204,255,0,.08); }
.mood-card-2 { background-color: rgba(255,79,216,.12); }
.mood-card-3 { background-color: rgba(66,165,255,.12); }
.mood-card-4 { background-color: rgba(255,228,92,.1); }
.mood-card-5 { background-color: rgba(155,92,255,.14); }
.mood-card-6 { background-color: rgba(40,247,201,.1); }
.mood-card-7 { background-color: rgba(255,61,129,.13); }
.mood-card-8 { background-color: rgba(255,255,255,.06); }

.discovery-grid,
.cluster-discovery-grid {
    gap: 14px;
}

.discovery-link {
    min-height: 132px;
    padding: 19px;
}

.discovery-link::after,
.cluster-discovery-grid .discovery-link::after {
    content: "↗";
    position: absolute;
    right: 15px;
    bottom: 12px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--acid);
    color: #05070d;
    font-size: 18px;
    font-weight: 950;
    transform: rotate(-8deg);
}

.discovery-link strong {
    max-width: calc(100% - 38px);
    color: #fff;
    font-size: 19px;
}

.discovery-grid .discovery-link:nth-child(4n + 1),
.cluster-discovery-grid .discovery-link:nth-child(4n + 1) {
    background: radial-gradient(circle at 90% 10%, rgba(204,255,0,.22), transparent 8rem), rgba(8,12,24,.9);
}

.discovery-grid .discovery-link:nth-child(4n + 2),
.cluster-discovery-grid .discovery-link:nth-child(4n + 2) {
    background: radial-gradient(circle at 90% 10%, rgba(255,79,216,.22), transparent 8rem), rgba(8,12,24,.9);
}

.discovery-grid .discovery-link:nth-child(4n + 3),
.cluster-discovery-grid .discovery-link:nth-child(4n + 3) {
    background: radial-gradient(circle at 90% 10%, rgba(66,165,255,.22), transparent 8rem), rgba(8,12,24,.9);
}

.discovery-grid .discovery-link:nth-child(4n),
.cluster-discovery-grid .discovery-link:nth-child(4n) {
    background: radial-gradient(circle at 90% 10%, rgba(255,228,92,.2), transparent 8rem), rgba(8,12,24,.9);
}

.cluster-discovery-grid .discovery-link {
    min-height: 154px;
}

.home-article-card {
    min-height: 290px;
    justify-content: space-between;
}

.home-article-card::after {
    content: "Read guide";
    display: inline-flex;
    width: fit-content;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
}

.home-article-card h3 {
    font-size: 24px;
}

.home-article-card:nth-child(1) {
    background: radial-gradient(circle at 85% 12%, rgba(255,79,216,.26), transparent 9rem), rgba(8,12,24,.9);
}

.home-article-card:nth-child(2) {
    background: radial-gradient(circle at 85% 12%, rgba(204,255,0,.2), transparent 9rem), rgba(8,12,24,.9);
}

.home-article-card:nth-child(3) {
    background: radial-gradient(circle at 85% 12%, rgba(66,165,255,.24), transparent 9rem), rgba(8,12,24,.9);
}

.intent-card,
.trust-item,
.rule-item {
    min-height: 160px;
}

.intent-card h3,
.trust-item h3,
.rule-item strong {
    color: #fff;
}

@media (max-width: 980px) {
    .mood-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .mood-grid {
        grid-template-columns: 1fr;
    }

    .mood-card {
        min-height: 138px;
    }

    .discovery-link,
    .cluster-discovery-grid .discovery-link {
        min-height: 118px;
    }

    .home-article-card {
        min-height: 230px;
    }
}

/* Step 3 sticky header anchor comfort */
.section,
.hero-section,
.tool-hero,
.directory-hero {
    scroll-margin-top: 96px;
}

/* Step 4 emoji tool workbench */
.emoji-workbench-section {
    position: relative;
}

.emoji-vibe-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.emoji-vibe-card {
    position: relative;
    display: grid;
    gap: 10px;
    min-height: 176px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    background:
        radial-gradient(circle at 82% 18%, rgba(204,255,0,.18), transparent 7rem),
        linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
        rgba(8,12,24,.9);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.emoji-vibe-card:nth-child(2) { background: radial-gradient(circle at 82% 18%, rgba(66,165,255,.22), transparent 7rem), rgba(8,12,24,.9); }
.emoji-vibe-card:nth-child(3) { background: radial-gradient(circle at 82% 18%, rgba(155,92,255,.24), transparent 7rem), rgba(8,12,24,.9); }
.emoji-vibe-card:nth-child(4) { background: radial-gradient(circle at 82% 18%, rgba(255,79,216,.22), transparent 7rem), rgba(8,12,24,.9); }
.emoji-vibe-card:nth-child(5) { background: radial-gradient(circle at 82% 18%, rgba(255,228,92,.18), transparent 7rem), rgba(8,12,24,.9); }
.emoji-vibe-card:nth-child(6) { background: radial-gradient(circle at 82% 18%, rgba(40,247,201,.18), transparent 7rem), rgba(8,12,24,.9); }

.emoji-vibe-card:hover {
    transform: translateY(-4px) rotate(-1deg);
    border-color: rgba(204,255,0,.5);
    box-shadow: var(--glow-lime), var(--shadow);
}

.emoji-vibe-card span {
    color: var(--acid);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.emoji-vibe-card strong {
    color: #fff;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1;
    letter-spacing: 0;
}

.emoji-vibe-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.emoji-library-section {
    position: relative;
}

.emoji-library-grid {
    gap: 14px;
}

.emoji-library-card {
    position: relative;
    min-height: 250px;
    background:
        radial-gradient(circle at 92% 8%, rgba(255,79,216,.18), transparent 9rem),
        linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
        rgba(8,12,24,.9);
    overflow: hidden;
}

.emoji-library-card::before {
    content: "copy pack";
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(204,255,0,.12);
    color: var(--acid);
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
}

.emoji-library-card h3 {
    max-width: calc(100% - 92px);
    color: #fff;
}

.emoji-token-grid {
    gap: 8px;
}

.emoji-token {
    min-height: 42px;
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: #fff;
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.emoji-token:hover,
.emoji-token:focus-visible {
    border-color: rgba(204,255,0,.55);
    background: rgba(204,255,0,.14);
    box-shadow: var(--glow-lime);
    transform: translateY(-2px) scale(1.04);
}

.tool-page .example-grid {
    gap: 10px;
}

.copy-pill {
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: #fff;
}

.copy-pill:hover,
.copy-pill:focus-visible {
    border-color: rgba(204,255,0,.55);
    background: rgba(204,255,0,.14);
    color: #fff;
}

@media (max-width: 1180px) {
    .emoji-vibe-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .emoji-vibe-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .emoji-vibe-card {
        min-height: 150px;
    }
}

@media (max-width: 460px) {
    .emoji-vibe-grid {
        grid-template-columns: 1fr;
    }
}

/* Step 5 username and bio tool labs */
.profile-lab-section {
    position: relative;
}

.profile-lab-grid,
.bio-preview-grid {
    display: grid;
    gap: 14px;
}

.username-lab-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-lab-card,
.bio-phone-card {
    position: relative;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
        rgba(8,12,24,.9);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.profile-lab-card {
    display: grid;
    align-content: space-between;
    min-height: 172px;
    padding: 18px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.profile-lab-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--acid), var(--pink), var(--blue));
}

.profile-lab-card:hover {
    transform: translateY(-4px) rotate(-1deg);
    border-color: rgba(204,255,0,.5);
    box-shadow: var(--glow-lime), var(--shadow);
}

.profile-lab-card span,
.bio-phone-card span {
    color: var(--acid);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.profile-lab-card strong {
    color: #fff;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.profile-lab-card p,
.bio-phone-card p,
.bio-phone-card small {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.username-lab-grid .profile-lab-card:nth-child(1) {
    background: radial-gradient(circle at 88% 12%, rgba(204,255,0,.18), transparent 8rem), rgba(8,12,24,.9);
}

.username-lab-grid .profile-lab-card:nth-child(2) {
    background: radial-gradient(circle at 88% 12%, rgba(255,79,216,.2), transparent 8rem), rgba(8,12,24,.9);
}

.username-lab-grid .profile-lab-card:nth-child(3) {
    background: radial-gradient(circle at 88% 12%, rgba(66,165,255,.22), transparent 8rem), rgba(8,12,24,.9);
}

.username-lab-grid .profile-lab-card:nth-child(4) {
    background: radial-gradient(circle at 88% 12%, rgba(255,228,92,.17), transparent 8rem), rgba(8,12,24,.9);
}

.bio-preview-grid {
    grid-template-columns: minmax(280px, .58fr) minmax(0, 1fr);
    align-items: stretch;
}

.bio-phone-card {
    display: grid;
    align-content: end;
    min-height: 360px;
    padding: 22px;
    background:
        radial-gradient(circle at 72% 18%, rgba(255,79,216,.22), transparent 10rem),
        radial-gradient(circle at 18% 88%, rgba(204,255,0,.16), transparent 9rem),
        rgba(8,12,24,.92);
}

.bio-phone-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    pointer-events: none;
}

.bio-phone-card::after {
    content: "@soft.creator";
    position: absolute;
    left: 22px;
    top: 22px;
    color: rgba(255,255,255,.42);
    font-size: 13px;
    font-weight: 950;
}

.bio-phone-card strong {
    color: #fff;
    font-size: clamp(28px, 4vw, 46px);
    line-height: .98;
    text-wrap: balance;
}

.bio-lab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bio-lab-grid .profile-lab-card {
    min-height: 172px;
}

@media (max-width: 980px) {
    .username-lab-grid,
    .bio-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bio-phone-card {
        min-height: 300px;
    }
}

@media (max-width: 760px) {
    .username-lab-grid,
    .bio-preview-grid,
    .bio-lab-grid {
        grid-template-columns: 1fr;
    }

    .profile-lab-card {
        min-height: 142px;
    }

    .bio-phone-card {
        min-height: 260px;
    }
}

/* Step 6 blog and directory polish */
.blog-grid .blog-card,
.blog-home-grid .discovery-link {
    position: relative;
    min-height: 230px;
    background:
        radial-gradient(circle at 86% 12%, rgba(204,255,0,.16), transparent 9rem),
        linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
        rgba(8,12,24,.9);
}

.blog-grid .blog-card::after {
    content: "Read guide";
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
}

.blog-grid .blog-card:nth-child(3n + 2) {
    background: radial-gradient(circle at 86% 12%, rgba(255,79,216,.2), transparent 9rem), rgba(8,12,24,.9);
}

.blog-grid .blog-card:nth-child(3n) {
    background: radial-gradient(circle at 86% 12%, rgba(66,165,255,.2), transparent 9rem), rgba(8,12,24,.9);
}

.blog-article-section .blog-article {
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(255,255,255,.045);
    box-shadow: var(--shadow);
}

.blog-article-section .article-block h2,
.blog-article-section .article-block h3,
.blog-article-section .article-block h4 {
    color: #fff;
}

.blog-article-section .article-block a {
    color: var(--acid);
    font-weight: 900;
}

.tools-directory .tool-card,
.directory-section .tool-card {
    min-height: 210px;
}

@media (max-width: 760px) {
    .blog-grid .blog-card {
        min-height: 210px;
    }

    .blog-article-section .blog-article {
        padding: 18px;
    }
}

/* Step 6 mobile overflow hardening */
@media (max-width: 760px) {
    .top-nav {
        flex-wrap: wrap;
        overflow: visible;
        row-gap: 8px;
    }

    .hero-section-v2 .hero-visual img {
        width: min(100%, 360px);
        animation: none;
        transform: translate(-50%, -50%) rotate(-2deg);
    }
}

/* Step 6 blog article mobile containment */
@media (max-width: 760px) {
    .blog-article-section,
    .blog-article-section .blog-article,
    .blog-article-section .article-block,
    .blog-article-section .link-cloud,
    .blog-article-section p,
    .blog-article-section h2,
    .blog-article-section h3,
    .blog-article-section h4 {
        max-width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .blog-article-section .article-block {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .blog-article-section .keyword-block {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Mood cards image upgrade */
.mood-card {
    min-height: 260px;
    padding: 150px 18px 18px;
    background:
        linear-gradient(180deg, rgba(5,7,13,0) 0%, rgba(5,7,13,.28) 44%, rgba(5,7,13,.92) 100%),
        rgba(8,12,24,.9);
}

.mood-card::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    height: 126px;
    border-radius: 8px;
    background-image: url('/assets/img/mood-card-sprite.webp');
    background-size: 400% 200%;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 18px 34px rgba(0,0,0,.28);
    opacity: .98;
}

.mood-card::after {
    z-index: 2;
    color: rgba(255,255,255,.34);
    text-shadow: 0 8px 24px rgba(0,0,0,.35);
}

.mood-card span,
.mood-card strong {
    text-shadow: 0 10px 26px rgba(0,0,0,.55);
}

.mood-card-1::before { background-position: 0% 0%; }
.mood-card-2::before { background-position: 33.333% 0%; }
.mood-card-3::before { background-position: 66.666% 0%; }
.mood-card-4::before { background-position: 100% 0%; }
.mood-card-5::before { background-position: 0% 100%; }
.mood-card-6::before { background-position: 33.333% 100%; }
.mood-card-7::before { background-position: 66.666% 100%; }
.mood-card-8::before { background-position: 100% 100%; }

.mood-card:hover::before {
    transform: scale(1.035);
    box-shadow: inset 0 0 0 1px rgba(204,255,0,.45), 0 22px 44px rgba(0,0,0,.36);
}

@media (max-width: 760px) {
    .mood-card {
        min-height: 232px;
        padding-top: 132px;
    }

    .mood-card::before {
        height: 110px;
    }
}

/* Mood card image anti-distortion fix */
.mood-card {
    min-height: 274px;
    padding-top: 164px;
}

.mood-card::before {
    left: 50%;
    right: auto;
    top: 12px;
    width: 142px;
    height: 142px;
    aspect-ratio: 1 / 1;
    transform: translateX(-50%);
    background-size: 400% 200%;
    background-repeat: no-repeat;
    background-color: rgba(255,255,255,.04);
}

.mood-card:hover::before {
    transform: translateX(-50%) scale(1.035);
}

@media (max-width: 760px) {
    .mood-card {
        min-height: 250px;
        padding-top: 148px;
    }

    .mood-card::before {
        width: 126px;
        height: 126px;
    }
}

/* Tool hero right-side preview */
.tool-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(320px, .58fr);
    gap: clamp(22px, 5vw, 70px);
    align-items: center;
}

.tool-hero-layout .hero-copy {
    margin: 0;
}

.tool-hero-preview {
    position: relative;
    min-height: clamp(340px, 36vw, 500px);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 74% 18%, rgba(204,255,0,.18), transparent 10rem),
        radial-gradient(circle at 18% 82%, rgba(255,79,216,.18), transparent 12rem),
        rgba(255,255,255,.055);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.14);
    overflow: hidden;
    isolation: isolate;
}

.tool-preview-orbit {
    position: absolute;
    inset: 36px;
    border: 1px solid rgba(204,255,0,.18);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), transparent 42%),
        conic-gradient(from 140deg, rgba(204,255,0,.24), rgba(255,79,216,.18), rgba(66,165,255,.2), rgba(204,255,0,.24));
    filter: blur(.2px);
    opacity: .82;
}

.tool-preview-card {
    position: absolute;
    display: grid;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: rgba(5,7,13,.72);
    box-shadow: 0 18px 42px rgba(0,0,0,.34);
    backdrop-filter: blur(15px);
}

.tool-preview-card span {
    color: var(--acid);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.tool-preview-card strong {
    color: #fff;
    line-height: 1.04;
    overflow-wrap: anywhere;
}

.tool-preview-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.tool-preview-card-main {
    left: 28px;
    right: 42px;
    top: 54px;
    min-height: 166px;
    padding: 20px;
    transform: rotate(-2deg);
}

.tool-preview-card-main strong {
    font-size: clamp(28px, 3.5vw, 46px);
}

.tool-preview-card-alt {
    right: 24px;
    bottom: 94px;
    width: min(280px, 62%);
    padding: 16px;
    transform: rotate(4deg);
}

.tool-preview-card-alt strong {
    font-size: 22px;
}

.tool-preview-card-mini {
    left: 28px;
    bottom: 32px;
    width: min(240px, 58%);
    padding: 14px;
    transform: rotate(-5deg);
}

.tool-preview-card-mini strong {
    font-size: 19px;
}

@media (max-width: 1080px) {
    .tool-hero-layout {
        grid-template-columns: 1fr;
    }

    .tool-hero-preview {
        max-width: 720px;
    }
}

@media (max-width: 760px) {
    .tool-hero-preview {
        min-height: 320px;
    }

    .tool-preview-card-main {
        left: 14px;
        right: 18px;
        top: 34px;
        padding: 16px;
    }

    .tool-preview-card-main strong {
        font-size: 30px;
    }

    .tool-preview-card-alt {
        right: 14px;
        bottom: 82px;
        width: 66%;
    }

    .tool-preview-card-mini {
        left: 14px;
        bottom: 20px;
        width: 62%;
    }
}

/* Channel pages: All Tools and Guides */
.channel-hero::before {
    opacity: .2;
}

.channel-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(330px, .55fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
}

.channel-hero-layout .hero-copy {
    margin: 0;
}

.channel-visual {
    position: relative;
    min-height: clamp(340px, 34vw, 500px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    background:
        radial-gradient(circle at 76% 12%, rgba(204,255,0,.18), transparent 9rem),
        radial-gradient(circle at 14% 78%, rgba(66,165,255,.18), transparent 12rem),
        rgba(255,255,255,.055);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.14);
    overflow: hidden;
    isolation: isolate;
}

.channel-visual-guides {
    background:
        radial-gradient(circle at 70% 16%, rgba(255,79,216,.2), transparent 10rem),
        radial-gradient(circle at 18% 82%, rgba(204,255,0,.15), transparent 12rem),
        rgba(255,255,255,.055);
}

.channel-visual-ring {
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background:
        radial-gradient(circle at 48% 52%, rgba(255,255,255,.08), transparent 42%),
        conic-gradient(from 30deg, rgba(204,255,0,.28), rgba(255,79,216,.18), rgba(66,165,255,.22), rgba(204,255,0,.28));
    opacity: .78;
}

.channel-stat-card,
.channel-mini-card,
.channel-feature-tile {
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: rgba(5,7,13,.74);
    box-shadow: 0 18px 44px rgba(0,0,0,.34);
    backdrop-filter: blur(16px);
}

.channel-stat-card {
    position: absolute;
    left: 24px;
    right: 34px;
    top: 42px;
    display: grid;
    gap: 10px;
    padding: 20px;
    transform: rotate(-2deg);
}

.channel-stat-card span,
.channel-mini-card span,
.channel-feature-tile span {
    color: var(--acid);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.channel-stat-card strong {
    color: #fff;
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1;
}

.channel-stat-card p,
.channel-feature-tile p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.channel-stack {
    position: absolute;
    left: 28px;
    right: 24px;
    bottom: 26px;
    display: grid;
    gap: 12px;
}

.channel-mini-card {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    color: inherit;
    text-decoration: none;
}

.channel-mini-card strong {
    color: #fff;
    font-size: 16px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.channel-mini-card-2 {
    margin-left: clamp(18px, 4vw, 54px);
}

.channel-mini-card-3 {
    margin-right: clamp(16px, 3vw, 44px);
}

.channel-mini-card:hover,
.channel-feature-tile:hover {
    border-color: rgba(204,255,0,.5);
    transform: translateY(-3px);
}

.channel-feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.channel-feature-tile {
    display: grid;
    gap: 9px;
    min-height: 168px;
    padding: 18px;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease;
}

.channel-feature-tile strong {
    color: #fff;
    font-size: 22px;
    line-height: 1.1;
}

.blog-index-section .section-heading-row {
    align-items: end;
}

@media (max-width: 1080px) {
    .channel-hero-layout {
        grid-template-columns: 1fr;
    }

    .channel-visual {
        max-width: 720px;
    }
}

@media (max-width: 760px) {
    .channel-visual {
        min-height: 390px;
    }

    .channel-stat-card {
        left: 14px;
        right: 14px;
        top: 30px;
        padding: 16px;
    }

    .channel-stat-card strong {
        font-size: 30px;
    }

    .channel-stack {
        left: 14px;
        right: 14px;
        bottom: 16px;
    }

    .channel-mini-card-2,
    .channel-mini-card-3 {
        margin-left: 0;
        margin-right: 0;
    }

    .channel-feature-strip {
        grid-template-columns: 1fr;
    }
}

/* Tool guide panels dark-theme correction */
.tool-page .info-panel,
.tool-page .guide-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(255,255,255,.14);
    background:
        linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035)),
        rgba(10,14,26,.86);
    box-shadow: 0 20px 46px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.1);
    color: #fff;
}

.tool-page .info-panel::before,
.tool-page .guide-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 0%, rgba(204,255,0,.12), transparent 12rem),
        radial-gradient(circle at 92% 100%, rgba(255,79,216,.1), transparent 11rem);
    pointer-events: none;
}

.tool-page .info-panel > *,
.tool-page .guide-card > * {
    position: relative;
    z-index: 1;
}

.tool-page .info-panel h2,
.tool-page .guide-card h3 {
    color: #fff;
}

.tool-page .steps-list,
.tool-page .guide-card p,
.tool-page .guide-card li {
    color: rgba(232,238,255,.78);
}

.tool-page .guide-card:hover,
.tool-page .info-panel:hover {
    border-color: rgba(204,255,0,.38);
    background:
        linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.045)),
        rgba(10,14,26,.9);
}

/* Tool SEO article dark-theme correction */
.tool-page .seo-article .article-block {
    position: relative;
    overflow: hidden;
    border-color: rgba(255,255,255,.14);
    background:
        radial-gradient(circle at 84% 4%, rgba(204,255,0,.11), transparent 13rem),
        linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.035)),
        rgba(10,14,26,.88);
    box-shadow: 0 20px 46px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.1);
    color: #fff;
}

.tool-page .seo-article .article-block h3,
.tool-page .seo-article .article-block h4,
.tool-page .seo-article .article-block strong {
    color: #fff;
}

.tool-page .seo-article .article-block p,
.tool-page .seo-article .article-block li,
.tool-page .seo-article .idea-list p {
    color: rgba(232,238,255,.8);
}

.tool-page .seo-article .article-block a {
    color: var(--acid);
    font-weight: 950;
    text-decoration-color: rgba(204,255,0,.45);
}

.tool-page .seo-article .link-cloud a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    border-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.065);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
    overflow-wrap: anywhere;
}

.tool-page .seo-article .link-cloud a:nth-child(3n + 1) {
    border-color: rgba(204,255,0,.44);
}

.tool-page .seo-article .link-cloud a:nth-child(3n + 2) {
    border-color: rgba(255,79,216,.42);
}

.tool-page .seo-article .link-cloud a:nth-child(3n) {
    border-color: rgba(66,165,255,.42);
}

.tool-page .seo-article .link-cloud a:hover {
    border-color: rgba(204,255,0,.7);
    background: rgba(204,255,0,.12);
    color: var(--acid);
}

/* Blog article hero and dark reading cards */
.blog-article-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(330px, .55fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
}

.blog-article-hero-layout .hero-copy {
    margin: 0;
}

.blog-article-preview {
    position: relative;
    min-height: clamp(340px, 34vw, 500px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    background:
        radial-gradient(circle at 74% 14%, rgba(204,255,0,.18), transparent 10rem),
        radial-gradient(circle at 18% 82%, rgba(255,79,216,.18), transparent 12rem),
        rgba(255,255,255,.055);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.14);
    overflow: hidden;
    isolation: isolate;
}

.blog-article-preview-ring {
    position: absolute;
    inset: 30px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), transparent 42%),
        conic-gradient(from 120deg, rgba(204,255,0,.24), rgba(255,79,216,.18), rgba(66,165,255,.2), rgba(204,255,0,.24));
    opacity: .8;
}

.blog-preview-card {
    position: absolute;
    display: grid;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: rgba(5,7,13,.74);
    box-shadow: 0 18px 42px rgba(0,0,0,.34);
    backdrop-filter: blur(15px);
}

.blog-preview-card span {
    color: var(--acid);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.blog-preview-card strong {
    color: #fff;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.blog-preview-card p {
    margin: 0;
    color: rgba(232,238,255,.78);
    line-height: 1.45;
}

.blog-preview-card-main {
    left: 24px;
    right: 32px;
    top: 42px;
    min-height: 178px;
    padding: 20px;
    transform: rotate(-2deg);
}

.blog-preview-card-main strong {
    font-size: clamp(25px, 2.8vw, 40px);
}

.blog-preview-card-keyword {
    right: 24px;
    bottom: 96px;
    width: min(290px, 68%);
    padding: 16px;
    transform: rotate(4deg);
}

.blog-preview-card-tools {
    left: 24px;
    bottom: 28px;
    width: min(300px, 72%);
    padding: 14px;
    transform: rotate(-4deg);
}

.blog-article-section .article-block {
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 92% 0%, rgba(204,255,0,.1), transparent 12rem),
        linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.035)),
        rgba(10,14,26,.88);
    box-shadow: 0 18px 42px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.blog-article-section .article-block p,
.blog-article-section .article-block li {
    color: rgba(232,238,255,.8);
}

.blog-article-section .keyword-block .small-cloud span,
.blog-article-section .link-cloud a {
    border-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.065);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}

.blog-article-section .keyword-block .small-cloud span:nth-child(3n + 1),
.blog-article-section .link-cloud a:nth-child(3n + 1) { border-color: rgba(204,255,0,.44); }
.blog-article-section .keyword-block .small-cloud span:nth-child(3n + 2),
.blog-article-section .link-cloud a:nth-child(3n + 2) { border-color: rgba(255,79,216,.42); }
.blog-article-section .keyword-block .small-cloud span:nth-child(3n),
.blog-article-section .link-cloud a:nth-child(3n) { border-color: rgba(66,165,255,.42); }

@media (max-width: 1080px) {
    .blog-article-hero-layout { grid-template-columns: 1fr; }
    .blog-article-preview { max-width: 720px; }
}

@media (max-width: 760px) {
    .blog-article-preview { min-height: 390px; }
    .blog-preview-card-main { left: 14px; right: 14px; top: 30px; padding: 16px; }
    .blog-preview-card-main strong { font-size: 28px; }
    .blog-preview-card-keyword,
    .blog-preview-card-tools { left: 14px; right: 14px; width: auto; transform: none; }
}

/* Homepage hero floating labels readability fix */
.hero-float-card,
.hero-float-card-top,
.hero-float-card-bottom {
    transform: none;
    direction: ltr;
    writing-mode: horizontal-tb;
    text-align: left;
}

.hero-float-card {
    min-width: 170px;
    max-width: 260px;
}

.hero-float-card strong,
.hero-float-card span {
    transform: none;
    direction: ltr;
    unicode-bidi: normal;
}

.hero-float-card-bottom {
    right: 16px;
    bottom: 24px;
}

@media (max-width: 760px) {
    .hero-float-card {
        min-width: 138px;
        max-width: 210px;
    }
}

/* AI profile audit first pass */
.button-ghost {
    color: #d7ff2f;
    background: rgba(215, 255, 47, .08);
    border: 1px solid rgba(215, 255, 47, .45);
    box-shadow: 0 12px 28px rgba(215, 255, 47, .08);
}

.mini-button-ai {
    color: #10131b;
    border-color: #d7ff2f;
    background: #d7ff2f;
}

.ai-audit-hero,
.ai-audit-tool {
    color: #f7f7f2;
}

.ai-audit-layout,
.ai-tool-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 22px;
    align-items: stretch;
}

.ai-audit-copy {
    display: flex;
    min-height: 340px;
    flex-direction: column;
    justify-content: center;
}

.ai-audit-copy .hero-text {
    margin-left: 0;
    color: #cbd6ee;
}

.ai-audit-preview,
.ai-panel,
.ai-inline-result {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(22, 27, 39, .96), rgba(9, 11, 18, .98));
    box-shadow: 0 22px 55px rgba(0, 0, 0, .24);
}

.ai-audit-preview {
    display: flex;
    align-items: end;
    gap: 18px;
    min-height: 340px;
    padding: 24px;
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 76, 205, .35), transparent 28%),
        radial-gradient(circle at 18% 78%, rgba(51, 154, 255, .24), transparent 34%),
        linear-gradient(145deg, rgba(22, 27, 39, .96), rgba(9, 11, 18, .98));
}

.ai-audit-preview p,
.ai-panel p,
.ai-inline-result p,
.ai-risk-box li,
.ai-check-card p {
    color: #cbd6ee;
    line-height: 1.6;
}

.ai-score-ring {
    display: inline-grid;
    width: 92px;
    height: 92px;
    flex: 0 0 auto;
    place-items: center;
    border: 2px solid #d7ff2f;
    border-radius: 999px;
    color: #d7ff2f;
    font-size: 30px;
    font-weight: 950;
    box-shadow: 0 0 34px rgba(215, 255, 47, .24);
}

.ai-panel {
    padding: 24px;
}

.ai-audit-form {
    display: grid;
    gap: 18px;
}

.ai-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ai-form-grid .field {
    margin: 0;
    color: #f7f7f2;
}

.ai-form-grid .field input,
.ai-form-grid .field select {
    width: 100%;
    height: 50px;
    margin-top: 8px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: #f7f7f2;
    font: inherit;
    outline: none;
}

.ai-form-grid .field select option {
    color: #10131b;
}

.ai-form-grid .field input:focus,
.ai-form-grid .field select:focus {
    border-color: #d7ff2f;
    box-shadow: 0 0 0 4px rgba(215, 255, 47, .12);
}

.ai-status,
.ai-empty-state {
    min-height: 24px;
    color: #d7ff2f;
    font-weight: 800;
}

.ai-score-row {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
}

.ai-score-row h2 {
    margin-bottom: 4px;
}

.ai-score-row small {
    color: #d7ff2f;
    font-weight: 900;
    text-transform: uppercase;
}

.ai-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ai-check-card,
.ai-risk-box {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
}

.ai-check-card span,
.ai-risk-box strong,
.ai-suggestion-block h3,
.ai-inline-result strong {
    color: #f7f7f2;
    font-weight: 950;
}

.ai-check-card strong {
    display: block;
    margin: 8px 0 4px;
    color: #d7ff2f;
    font-size: 28px;
}

.ai-risk-box,
.ai-suggestion-block {
    margin-top: 16px;
}

.ai-risk-box ul,
.ai-inline-result ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.ai-suggestion-block h3 {
    margin: 18px 0 8px;
    font-size: 16px;
}

.ai-inline-result {
    margin-top: 14px;
    padding: 14px;
}

.ai-inline-result .mini-button,
.ai-suggestion-block .mini-button {
    background: rgba(255, 255, 255, .08);
    color: #f7f7f2;
    border-color: rgba(215, 255, 47, .45);
}

@media (max-width: 860px) {
    .ai-audit-layout,
    .ai-tool-grid,
    .ai-form-grid,
    .ai-check-grid {
        grid-template-columns: 1fr;
    }

    .ai-audit-copy,
    .ai-audit-preview {
        min-height: auto;
    }

    .ai-score-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

.ai-audit-form .button {
    width: auto;
    min-width: 190px;
    min-height: 48px;
    justify-self: start;
    align-self: start;
    padding: 0 22px;
}

.ai-results-panel h2,
.ai-audit-form h2 {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.02;
}

.ai-score-row h2 {
    font-size: clamp(28px, 2.6vw, 40px);
}

/* Homepage AI product surface */
.nav-ai-audit {
    color: #d7ff2f !important;
    text-shadow: 0 0 18px rgba(215, 255, 47, .24);
}

.home-ai-lab {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 18px;
    margin: -8px 0 clamp(22px, 4vw, 38px);
    padding: 18px;
    border: 1px solid rgba(215, 255, 47, .24);
    border-radius: 8px;
    background:
        radial-gradient(circle at 18% 0%, rgba(215, 255, 47, .18), transparent 32%),
        radial-gradient(circle at 82% 100%, rgba(255, 76, 205, .16), transparent 34%),
        rgba(11, 14, 23, .9);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.home-ai-lab-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 6px 4px;
}

.ai-live-badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    padding: 7px 10px;
    border: 1px solid rgba(215, 255, 47, .46);
    border-radius: 999px;
    color: #d7ff2f;
    background: rgba(215, 255, 47, .08);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.home-ai-lab h2 {
    max-width: 520px;
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(30px, 3.2vw, 48px);
    line-height: .98;
}

.home-ai-lab p,
.home-ai-card small,
.generator-ai-banner strong {
    color: #cbd6ee;
    line-height: 1.55;
}

.home-ai-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-ai-card {
    display: flex;
    min-height: 164px;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
    overflow: hidden;
}

.home-ai-card-primary {
    border-color: rgba(215, 255, 47, .55);
    background:
        radial-gradient(circle at 80% 12%, rgba(215, 255, 47, .25), transparent 30%),
        linear-gradient(145deg, rgba(215, 255, 47, .12), rgba(255, 255, 255, .05));
}

.home-ai-card span {
    color: rgba(255, 255, 255, .36);
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
}

.home-ai-card strong {
    color: #fff;
    font-size: 19px;
    line-height: 1.16;
}

.generator-ai-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid rgba(215, 255, 47, .32);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(215, 255, 47, .12), rgba(255, 76, 205, .1)),
        rgba(255, 255, 255, .04);
}

.generator-ai-banner span {
    display: block;
    margin-bottom: 4px;
    color: #d7ff2f;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.generator-ai-banner .mini-button {
    flex: 0 0 auto;
    color: #10131b;
}
.generator-ai-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.generator-ai-actions .mini-button-commerce {
    border-color: rgba(255, 255, 255, .18);
    color: #f8fbff;
    background: rgba(255, 255, 255, .08);
}

.generator-ai-actions .mini-button-commerce:hover {
    border-color: rgba(215, 255, 47, .48);
    background: rgba(215, 255, 47, .12);
}

@media (max-width: 980px) {
    .home-ai-lab,
    .home-ai-cards {
        grid-template-columns: 1fr;
    }

    .home-ai-card {
        min-height: 126px;
    }
}

@media (max-width: 720px) {
    .home-ai-lab {
        padding: 14px;
        margin-top: 0;
    }

    .generator-ai-banner {
        align-items: stretch;
        flex-direction: column;
    }

    .generator-ai-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .generator-ai-banner .mini-button {
        width: 100%;
        text-align: center;
    }
}

.hero-ai-score-card {
    position: absolute;
    z-index: 3;
    left: 22px;
    bottom: 22px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    row-gap: 2px;
    min-width: 220px;
    max-width: 270px;
    padding: 14px;
    border: 1px solid rgba(215, 255, 47, .58);
    border-radius: 8px;
    background: rgba(7, 10, 17, .84);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .38), 0 0 34px rgba(215, 255, 47, .12);
    backdrop-filter: blur(14px);
}

.hero-ai-score-card span {
    grid-column: 1 / -1;
    color: #d7ff2f;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.hero-ai-score-card strong {
    display: inline-grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 2px solid #d7ff2f;
    border-radius: 999px;
    color: #d7ff2f;
    font-size: 22px;
    font-weight: 950;
}

.hero-ai-score-card small {
    align-self: center;
    color: #fff;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.25;
}

@media (max-width: 760px) {
    .hero-ai-score-card {
        left: 10px;
        bottom: 10px;
        min-width: 190px;
        max-width: 210px;
        padding: 10px;
    }

    .hero-ai-score-card strong {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .hero-ai-score-card small {
        font-size: 12px;
    }
}

.hero-ai-quick {
    display: grid;
    gap: 12px;
    max-width: 720px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(215, 255, 47, .3);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(215, 255, 47, .1), rgba(255, 76, 205, .08)),
        rgba(255, 255, 255, .045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 46px rgba(0, 0, 0, .22);
}

.hero-ai-quick-fields {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 10px;
}

.hero-ai-quick label {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: #d7ff2f;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.hero-ai-quick input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(7, 10, 17, .78);
    color: #fff;
    font: inherit;
    font-size: 15px;
    outline: none;
}

.hero-ai-quick input:focus {
    border-color: #d7ff2f;
    box-shadow: 0 0 0 4px rgba(215, 255, 47, .12);
}

.hero-ai-quick .button {
    width: fit-content;
    min-height: 42px;
}

.hero-ai-quick-result {
    min-height: 22px;
    margin: 0;
    color: #cbd6ee;
    font-size: 14px;
    line-height: 1.45;
}

.hero-ai-quick-result strong {
    color: #d7ff2f;
    font-weight: 950;
}

@media (max-width: 760px) {
    .hero-ai-quick-fields {
        grid-template-columns: 1fr;
    }

    .hero-ai-quick .button {
        width: 100%;
    }
}

/* Hero stability after AI quick check */
.hero-section-v2 h1 {
    max-width: 820px;
    font-size: clamp(44px, 5.5vw, 88px);
    line-height: .94;
    overflow-wrap: anywhere;
}

.hero-section-v2 .hero-copy {
    min-width: 0;
}

.hero-section-v2 .hero-text {
    max-width: 760px;
}

@media (min-width: 1081px) {
    .hero-layout {
        grid-template-columns: minmax(0, .92fr) minmax(360px, .78fr);
    }
}

@media (max-width: 760px) {
    .hero-section-v2 h1 {
        font-size: clamp(38px, 10vw, 48px);
        line-height: .98;
    }
}

/* Conservative hero type cap for translated/CJK layouts */
.hero-section-v2 h1 {
    font-size: clamp(40px, 4.2vw, 72px);
    line-height: 1.02;
}

@media (min-width: 1081px) {
    .hero-layout {
        grid-template-columns: minmax(0, .86fr) minmax(420px, .9fr);
        gap: clamp(24px, 4vw, 56px);
    }
}

/* Stronger AI hero visual layer */
.hero-ai-scan {
    position: absolute;
    z-index: 2;
    inset: 14px;
    border-radius: 8px;
    pointer-events: none;
    overflow: hidden;
}

.hero-ai-scan::before {
    content: "";
    position: absolute;
    inset: -40% 0 auto;
    height: 42%;
    background: linear-gradient(180deg, transparent 0%, rgba(215, 255, 47, .18) 48%, transparent 100%);
    filter: blur(1px);
    animation: hero-ai-scan-pass 4.8s ease-in-out infinite;
}

.hero-ai-scan::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(215, 255, 47, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(215, 255, 47, .06) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 72%);
    opacity: .58;
}

.hero-ai-status-strip,
.hero-ai-dna-card,
.hero-ai-output-card {
    position: absolute;
    z-index: 4;
    border: 1px solid rgba(215, 255, 47, .42);
    border-radius: 8px;
    background: rgba(7, 10, 17, .82);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .34), 0 0 30px rgba(215, 255, 47, .08);
    backdrop-filter: blur(14px);
}

.hero-ai-status-strip {
    left: 20px;
    right: 20px;
    top: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 38px;
    padding: 8px 12px;
}

.hero-ai-status-strip span {
    flex: 0 0 auto;
    color: #d7ff2f;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.hero-ai-status-strip i {
    position: relative;
    flex: 1 1 auto;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    overflow: hidden;
}

.hero-ai-status-strip i::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 64%;
    border-radius: inherit;
    background: linear-gradient(90deg, #d7ff2f, #32f5a9, #ff4ccd);
    animation: hero-ai-meter 3.6s ease-in-out infinite;
}

.hero-ai-dna-card {
    right: 18px;
    top: 72px;
    display: grid;
    gap: 4px;
    width: min(250px, 48%);
    padding: 12px 14px;
}

.hero-ai-output-card {
    right: 18px;
    bottom: 102px;
    display: grid;
    gap: 4px;
    width: min(230px, 44%);
    padding: 12px 14px;
}

.hero-ai-dna-card span,
.hero-ai-output-card span {
    color: #d7ff2f;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.hero-ai-dna-card strong,
.hero-ai-output-card strong {
    color: #fff;
    font-size: 16px;
    line-height: 1.15;
}

.hero-ai-output-card small {
    color: #cbd6ee;
    font-size: 12px;
    line-height: 1.35;
}

@keyframes hero-ai-scan-pass {
    0%, 12% { transform: translateY(0); opacity: 0; }
    24% { opacity: 1; }
    72% { opacity: .9; }
    100% { transform: translateY(340%); opacity: 0; }
}

@keyframes hero-ai-meter {
    0%, 100% { width: 42%; }
    50% { width: 82%; }
}

@media (max-width: 760px) {
    .hero-ai-status-strip {
        left: 10px;
        right: 10px;
        top: 10px;
        min-height: 34px;
    }

    .hero-ai-status-strip span {
        max-width: 114px;
        line-height: 1.1;
    }

    .hero-ai-dna-card {
        right: 10px;
        top: 54px;
        width: min(210px, 58%);
        padding: 9px 10px;
    }

    .hero-ai-output-card {
        display: none;
    }
}

/* 2026-07-07 AI entry expansion */
.ai-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ai-keyword-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.ai-keyword-strip span {
    padding: 8px 10px;
    border: 1px solid rgba(215, 255, 47, .28);
    border-radius: 8px;
    color: #d7ff2f;
    background: rgba(215, 255, 47, .07);
    font-size: 12px;
    font-weight: 900;
}

.ai-audit-preview-stack {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 22px;
}

.ai-preview-card {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
}

.ai-preview-card span:not(.ai-score-ring) {
    color: #d7ff2f;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.ai-preview-card strong {
    display: block;
    color: #fff;
    font-size: 22px;
    line-height: 1.1;
}

.ai-preview-card p {
    margin: 4px 0 0;
    color: #cbd6ee;
}

.tool-ai-preview {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 22px;
}

.tool-ai-preview-head,
.tool-ai-mini-form,
.tool-ai-full-link {
    position: relative;
    z-index: 2;
}

.tool-ai-preview-head {
    padding: 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: rgba(5,7,13,.72);
    box-shadow: 0 18px 42px rgba(0,0,0,.28);
    backdrop-filter: blur(14px);
}

.tool-ai-preview-head span,
.tool-ai-mini-form span {
    display: block;
    color: var(--acid);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.tool-ai-preview-head strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1;
}

.tool-ai-preview-head p {
    margin: 10px 0 0;
    color: #cbd6ee;
    line-height: 1.5;
}

.tool-ai-mini-form {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(5,7,13,.64);
    backdrop-filter: blur(14px);
}

.tool-ai-mini-form label {
    display: grid;
    gap: 6px;
}

.tool-ai-mini-form input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font: inherit;
    outline: none;
}

.tool-ai-mini-form input:focus {
    border-color: #d7ff2f;
    box-shadow: 0 0 0 4px rgba(215, 255, 47, .12);
}

.tool-ai-mini-form .button {
    width: 100%;
    min-height: 44px;
}

.tool-ai-mini-result {
    min-height: 34px;
    margin: 0;
    color: #cbd6ee;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.tool-ai-mini-result strong {
    color: #d7ff2f;
}

.tool-ai-full-link {
    display: inline-flex;
    justify-content: center;
    padding: 11px 12px;
    border: 1px solid rgba(215, 255, 47, .42);
    border-radius: 8px;
    color: #d7ff2f;
    background: rgba(215, 255, 47, .07);
    font-weight: 950;
}

.ai-depth-section {
    color: #f7f7f2;
}

.ai-use-case-grid,
.ai-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ai-step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-use-case-card,
.ai-step-card {
    min-height: 190px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
    box-shadow: 0 18px 48px rgba(0,0,0,.2);
}

.ai-use-case-card h3,
.ai-step-card h3 {
    color: #fff;
    line-height: 1.1;
}

.ai-use-case-card p,
.ai-step-card p,
.ai-depth-section .guide-copy {
    color: #cbd6ee;
    line-height: 1.6;
}

.ai-step-card span {
    display: block;
    margin-bottom: 30px;
    color: rgba(215, 255, 47, .72);
    font-size: 38px;
    font-weight: 950;
}

@media (max-width: 980px) {
    .ai-use-case-grid,
    .ai-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ai-hero-actions,
    .ai-keyword-strip {
        flex-direction: column;
    }

    .ai-use-case-grid,
    .ai-step-grid {
        grid-template-columns: 1fr;
    }

    .tool-ai-preview {
        padding: 16px;
    }
}

/* 2026-07-07 AI result and content cluster polish */
.ai-before-after {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.ai-before-after article {
    padding: 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(255,255,255,.045);
}

.ai-before-after span,
.ai-before-after small {
    color: #d7ff2f;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.ai-before-after strong {
    display: block;
    margin: 8px 0 6px;
    color: #fff;
    line-height: 1.1;
}

.ai-best-copy {
    margin: 0 0 10px;
}

.ai-rewrite-option {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.ai-content-section .discovery-link span {
    color: #d7ff2f;
}

.ai-faq-list details {
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.055);
}

.ai-faq-list summary,
.ai-faq-list p {
    color: #f7f7f2;
}

@media (max-width: 640px) {
    .ai-before-after {
        grid-template-columns: 1fr;
    }

    .ai-rewrite-option {
        display: grid;
    }
}
/* 2026-07-07 hero quick alignment */
@media (min-width: 1081px) {
    .hero-ai-quick {
        width: min(100%, 568px);
        max-width: 568px;
    }

    .hero-ai-quick-fields {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
    }
}

/* Operations takeover: high-intent SEO and AI entry cards */
.home-priority-section {
    scroll-margin-top: 110px;
    margin: 28px auto 0;
    width: min(1120px, calc(100% - 32px));
    padding: 28px;
    border: 1px solid rgba(204, 255, 0, .22);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 0%, rgba(204, 255, 0, .16), transparent 34%),
        radial-gradient(circle at 92% 8%, rgba(255, 79, 216, .14), transparent 32%),
        linear-gradient(135deg, rgba(16, 20, 30, .94), rgba(20, 12, 32, .92));
    box-shadow: 0 22px 70px rgba(0, 0, 0, .36);
}

.home-priority-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.home-priority-card {
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)),
        rgba(255, 255, 255, .04);
}

.home-priority-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .72;
    background:
        linear-gradient(90deg, rgba(204, 255, 0, .9), rgba(255, 79, 216, .8), rgba(66, 165, 255, .75)) top / 100% 4px no-repeat,
        radial-gradient(circle at 78% 18%, rgba(204, 255, 0, .2), transparent 28%);
    pointer-events: none;
}

.home-priority-card span,
.home-priority-card strong,
.home-priority-card p {
    position: relative;
    z-index: 1;
}

.home-priority-card span {
    width: fit-content;
    padding: 6px 9px;
    border: 1px solid rgba(204, 255, 0, .5);
    border-radius: 999px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-priority-card strong {
    max-width: 14ch;
    font-size: clamp(20px, 2vw, 28px);
    line-height: .98;
}

.home-priority-card p {
    margin: 0;
    color: rgba(238, 244, 255, .72);
    font-size: 14px;
    line-height: 1.5;
}

.home-priority-card:hover {
    transform: translateY(-4px);
    border-color: rgba(204, 255, 0, .55);
    box-shadow: 0 16px 44px rgba(204, 255, 0, .12);
}

.not-found {
    width: min(820px, calc(100% - 32px));
    margin: 80px auto;
    padding: 42px;
    border: 1px solid rgba(204, 255, 0, .24);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(16, 20, 30, .96), rgba(24, 14, 35, .94));
}

.not-found-actions,
.not-found-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.not-found-links a {
    display: inline-flex;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, .05);
}

.not-found-links a:hover {
    border-color: rgba(204, 255, 0, .55);
    color: var(--accent);
}

@media (max-width: 980px) {
    .home-priority-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .home-priority-section,
    .not-found {
        width: min(100% - 22px, 100%);
        padding: 20px;
        border-radius: 14px;
    }

    .home-priority-grid {
        grid-template-columns: 1fr;
    }

    .home-priority-card {
        min-height: 154px;
    }
}

/* Tool guide internal-link cards */
.tool-guide-section {
    position: relative;
}

.tool-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tool-guide-card {
    position: relative;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)),
        radial-gradient(circle at 78% 12%, rgba(204, 255, 0, .16), transparent 26%),
        rgba(14, 18, 28, .86);
}

.tool-guide-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(204, 255, 0, .85), rgba(255, 79, 216, .72), rgba(66, 165, 255, .72)) top / 100% 4px no-repeat;
    opacity: .82;
    pointer-events: none;
}

.tool-guide-card span,
.tool-guide-card strong,
.tool-guide-card p {
    position: relative;
    z-index: 1;
}

.tool-guide-card span {
    width: fit-content;
    max-width: 100%;
    padding: 6px 9px;
    border: 1px solid rgba(204, 255, 0, .48);
    border-radius: 999px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: normal;
}

.tool-guide-card strong {
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.02;
}

.tool-guide-card p {
    margin: 0;
    color: rgba(238, 244, 255, .72);
    font-size: 14px;
    line-height: 1.5;
}

.tool-guide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(204, 255, 0, .52);
    box-shadow: 0 16px 44px rgba(204, 255, 0, .1);
}

@media (max-width: 980px) {
    .tool-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .tool-guide-grid {
        grid-template-columns: 1fr;
    }

    .tool-guide-card {
        min-height: 168px;
    }
}

/* Blog article conversion cards */
.article-block-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.article-block-heading-row .eyebrow {
    margin-bottom: 8px;
}

.blog-article-section .article-block-heading-row h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 54px);
    line-height: .96;
    letter-spacing: 0;
}

.blog-article-section .article-block-heading-row .section-link {
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.blog-tool-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.blog-tool-card {
    position: relative;
    min-height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 9px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)),
        rgba(14, 18, 28, .84);
}

.blog-tool-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(204, 255, 0, .86), rgba(255, 79, 216, .72), rgba(66, 165, 255, .72)) top / 100% 4px no-repeat,
        radial-gradient(circle at 86% 16%, rgba(204, 255, 0, .16), transparent 30%);
    pointer-events: none;
}

.blog-tool-card-ai::before {
    background:
        linear-gradient(90deg, rgba(204, 255, 0, .95), rgba(77, 255, 153, .9)) top / 100% 4px no-repeat,
        radial-gradient(circle at 86% 16%, rgba(204, 255, 0, .22), transparent 30%);
}

.blog-tool-card span,
.blog-tool-card strong,
.blog-tool-card p {
    position: relative;
    z-index: 1;
}

.blog-tool-card span {
    width: fit-content;
    padding: 6px 9px;
    border: 1px solid rgba(204, 255, 0, .48);
    border-radius: 999px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.blog-tool-card strong {
    font-size: clamp(20px, 1.7vw, 25px);
    line-height: 1.04;
}

.blog-tool-card p {
    margin: 0;
    color: rgba(238, 244, 255, .72);
    font-size: 14px;
    line-height: 1.5;
}

.blog-tool-card:hover {
    transform: translateY(-4px);
    border-color: rgba(204, 255, 0, .52);
    box-shadow: 0 16px 44px rgba(204, 255, 0, .1);
}

@media (max-width: 900px) {
    .blog-tool-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .article-block-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-tool-card-grid {
        grid-template-columns: 1fr;
    }
}

/* 2026-07-17 Amazon affiliate creator kit layer */
.home-commerce-section,
.affiliate-kit-section,
.creator-kit-results {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(211, 255, 0, 0.22);
    background:
        radial-gradient(circle at 16% 10%, rgba(211, 255, 0, 0.14), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(255, 68, 194, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(16, 20, 29, 0.96), rgba(25, 20, 34, 0.94));
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.home-commerce-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: stretch;
    padding: clamp(22px, 4vw, 34px);
    margin: clamp(28px, 5vw, 54px) 0 0;
}

.home-commerce-copy h2,
.creator-kit-card h2,
.creator-kit-panel strong {
    color: #fff;
}

.home-commerce-card,
.affiliate-kit-card,
.creator-kit-card,
.creator-kit-panel {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #f7f8ff;
    text-decoration: none;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-commerce-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
    padding: 22px;
}

.home-commerce-card span,
.affiliate-kit-card span,
.creator-kit-card > span {
    width: fit-content;
    color: #d7ff00;
    border: 1px solid rgba(211, 255, 0, 0.45);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-commerce-card strong,
.affiliate-kit-card strong {
    display: block;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.05;
    margin: 18px 0 10px;
}

.affiliate-disclosure-inline {
    color: rgba(235, 240, 255, 0.72);
    font-size: 0.9rem;
    margin: -6px 0 20px;
}

.affiliate-disclosure-inline a {
    color: #d7ff00;
    font-weight: 800;
}

.affiliate-kit-grid,
.creator-kit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.affiliate-kit-grid-compact {
    grid-template-columns: 1fr;
    margin-top: 18px;
}

.affiliate-kit-card {
    min-height: 172px;
    padding: 18px;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.affiliate-kit-card:hover {
    transform: translateY(-2px);
    border-color: rgba(211, 255, 0, 0.52);
    background: rgba(255, 255, 255, 0.09);
}

.affiliate-kit-card p,
.creator-kit-card p,
.creator-kit-panel p,
.home-commerce-card p {
    color: rgba(235, 240, 255, 0.78);
}

.affiliate-kit-card small {
    display: inline-flex;
    margin-top: 16px;
    color: #d7ff00;
    font-weight: 900;
}

.creator-kit-hero .hero-layout {
    align-items: stretch;
}

.creator-kit-panel {
    padding: clamp(22px, 4vw, 34px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.kit-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.kit-signal-grid span {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    color: #eef3ff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 8px 10px;
    text-align: center;
}

.creator-kit-card {
    padding: clamp(18px, 3vw, 24px);
}

.creator-kit-card h2 {
    margin: 18px 0 10px;
    font-size: clamp(1.45rem, 2.5vw, 2.2rem);
}

@media (max-width: 820px) {
    .home-commerce-section,
    .affiliate-kit-grid,
    .creator-kit-grid {
        grid-template-columns: 1fr;
    }

    .home-commerce-card,
    .affiliate-kit-card {
        min-height: 0;
    }
}

/* 2026-07-17 affiliate funnel entry polish */
.nav-creator-kit {
    color: #d7ff00 !important;
}

.channel-feature-tile-commerce {
    border-color: rgba(211, 255, 0, 0.38);
    background:
        radial-gradient(circle at 80% 0%, rgba(255, 68, 194, 0.18), transparent 32%),
        linear-gradient(145deg, rgba(211, 255, 0, 0.08), rgba(255, 255, 255, 0.04));
}

.blog-tool-card-commerce {
    border-color: rgba(211, 255, 0, 0.35);
    background:
        radial-gradient(circle at 100% 0%, rgba(211, 255, 0, 0.14), transparent 36%),
        rgba(255, 255, 255, 0.06);
}

.creator-kit-tool-paths {
    margin-top: clamp(32px, 6vw, 72px);
}

/* 2026-07-17 interactive creator kit picker */
.creator-kit-picker {
    border: 1px solid rgba(211, 255, 0, 0.2);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(211, 255, 0, 0.045));
    padding: clamp(22px, 4vw, 34px);
}

.creator-kit-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.creator-kit-control-group {
    display: grid;
    gap: 10px;
}

.creator-kit-control-group > span {
    color: #f6f8ff;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.creator-kit-match-panel {
    margin-top: 22px;
    border: 1px solid rgba(211, 255, 0, 0.34);
    background: rgba(0, 0, 0, 0.22);
    border-radius: 14px;
    padding: 18px;
}

.creator-kit-match-panel span {
    color: #d7ff00;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.creator-kit-match-panel strong {
    display: block;
    color: #fff;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    margin-top: 8px;
}

.creator-kit-match-panel p {
    color: rgba(235, 240, 255, 0.76);
    margin: 8px 0 0;
}

.creator-kit-card.is-best-match {
    border-color: rgba(211, 255, 0, 0.72);
    box-shadow: 0 18px 60px rgba(211, 255, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.creator-kit-card[hidden] {
    display: none;
}

.creator-kit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 4px;
}

.creator-kit-tags small {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(244, 247, 255, 0.78);
    font-weight: 800;
    padding: 5px 8px;
}

@media (max-width: 820px) {
    .creator-kit-controls {
        grid-template-columns: 1fr;
    }
}

/* 2026-07-17 creator kit decision content */
.creator-kit-decision-section,
.creator-kit-faq-section {
    margin-top: clamp(34px, 6vw, 78px);
}

.creator-kit-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.creator-kit-faq-list details {
    border-color: rgba(211, 255, 0, 0.22);
    background: rgba(255, 255, 255, 0.055);
}

.creator-kit-faq-list summary {
    color: #f7f8ff;
}

.creator-kit-faq-list p {
    color: rgba(235, 240, 255, 0.78);
}

@media (max-width: 820px) {
    .creator-kit-guide-grid {
        grid-template-columns: 1fr;
    }
}
/* 2026-07-17 creator kit buying matrix */
.creator-kit-matrix-section {
    margin-top: clamp(34px, 6vw, 78px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background:
        radial-gradient(circle at 10% 0%, rgba(211, 255, 0, 0.12), transparent 32%),
        radial-gradient(circle at 92% 14%, rgba(66, 165, 255, 0.13), transparent 34%),
        rgba(255, 255, 255, 0.045);
    padding: clamp(22px, 4vw, 34px);
}

.creator-kit-matrix-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.creator-kit-matrix-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
}

.creator-kit-matrix-card span {
    width: fit-content;
    color: #d7ff00;
    border: 1px solid rgba(211, 255, 0, 0.42);
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.creator-kit-matrix-card h3 {
    color: #fff;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.05;
    margin: 18px 0 8px;
}

.creator-kit-matrix-card p {
    color: rgba(235, 240, 255, 0.76);
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0 0 12px;
}

.creator-kit-matrix-card small {
    color: rgba(235, 240, 255, 0.58);
    line-height: 1.4;
}

.creator-kit-matrix-actions {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
}

.creator-kit-matrix-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid rgba(211, 255, 0, 0.35);
    border-radius: 10px;
    color: #f8fbff;
    font-size: 0.82rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.creator-kit-matrix-actions a:first-child {
    color: #07100c;
    background: linear-gradient(135deg, #d7ff00, #49ff7a);
}

.creator-kit-matrix-actions a:hover {
    transform: translateY(-1px);
    border-color: rgba(211, 255, 0, 0.72);
}

@media (max-width: 1180px) {
    .creator-kit-matrix-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .creator-kit-matrix-grid {
        grid-template-columns: 1fr;
    }

    .creator-kit-matrix-card {
        min-height: 0;
    }
}

.blog-creator-kit-guides {
    margin-top: clamp(34px, 6vw, 78px);
    margin-bottom: clamp(28px, 5vw, 56px);
}

.blog-creator-kit-guides .discovery-link {
    min-height: 178px;
    background:
        radial-gradient(circle at 86% 0%, rgba(211, 255, 0, 0.12), transparent 34%),
        rgba(255, 255, 255, 0.055);
}

/* 2026-07-17 blog affiliate decision layer */
.blog-mid-commerce-cta,
.blog-buying-decision-block {
    border: 1px solid rgba(211, 255, 0, 0.24) !important;
    background:
        radial-gradient(circle at 10% 0%, rgba(211, 255, 0, 0.12), transparent 32%),
        radial-gradient(circle at 92% 12%, rgba(255, 79, 216, 0.12), transparent 34%),
        rgba(255, 255, 255, 0.055) !important;
}

.blog-mid-commerce-cta h2,
.blog-buying-decision-block h2 {
    color: #fff;
}

.blog-mid-commerce-cta p:not(.eyebrow) {
    max-width: 860px;
    color: rgba(235, 240, 255, 0.78);
}

.blog-mid-commerce-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.blog-buying-decision-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.blog-buying-decision-card {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
}

.blog-buying-decision-card span {
    width: fit-content;
    color: #d7ff00;
    border: 1px solid rgba(211, 255, 0, 0.42);
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.blog-buying-decision-card h3 {
    color: #fff;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    line-height: 1.06;
    margin: 16px 0 8px;
}

.blog-buying-decision-card p,
.blog-buying-decision-card small,
.blog-buying-decision-card em {
    color: rgba(235, 240, 255, 0.74);
    line-height: 1.45;
}

.blog-buying-decision-card small,
.blog-buying-decision-card em {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
}

.blog-buying-decision-card em {
    color: rgba(235, 240, 255, 0.58);
    font-style: normal;
}

.blog-buying-decision-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: auto;
    border-radius: 10px;
    color: #07100c;
    background: linear-gradient(135deg, #d7ff00, #49ff7a);
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 860px) {
    .blog-buying-decision-grid {
        grid-template-columns: 1fr;
    }

    .blog-mid-commerce-actions {
        display: grid;
    }
}

/* 2026-07-17 creator kit scenario conversion paths */
.creator-kit-scenario-section {
    margin-top: clamp(34px, 6vw, 78px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 79, 216, 0.14), transparent 30%),
        radial-gradient(circle at 100% 18%, rgba(211, 255, 0, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.026));
    padding: clamp(22px, 4vw, 34px);
}

.creator-kit-scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.creator-kit-scenario-card {
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(0, 0, 0, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.creator-kit-scenario-card > span {
    color: #d7ff00;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.creator-kit-scenario-card p {
    color: rgba(235, 240, 255, 0.76);
    font-size: 0.96rem;
    line-height: 1.48;
    margin: 14px 0 18px;
}

.creator-kit-scenario-actions,
.creator-kit-scenario-products {
    display: grid;
    gap: 9px;
}

.creator-kit-scenario-actions {
    margin-top: auto;
}

.creator-kit-scenario-actions a,
.creator-kit-scenario-products a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: #f8fbff;
    font-size: 0.86rem;
    font-weight: 900;
    text-decoration: none;
    padding: 10px 12px;
}

.creator-kit-scenario-actions a:first-child {
    color: #07100c;
    background: linear-gradient(135deg, #d7ff00, #49ff7a);
    border-color: rgba(211, 255, 0, 0.6);
}

.creator-kit-scenario-products {
    margin-top: 12px;
}

.creator-kit-scenario-products a {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    background: rgba(0, 0, 0, 0.2);
}

.creator-kit-scenario-products small {
    color: #ff4fd8;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.creator-kit-scenario-products strong {
    color: #fff;
    font-size: 0.95rem;
}

.creator-kit-scenario-actions a:hover,
.creator-kit-scenario-products a:hover {
    transform: translateY(-1px);
    border-color: rgba(211, 255, 0, 0.58);
}

@media (max-width: 1180px) {
    .creator-kit-scenario-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .creator-kit-scenario-grid {
        grid-template-columns: 1fr;
    }

    .creator-kit-scenario-card {
        min-height: 0;
    }
}

/* 2026-07-17 homepage creator kit scenario entries */
.home-commerce-scenario-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.home-commerce-scenario-card {
    display: flex;
    flex-direction: column;
    min-height: 172px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background:
        radial-gradient(circle at 88% 0%, rgba(255, 79, 216, 0.12), transparent 34%),
        rgba(0, 0, 0, 0.18);
    color: #f8fbff;
    padding: 16px;
    text-decoration: none;
}

.home-commerce-scenario-card span {
    color: #d7ff00;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-commerce-scenario-card strong {
    color: #fff;
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    line-height: 1.08;
    margin-top: 18px;
}

.home-commerce-scenario-card p {
    color: rgba(235, 240, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.42;
    margin: 8px 0 0;
}

.home-commerce-scenario-card:hover {
    transform: translateY(-2px);
    border-color: rgba(211, 255, 0, 0.58);
}

@media (max-width: 1080px) {
    .home-commerce-scenario-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-commerce-scenario-grid {
        grid-template-columns: 1fr;
    }

    .home-commerce-scenario-card {
        min-height: 0;
    }
}

/* 2026-07-17 article product scenario and auto internal links */
.blog-product-scenario-block,
.blog-auto-internal-links-block {
    border: 1px solid rgba(211, 255, 0, 0.24) !important;
    background:
        radial-gradient(circle at 8% 0%, rgba(211, 255, 0, 0.12), transparent 34%),
        radial-gradient(circle at 92% 12%, rgba(255, 79, 216, 0.12), transparent 34%),
        rgba(255, 255, 255, 0.055) !important;
}

.blog-product-scenario-grid,
.blog-auto-internal-link-grid {
    display: grid;
    gap: 14px;
}

.blog-product-scenario-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-product-scenario-card,
.blog-auto-internal-link {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(0, 0, 0, 0.18);
    color: #f8fbff;
    padding: 18px;
    text-decoration: none;
}

.blog-product-scenario-card > span,
.blog-auto-internal-link span {
    width: fit-content;
    color: #d7ff00;
    border: 1px solid rgba(211, 255, 0, 0.42);
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.blog-product-scenario-card p,
.blog-auto-internal-link p {
    color: rgba(235, 240, 255, 0.74);
    line-height: 1.45;
}

.blog-product-scenario-actions,
.blog-product-scenario-products {
    display: grid;
    gap: 8px;
}

.blog-product-scenario-actions {
    margin-top: auto;
}

.blog-product-scenario-actions a,
.blog-product-scenario-products a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    color: #f8fbff;
    font-size: 0.84rem;
    font-weight: 900;
    padding: 9px 11px;
    text-decoration: none;
}

.blog-product-scenario-actions a:first-child {
    color: #07100c;
    background: linear-gradient(135deg, #d7ff00, #49ff7a);
    border-color: rgba(211, 255, 0, 0.6);
}

.blog-product-scenario-products {
    margin-top: 12px;
}

.blog-product-scenario-products a {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    background: rgba(0, 0, 0, 0.2);
}

.blog-product-scenario-products small {
    color: #ff4fd8;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.blog-product-scenario-products strong,
.blog-auto-internal-link strong {
    color: #fff;
    font-size: 1rem;
    line-height: 1.15;
}

.blog-auto-internal-link-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blog-auto-internal-link {
    min-height: 210px;
}

.blog-auto-internal-link-guide {
    border-color: rgba(255, 79, 216, 0.28);
}

.blog-auto-internal-link-commerce {
    border-color: rgba(211, 255, 0, 0.34);
}

.blog-product-scenario-actions a:hover,
.blog-product-scenario-products a:hover,
.blog-auto-internal-link:hover {
    transform: translateY(-2px);
    border-color: rgba(211, 255, 0, 0.58);
}

@media (max-width: 980px) {
    .blog-product-scenario-grid,
    .blog-auto-internal-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-product-scenario-grid,
    .blog-auto-internal-link-grid {
        grid-template-columns: 1fr;
    }

    .blog-product-scenario-card,
    .blog-auto-internal-link {
        min-height: 0;
    }
}

/* 2026-07-17 blog index commerce intent markers */
.blog-card-commerce {
    border-color: rgba(211, 255, 0, 0.32) !important;
    background:
        radial-gradient(circle at 88% 0%, rgba(211, 255, 0, 0.12), transparent 32%),
        radial-gradient(circle at 12% 12%, rgba(255, 79, 216, 0.1), transparent 34%),
        rgba(255, 255, 255, 0.055) !important;
}

.blog-card-intent-badge {
    width: fit-content;
    color: #07100c !important;
    background: linear-gradient(135deg, #d7ff00, #49ff7a);
    border: 0 !important;
    border-radius: 999px;
    font-size: 0.68rem !important;
    font-weight: 950 !important;
    padding: 5px 8px !important;
    text-transform: uppercase;
}

.blog-card-commerce:hover {
    border-color: rgba(211, 255, 0, 0.68) !important;
}

/* 2026-07-17 tool commerce path cards */
.tool-commerce-path-section {
    margin-top: clamp(34px, 6vw, 72px);
    border: 1px solid rgba(211, 255, 0, 0.22);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 0%, rgba(211, 255, 0, 0.12), transparent 34%),
        radial-gradient(circle at 90% 16%, rgba(255, 79, 216, 0.1), transparent 32%),
        rgba(255, 255, 255, 0.045);
    padding: clamp(22px, 4vw, 34px);
}

.tool-commerce-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tool-commerce-path-card {
    display: flex;
    flex-direction: column;
    min-height: 210px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    color: #f8fbff;
    padding: 18px;
    text-decoration: none;
}

.tool-commerce-path-card span {
    width: fit-content;
    color: #d7ff00;
    border: 1px solid rgba(211, 255, 0, 0.42);
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tool-commerce-path-card strong {
    color: #fff;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    line-height: 1.08;
    margin-top: 18px;
}

.tool-commerce-path-card p {
    color: rgba(235, 240, 255, 0.74);
    line-height: 1.45;
}

.tool-commerce-path-card:hover {
    transform: translateY(-2px);
    border-color: rgba(211, 255, 0, 0.58);
}

@media (max-width: 760px) {
    .tool-commerce-path-grid {
        grid-template-columns: 1fr;
    }

    .tool-commerce-path-card {
        min-height: 0;
    }
}
