.public-automate {
    --plum: #26072a;
    --cream: #fffaf3;
    --mint: #9bf5ca;
    --apricot: #ffa363;
    --ink: #251429;
    position: relative;
    isolation: isolate;
    color: var(--cream);
    background: linear-gradient(110deg, #20d8a0 0%, #a4f9d8 62%, #74eeb7);
    padding: clamp(30px, 2.25vw, 42px) 0 clamp(30px, 3vw, 54px);
}
.public-automate::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-top-left-radius: clamp(45px, 14vw, 230px) clamp(48px, 11vw, 170px);
    background: radial-gradient(ellipse at 45% 65%, #310932 0%, var(--plum) 73%);
}
.automate-wrap { width: min(85.5%, 1280px); margin-inline: auto; }
.automate-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.33fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(30px, 6.8vw, 102px);
    padding-inline: .65%;
    margin-bottom: clamp(20px, 2vw, 32px);
}
.automate-heading h2 {
    color: inherit;
    font-size: clamp(38px, 4.4vw, 67px);
    font-weight: 865;
    letter-spacing: -.055em;
    line-height: .99;
    text-wrap: balance;
}
.automate-heading h2 span { display: block; }
.automate-heading p { max-width: 25ch; font-size: clamp(19px, 2.04vw, 31px); line-height: 1.32; letter-spacing: -.028em; }
.automate-heading strong { font-weight: 750; }
.automate-example, .automate-cases { position: relative; min-inline-size: 0; border: 0; padding: 0; margin: 0; }
.automate-example {
    padding: clamp(14px, 1.6vw, 25px);
    border-radius: clamp(17px, 2vw, 31px);
    color: var(--ink);
    background: var(--cream);
}
.automate-sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.automate-modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(84%, 1000px);
    margin: 0 auto clamp(12px, 1.35vw, 22px);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px #e4dbcf;
}
.automate-modes label, .automate-case-choices label { cursor: pointer; }
.automate-modes label {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: .55em;
    padding: .48em .45em;
    border-radius: inherit;
    font-size: clamp(17px, 1.85vw, 28px);
    font-weight: 775;
    letter-spacing: -.035em;
    text-align: center;
}
.automate-modes img { width: 1.48em; height: 1.48em; object-fit: contain; }
#auto-mode-reviews:checked ~ .automate-modes [for="auto-mode-reviews"],
#auto-mode-posts:checked ~ .automate-modes [for="auto-mode-posts"] { background: var(--mint); }
#auto-mode-reviews:checked ~ .automate-posts, #auto-mode-posts:checked ~ .automate-reviews,
#auto-case-positive:checked ~ .automate-result-issue, #auto-case-issue:checked ~ .automate-result-positive { display: none; }
.automate-instruction, .automate-reply { background: #f5eee4; border-radius: 14px; }
.public-automate .automate-instruction {
    margin: 0 1.7%;
    padding: .66em 1.2em;
    font-size: clamp(18px, 1.72vw, 27px);
    font-weight: 735;
    line-height: 1.3;
    letter-spacing: -.031em;
}
.automate-case-choices {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 clamp(14px, 3.3vw, 52px);
    padding: 4px 3% 6px;
    font-size: clamp(15px, 1.55vw, 23px);
}
.automate-case-choices label {
    position: relative;
    min-height: 44px;
    align-content: center;
    padding: .55em .2em;
    font-weight: 725;
    letter-spacing: -.03em;
}
.automate-case-choices label::after {
    content: "";
    position: absolute;
    inset: auto 0 3px;
    height: 4px;
    border-radius: 4px;
}
#auto-case-positive:checked ~ .automate-case-choices [for="auto-case-positive"]::after,
#auto-case-issue:checked ~ .automate-case-choices [for="auto-case-issue"]::after { background: #e8894a; }
.automate-short-rule { margin-inline-start: auto; margin-inline-end: 14%; color: #65566a; font-size: .85em; }
#auto-mode-reviews:focus-visible ~ .automate-modes [for="auto-mode-reviews"],
#auto-mode-posts:focus-visible ~ .automate-modes [for="auto-mode-posts"],
#auto-case-positive:focus-visible ~ .automate-case-choices [for="auto-case-positive"],
#auto-case-issue:focus-visible ~ .automate-case-choices [for="auto-case-issue"] { outline: 3px solid #5433b6; outline-offset: 1px; }
.automate-result { --highlight: #ffbb86; }
.automate-result-positive { --highlight: #a7efce; }
.automate-review-line, .automate-reply { padding: clamp(14px, 1.35vw, 22px) clamp(14px, 2.15vw, 34px); }
.automate-review-line {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.35vw, 23px);
    border: 1px solid #e8ded5;
    border-radius: 15px;
}
.automate-review-line img, .automate-reply img { width: clamp(24px, 2.9vw, 42px); height: auto; }
.automate-review-line blockquote { font-size: clamp(17px, 1.92vw, 29px); font-weight: 580; line-height: 1.36; letter-spacing: -.035em; }
.automate-review-line mark {
    padding-inline: .13em;
    color: inherit;
    background: var(--highlight);
    border-radius: .24em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.automate-arrow { flex: 1 1 60px; min-width: 28px; height: 1.2em; border-bottom: 2px solid; border-radius: 0 0 50% 55%; position: relative; }
.automate-arrow::after { content: ""; position: absolute; right: -1px; bottom: -.15em; border: .32em solid transparent; border-left: .7em solid; border-right: 0; transform: rotate(-13deg); }
.automate-status { padding: .3em .9em; border-radius: 999px; white-space: nowrap; font-size: clamp(15px, 1.55vw, 24px); background: var(--highlight); }
.automate-reply {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .06em clamp(12px, 1.6vw, 25px);
    margin-top: clamp(8px, .85vw, 14px);
    font-size: clamp(17px, 1.8vw, 27px);
    line-height: 1.34;
    letter-spacing: -.026em;
}
.automate-reply img { grid-row: span 2; align-self: center; }
.automate-reply strong { font-size: .88em; }
.automate-posts h3 { padding: .9em 2% .5em; font-size: clamp(19px, 1.7vw, 26px); }
.automate-drafts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.automate-drafts li { padding: .7em 1.05em; line-height: 1.45; }
.automate-drafts li + li { border-inline-start: 1px solid #ded4ca; }
.automate-drafts li > div { display: flex; flex-wrap: wrap; align-items: center; gap: .4em; margin-bottom: .5em; }
.automate-drafts li span { color: #65566a; }
.automate-footer { text-align: center; font-size: clamp(15px, 1.35vw, 21px); }
.public-automate .automate-schedule { display: flex; align-items: baseline; justify-content: center; gap: .65em; margin: .8em 0 1em; line-height: 1.4; }
.automate-schedule .register-icon { color: var(--mint); }
.automate-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .7em;
    padding: .7em 1.7em;
    background: var(--apricot);
    color: var(--ink);
    border-radius: .6em;
    text-decoration: none;
    font-size: clamp(19px, 2.1vw, 32px);
    line-height: 1.15;
    font-weight: 770;
    letter-spacing: -.035em;
}
.public-automate .automate-card-note { font-size: .9em; margin-top: .55em; }
.automate-connectors { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.5em; margin-top: .45em; }
.automate-connectors a { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; color: #b6f8d9; text-decoration: underline; text-underline-offset: .19em; }
.automate-connectors img { box-sizing: content-box; padding: 3px; background: white; border-radius: 4px; }
.automate-footer :focus-visible { outline: 3px solid white; outline-offset: 4px; }
.public-automate + .public-publications { padding-block-start: clamp(40px, 6vw, 96px); }
@media (hover: hover) {
    .automate-modes label:hover { box-shadow: inset 0 0 0 1px #7f9787; }
    .automate-case-choices label:hover { color: #794224; }
    .automate-cta:hover { background: #ffb87f; }
}
@media (max-width: 760px) {
    .automate-wrap { width: calc(100% - 32px); }
    .automate-heading { grid-template-columns: 1fr; gap: 14px; padding: 0 3px; }
    .automate-heading h2 { font-size: clamp(34px, 8.8vw, 52px); line-height: 1.02; max-width: 22ch; }
    .automate-heading h2 span { display: inline; }
    .automate-heading p { font-size: 17px; max-width: 52ch; }
    .automate-example { padding: 12px; }
    .automate-modes { width: 100%; }
    .public-automate .automate-instruction { margin: 0; padding: 12px; }
    .automate-case-choices { gap: 0 14px; padding: 5px 2px 9px; }
    .automate-short-rule { flex-basis: 100%; margin: 0; font-size: 13px; }
    .automate-review-line { display: grid; grid-template-columns: 22px 1fr; gap: 8px 10px; padding: 12px; }
    .automate-review-line img { width: 22px; }
    .automate-arrow { display: none; }
    .automate-status { grid-column: 2; justify-self: start; }
    .automate-reply { padding: 12px; }
    .automate-reply img { align-self: start; }
    .automate-drafts { grid-template-columns: 1fr; }
    .automate-drafts li { padding: 12px 6px; }
    .automate-drafts li + li { border-inline-start: 0; border-top: 1px solid #ded4ca; }
    .public-automate .automate-schedule { text-align: start; }
    .automate-cta { padding: .85em 1em; max-width: 100%; }
}
