.af-new-tools {
    position: relative;
    padding: clamp(3.5rem, 7vw, 6.25rem) 1.5rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse 38rem 24rem at 100% 0%, rgb(190 229 216 / 35%), transparent 70%),
        linear-gradient(180deg, #f5faf8 0%, #edf5f2 100%);
    border-bottom: 1px solid #dceae5;
}

.af-new-tools__inner { position: relative; max-width: 80rem; margin: 0 auto; }

.af-new-tools__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 0 2rem;
}

.af-new-tools__eyebrow {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .8rem;
    color: #147765;
    font-family: "Ubuntu Mono", monospace;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.af-new-tools__eyebrow span {
    width: .48rem;
    height: .48rem;
    border-radius: 50%;
    background: #138c76;
    box-shadow: 0 0 0 4px rgb(19 140 118 / 12%);
}

.af-new-tools__heading h2 {
    max-width: 48rem;
    margin: 0;
    color: #102a2b;
    font-family: Ubuntu, sans-serif;
    font-size: clamp(2rem, 4.3vw, 3.45rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.04;
}

.af-new-tools__lead {
    max-width: 42rem;
    margin: .9rem 0 0;
    color: #536b68;
    font-size: 1rem;
    line-height: 1.65;
}

.af-new-tools__note {
    max-width: 15rem;
    margin: 0 0 .15rem;
    padding: .75rem .9rem;
    border-left: 2px solid #c48f3d;
    color: #596966;
    font-size: .75rem;
    line-height: 1.55;
}

.af-new-tools__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
}

.af-new-tool {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 18rem;
    flex-direction: column;
    padding: 1.25rem 1.2rem 1.15rem;
    overflow: hidden;
    border: 1px solid #d8e6e1;
    border-radius: 1rem;
    background: rgb(255 255 255 / 91%);
    box-shadow: 0 8px 24px rgb(26 66 58 / 4%);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.af-new-tool::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--new-tool-accent, #148872);
    content: "";
}

.af-new-tool:hover {
    transform: translateY(-3px);
    border-color: #a6cfc1;
    box-shadow: 0 14px 32px rgb(26 66 58 / 9%);
}

.af-new-tool:focus-within {
    outline: 3px solid #147765;
    outline-offset: 3px;
}

.af-new-tool--offers { --new-tool-accent: #138c76; }
.af-new-tool--bumps { --new-tool-accent: #547a9b; }
.af-new-tool--coupons { --new-tool-accent: #b17b30; }
.af-new-tool--cart { --new-tool-accent: #74649d; }

.af-new-tool__topline {
    display: flex;
    min-height: 2.35rem;
    align-items: center;
    gap: .45rem;
}

.af-new-tool__icon {
    display: grid;
    width: 2.3rem;
    height: 2.3rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #e1ece8;
    border-radius: .7rem;
    background: #f5faf8;
    color: var(--new-tool-accent, #148872);
}

.af-new-tool__icon svg { width: 1.2rem; height: 1.2rem; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.af-new-tool__badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    padding: .1rem .42rem;
    border-radius: .35rem;
    background: #e3f4ed;
    color: #08705e;
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .09em;
}

.af-new-tool__status {
    margin-left: auto;
    color: #586a66;
    font-size: .57rem;
    line-height: 1.35;
    text-align: right;
}

.af-new-tool__index {
    margin: 1.3rem 0 .38rem;
    color: #526862;
    font-family: "Ubuntu Mono", monospace;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .13em;
}

.af-new-tool__index span { padding: 0 .2rem; color: var(--new-tool-accent, #148872); }

.af-new-tool h3 {
    margin: 0;
    color: #142d2d;
    font-family: Ubuntu, sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.af-new-tool__copy {
    margin: .6rem 0 1.1rem;
    color: #596b68;
    font-size: .79rem;
    line-height: 1.65;
}

.af-new-tool__link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    width: fit-content;
    margin-top: auto;
    padding-top: .65rem;
    color: #087765;
    font-size: .74rem;
    font-weight: 700;
    text-decoration: none;
}

.af-new-tool__link span { transition: transform .16s ease; }
.af-new-tool__link:hover span { transform: translate(2px, -2px); }
.af-new-tool__link:focus-visible { border-radius: .2rem; outline: 2px solid #147765; outline-offset: 3px; }

@media (max-width: 1120px) {
    .af-new-tools__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .af-new-tool { min-height: 16rem; }
}

@media (max-width: 680px) {
    .af-new-tools { padding-right: 1rem; padding-left: 1rem; }
    .af-new-tools__heading { align-items: flex-start; flex-direction: column; gap: 1rem; margin-bottom: 1.4rem; }
    .af-new-tools__note { max-width: none; }
    .af-new-tools__grid { grid-template-columns: 1fr; gap: .65rem; }
    .af-new-tool { min-height: 0; padding: 1.1rem; }
    .af-new-tool__index { margin-top: 1rem; }
    .af-new-tool__copy { margin-bottom: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
    .af-new-tool, .af-new-tool__link span { transition: none; }
    .af-new-tool:hover, .af-new-tool__link:hover span { transform: none; }
}

/* Premium release panel */
.af-new-tools {
    padding: clamp(4.5rem, 8vw, 7.25rem) 1.5rem;
    border: 0;
    background:
        radial-gradient(ellipse 48rem 30rem at 93% -8%, rgb(18 162 135 / 19%), transparent 68%),
        radial-gradient(ellipse 34rem 24rem at -8% 100%, rgb(196 143 61 / 9%), transparent 70%),
        #0b1719;
    color: #f4f8f6;
}

.af-new-tools::after {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgb(205 231 223 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(205 231 223 / 3%) 1px, transparent 1px);
    background-size: 52px 52px;
    content: "";
    mask-image: linear-gradient(110deg, #000 0%, transparent 75%);
    pointer-events: none;
}

.af-new-tools__inner { z-index: 1; }

.af-new-tools__heading {
    align-items: end;
    gap: 3rem;
    margin-bottom: 2.35rem;
}

.af-new-tools__eyebrow {
    color: #70c9b5;
    font-size: .66rem;
    letter-spacing: .18em;
}

.af-new-tools__eyebrow span {
    background: #72d3bb;
    box-shadow: 0 0 0 4px rgb(114 211 187 / 13%), 0 0 18px rgb(114 211 187 / 50%);
}

.af-new-tools__eyebrow i {
    width: 1.5rem;
    height: 1px;
    background: #55716c;
}

.af-new-tools__heading h2 {
    max-width: 50rem;
    color: #f5faf8;
    font-size: clamp(2.25rem, 4.8vw, 4rem);
    letter-spacing: -.055em;
    line-height: 1.01;
}

.af-new-tools__lead {
    max-width: 40rem;
    margin-top: 1rem;
    color: #a6b9b4;
    font-size: 1rem;
}

.af-new-tools__release {
    display: grid;
    grid-template-columns: auto auto 1px auto;
    align-items: center;
    gap: .8rem;
    flex: 0 0 auto;
    min-width: 17rem;
    padding: .85rem 1rem;
    border: 1px solid #2b4141;
    border-radius: .9rem;
    background: linear-gradient(135deg, rgb(27 53 53 / 88%), rgb(15 31 33 / 92%));
    box-shadow: 0 14px 34px rgb(0 0 0 / 18%);
}

.af-new-tools__release-mark {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border: 1px solid #37685e;
    border-radius: .7rem;
    background: #153b36;
    color: #b0e7d9;
    font-family: "Ubuntu Mono", monospace;
    font-size: .87rem;
    font-weight: 700;
    letter-spacing: -.1em;
}

.af-new-tools__release-mark span { color: #d8b778; }
.af-new-tools__release > span:nth-child(2), .af-new-tools__release > span:last-child { display: grid; gap: .2rem; }
.af-new-tools__release strong { color: #f5faf8; font-family: "Ubuntu Mono", monospace; font-size: .91rem; }
.af-new-tools__release small { color: #91a6a1; font-size: .61rem; white-space: nowrap; }
.af-new-tools__release-rule { width: 1px; height: 2rem; background: #36504d; }

.af-new-tools__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.af-new-tool {
    min-height: 24rem;
    padding: 1.45rem 1.55rem 1.25rem;
    border: 1px solid #293f3f;
    border-radius: 1.1rem;
    background: linear-gradient(145deg, rgb(24 46 47 / 96%) 0%, rgb(16 32 34 / 98%) 72%);
    box-shadow: 0 18px 45px rgb(0 0 0 / 16%), inset 0 1px rgb(255 255 255 / 2%);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.af-new-tool::before {
    height: 2px;
    opacity: .85;
    background: linear-gradient(90deg, var(--new-tool-accent), transparent 72%);
}

.af-new-tool:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--new-tool-accent) 60%, #293f3f);
    background: linear-gradient(145deg, rgb(28 53 53 / 98%) 0%, rgb(17 35 36 / 99%) 72%);
    box-shadow: 0 24px 54px rgb(0 0 0 / 26%), inset 0 1px rgb(255 255 255 / 3%);
}

.af-new-tool:focus-within { outline-color: #93e2ce; }
.af-new-tool--offers { --new-tool-accent: #54c6a9; }
.af-new-tool--bumps { --new-tool-accent: #87afd1; }
.af-new-tool--coupons { --new-tool-accent: #e0b768; }
.af-new-tool--cart { --new-tool-accent: #b5a2e2; }

.af-new-tool__topline { min-height: 2.65rem; gap: .6rem; }

.af-new-tool__icon {
    width: 2.65rem;
    height: 2.65rem;
    border-color: color-mix(in srgb, var(--new-tool-accent) 27%, #263f3e);
    border-radius: .82rem;
    background: color-mix(in srgb, var(--new-tool-accent) 12%, #142a2b);
    color: var(--new-tool-accent);
}

.af-new-tool__icon svg { width: 1.35rem; height: 1.35rem; stroke-width: 1.55; }

.af-new-tool__badge {
    gap: .25rem;
    min-height: 1.45rem;
    padding: .12rem .48rem;
    border: 1px solid rgb(104 206 178 / 24%);
    border-radius: 99px;
    background: rgb(52 148 122 / 16%);
    color: #a4e5d4;
    font-size: .57rem;
    letter-spacing: .11em;
}

.af-new-tool__badge span { color: #d6b66d; font-size: .68rem; }

.af-new-tool__status {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    color: #c1ae83;
    font-size: .64rem;
}

.af-new-tool__status i {
    width: .38rem;
    height: .38rem;
    border-radius: 50%;
    background: #d0a95b;
    box-shadow: 0 0 0 3px rgb(208 169 91 / 12%);
}

.af-new-tool__status--ready { color: #8bcbb6; }
.af-new-tool__status--ready i { background: #65c6a6; box-shadow: 0 0 0 3px rgb(101 198 166 / 12%); }

.af-new-tool__index {
    margin: 1.35rem 0 .45rem;
    color: #93aaa4;
    font-size: .61rem;
    letter-spacing: .15em;
}

.af-new-tool__index span { padding: 0 .32rem; color: var(--new-tool-accent); }

.af-new-tool h3 {
    color: #f2f8f5;
    font-size: clamp(1.28rem, 2vw, 1.65rem);
    letter-spacing: -.035em;
}

.af-new-tool__copy {
    max-width: 38rem;
    margin: .55rem 0 .9rem;
    color: #a8bbb5;
    font-size: .84rem;
    line-height: 1.65;
}

.af-new-tool__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .48rem .85rem;
    margin: .25rem 0 1rem;
    padding: 0;
    list-style: none;
}

.af-new-tool__features li {
    position: relative;
    padding-left: 1.1rem;
    color: #d0dcd7;
    font-size: .7rem;
    line-height: 1.45;
}

.af-new-tool__features li::before {
    position: absolute;
    top: .05rem;
    left: 0;
    color: var(--new-tool-accent);
    content: "✓";
    font-size: .75rem;
    font-weight: 800;
}

.af-new-tool__link {
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    padding: .85rem 0 0;
    border-top: 1px solid #2a4140;
    color: #a5e3d3;
    font-size: .75rem;
}

.af-new-tool__link span {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    border: 1px solid #36534f;
    border-radius: 50%;
    color: #b9eadd;
    font-size: .9rem;
}

.af-new-tool__link:hover { color: #d8f4eb; }
.af-new-tool__link:focus-visible { outline-color: #93e2ce; }

@media (max-width: 900px) {
    .af-new-tools__heading { align-items: flex-start; flex-direction: column; gap: 1.35rem; }
    .af-new-tools__release { min-width: 0; }
}

@media (max-width: 680px) {
    .af-new-tools { padding: 3.75rem 1rem; }
    .af-new-tools__heading { gap: 1.1rem; margin-bottom: 1.5rem; }
    .af-new-tools__heading h2 { font-size: clamp(2.05rem, 10vw, 3rem); line-height: 1.03; }
    .af-new-tools__lead { margin-top: .75rem; font-size: .9rem; }
    .af-new-tools__grid { grid-template-columns: 1fr; gap: .75rem; }
    .af-new-tool { min-height: 0; padding: 1.2rem 1.1rem 1rem; }
    .af-new-tool__topline { flex-wrap: wrap; }
    .af-new-tool__status { max-width: 100%; }
    .af-new-tool__index { margin-top: 1.05rem; }
    .af-new-tool__features { gap: .48rem .6rem; }
}

@media (max-width: 380px) {
    .af-new-tool__features { grid-template-columns: 1fr; }
    .af-new-tool__status { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .af-new-tool, .af-new-tool__link span { transition: none; }
    .af-new-tool:hover, .af-new-tool__link:hover span { transform: none; }
}
