.n8n-automation-page {
    --n8n-navy: #071b3b;
    --n8n-navy-2: #0d3159;
    --n8n-blue: #1e5b8f;
    --n8n-red: #e3151e;
    --n8n-teal: #0d8f8f;
    --n8n-text: #26384b;
    --n8n-muted: #637386;
    --n8n-soft: #f5f8fb;
    --n8n-line: #dce6ef;
    --n8n-white: #fff;
    color: var(--n8n-text);
    background: #fff;
    overflow: hidden
}

.n8n-automation-page .n8n-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    color: #c5d5e7;
    font-size: 13px;
    margin-bottom: 22px
}

.n8n-automation-page .n8n-breadcrumb a {
    color: #fff
}

.n8n-automation-page .n8n-breadcrumb a:hover {
    text-decoration: underline
}

.n8n-automation-page .n8n-heading {
    margin: 0;
    color: var(--n8n-navy);
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.1;
    letter-spacing: -.035em
}

.n8n-automation-page .n8n-heading--light {
    color: #fff
}

.n8n-automation-page .n8n-lead {
    max-width: 780px;
    margin: 18px 0 0;
    color: var(--n8n-muted);
    font-size: 18px
}

.n8n-automation-page .n8n-lead--light {
    color: #c8d7e8
}

.n8n-automation-page .n8n-section {
    padding: 92px 0
}

.n8n-automation-page .n8n-section--soft {
    background: var(--n8n-soft)
}

.n8n-automation-page .n8n-section--navy {
    background: linear-gradient(135deg, #06172f 0%, #0b2e55 100%);
    color: #fff
}

.n8n-automation-page .n8n-section-head {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 55px;
    align-items: end;
    margin-bottom: 40px
}

.n8n-automation-page .n8n-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 40px;
    padding: 7px 22px;
    border: 1px solid var(--n8n-red);
    border-radius: 8px;
    background: var(--n8n-red);
    color: #fff !important;
    font-weight: 700;
    line-height: 1.2;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease
}

.n8n-automation-page .n8n-btn:hover {
    transform: translateY(-2px);
    background: #bd1625;
    border-color: #bd1625;
}

.n8n-automation-page .n8n-btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .4);
    color: #fff !important
}

.n8n-automation-page .n8n-btn--outline:hover {
    color: #e3151e !important;
    background: rgba(255, 255, 255, .08)
}

.n8n-automation-page .n8n-btn--navy {
    background: var(--n8n-navy);
    border-color: var(--n8n-navy)
}
.n8n-automation-page .n8n-btn--navy:hover {
    background: var(--n8n-navy-2);
    border-color: var(--n8n-navy-2)
}

.n8n-automation-page .n8n-btn.full {
    width: 100%
}

.n8n-automation-page .n8n-hero {
    position: relative;
    padding: 46px 0 58px;
    background: radial-gradient(circle at 13% 18%, rgba(30, 91, 143, .36), transparent 31%), linear-gradient(135deg, #06152d, #0c3059);
    color: #fff
}

.n8n-automation-page .n8n-hero:after {
    content: "";
    position: absolute;
    inset: auto -120px -180px auto;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%
}

.n8n-automation-page .n8n-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
    gap: 52px;
    align-items: center
}

.n8n-automation-page .n8n-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    max-width: 840px
}

.n8n-automation-page .n8n-hero h1 span {
    color: #e3151e
}

.n8n-automation-page .n8n-hero__intro {
    max-width: 760px;
    margin: 21px 0;
    color: #d6e1ed;
    font-size: 18px
}

.n8n-automation-page .n8n-hero__points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 22px;
    padding: 0;
    margin: 25px 0;
    list-style: none
}

.n8n-automation-page .n8n-hero__points li {
    position: relative;
    padding-left: 25px;
    color: #f2f7fb;
    font-weight: 700
}

.n8n-automation-page .n8n-hero__points li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #e3151e;
    font-weight: 700
}

.n8n-automation-page .n8n-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px
}

.n8n-automation-page .n8n-grid-4,
.n8n-automation-page .n8n-services,
.n8n-automation-page .n8n-use-grid,
.n8n-automation-page .n8n-security-grid,
.n8n-automation-page .n8n-why-grid,
.n8n-automation-page .n8n-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.n8n-automation-page .n8n-card,
.n8n-automation-page .n8n-service-card,
.n8n-automation-page .n8n-use-card,
.n8n-automation-page .n8n-security-card,
.n8n-automation-page .n8n-why-card,
.n8n-automation-page .n8n-related-card {
    height: 100%;
    border: 1px solid var(--n8n-line);
    border-radius: 16px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 7px 20px rgba(12, 42, 73, .045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease
}

.n8n-automation-page .n8n-card:hover,
.n8n-automation-page .n8n-service-card:hover,
.n8n-automation-page .n8n-related-card:hover {
    transform: translateY(-4px);
    border-color: #bfd0e1;
    box-shadow: 0 14px 30px rgba(12, 42, 73, .08)
}

.n8n-automation-page .n8n-card h3,
.n8n-automation-page .n8n-service-card h3,
.n8n-automation-page .n8n-use-card h3,
.n8n-automation-page .n8n-security-card h3,
.n8n-automation-page .n8n-why-card h3,
.n8n-automation-page .n8n-related-card h3 {
    margin: 13px 0 9px;
    color: var(--n8n-navy);
    font-size: 19px;
    line-height: 1.25
}

.n8n-automation-page .n8n-card p,
.n8n-automation-page .n8n-service-card p,
.n8n-automation-page .n8n-use-card p,
.n8n-automation-page .n8n-security-card p,
.n8n-automation-page .n8n-why-card p,
.n8n-automation-page .n8n-related-card p {
    margin: 0;
    color: #657486;
    font-size: 14px
}

.n8n-automation-page .n8n-service-card ul,
.n8n-automation-page .n8n-use-card ul {
    padding-left: 0px;
    margin: 14px 0 0;
    color: #516275;
    font-size: 13px;
    line-height: 1.65
}
.n8n-automation-page .n8n-ap-card ul li,
.n8n-automation-page .n8n-use-card ul li,
.n8n-automation-page .n8n-service-card ul li{
    position: relative;
    padding-left: 20px;
}
.n8n-automation-page .n8n-ap-card ul li::before,
.n8n-automation-page .n8n-use-card ul li::before,
.n8n-automation-page .n8n-service-card ul li::before{
    content: "•";
    position: absolute;
    left: 0px;
    top: 0px;
    color: #e3151e;
    font-size: 30px;
    line-height: 22px;
}
.n8n-automation-page .n8n-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #edf5fb;
    color: var(--n8n-red);
    font-weight: 700;
    font-size: 12px
}

.n8n-automation-page .n8n-card--accent {
    border-top: 3px solid var(--n8n-red)
}

.n8n-automation-page .n8n-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start
}

.n8n-automation-page .n8n-panel {
    border: 1px solid var(--n8n-line);
    border-radius: 18px;
    background: #fff;
    padding: 28px
}

.n8n-automation-page .n8n-panel h3 {
    margin: 0 0 10px;
    color: var(--n8n-navy);
    font-size: 25px
}

.n8n-automation-page .n8n-panel p {
    margin: 0;
    color: #637386
}

.n8n-automation-page .n8n-list {
    display: grid;
    gap: 12px;
    margin-top: 21px
}

.n8n-automation-page .n8n-list__item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 13px;
    align-items: start
}

.n8n-automation-page .n8n-list__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 9px;
    background: #edf5fb;
    color: #e3151e;
    font-size: 10px;
    font-weight: 700
}

.n8n-automation-page .n8n-list__item strong {
    display: block;
    color: var(--n8n-navy);
    font-size: 15px
}

.n8n-automation-page .n8n-list__item small {
    display: block;
    margin-top: 3px;
    color: #68798a;
    line-height: 1.45
}

.n8n-automation-page .n8n-idp {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 42px;
    align-items: start
}

.n8n-automation-page .n8n-stage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px
}

.n8n-automation-page .n8n-stage {
    border: 1px solid var(--n8n-line);
    border-radius: 14px;
    background: #fff;
    padding: 20px
}

.n8n-automation-page .n8n-stage strong {
    display: block;
    color: var(--n8n-navy);
    font-size: 16px
}

.n8n-automation-page .n8n-stage p {
    margin: 7px 0 0;
    color: #687789;
    font-size: 13px
}

.n8n-automation-page .n8n-stage--feature {
    background: linear-gradient(145deg, #fff7f1, #fff);
    border-color: #f1d3bf
}

.n8n-automation-page .n8n-approval {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 34px;
    border: 1px solid var(--n8n-line);
    border-radius: 18px;
    overflow: hidden;
    background: #fff
}

.n8n-automation-page .n8n-approval__step {
    padding: 24px 18px;
    border-right: 1px solid var(--n8n-line);
    min-height: 165px
}

.n8n-automation-page .n8n-approval__step:last-child {
    border-right: 0
}

.n8n-automation-page .n8n-approval__step span {
    display: block;
    color: var(--n8n-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em
}

.n8n-automation-page .n8n-approval__step strong {
    display: block;
    margin: 9px 0 6px;
    color: var(--n8n-navy);
    font-size: 17px
}

.n8n-automation-page .n8n-approval__step small {
    display: block;
    color: #68798a;
    line-height: 1.45
}

.n8n-automation-page .n8n-ap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px
}

.n8n-automation-page .n8n-ap-card {
    border-radius: 18px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--n8n-line)
}

.n8n-automation-page .n8n-ap-card--dark {
    background: var(--n8n-navy);
    border-color: var(--n8n-navy);
    color: #fff
}

.n8n-automation-page .n8n-ap-card h3 {
    margin: 0 0 10px;
    color: var(--n8n-navy);
    font-size: 25px
}

.n8n-automation-page .n8n-ap-card--dark h3 {
    color: #fff
}

.n8n-automation-page .n8n-ap-card p {
    margin: 0;
    color: #687789
}

.n8n-automation-page .n8n-ap-card--dark p {
    color: #c9d7e4
}

.n8n-automation-page .n8n-ap-card ul {
    padding-left: 0px;
    line-height: 1.75;
    color: #536477
}

.n8n-automation-page .n8n-ap-card--dark ul {
    color: #dce7f1
}

.n8n-automation-page .n8n-architecture {
    margin-top: 35px;
    border-radius: 20px;
    background: #fff;
    padding: 28px;
    color: var(--n8n-text);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18)
}

.n8n-automation-page .n8n-architecture__flow {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    align-items: stretch
}

.n8n-automation-page .n8n-arch-node {
    position: relative;
    min-height: 125px;
    padding: 18px 14px;
    border: 1px solid #dbe5ed;
    border-radius: 12px;
    background: #f8fbfd
}

.n8n-automation-page .n8n-arch-node:not(:last-child):after {
    content: "→";
    position: absolute;
    right: -11px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--n8n-red);
    font-weight: 700
}

.n8n-automation-page .n8n-arch-node strong {
    display: block;
    color: var(--n8n-navy);
    font-size: 14px
}

.n8n-automation-page .n8n-arch-node small {
    display: block;
    margin-top: 7px;
    color: #68798a;
    line-height: 1.4
}

.n8n-automation-page .n8n-architecture__notes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px
}

.n8n-automation-page .n8n-architecture__notes div {
    border-radius: 10px;
    background: #edf5fb;
    padding: 13px;
    color: #39566f;
    font-size: 12px;
    font-weight: 700
}

.n8n-automation-page .n8n-security-grid {
    grid-template-columns: repeat(3, 1fr)
}

.n8n-automation-page .n8n-security-card {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .14);
    box-shadow: none
}

.n8n-automation-page .n8n-security-card h3 {
    color: #fff
}

.n8n-automation-page .n8n-security-card p {
    color: #c8d7e6
}

.n8n-automation-page .n8n-security-card .n8n-icon {
    background: rgba(255, 255, 255, .1);
    color: #e3151e
}

.n8n-automation-page .n8n-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
    margin-top: 32px
}

.n8n-automation-page .n8n-step {
    position: relative;
    border: 1px solid var(--n8n-line);
    background: #fff;
    border-radius: 15px;
    padding: 23px
}

.n8n-automation-page .n8n-step__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--n8n-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700
}

.n8n-automation-page .n8n-step h3 {
    margin: 15px 0 8px;
    color: var(--n8n-navy);
    font-size: 18px
}

.n8n-automation-page .n8n-step p {
    margin: 0;
    color: #667688;
    font-size: 13px
}

.n8n-automation-page .n8n-proof-note {
    margin-top: 20px;
    padding: 17px 20px;
    border-left: 3px solid var(--n8n-red);
    background: #fff7f1;
    color: #5f4b40;
    font-size: 14px
}

.n8n-automation-page .n8n-why-grid {
    grid-template-columns: repeat(3, 1fr)
}

.n8n-automation-page .n8n-related-grid {
    grid-template-columns: repeat(3, 1fr)
}

.n8n-automation-page .n8n-related-card a {
    display: inline-block;
    margin-top: 13px;
    color: var(--n8n-blue);
    font-weight: 700;
    font-size: 13px
}

.n8n-automation-page .n8n-contact {
    background: linear-gradient(135deg, #071b3b, #0f365f);
    color: #fff
}

.n8n-automation-page .n8n-contact__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 46px;
    align-items: center
}

.n8n-automation-page .n8n-contact__copy h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.08
}

.n8n-automation-page .n8n-contact__copy p {
    color: #c7d6e5;
    max-width: 620px
}

.n8n-automation-page .n8n-contact__details {
    display: grid;
    gap: 14px;
    margin-top: 26px
}

.n8n-automation-page .n8n-contact__details a {
    color: #fff;
    font-weight: 700
}

.n8n-automation-page .n8n-faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 48px;
    align-items: start
}

.n8n-automation-page .n8n-faq-intro {
    position: sticky;
    top: 25px
}

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

.n8n-automation-page .n8n-faq {
    border: 1px solid var(--n8n-line);
    border-radius: 13px;
    background: #fff;
    overflow: hidden
}

.n8n-automation-page .n8n-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 50px 18px 19px;
    color: var(--n8n-navy);
    font-weight: 700;
    position: relative
}

.n8n-automation-page .n8n-faq summary::-webkit-details-marker {
    display: none
}

.n8n-automation-page .n8n-faq summary:after {
    content: "+";
    position: absolute;
    right: 19px;
    top: 14px;
    font-size: 24px;
    color: var(--n8n-red)
}

.n8n-automation-page .n8n-faq[open] summary:after {
    content: "−"
}

.n8n-automation-page .n8n-faq__answer {
    padding: 0 19px 18px
}

.n8n-automation-page .n8n-faq__answer p {
    margin: 0;
    color: #637386;
    font-size: 14px
}

.n8n-automation-page.n8n-motion .n8n-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
    transition-delay: var(--n8n-delay, 0ms)
}

.n8n-automation-page.n8n-motion .n8n-reveal[data-reveal="left"] {
    transform: translateX(-24px)
}

.n8n-automation-page.n8n-motion .n8n-reveal[data-reveal="right"] {
    transform: translateX(24px)
}

.n8n-automation-page.n8n-motion .n8n-reveal.n8n-visible {
    opacity: 1;
    transform: none
}

@media (max-width:1080px) {
    .n8n-automation-page .n8n-hero__grid {
        grid-template-columns: 1fr
    }

    .n8n-automation-page .n8n-hero__grid>aside {
        max-width: 720px
    }

    .n8n-automation-page .n8n-grid-4,
    .n8n-automation-page .n8n-services,
    .n8n-automation-page .n8n-use-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .n8n-automation-page .n8n-architecture__flow {
        grid-template-columns: repeat(4, 1fr)
    }

    .n8n-automation-page .n8n-arch-node:nth-child(4):after {
        display: none
    }

    .n8n-automation-page .n8n-why-grid,
    .n8n-automation-page .n8n-related-grid,
    .n8n-automation-page .n8n-security-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .n8n-automation-page .n8n-process {
        grid-template-columns: repeat(2, 1fr)
    }

}

@media (max-width:820px) {
    .n8n-automation-page .n8n-section {
        padding: 70px 0
    }

    .n8n-automation-page .n8n-section-head,
    .n8n-automation-page .n8n-two,
    .n8n-automation-page .n8n-idp,
    .n8n-automation-page .n8n-contact__grid,
    .n8n-automation-page .n8n-faq-layout {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .n8n-automation-page .n8n-faq-intro {
        position: static
    }

    .n8n-automation-page .n8n-approval {
        grid-template-columns: 1fr 1fr
    }

    .n8n-automation-page .n8n-approval__step {
        border-bottom: 1px solid var(--n8n-line)
    }

    .n8n-automation-page .n8n-approval__step:nth-child(2n) {
        border-right: 0
    }

    .n8n-automation-page .n8n-ap-grid {
        grid-template-columns: 1fr
    }

    .n8n-automation-page .n8n-architecture__notes {
        grid-template-columns: repeat(2, 1fr)
    }

}

@media (max-width:580px) {
    
    .n8n-automation-page .n8n-hero {
        padding-top: 30px
    }

    .n8n-automation-page .n8n-hero h1 {
        font-size: 39px
    }

    .n8n-automation-page .n8n-hero__points,
    .n8n-automation-page .n8n-grid-4,
    .n8n-automation-page .n8n-services,
    .n8n-automation-page .n8n-use-grid,
    .n8n-automation-page .n8n-stage-grid,
    .n8n-automation-page .n8n-security-grid,
    .n8n-automation-page .n8n-why-grid,
    .n8n-automation-page .n8n-related-grid,
    .n8n-automation-page .n8n-process,
    .n8n-automation-page .n8n-architecture__notes {
        grid-template-columns: 1fr
    }

    .n8n-automation-page .n8n-hero__actions .n8n-btn {
        width: 100%
    }

    .n8n-automation-page .n8n-approval {
        grid-template-columns: 1fr
    }

    .n8n-automation-page .n8n-approval__step {
        border-right: 0
    }

    .n8n-automation-page .n8n-architecture {
        padding: 18px
    }

    .n8n-automation-page .n8n-architecture__flow {
        grid-template-columns: 1fr
    }

    .n8n-automation-page .n8n-arch-node:not(:last-child):after {
        content: "↓";
        right: 50%;
        top: auto;
        bottom: -17px;
        transform: translateX(50%)
    }

    .n8n-automation-page .n8n-arch-node:nth-child(4):after {
        display: block
    }

    .n8n-automation-page .n8n-heading {
        font-size: 31px
    }
}
