/* DSIT WhatsApp Agents — product page
   Brand: Sky #20A0E0 · Mid #186898 · Navy #183048 · WhatsApp #25D366 */

:root {
    --sky: #20a0e0;
    --mid: #186898;
    --navy: #183048;
    --navy-2: #1c3a54;
    --navy-deep: #0f1c2c;
    --wa: #25d366;
    --wa-deep: #128c7e;
    --wa-dark: #075e54;
    --ink: #183048;
    --text: #2a3d52;
    --muted: #5a7088;
    --line: #d5e2ee;
    --line-soft: #e8f0f7;
    --paper: #f2f7fb;
    --radius: 16px;
    --max: 1120px;
    --font: "Outfit", "Segoe UI", system-ui, sans-serif;
    --serif: "Fraunces", Georgia, serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow: 0 18px 48px rgba(24, 48, 72, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

ul,
ol {
    list-style: none;
}

button {
    font: inherit;
}

.wrap {
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
}

.skip {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 100;
    padding: 0.7rem 1rem;
    color: #fff;
    background: var(--mid);
}

.skip:focus {
    left: 1rem;
    top: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linejoin: round;
}

.btn-sm {
    padding: 0.55rem 1.05rem;
    font-size: 0.82rem;
}

.btn-wa {
    color: #fff;
    background: linear-gradient(180deg, #2bd36b, #1ebe5a);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
}

.btn-wa:hover {
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45);
}

.btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.btn-dark {
    color: #fff;
    background: var(--navy);
}

.btn-dark:hover {
    background: var(--mid);
}

/* Header */
.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid var(--line-soft);
}

.top-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 72px;
}

.brand img {
    width: auto;
    height: 48px;
}

.top-nav {
    display: none;
    gap: 1.5rem;
    margin-left: auto;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--mid);
}

.top-nav a:hover {
    color: var(--sky);
}

.top .btn {
    margin-left: auto;
}

@media (min-width: 820px) {
    .top-nav {
        display: flex;
    }

    .top .btn {
        margin-left: 0;
    }
}

/* Hero */
.hero {
    position: relative;
    padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem);
    color: #fff;
    background: var(--navy-deep);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 85% 30%, rgba(37, 211, 102, 0.22), transparent 65%),
        radial-gradient(ellipse 45% 55% at 0% 100%, rgba(32, 160, 224, 0.3), transparent 70%),
        linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-2) 100%);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 75% 70% at 60% 40%, #000 10%, transparent 75%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 960px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }
}

.hero-copy {
    animation: up 0.9s var(--ease) both;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.85rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--wa);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.2);
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5.4vw, 3.9rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.03em;
    max-width: 15ch;
    margin-bottom: 1.3rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--wa);
}

.lead {
    max-width: 34rem;
    margin-bottom: 2.1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.72);
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.75rem;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.75rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stats dt {
    font-family: var(--serif);
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1;
}

.stats dd {
    margin-top: 0.4rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Phone */
.phone-stage {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    animation: up 1s 0.15s var(--ease) both;
}

.phone {
    position: relative;
    width: min(100%, 320px);
    padding: 10px;
    background: #0b0f14;
    border-radius: 42px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.phone.swap .wa-chat > * {
    animation: pop 0.5s var(--ease) both;
}

.phone.swap .wa-chat > *:nth-child(3) { animation-delay: 0.08s; }
.phone.swap .wa-chat > *:nth-child(4) { animation-delay: 0.16s; }

.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    z-index: 2;
    width: 90px;
    height: 24px;
    background: #0b0f14;
    border-radius: 14px;
    transform: translateX(-50%);
}

.wa-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 2.6rem 0.9rem 0.75rem;
    color: #fff;
    background: var(--wa-dark);
    border-radius: 32px 32px 0 0;
}

.wa-back {
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0.8;
}

.wa-av {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--wa-dark);
    background: #dcf8c6;
    border-radius: 50%;
}

.wa-who {
    flex: 1;
    min-width: 0;
    line-height: 1.2;
}

.wa-who b {
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wa-who i {
    font-size: 0.72rem;
    font-style: normal;
    opacity: 0.75;
}

.wa-verified {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    font-size: 0.62rem;
    color: #fff;
    background: var(--wa);
    border-radius: 50%;
}

.wa-chat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 380px;
    padding: 0.9rem 0.8rem;
    background:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0) 0 0 / 12px 12px,
        #0b141a;
}

.wa-day {
    align-self: center;
    padding: 0.15rem 0.6rem;
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.bubble {
    position: relative;
    max-width: 85%;
    padding: 0.5rem 0.75rem 1rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #e9edef;
    border-radius: 10px;
}

.bubble small {
    position: absolute;
    right: 0.55rem;
    bottom: 0.2rem;
    font-size: 0.6rem;
    opacity: 0.6;
}

.bubble.in {
    align-self: flex-start;
    padding-right: 2.4rem;
    background: #202c33;
    border-top-left-radius: 2px;
}

.bubble.out {
    align-self: flex-end;
    padding-right: 4rem;
    background: #005c4b;
    border-top-right-radius: 2px;
}

.wa-menu {
    display: grid;
    gap: 3px;
    width: 85%;
}

.wa-menu span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.6rem;
    font-size: 0.78rem;
    color: #53bdeb;
    background: #202c33;
    border-radius: 8px;
}

.wa-menu b {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    font-size: 0.64rem;
    color: #0b141a;
    background: #53bdeb;
    border-radius: 50%;
}

.typing {
    align-self: flex-start;
    display: flex;
    gap: 3px;
    padding: 0.6rem 0.75rem;
    background: #202c33;
    border-radius: 10px;
}

.typing i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    animation: dot 1.2s infinite ease-in-out;
}

.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

.wa-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.7rem 0.9rem;
    background: #0b141a;
    border-radius: 0 0 32px 32px;
}

.wa-input span {
    flex: 1;
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    background: #202c33;
    border-radius: 999px;
}

.wa-input b {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
    color: #fff;
    background: var(--wa-deep);
    border-radius: 50%;
}

.float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    color: var(--ink);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    animation: float 6s ease-in-out infinite;
}

.float b {
    display: block;
    font-size: 0.82rem;
}

.float i {
    font-size: 0.7rem;
    font-style: normal;
    color: var(--muted);
}

.float-ic {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    background: rgba(32, 160, 224, 0.14);
    border-radius: 10px;
}

.float-ic.green {
    color: #fff;
    background: var(--wa);
    border-radius: 50%;
}

.float-a {
    top: 18%;
    left: -0.5rem;
}

.float-b {
    right: -0.5rem;
    bottom: 16%;
    animation-delay: -3s;
}

@media (max-width: 520px) {
    .float {
        display: none;
    }
}

/* Sections */
.section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-tight {
    padding-top: 0;
}

.head {
    max-width: 42rem;
    margin-bottom: 2.75rem;
}

.kicker {
    margin-bottom: 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wa-deep);
}

.head h2,
.band h2 {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.head p {
    font-size: 1.05rem;
    color: var(--muted);
}

/* Features */
.features {
    display: grid;
    gap: 1.1rem;
}

@media (min-width: 640px) {
    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.feature {
    padding: 0.7rem 0.7rem 1.4rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 2px);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s ease;
}

.feature:hover {
    border-color: rgba(37, 211, 102, 0.45);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.feature h3 {
    margin: 1.1rem 0.8rem 0.4rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
}

.feature p {
    margin: 0 0.8rem;
    font-size: 0.93rem;
    color: var(--muted);
}

.viz {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    height: 150px;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 1px 1px, rgba(18, 140, 126, 0.14) 1px, transparent 0) 0 0 / 14px 14px,
        linear-gradient(150deg, #ecfbf2 0%, #dff5ea 100%);
    overflow: hidden;
}

.viz-menu span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 82%;
    margin: 0 auto;
    padding: 0.4rem 0.6rem;
    font-size: 0.78rem;
    color: var(--wa-dark);
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 6px 16px rgba(7, 94, 84, 0.1);
}

.viz-menu span.on {
    color: #fff;
    background: var(--wa-deep);
    transform: scale(1.04);
}

.viz-menu b {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    font-size: 0.64rem;
    color: #fff;
    background: var(--wa);
    border-radius: 50%;
}

.viz-menu span.on b {
    color: var(--wa-deep);
    background: #fff;
}

.viz-faq .q,
.viz-faq .a {
    max-width: 82%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(7, 94, 84, 0.1);
}

.viz-faq .q {
    align-self: flex-end;
    color: #0b3d2a;
    background: #d9fdd3;
    border-top-right-radius: 2px;
}

.viz-faq .a {
    align-self: flex-start;
    color: var(--ink);
    background: #fff;
    border-top-left-radius: 2px;
}

.lead-card {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.7rem;
    background: #fff;
    border-radius: 11px;
    box-shadow: 0 10px 24px rgba(7, 94, 84, 0.14);
    line-height: 1.2;
}

.lead-card div {
    flex: 1;
}

.lead-card b {
    display: block;
    font-size: 0.8rem;
    color: var(--ink);
}

.lead-card i {
    font-size: 0.68rem;
    font-style: normal;
    color: var(--muted);
}

.lead-card em {
    padding: 0.15rem 0.5rem;
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 700;
    color: #047857;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 999px;
}

.lead-av {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--sky), var(--mid));
    border-radius: 50%;
}

.lead-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.68rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 7px;
}

.lead-row span {
    width: 3.5rem;
}

.lead-row b {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--line);
}

.lead-row b.s {
    flex: 0 0 55%;
}

.viz-brand {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 0.5rem;
}

.chip {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(24, 48, 72, 0.15);
}

.chip.c1 { background: var(--navy); transform: rotate(-4deg); }
.chip.c2 { background: var(--sky); transform: rotate(3deg); }
.chip.c3 { background: var(--wa-deep); transform: rotate(-2deg); }
.chip.c4 { background: #f59e0b; transform: rotate(4deg); }

.viz-meta {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.viz-meta .node {
    padding: 0.5rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    color: var(--ink);
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 6px 16px rgba(7, 94, 84, 0.12);
}

.viz-meta .node.hl {
    color: #fff;
    background: linear-gradient(135deg, var(--wa-deep), var(--wa-dark));
}

.viz-meta i {
    flex: 0 0 14px;
    height: 2px;
    background: var(--wa-deep);
}

.viz-memory {
    gap: 0.45rem;
}

.viz-memory .step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.76rem;
    color: var(--ink);
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 6px 16px rgba(7, 94, 84, 0.1);
}

.viz-memory .step::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    font-size: 0.62rem;
    color: #fff;
    background: var(--wa);
    border-radius: 50%;
}

.viz-memory .step.now {
    border: 1.5px dashed var(--wa-deep);
}

.viz-memory .step.now::before {
    content: "…";
    color: var(--wa-deep);
    background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--wa-deep);
}

/* How it works */
.section-dark {
    color: #fff;
    background:
        radial-gradient(ellipse 50% 70% at 100% 0%, rgba(37, 211, 102, 0.16), transparent 65%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.section-dark .head h2 {
    color: #fff;
}

.section-dark .head p {
    color: rgba(255, 255, 255, 0.7);
}

.section-dark .kicker {
    color: var(--wa);
}

.steps {
    display: grid;
    gap: 1rem;
}

@media (min-width: 760px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.steps li {
    padding: 1.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.steps li:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(37, 211, 102, 0.4);
}

.steps .n {
    display: inline-grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-deep);
    background: var(--wa);
    border-radius: 50%;
}

.steps h3 {
    margin-bottom: 0.4rem;
    font-size: 1.08rem;
    font-weight: 600;
}

.steps p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.68);
}

/* Agents */
.agents {
    display: grid;
    gap: 1.1rem;
}

@media (min-width: 720px) {
    .agents {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    .agents {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.agent {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 2px);
    transition: border-color 0.25s ease, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.agent:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.agent.is-active {
    border-color: var(--wa);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18), var(--shadow);
}

.agent-top {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.agent-top > div {
    flex: 1;
    min-width: 0;
}

.agent-av {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--wa-dark);
    background: #dcf8c6;
    border-radius: 14px;
}

.agent h3 {
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
}

.agent-legal {
    font-size: 0.78rem;
    color: var(--muted);
}

.live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 999px;
}

.live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: blink 2s infinite;
}

.agent-tag {
    margin-bottom: 1rem;
    font-size: 0.92rem;
    color: var(--text);
}

.agent-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    counter-reset: m;
}

.agent-menu li {
    padding: 0.25rem 0.6rem;
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--wa-dark);
    background: #ecfbf2;
    border-radius: 999px;
}

.agent-menu li::before {
    counter-increment: m;
    content: counter(m) " · ";
    font-weight: 700;
    color: var(--wa-deep);
}

.agent-actions {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-top: auto;
}

.agent-link {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--mid);
}

.agent-link:hover {
    color: var(--sky);
}

.agent-new {
    align-items: flex-start;
    background: var(--paper);
    border-style: dashed;
    border-color: rgba(18, 140, 126, 0.45);
}

.agent-new .plus {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 0.9rem;
    font-size: 1.5rem;
    color: var(--wa-deep);
    background: #fff;
    border: 1.5px dashed rgba(18, 140, 126, 0.5);
    border-radius: 14px;
}

.agent-new p {
    margin: 0.35rem 0 1.25rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.agent-new .btn {
    margin-top: auto;
}

.empty {
    color: var(--muted);
}

/* CTA band */
.band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 3.25rem);
    color: #fff;
    background:
        radial-gradient(ellipse 60% 120% at 100% 0%, rgba(37, 211, 102, 0.3), transparent 60%),
        linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-radius: calc(var(--radius) + 6px);
}

.band > div:first-child {
    max-width: 34rem;
}

.band h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
}

.band p {
    color: rgba(255, 255, 255, 0.72);
}

.band-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Technical details */
.tech {
    margin-top: 1.5rem;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}

.tech summary {
    padding: 1rem 1.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--mid);
    cursor: pointer;
}

.tech-body {
    display: grid;
    gap: 0.75rem;
    padding: 0 1.3rem 1.25rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.tech-body ul {
    display: grid;
    gap: 0.4rem;
}

.tech-body strong {
    margin-right: 0.4rem;
    color: var(--ink);
}

code {
    padding: 0.12rem 0.4rem;
    font: 500 0.82em ui-monospace, Consolas, monospace;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: 5px;
    word-break: break-all;
}

/* Footer */
.foot {
    padding: 2.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    background: var(--navy-deep);
}

.foot-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    font-size: 0.88rem;
}

.foot .brand img {
    height: 42px;
}

.foot p {
    flex: 1 1 16rem;
}

.foot nav {
    display: flex;
    gap: 1.25rem;
}

.foot nav a:hover {
    color: #fff;
}

/* Motion */
@keyframes up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

@keyframes pop {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

@keyframes dot {
    0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-2px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
