:root {
    --navy: #102d5b;
    --navy-deep: #091d3d;
    --blue: #2463d4;
    --blue-soft: #eaf2ff;
    --mint: #26a17b;
    --amber: #d58b26;
    --ink: #17243a;
    --muted: #5c6c82;
    --line: #dce4ef;
    --page: #f3f6fa;
    --surface: #ffffff;
    --shadow: 0 20px 50px rgba(23, 54, 99, 0.11);
    --shadow-soft: 0 10px 28px rgba(23, 54, 99, 0.07);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--page);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 20px;
    z-index: 10;
    padding: 10px 14px;
    color: #fff;
    background: var(--navy-deep);
    border-radius: 8px;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(220, 228, 239, 0.9);
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

.brand,
.site-nav,
.hero-actions,
.footer-inner {
    display: flex;
    align-items: center;
}

.brand {
    gap: 12px;
    color: var(--navy);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 10px;
    background: linear-gradient(145deg, #ffffff 0%, #c8f1fb 100%);
    box-shadow: 0 2px 8px rgba(4, 19, 55, 0.2);
}

.brand-mark img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-copy strong {
    font-size: 15px;
    letter-spacing: -0.01em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 11px;
}

.site-nav {
    gap: 24px;
    color: #53647d;
    font-size: 14px;
    font-weight: 700;
}

.site-nav a,
.footer-inner a {
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-inner a:hover,
.footer-inner a:focus-visible {
    color: var(--blue);
}

.site-nav .nav-cta {
    padding: 8px 14px;
    color: #fff;
    background: var(--navy);
    border-radius: 9px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
    color: #fff;
    background: var(--blue);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0 64px;
    background:
        radial-gradient(circle at 82% 15%, rgba(72, 142, 245, 0.19), transparent 29%),
        linear-gradient(135deg, #f8fbff 0%, #edf4fc 58%, #eaf2fb 100%);
}

.hero::after {
    position: absolute;
    right: -160px;
    bottom: -230px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(36, 99, 212, 0.12);
    border-radius: 50%;
    content: "";
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
    align-items: center;
    gap: 52px;
}

.eyebrow,
.section-index {
    margin: 0 0 6px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.025em;
    line-height: 1.35;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.detail-intro h2,
.final-cta h2 {
    margin: 0;
    color: var(--navy-deep);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.18;
    text-wrap: balance;
}

.hero h1 {
    max-width: 680px;
    font-size: clamp(2.15rem, 3.3vw, 3.15rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.hero-lead {
    max-width: 650px;
    margin: 24px 0 0;
    color: #4f6078;
    font-size: 17px;
    line-height: 1.65;
}

.hero-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 10px 20px rgba(36, 99, 212, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
    color: #fff;
    background: #164fae;
    box-shadow: 0 13px 24px rgba(36, 99, 212, 0.27);
}

.button-secondary {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.72);
    border-color: #cbd9eb;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    color: var(--navy);
    background: #fff;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    color: #687993;
    font-size: 13px;
}

.note-dot {
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(38, 161, 123, 0.12);
}

.hero-visual {
    position: relative;
    min-height: 380px;
}

.preview-window {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin: 18px 0 0 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(207, 220, 237, 0.95);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
}

.preview-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #e5ebf3;
}

.preview-file,
.preview-score,
.preview-findings div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-mark {
    display: grid;
    width: 34px;
    height: 38px;
    place-items: center;
    color: #2062c8;
    background: #eaf2ff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 850;
}

.preview-file span:last-child,
.preview-score span:last-child {
    display: grid;
    gap: 1px;
}

.preview-file strong,
.preview-score strong {
    color: #253d61;
    font-size: 13px;
}

.preview-file small,
.preview-score small {
    color: #7b8ba1;
    font-size: 11px;
}

.ready-pill {
    padding: 5px 9px;
    color: #147d5b;
    background: #e8f8f1;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.preview-body {
    padding: 24px 22px 26px;
}

.preview-score {
    padding-bottom: 23px;
}

.score-ring {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    color: #1b865f;
    background: #e9f8f1;
    border: 7px solid #c9efdf;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 850;
}

.review-lines {
    display: grid;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.review-line {
    display: block;
    height: 8px;
    background: #dfe8f4;
    border-radius: 99px;
}

.review-line.long { width: 92%; }
.review-line.medium { width: 75%; }
.review-line.short { width: 48%; }

.preview-findings {
    display: grid;
    gap: 13px;
    padding-top: 20px;
    color: #53647b;
    font-size: 12px;
    font-weight: 650;
}

.finding-icon {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 900;
}

.finding-icon.green { color: #12815d; background: #e4f7ef; }
.finding-icon.amber { color: #a96e12; background: #fff3d9; }
.finding-icon.blue { color: #2563c4; background: #e8f0ff; }

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(36, 99, 212, 0.17);
    border-radius: 50%;
}

.orbit-one {
    top: -18px;
    right: -12px;
    width: 140px;
    height: 140px;
}

.orbit-two {
    right: 28px;
    bottom: -8px;
    width: 92px;
    height: 92px;
    border-color: rgba(38, 161, 123, 0.2);
}

.section {
    padding: 44px 0;
    background: var(--surface);
}

.hero + .section {
    padding-top: 36px;
}

.section-light {
    background: #f8fafc;
}

.section-tint {
    background: #edf4fb;
}

.section-heading {
    max-width: 590px;
}

.centered-heading {
    margin: 0 auto 24px;
    text-align: center;
}

.section-heading h2,
.detail-intro h2,
.final-cta h2 {
    font-size: clamp(1.65rem, 2.2vw, 2.15rem);
}

.detail-intro h2 {
    max-width: 420px;
    font-size: clamp(1.7rem, 2.15vw, 2.1rem);
    font-weight: 700;
    line-height: 1.18;
}

.section-heading > p:last-child,
.detail-copy > p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.final-cta p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 16px;
}

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

.capability-card {
    min-height: 210px;
    padding: 25px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 24px;
    color: var(--blue);
    background: var(--blue-soft);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.06em;
}

.capability-card h3,
.step-card h3 {
    margin: 18px 0 7px;
    color: var(--navy);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.capability-card p,
.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.related-landing-heading {
    margin-top: 22px;
}

.related-landing-heading .eyebrow {
    margin-bottom: 4px;
}

.related-landing-heading .detail-note {
    margin-top: 0;
}

.related-landing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.related-landing-card {
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.related-landing-card h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}

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

.detail-grid {
    display: grid;
    grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
}

.detail-grid-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.72fr);
}

.detail-grid-reverse .detail-intro {
    grid-column: 2;
    grid-row: 1;
}

.detail-grid-reverse .detail-copy {
    grid-column: 1;
    grid-row: 1;
}

.section-index {
    color: var(--mint);
}

.detail-copy {
    max-width: 650px;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #42536c;
    font-size: 15px;
}

.check-list li::before {
    position: static;
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    background: #dcecfb;
    border: 4px solid #dcecfb;
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px var(--blue);
    content: "";
}

.types-layout,
.faq-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.type-list {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    padding-top: 8px;
}

.type-list span {
    padding: 10px 14px;
    color: #345173;
    background: #fff;
    border: 1px solid #d7e3f0;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
}

.steps-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

.step-card {
    min-height: 214px;
    padding: 22px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.step-card > span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.1em;
}

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

.faq-list details {
    background: #fff;
    border: 1px solid #d7e2ee;
    border-radius: 12px;
}

.faq-list summary {
    position: relative;
    padding: 18px 48px 18px 20px;
    color: var(--navy);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    list-style: none;
}

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

.faq-list summary::after {
    position: absolute;
    top: 16px;
    right: 20px;
    color: var(--blue);
    content: "+";
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    margin: -2px 20px 18px;
    color: var(--muted);
    font-size: 14px;
}

.final-cta {
    padding: 56px 0;
    color: #fff;
    background: linear-gradient(115deg, #0b2854, #174e91);
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.final-cta h2 {
    max-width: 650px;
    color: #fff;
}

.final-cta p {
    max-width: 600px;
    color: #c5d8f2;
}

.eyebrow-light {
    color: #8cc8ff;
}

.button-light {
    flex: 0 0 auto;
    color: var(--navy);
    background: #fff;
    box-shadow: 0 12px 26px rgba(4, 22, 48, 0.2);
}

.button-light:hover,
.button-light:focus-visible {
    color: var(--navy);
    background: #eaf3ff;
}

.site-footer {
    color: #75849b;
    background: #071a36;
}

.footer-inner {
    min-height: 82px;
    font-size: 13px;
}

.footer-brand,
.footer-inner a:last-child {
    color: #e4efff;
    font-weight: 700;
}

.footer-inner p {
    margin: 0 auto 0 0;
}

@media (min-width: 641px) and (max-width: 1024px) {
    .hero {
        padding: 60px 0;
    }

    .section {
        padding: 44px 0;
    }

    .detail-grid,
    .detail-grid-reverse {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .types-layout,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero {
        padding: 58px 0 60px;
    }

    .section {
        padding: 44px 0;
    }

    .detail-grid,
    .detail-grid-reverse {
        gap: 40px;
    }

    .hero-visual {
        width: min(100%, 620px);
        min-height: 330px;
        margin: 0 auto;
    }

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

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

    .final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-mark {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .brand-mark img {
        width: 34px;
        height: 34px;
    }

    .brand-copy small,
    .site-nav a:first-child {
        display: none;
    }

    .site-nav {
        gap: 10px;
    }

    .site-nav .nav-cta {
        padding: 8px 12px;
    }

    .hero {
        padding: 48px 0 44px;
    }

    .hero-grid {
        gap: 32px;
    }

    .hero h1 {
        font-size: clamp(2rem, 8.5vw, 2.5rem);
        font-weight: 700;
        line-height: 1.14;
        letter-spacing: -0.02em;
    }

    .section-heading h2,
    .detail-intro h2,
    .final-cta h2,
    .landing-cross-link h2 {
        font-size: clamp(1.55rem, 6vw, 1.95rem);
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

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

    .preview-window {
        margin-left: 0;
    }

    .preview-topbar {
        padding: 14px;
    }

    .preview-body {
        padding: 18px 15px 20px;
    }

    .preview-findings {
        font-size: 11px;
    }

    .section {
        padding: 34px 0;
    }

    .hero + .section {
        padding-top: 30px;
    }

    .centered-heading {
        margin-bottom: 20px;
    }

    .capability-grid,
    .steps-list {
        grid-template-columns: 1fr;
    }

    .capability-card,
    .step-card {
        min-height: auto;
    }

    .detail-grid,
    .detail-grid-reverse {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-grid-reverse .detail-intro,
    .detail-grid-reverse .detail-copy {
        grid-column: auto;
        grid-row: auto;
    }

    .types-layout,
    .faq-layout {
        gap: 24px;
    }

    .final-cta {
        padding: 50px 0;
    }

    .button-light {
        width: 100%;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 22px 0;
    }

    .footer-inner p {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .brand-mark {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .brand-mark img {
        width: 32px;
        height: 32px;
    }
}

/* Kho mẫu văn bản landing page. */
.template-library-window {
    transform: rotate(1.2deg);
}

.template-library-body {
    display: grid;
    gap: 14px;
    padding: 22px;
    background: linear-gradient(145deg, #f8fbff, #edf6ff);
}

.template-search-bar {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    color: #7890ad;
    background: #fff;
    border: 1px solid #dbe7f4;
    border-radius: 9px;
    font-size: 11px;
}

.template-search-bar > span:first-child {
    color: var(--blue);
    font-size: 20px;
    line-height: .7;
}

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

.template-branch-card {
    display: grid;
    gap: 7px;
    padding: 10px 8px;
    background: #fff;
    border: 1px solid #d9e6f3;
    border-radius: 9px;
}

.template-file-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #2862bb;
    background: #e8f0ff;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 850;
}

.template-file-icon-plan {
    color: #27755b;
    background: #e7f7ef;
}

.template-file-icon-report {
    color: #9a681c;
    background: #fff2d9;
}

.template-branch-card strong,
.template-library-result strong {
    display: block;
    overflow-wrap: anywhere;
    color: #1d3963;
    font-size: 10px;
    line-height: 1.3;
}

.template-branch-card small,
.template-library-result small {
    display: block;
    margin-top: 2px;
    color: #7588a0;
    font-size: 8px;
    line-height: 1.35;
}

.template-library-arrow {
    color: #6f95c9;
    font-size: 20px;
    line-height: .7;
    text-align: center;
}

.template-library-result {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px;
    background: #e8f8f0;
    border: 1px solid #cce9da;
    border-radius: 9px;
}

.template-library-result > span:first-child {
    display: grid;
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: #24a178;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 850;
}

.template-library-result > span:last-child {
    min-width: 0;
}

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

.template-source-card,
.template-usage-card {
    min-height: 230px;
    padding: 25px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.template-source-card h3,
.template-usage-card h3 {
    margin: 18px 0 8px;
    color: var(--navy);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.template-source-card p,
.template-usage-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.template-source-note {
    display: inline-block;
    margin-top: 22px;
    padding: 7px 10px;
    color: #315f9d;
    background: var(--blue-soft);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 750;
}

.template-format-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 22px 0;
}

.template-format-row span {
    padding: 8px 12px;
    color: var(--blue);
    background: #eef5ff;
    border: 1px solid #dbe9fb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

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

.template-filter-card {
    min-height: 175px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.template-filter-card > span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: var(--blue);
    background: var(--blue-soft);
    border-radius: 9px;
    font-size: 17px;
    font-weight: 800;
}

.template-filter-card h3 {
    margin: 15px 0 6px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.template-filter-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.template-tag-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 24px;
}

.template-tag-list span {
    padding: 8px 12px;
    color: #4d6381;
    background: #f6f9fd;
    border: 1px solid #dfe8f2;
    border-radius: 999px;
    font-size: 12px;
}

.centered-note {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.template-warning-panel {
    display: grid;
    grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
    gap: 46px;
    padding: 34px;
    background: #fff;
    border: 1px solid #d7e5f5;
    border-left: 5px solid #3d75c9;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.template-warning-panel h2 {
    margin-top: 10px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.18;
    text-wrap: balance;
}

.template-warning-copy > p {
    margin-top: 0;
    color: var(--muted);
}

.template-type-list {
    align-content: start;
}

.template-type-list span {
    display: inline-flex;
    align-items: center;
}

.template-type-list .detail-note {
    flex-basis: 100%;
    margin-top: 6px;
}

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

.text-link {
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    flex: 0 0 auto;
}

.button-light-outline {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .62);
    box-shadow: none;
}

.button-light-outline:hover,
.button-light-outline:focus-visible {
    color: var(--navy);
    background: #fff;
}

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

    .template-warning-panel {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 640px) {
    .template-library-body {
        padding: 17px 15px 19px;
    }

    .template-branch-grid {
        gap: 6px;
    }

    .template-branch-card {
        padding: 8px 6px;
    }

    .template-source-grid,
    .template-usage-grid,
    .template-filter-grid,
    .template-scenario-grid {
        grid-template-columns: 1fr;
    }

    .template-source-card,
    .template-usage-card,
    .template-filter-card {
        min-height: auto;
        padding: 22px 18px;
    }

    .template-warning-panel {
        padding: 24px 18px;
    }

    .final-cta-actions,
    .final-cta-actions .button {
        width: 100%;
    }
}

/* Cộng tác viên landing page. */
.affiliate-hero {
    background:
        radial-gradient(circle at 86% 18%, rgba(185, 103, 221, .13), transparent 24%),
        linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.affiliate-eyebrow {
    color: #8753b5;
}

.affiliate-section-index {
    color: #8753b5;
}

.affiliate-button-primary {
    background: linear-gradient(135deg, #4e61d9, #8b4eb7);
    box-shadow: 0 14px 28px rgba(97, 76, 185, .24);
}

.affiliate-button-primary:hover,
.affiliate-button-primary:focus-visible {
    background: linear-gradient(135deg, #4355c7, #7c42a8);
}

.affiliate-note-dot {
    background: #8f55bd;
}

.affiliate-flow-visual {
    min-height: 545px;
}

.affiliate-flow-window {
    position: relative;
    z-index: 1;
    width: min(100%, 510px);
    margin: 13px 0 0 25px;
    overflow: hidden;
    background: rgba(255, 255, 255, .93);
    border: 1px solid #d6dff0;
    border-radius: 22px;
    box-shadow: 0 28px 60px rgba(41, 63, 123, .17);
    transform: rotate(1.2deg);
}

.affiliate-flow-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 21px 22px 17px;
    background: linear-gradient(135deg, #f8f5ff, #eef5ff);
    border-bottom: 1px solid #e2e8f3;
}

.affiliate-flow-heading > div {
    display: grid;
    gap: 5px;
}

.affiliate-flow-heading .eyebrow {
    margin: 0;
    font-size: 10px;
}

.affiliate-flow-heading strong {
    color: var(--navy);
    font-size: 19px;
    font-weight: 700;
}

.affiliate-live-pill {
    padding: 7px 9px;
    color: #7a4a9f;
    background: #f3eaff;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.affiliate-flow-stack {
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 20px 22px 24px;
    background: linear-gradient(145deg, #fbfdff, #f4f8ff);
}

.affiliate-flow-node,
.affiliate-flow-result {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #dce6f3;
    border-radius: 12px;
}

.affiliate-flow-node > span:last-child,
.affiliate-flow-result > span:last-child {
    min-width: 0;
}

.affiliate-flow-node strong,
.affiliate-flow-result strong {
    display: block;
    overflow-wrap: anywhere;
    color: #203d69;
    font-size: 12px;
    line-height: 1.35;
}

.affiliate-flow-node small,
.affiliate-flow-result small {
    display: block;
    margin-top: 3px;
    overflow-wrap: anywhere;
    color: #7588a1;
    font-size: 10px;
    line-height: 1.35;
}

.affiliate-flow-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    color: #4962d0;
    background: #e9efff;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 800;
}

.affiliate-flow-icon-purple {
    color: #8054b4;
    background: #f1eaff;
}

.affiliate-flow-icon-teal {
    color: #16856e;
    background: #e4f8f0;
}

.affiliate-flow-icon-magenta {
    color: #a4489a;
    background: #f9e7f5;
}

.affiliate-flow-arrow {
    color: #7890c8;
    font-size: 19px;
    font-weight: 800;
    line-height: .8;
}

.affiliate-flow-result {
    background: linear-gradient(135deg, #f7efff, #eef4ff);
    border-color: #d8c9ed;
}

.affiliate-flow-result strong {
    color: #5d3683;
}

.affiliate-flow-visual .orbit-one {
    background: #b56bd3;
}

.affiliate-flow-visual .orbit-two {
    background: #5e78dd;
}

.affiliate-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: affiliate-step;
}

.affiliate-step-card {
    min-height: 205px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.affiliate-step-card > span,
.affiliate-tier-badge {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    color: #7750a9;
    background: #f0eaff;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
}

.affiliate-step-card h3 {
    margin: 16px 0 7px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.affiliate-step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.affiliate-valid-panel {
    border-left-color: #8753b5;
}

.affiliate-formula {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 24px 0;
}

.affiliate-formula span,
.affiliate-formula strong {
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 13px;
}

.affiliate-formula span {
    color: #445d7e;
    background: #f4f7fc;
    border: 1px solid #dfe7f1;
}

.affiliate-formula strong {
    color: #6e388e;
    background: #f6ebfb;
    border: 1px solid #e3cbee;
}

.affiliate-formula b {
    color: #8360b6;
    font-size: 16px;
}

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

.affiliate-tier-card {
    min-height: 190px;
    padding: 19px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.affiliate-tier-card h3 {
    margin: 18px 0 5px;
    color: var(--navy);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.affiliate-tier-card > strong {
    display: block;
    color: #7245a2;
    font-size: 27px;
    line-height: 1.1;
}

.affiliate-tier-card p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.affiliate-tier-silver .affiliate-tier-badge {
    color: #66758d;
    background: #eef2f7;
}

.affiliate-tier-gold .affiliate-tier-badge {
    color: #9b7116;
    background: #fff3d2;
}

.affiliate-tier-platinum .affiliate-tier-badge {
    color: #7766b1;
    background: #f0edff;
}

.affiliate-tier-diamond .affiliate-tier-badge {
    color: #5547bc;
    background: #eae9ff;
}

.affiliate-dashboard-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 23px 0;
}

.affiliate-dashboard-list span {
    padding: 11px 13px;
    color: #485f80;
    background: #f7f9fd;
    border: 1px solid #e1e8f1;
    border-radius: 9px;
    font-size: 13px;
}

.affiliate-dashboard-list span::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 8px 1px 0;
    background: #8753b5;
    border-radius: 50%;
    content: "";
}

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

.affiliate-payout-card-public {
    min-height: 165px;
    padding: 22px;
    background: #fff;
    border: 1px solid #dce5f0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.affiliate-payout-card-public .affiliate-payout-label {
    display: block;
    color: #536984;
    font-size: 14px;
    font-weight: 700;
}

.affiliate-payout-card-public > strong {
    display: block;
    margin: 18px 0 7px;
    color: #7951a6;
    font-size: 28px;
}

.affiliate-payout-card-public p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.affiliate-payout-total {
    background: linear-gradient(135deg, #f8f0ff, #eef5ff);
    border-color: #dcc9ee;
}

.affiliate-payout-rules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.affiliate-payout-rules > div {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 17px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid #dce7f4;
    border-radius: 12px;
}

.affiliate-rule-icon {
    display: grid;
    width: 37px;
    height: 37px;
    flex: 0 0 auto;
    place-items: center;
    color: #71439a;
    background: #f1e8fb;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 850;
}

.affiliate-payout-rules p {
    margin: 0;
    color: #536984;
    font-size: 13px;
}

.affiliate-payout-rules strong {
    color: var(--navy);
}

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

.affiliate-start-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.affiliate-example-flow {
    display: grid;
    gap: 11px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.affiliate-example-flow li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    background: #f8fbff;
    border: 1px solid #dce7f3;
    border-radius: 11px;
}

.affiliate-example-flow li > span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #704b9f;
    background: #f0eaff;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 850;
}

.affiliate-example-flow strong {
    color: var(--navy);
    font-size: 14px;
}

.affiliate-example-flow p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.affiliate-product-grid .landing-choice-card {
    min-height: 250px;
}

.affiliate-policy-note-inner {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
    padding: 25px;
    background: #fff;
    border: 1px solid #dce6f2;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.affiliate-policy-icon {
    display: grid;
    width: 33px;
    height: 33px;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: #8753b5;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 800;
}

.affiliate-policy-note h2 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.18;
    text-wrap: balance;
}

.affiliate-policy-note p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.affiliate-final-cta {
    background: linear-gradient(115deg, #20265f, #6e3187);
}

@media (max-width: 900px) {
    .affiliate-flow-visual {
        min-height: 490px;
    }

    .affiliate-flow-window {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .affiliate-payout-grid,
    .affiliate-payout-rules {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .affiliate-flow-visual {
        min-height: 425px;
    }

    .affiliate-flow-window {
        margin-top: 4px;
        border-radius: 17px;
    }

    .affiliate-flow-heading {
        padding: 16px 15px 14px;
    }

    .affiliate-flow-heading strong {
        font-size: 16px;
    }

    .affiliate-live-pill {
        padding: 6px 7px;
        font-size: 8px;
    }

    .affiliate-flow-stack {
        padding: 15px 14px 17px;
    }

    .affiliate-flow-node,
    .affiliate-flow-result {
        padding: 10px;
    }

    .affiliate-flow-node strong,
    .affiliate-flow-result strong {
        font-size: 11px;
    }

    .affiliate-flow-node small,
    .affiliate-flow-result small {
        font-size: 9px;
    }

    .affiliate-flow-icon {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .affiliate-flow-grid,
    .affiliate-audience-grid,
    .affiliate-tier-grid,
    .affiliate-start-list,
    .affiliate-dashboard-list {
        grid-template-columns: 1fr;
    }

    .affiliate-step-card {
        min-height: auto;
        padding: 18px;
    }

    .affiliate-formula {
        align-items: stretch;
        flex-direction: column;
    }

    .affiliate-formula b {
        text-align: center;
    }

    .affiliate-tier-card {
        min-height: auto;
    }

    .affiliate-example-flow li {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 10px;
        padding: 11px;
    }

    .affiliate-policy-note-inner {
        padding: 20px 17px;
    }
}

/* Reusable additions for SEO landing pages that explain a creation workflow. */
.draft-flow-window {
    transform: rotate(-1.5deg);
}

.draft-flow-body {
    padding: 24px 22px 25px;
}

.draft-flow-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.draft-flow-step {
    display: grid;
    gap: 5px;
    min-width: 0;
    min-height: 122px;
    padding: 15px 13px;
    background: #f7faff;
    border: 1px solid #d9e5f3;
    border-radius: 12px;
}

.draft-flow-step-result {
    background: #f1fbf7;
    border-color: #cbeade;
}

.draft-flow-number {
    color: #2463c4;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
}

.draft-flow-step strong {
    color: #1d3963;
    font-size: 13px;
    line-height: 1.3;
}

.draft-flow-step small {
    color: #71829a;
    font-size: 10px;
    line-height: 1.45;
}

.draft-flow-arrow {
    color: #7195c8;
    font-size: 20px;
    font-weight: 700;
}

.draft-flow-result {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding: 11px 13px;
    color: #197052;
    background: #e8f8f1;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.4;
}

.draft-flow-result > span {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: #24a178;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 850;
}

.draft-process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.draft-process-card {
    min-height: 210px;
    padding: 22px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.draft-process-card > span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .1em;
}

.draft-process-card h3 {
    margin: 18px 0 7px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.draft-process-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

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

.detail-note {
    margin: 23px 0 0;
    padding: 13px 15px;
    color: #53677f;
    background: #f4f8fd;
    border-left: 3px solid #8aafd9;
    border-radius: 0 9px 9px 0;
    font-size: 13px !important;
}

.landing-cross-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 30px 34px;
    background: #f8fbff;
    border: 1px solid #d7e4f2;
    border-radius: var(--radius);
}

.landing-cross-link h2 {
    margin: 0;
    color: var(--navy-deep);
    font-size: clamp(1.65rem, 2.2vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.18;
    text-wrap: balance;
}

.landing-cross-link p:last-child {
    max-width: 680px;
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.landing-cross-link .button {
    flex: 0 0 auto;
}

/* Công văn search-intent landing page visual. */
.official-letter-window {
    transform: rotate(1.1deg);
}

.official-letter-mark {
    color: #176d74;
    background: #e4f7f5;
    font-size: 11px;
}

.official-letter-body {
    display: grid;
    gap: 8px;
    padding: 22px;
    background: linear-gradient(145deg, #f8fbff, #edf7f8);
}

.official-letter-step {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 11px 12px;
    background: #fff;
    border: 1px solid #d7e6ed;
    border-radius: 10px;
}

.official-letter-step-number {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    color: #176d74;
    background: #e4f7f5;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 850;
}

.official-letter-step > span:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.official-letter-step strong {
    color: #1d3963;
    font-size: 11px;
    letter-spacing: .05em;
}

.official-letter-step small,
.official-letter-draft small {
    color: #71829a;
    font-size: 10px;
    line-height: 1.4;
}

.official-letter-arrow {
    color: #4d9da0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.official-letter-draft {
    display: grid;
    gap: 7px;
    padding: 14px;
    background: #f1fbf7;
    border: 1px solid #cbeade;
    border-radius: 10px;
}

.official-letter-draft-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.official-letter-draft-heading span,
.official-letter-draft > strong {
    color: #197052;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .06em;
}

.official-letter-draft-heading small {
    white-space: nowrap;
}

.official-letter-lines {
    display: grid;
    gap: 6px;
    padding: 9px 0 3px;
    border-top: 1px solid #d4eee1;
}

.official-letter-lines span {
    display: block;
    height: 5px;
    background: #cfe6dc;
    border-radius: 99px;
}

.official-letter-lines span:nth-child(1) { width: 88%; }
.official-letter-lines span:nth-child(2) { width: 72%; }
.official-letter-lines span:nth-child(3) { width: 52%; }

.official-letter-centered-note {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.official-letter-process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .official-letter-process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .official-letter-body {
        padding: 17px 15px 19px;
    }

    .official-letter-draft-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .official-letter-process-list {
        grid-template-columns: 1fr;
    }
}

.scan-process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scan-process-list .step-card {
    min-height: 190px;
}

@media (max-width: 900px) {
    .draft-process-list,
    .draft-scenario-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .draft-flow-steps {
        grid-template-columns: 1fr;
    }

    .draft-flow-step {
        min-height: 0;
    }

    .draft-flow-arrow {
        justify-self: center;
        transform: rotate(90deg);
    }
}

@media (max-width: 640px) {
    .draft-flow-body {
        padding: 18px 15px 20px;
    }

    .draft-process-list,
    .draft-scenario-grid,
    .scan-process-list {
        grid-template-columns: 1fr;
    }

    .draft-process-card {
        min-height: auto;
    }

    .landing-cross-link {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        padding: 22px 18px;
    }

    .landing-cross-link .button {
        width: 100%;
    }
}

/* Reusable data-focused components for the tabular aggregation landing page. */
.data-flow-window {
    transform: rotate(1.2deg);
}

.data-flow-body {
    padding: 22px;
}

.data-file-list {
    display: grid;
    gap: 9px;
}

.data-file-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 11px;
    background: #f7faff;
    border: 1px solid #dbe6f3;
    border-radius: 10px;
}

.data-file-icon,
.data-output-icon {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    color: #2463c4;
    background: #e8f0ff;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .04em;
}

.data-file-icon-csv {
    color: #197052;
    background: #e7f8f0;
}

.data-file-icon-doc {
    color: #a36a19;
    background: #fff3dc;
}

.data-file-card > span:last-child,
.data-output-card > span:nth-child(2) {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.data-file-card strong,
.data-output-card strong {
    overflow-wrap: anywhere;
    color: #1d3963;
    font-size: 12px;
    line-height: 1.35;
}

.data-file-card small,
.data-output-card small {
    color: #71829a;
    font-size: 10px;
    line-height: 1.35;
}

.data-flow-connector {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 10px 0;
    color: #7195c8;
}

.data-flow-connector > span {
    font-size: 21px;
    font-weight: 750;
    line-height: 1;
}

.data-flow-connector small {
    color: #667f9f;
    font-size: 10px;
    font-weight: 750;
}

.data-output-card {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px;
    background: #e9f8f1;
    border: 1px solid #cbeade;
    border-radius: 10px;
}

.data-output-icon {
    color: #fff;
    background: #24a178;
    font-size: 14px;
}

.data-output-card > b {
    margin-left: auto;
    padding: 6px 8px;
    color: #9a6514;
    background: #fff3d9;
    border-radius: 7px;
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
}

.data-format-list {
    align-content: start;
}

.data-format-list span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.data-format-list span b {
    color: var(--blue);
    font-size: 12px;
}

.data-format-list .detail-note {
    flex-basis: 100%;
    margin-top: 5px;
}

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

.data-example-flow {
    display: grid;
    gap: 11px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.data-example-flow li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    background: #f8fbff;
    border: 1px solid #dce7f3;
    border-radius: 11px;
}

.data-example-flow li > span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--blue);
    background: var(--blue-soft);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 850;
}

.data-example-flow strong {
    color: var(--navy);
    font-size: 14px;
    line-height: 1.35;
}

.data-example-flow p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.data-use-note {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

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

.landing-choice-card {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    min-height: 240px;
    padding: 25px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.landing-choice-card h3 {
    margin: 18px 0 7px;
    color: var(--navy);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.landing-choice-card p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
}

.landing-choice-card .button {
    margin-top: auto;
}

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

    .landing-choice-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .landing-cross-link h2 {
        font-size: clamp(1.55rem, 6vw, 1.95rem);
    }

    .data-flow-body {
        padding: 17px 15px 19px;
    }

    .data-output-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .data-output-card > b {
        margin-left: 39px;
    }

    .data-scenario-grid {
        grid-template-columns: 1fr;
    }

    .data-example-flow li {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 10px;
        padding: 11px;
    }

    .landing-choice-card {
        min-height: auto;
        padding: 22px 18px;
    }

    .landing-choice-card .button {
        width: 100%;
    }
}

/* Lập kế hoạch bằng AI search-intent landing page visual. */
.plan-flow-visual {
    min-height: 420px;
}

.plan-flow-window {
    transform: rotate(1.1deg);
}

.plan-flow-body {
    display: grid;
    gap: 10px;
    padding: 21px 22px 23px;
    background: linear-gradient(145deg, #f8fbff, #eef7f5);
}

.plan-flow-list {
    display: grid;
    gap: 7px;
}

.plan-flow-step {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px 11px;
    background: #fff;
    border: 1px solid #d7e5ed;
    border-radius: 10px;
}

.plan-flow-step > span:first-child {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    color: #27755b;
    background: #e5f7ee;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 850;
}

.plan-flow-step > span:last-child {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.plan-flow-step strong {
    color: #1d3963;
    font-size: 11px;
    letter-spacing: .05em;
}

.plan-flow-step small {
    color: #71829a;
    font-size: 10px;
    line-height: 1.35;
}

.plan-flow-result {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 12px;
    color: #197052;
    background: #e8f8f1;
    border: 1px solid #cbeade;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.4;
}

.plan-flow-result > span {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: #24a178;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 850;
}

@media (max-width: 640px) {
    .plan-flow-body {
        padding: 17px 15px 19px;
    }

    .plan-flow-visual {
        min-height: 390px;
    }
}

/* Biên bản search-intent landing page visual. */
.minutes-visual-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 18px 20px 20px;
    background: linear-gradient(145deg, #f8fbff, #edf7f8);
}

.minutes-visual-step {
    display: grid;
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    padding: 9px 10px;
    background: #fff;
    border: 1px solid #d7e6ed;
    border-radius: 10px;
}

.minutes-visual-step-number {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: #176d74;
    background: #e4f7f5;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 850;
}

.minutes-visual-step > span:last-child {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.minutes-visual-step strong {
    color: #1d3963;
    font-size: 10px;
    letter-spacing: .04em;
    line-height: 1.25;
}

.minutes-visual-step small,
.minutes-visual-draft small {
    color: #71829a;
    font-size: 9px;
    line-height: 1.35;
}

.minutes-visual-draft {
    display: grid;
    grid-column: 1 / -1;
    gap: 7px;
    padding: 12px;
    background: #f1fbf7;
    border: 1px solid #cbeade;
    border-radius: 10px;
}

@media (max-width: 640px) {
    .minutes-visual-body {
        grid-template-columns: 1fr;
        padding: 17px 15px 19px;
    }

    .minutes-visual-draft {
        grid-column: auto;
    }
}

/* Bài phát biểu search-intent landing page visual. */
.speech-flow-visual {
    min-height: 390px;
}

.speech-flow-window {
    transform: rotate(1.1deg);
}

.speech-flow-mark {
    color: #6b4a9b;
    background: #f0eaff;
    font-size: 11px;
}

.speech-flow-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 18px 20px 20px;
    background: linear-gradient(145deg, #fbfaff, #eef7fb);
}

.speech-flow-step {
    display: grid;
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    padding: 9px 10px;
    background: #fff;
    border: 1px solid #dbe2ef;
    border-radius: 10px;
}

.speech-flow-step-number {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: #6b4a9b;
    background: #f0eaff;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 850;
}

.speech-flow-step > span:last-child {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.speech-flow-step strong {
    color: #263c68;
    font-size: 10px;
    letter-spacing: .035em;
    line-height: 1.25;
}

.speech-flow-step small,
.speech-flow-draft small {
    color: #71829a;
    font-size: 9px;
    line-height: 1.35;
}

.speech-flow-draft {
    display: grid;
    grid-column: 1 / -1;
    gap: 7px;
    padding: 12px;
    background: #f5f1ff;
    border: 1px solid #ddd1f5;
    border-radius: 10px;
}

.speech-flow-draft .official-letter-draft-heading span {
    color: #654399;
}

.speech-flow-outline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.speech-flow-outline li {
    padding: 7px 5px;
    color: #5d4b87;
    background: rgba(255, 255, 255, .7);
    border: 1px solid #e2d8f5;
    border-radius: 8px;
    font-size: 9px;
    line-height: 1.25;
    text-align: center;
}

@media (max-width: 640px) {
    .speech-flow-visual {
        min-height: 390px;
    }

    .speech-flow-body {
        grid-template-columns: 1fr;
        padding: 17px 15px 19px;
    }

    .speech-flow-draft {
        grid-column: auto;
    }

    .speech-flow-outline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Chương trình công tác search-intent landing page visual. */
.schedule-flow-visual {
    min-height: 410px;
}

.schedule-flow-window {
    transform: rotate(-1deg);
}

.schedule-flow-mark {
    color: #286b68;
    background: #e4f5ef;
    font-size: 11px;
}

.schedule-flow-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 18px 20px 20px;
    background: linear-gradient(145deg, #f8fcfa, #eef7fb);
}

.schedule-flow-input {
    display: grid;
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    padding: 9px 10px;
    background: #fff;
    border: 1px solid #d7e5e4;
    border-radius: 10px;
}

.schedule-flow-input > span:last-child {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.schedule-flow-number {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: #286b68;
    background: #e4f5ef;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 850;
}

.schedule-flow-input strong {
    color: #245b68;
    font-size: 10px;
    letter-spacing: .035em;
    line-height: 1.25;
}

.schedule-flow-input small,
.schedule-flow-calendar small {
    color: #71829a;
    font-size: 9px;
    line-height: 1.35;
}

.schedule-flow-calendar {
    display: grid;
    grid-column: 1 / -1;
    gap: 9px;
    padding: 12px;
    background: #eff9f5;
    border: 1px solid #c9e7dc;
    border-radius: 10px;
}

.schedule-flow-calendar-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.schedule-flow-calendar-heading strong {
    color: #286b68;
    font-size: 10px;
    letter-spacing: .035em;
    line-height: 1.3;
}

.schedule-flow-days {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.schedule-flow-day {
    display: grid;
    gap: 6px;
    padding: 9px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid #d3e8e0;
    border-radius: 9px;
}

.schedule-flow-day > strong {
    color: #3e6c6d;
    font-size: 9px;
    letter-spacing: .08em;
}

.schedule-flow-slot {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 5px;
    align-items: baseline;
    color: #4f6278;
    font-size: 10px;
    line-height: 1.3;
}

.schedule-flow-slot b {
    color: #286b68;
    font-size: 9px;
}

@media (max-width: 640px) {
    .schedule-flow-visual {
        min-height: 410px;
    }

    .schedule-flow-body {
        grid-template-columns: 1fr;
        padding: 17px 15px 19px;
    }

    .schedule-flow-calendar {
        grid-column: auto;
    }

    .schedule-flow-calendar-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .schedule-flow-days {
        grid-template-columns: 1fr;
    }
}

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

@media (max-width: 640px) {
    .related-landing-grid {
        grid-template-columns: 1fr;
    }
}
