/* ==========================================================================
   Afluex service pages — page-specific visuals and layouts.
   Loaded after assets/css/afluex.css by the service pages only.
   ========================================================================== */

.page-hero .viz {
    max-width: 600px;
    justify-self: center;
    width: 100%;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

/* ======================================================================
   Website & Software
   ====================================================================== */

/* hero: one website reflowing across screen sizes */
.rs-devices {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
}

.rs-frame {
    --w: 100%;
    width: var(--w);
    height: clamp(270px, 30vw, 360px);
    margin-inline: auto;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--line-2);
    background: linear-gradient(170deg, rgba(16, 30, 42, 0.96), rgba(7, 14, 21, 0.98));
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), 0 0 60px -20px rgba(107, 199, 209, 0.35);
    transition: width 0.9s var(--ease), border-radius 0.9s var(--ease);
}

.rs-frame[data-mode="1"] {
    --w: 70%;
}

.rs-frame[data-mode="2"] {
    --w: 42%;
    border-radius: 26px;
}

.rs-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--line);
}

.rs-url {
    flex: 1;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(148, 214, 224, 0.05);
}

.rs-page {
    padding: 12px;
    display: grid;
    gap: 12px;
}

.rs-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rs-nav img {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.rs-links {
    margin-left: auto;
    width: 45%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.rs-burger {
    display: none;
    margin-left: auto;
    gap: 3px;
    flex-direction: column;
}

.rs-burger i {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-2);
}

.rs-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 12px;
    background: radial-gradient(circle at 80% 40%, rgba(107, 199, 209, 0.18), rgba(148, 214, 224, 0.03) 70%);
}

.rs-hero span {
    display: grid;
    gap: 7px;
}

.rs-btn {
    width: 70px;
    height: 18px;
    border-radius: 999px;
    background: var(--grad-btn);
    margin-top: 4px;
}

.rs-art {
    aspect-ratio: 1.3;
    border-radius: 10px;
    background: linear-gradient(140deg, rgba(156, 240, 246, 0.45), rgba(63, 144, 181, 0.2));
}

.rs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.rs-card {
    display: grid;
    gap: 6px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid var(--line);
}

.rs-thumb {
    aspect-ratio: 1.6;
    border-radius: 7px;
    background: rgba(107, 199, 209, 0.16);
}

.rs-frame[data-mode="1"] .rs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rs-frame[data-mode="2"] .rs-grid,
.rs-frame[data-mode="2"] .rs-hero {
    grid-template-columns: minmax(0, 1fr);
}

.rs-frame[data-mode="2"] .rs-art,
.rs-frame[data-mode="2"] .rs-links {
    display: none;
}

.rs-frame[data-mode="2"] .rs-burger {
    display: flex;
}

/* services as a site map */
.sitemap__root {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    padding: 16px 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: linear-gradient(120deg, rgba(107, 199, 209, 0.16), rgba(63, 144, 181, 0.05));
    color: var(--text);
    font-weight: 700;
}

.sitemap__root img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

.sitemap__cols {
    position: relative;
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* the bus from the root to the three branches */
.sitemap__cols::before,
.sitemap__cols::after {
    content: "";
    position: absolute;
    background: var(--line-2);
    transition: transform 0.9s var(--ease);
}

.sitemap__cols::before {
    top: 0;
    left: calc((100% - 36px) / 6);
    right: calc((100% - 36px) / 6);
    height: 1px;
    transform: scaleX(0);
}

.sitemap__cols::after {
    top: -34px;
    left: 50%;
    width: 1px;
    height: 34px;
    transform: scaleY(0);
    transform-origin: top;
}

.sitemap__col {
    position: relative;
    display: grid;
    gap: 18px;
    padding-top: 30px;
    align-content: start;
}

.sitemap__col::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 30px;
    width: 1px;
    background: linear-gradient(var(--line-2), rgba(140, 214, 224, 0.1));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.9s 0.4s var(--ease);
}

.sitemap__col .feature {
    background-color: var(--ink-1);
}

.sitemap.is-drawn .sitemap__cols::before {
    transform: scaleX(1);
}

.sitemap.is-drawn .sitemap__cols::after,
.sitemap.is-drawn .sitemap__col::before {
    transform: scaleY(1);
}

html:not(.enhanced) .sitemap__cols::before,
html:not(.enhanced) .sitemap__cols::after,
html:not(.enhanced) .sitemap__col::before {
    transform: none;
}

.sitemap__path {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--aqua);
}

/* growth checklist */
.growth-list {
    margin-top: 26px;
}

/* partner tiles */
.partner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.partner li {
    padding: 24px;
    display: grid;
    gap: 14px;
    align-content: start;
}

.partner .icon-tile {
    width: 48px;
    height: 48px;
}

.partner p {
    font-size: 15px;
    color: var(--text-2);
}

.partner strong {
    display: block;
    color: var(--text);
    margin-bottom: 4px;
}

/* image tabs: the five solution types */
.thumbs {
    display: grid;
    grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.thumbs [role="tab"] {
    display: grid;
    gap: 8px;
    padding: 8px;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--glass);
    color: var(--text-2);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}

.thumbs [role="tab"] img {
    width: 100%;
    aspect-ratio: 669 / 540;
    object-fit: cover;
    border-radius: 10px;
    background: #050b10;
    opacity: 0.7;
    transition: opacity 0.25s;
}

.thumbs [role="tab"][aria-selected="true"] {
    color: var(--text);
    border-color: var(--aqua);
    background: rgba(107, 199, 209, 0.1);
}

.thumbs [role="tab"][aria-selected="true"] img {
    opacity: 1;
}

.thumb-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: center;
    padding: clamp(18px, 3vw, 30px);
}

.thumb-panel[hidden] {
    display: none;
}

.thumb-panel h3 {
    font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.8rem);
    margin-bottom: 10px;
}

.browser {
    border-radius: 14px;
    border: 1px solid var(--line-2);
    overflow: hidden;
    background: #050b10;
}

.browser__bar {
    display: flex;
    gap: 6px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--line);
}

.browser__bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

html:not(.enhanced) .thumbs {
    display: none;
}

html:not(.enhanced) .thumb-panel[hidden] {
    display: grid;
    margin-top: 16px;
}

/* why: code-style numbering */
.code-no {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--aqua);
}

/* ======================================================================
   Mobile apps
   ====================================================================== */

/* hero: twin phones kept in sync */
.tw {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    transform-style: preserve-3d;
}

.tw-phone {
    margin: 0;
    display: grid;
    gap: 10px;
    justify-items: center;
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease);
}

.tw-phone--a {
    transform: rotateY(16deg) translateZ(10px);
}

.tw-phone--i {
    transform: rotateY(-16deg) translateZ(10px);
}

.tw-phone figcaption {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-3);
}

.tw-body {
    position: relative;
    width: 100%;
    max-width: 230px;
    aspect-ratio: 9 / 18.5;
    overflow: hidden;
    border-radius: 30px;
    border: 6px solid #1b2a36;
    outline: 1px solid var(--line-2);
    background: linear-gradient(170deg, #0f1e2a, #060c12);
    box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.95), 0 0 50px -16px rgba(107, 199, 209, 0.5);
}

.tw-phone--i .tw-body {
    border-radius: 36px;
}

.tw-cam {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 9px;
    height: 9px;
    margin-left: -4.5px;
    border-radius: 50%;
    background: #02060a;
    z-index: 3;
}

.tw-notch {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 34%;
    height: 14px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #02060a;
    z-index: 3;
}

.tw-screen {
    position: absolute;
    inset: 26px 10px 44px;
    display: grid;
    align-content: start;
    gap: 10px;
    opacity: 0;
    transform: translateX(14%);
    transition: opacity 0.5s, transform 0.6s var(--ease);
}

.tw-screen.is-on {
    opacity: 1;
    transform: none;
}

.tw-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tw-top .sk {
    flex: 0 0 50%;
}

.tw-av {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(140deg, #9cf0f6, #3f90b5);
}

.tw-banner,
.tw-hero {
    display: block;
    aspect-ratio: 1.7;
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(156, 240, 246, 0.5), rgba(63, 144, 181, 0.25));
}

.tw-hero {
    aspect-ratio: 1.1;
}

.tw-list {
    display: grid;
    gap: 7px;
}

.tw-list p {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px;
    border-radius: 10px;
    border: 1px solid var(--line);
}

.tw-list i {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: rgba(107, 199, 209, 0.25);
    flex-shrink: 0;
}

.tw-list span,
.tw-pad {
    flex: 1;
    display: grid;
    gap: 6px;
}

.tw-cta {
    display: grid;
    place-items: center;
    height: 30px;
    border-radius: 999px;
    background: var(--grad-btn);
    color: #03141a;
    font-size: 11px;
}

.tw-screen--done {
    align-content: center;
    justify-items: center;
    text-align: center;
}

.tw-tick {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(79, 209, 165, 0.15);
    box-shadow: 0 0 0 8px rgba(79, 209, 165, 0.06);
}

.tw-tick svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--ok);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tw-screen--done .tw-pad {
    width: 80%;
    justify-items: center;
}

.tw-tabs {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 26px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 12px;
    background: rgba(148, 214, 224, 0.06);
}

.tw-tabs i {
    width: 14px;
    height: 4px;
    border-radius: 3px;
    background: rgba(169, 186, 200, 0.3);
    transition: background-color 0.3s, width 0.3s;
}

.tw-tabs i.is-on {
    width: 22px;
    background: var(--aqua);
}

.tw-sync {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 8px;
    width: 64px;
    transform: translateZ(60px);
}

.tw-sync span {
    padding: 5px 8px;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    background: rgba(7, 14, 21, 0.92);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--text);
}

.tw-sync i {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--aqua-2), transparent);
    opacity: 0.4;
}

.tw-sync.is-pulse i {
    animation: tw-pulse 0.9s var(--ease);
}

@keyframes tw-pulse {
    50% {
        opacity: 1;
        box-shadow: 0 0 14px var(--aqua);
    }
}

/* offerings as app icons */
.appgrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.appgrid .feature {
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
}

.appicon {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: linear-gradient(150deg, #9cf0f6, #3fa4ad 55%, #2b6f8e);
    box-shadow: 0 14px 30px -12px rgba(107, 199, 209, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.4s var(--ease);
}

.appicon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #03141a;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.appgrid .feature:hover .appicon {
    transform: translateY(-3px) rotate(-4deg);
}

/* the nine app types on a scrollable shelf */
.shelf__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.shelf__nav {
    display: none;
    gap: 8px;
}

.shelf.is-live .shelf__nav {
    display: flex;
}

.shelf__nav button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    color: var(--text);
    font-size: 18px;
    transition: border-color 0.2s, opacity 0.2s;
}

.shelf__nav button:hover {
    border-color: var(--aqua);
}

.shelf__nav button:disabled {
    opacity: 0.35;
    cursor: default;
}

.shelf__row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(340px, 82%);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 18px;
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
}

.shelf__card {
    scroll-snap-align: start;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.shelf__card img {
    width: 100%;
    aspect-ratio: 669 / 540;
    object-fit: cover;
    background: #050b10;
    border-bottom: 1px solid var(--line);
}

.shelf__card div {
    padding: 20px 22px 24px;
}

.shelf__card h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
}

.shelf__card p {
    font-size: 14.5px;
}

/* partner list with the original labels */
.partner-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.partner-list li {
    padding: 16px 18px;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--glass);
    font-size: 15px;
}

.partner-list strong {
    color: var(--text);
}

/* ======================================================================
   Digital marketing
   ====================================================================== */

/* hero: channels → funnel */
.fn {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--line-2);
    background: linear-gradient(170deg, rgba(16, 30, 42, 0.96), rgba(7, 14, 21, 0.98));
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), 0 0 60px -20px rgba(107, 199, 209, 0.35);
}

.fn-ch {
    display: grid;
    gap: 8px;
    align-content: center;
}

.fn-ch li {
    position: relative;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--text-2);
    transition: border-color 0.4s, color 0.4s, background-color 0.4s;
}

.fn-ch li i {
    position: absolute;
    right: -15px;
    top: 50%;
    width: 14px;
    height: 1px;
    background: var(--line-2);
}

.fn-ch li.is-on {
    color: var(--text);
    border-color: var(--aqua);
    background: rgba(107, 199, 209, 0.12);
}

.fn-ch li.is-on i {
    background: var(--aqua-2);
    box-shadow: 0 0 8px var(--aqua);
}

.fn-body {
    display: grid;
    gap: 12px;
}

.fn-steps {
    display: grid;
    gap: 6px;
}

.fn-steps li {
    --k: 0;
    width: calc(100% - var(--k) * 12%);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 9px;
    background: linear-gradient(90deg, rgba(107, 199, 209, calc(0.3 - var(--k) * 0.05)), rgba(63, 144, 181, 0.08));
    border: 1px solid var(--line);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    transition: border-color 0.4s, box-shadow 0.4s;
}

.fn-steps li.is-on {
    border-color: var(--aqua);
    box-shadow: 0 0 22px -6px var(--aqua);
}

.fn-dots {
    width: 34px;
    height: 6px;
    border-radius: 3px;
    background: repeating-linear-gradient(90deg, var(--aqua-2) 0 6px, transparent 6px 10px);
    opacity: 0.35;
}

.fn-steps li.is-on .fn-dots {
    opacity: 1;
    animation: fn-flow 0.8s linear infinite;
}

@keyframes fn-flow {
    to {
        background-position: 10px 0;
    }
}

.fn-chart {
    width: 100%;
    height: 70px;
    border-radius: 10px;
    background: rgba(148, 214, 224, 0.04);
}

.fn-area {
    fill: rgba(107, 199, 209, 0.12);
}

.fn-line {
    fill: none;
    stroke: var(--aqua-2);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
    animation: fn-draw 3.2s var(--ease) infinite;
}

@keyframes fn-draw {
    60%,
    100% {
        stroke-dashoffset: 0;
    }
}

.fn-note {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
    text-align: right;
}

/* services as social posts */
.posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.post {
    padding: 20px 22px 22px;
    display: grid;
    gap: 12px;
    align-content: start;
}

.post__head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
}

.post__head img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
}

.post__head small {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: var(--text-3);
}

.post h3 {
    font-size: 1.1rem;
}

.post p {
    font-size: 14.5px;
}

.post__actions {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.post__actions svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--text-3);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s, transform 0.3s var(--ease);
}

.post:hover .post__actions svg:first-child {
    stroke: var(--aqua-2);
    transform: scale(1.15);
}

/* solutions: channel list with a preview */
.chlist {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: start;
}

.chlist [role="tablist"] {
    display: grid;
    gap: 6px;
}

.chlist [role="tab"] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line);
    color: var(--text-2);
    font-weight: 600;
    text-align: left;
    transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}

.chlist [role="tab"] span {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 400;
    color: var(--aqua);
}

.chlist [role="tab"][aria-selected="true"] {
    color: var(--text);
    border-color: var(--aqua);
    background: linear-gradient(90deg, rgba(107, 199, 209, 0.16), transparent);
}

.chpanel {
    padding: clamp(18px, 3vw, 28px);
}

.chpanel[hidden] {
    display: none;
}

.chpanel img {
    width: 100%;
    border-radius: var(--r);
    background: #050b10;
    margin-bottom: 18px;
}

.chpanel h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

@media (min-width: 961px) {
    .chlist .chpanel {
        position: sticky;
        top: calc(var(--header-h) + 24px);
    }
}

html:not(.enhanced) .chlist [role="tablist"] {
    display: none;
}

html:not(.enhanced) .chlist {
    grid-template-columns: minmax(0, 1fr);
}

html:not(.enhanced) .chpanel[hidden] {
    display: block;
}

/* ======================================================================
   Domain & hosting
   ====================================================================== */

/* hero: domain → DNS → server */
.dns {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line-2);
    background: linear-gradient(170deg, rgba(16, 30, 42, 0.96), rgba(7, 14, 21, 0.98));
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), 0 0 60px -20px rgba(107, 199, 209, 0.35);
}

.dns-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(4, 8, 12, 0.6);
    font-family: var(--mono);
    font-size: 14px;
    color: var(--text);
}

.dns-lock svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--text-3);
    stroke-width: 1.8;
    stroke-linecap: round;
    transition: stroke 0.4s;
}

.dns-shackle {
    transform: translateY(-3px);
    transition: transform 0.4s var(--ease);
}

.dns.is-secure .dns-lock svg {
    stroke: var(--ok);
}

.dns.is-secure .dns-shackle {
    transform: none;
}

.dns-caret {
    width: 2px;
    height: 18px;
    margin-left: -8px;
    background: var(--aqua-2);
    animation: caret 1s steps(1) infinite;
}

@keyframes caret {
    50% {
        opacity: 0;
    }
}

.dns-path {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.dns-path li {
    position: relative;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid var(--line);
    text-align: center;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
    transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}

.dns-path li + li::before {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    width: 10px;
    height: 1px;
    background: var(--line-2);
}

.dns-path li.is-on {
    color: var(--text);
    border-color: var(--aqua);
    background: rgba(107, 199, 209, 0.12);
}

.rk {
    display: grid;
    gap: 6px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(4, 8, 12, 0.5);
}

.rk-unit {
    display: grid;
    grid-template-columns: 8px 8px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 7px;
    background: linear-gradient(90deg, rgba(148, 214, 224, 0.08), rgba(148, 214, 224, 0.03));
    border: 1px solid var(--line);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.rk-unit > i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 8px var(--ok);
}

.rk-unit > i + i {
    background: var(--aqua);
    box-shadow: 0 0 8px var(--aqua);
    animation: blink 1.6s steps(2) infinite;
}

@keyframes blink {
    50% {
        opacity: 0.25;
    }
}

.rk-unit b {
    height: 6px;
    border-radius: 3px;
    background: repeating-linear-gradient(90deg, rgba(169, 186, 200, 0.4) 0 2px, transparent 2px 5px);
}

.rk-unit.is-on {
    border-color: var(--aqua);
    box-shadow: 0 0 20px -6px var(--aqua);
}

.dns-mon {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.dns-mon small {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
}

.dns-mon svg {
    width: 100%;
    height: 34px;
}

.dns-mon path {
    fill: none;
    stroke: var(--ok);
    stroke-width: 1.8;
    vector-effect: non-scaling-stroke;
}

.dns-mon__base {
    opacity: 0.25;
}

.dns-mon__beat {
    stroke-dasharray: 90 400;
    animation: mon 2.4s linear infinite;
    filter: drop-shadow(0 0 3px var(--ok));
}

@keyframes mon {
    from {
        stroke-dashoffset: 460;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* hosting tiers */
.tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: end;
}

.tier {
    padding: 22px;
    display: grid;
    gap: 12px;
}

.tier__stack {
    display: grid;
    gap: 5px;
    margin-bottom: 6px;
}

.tier__stack i {
    height: 12px;
    border-radius: 4px;
    border: 1px solid var(--line-2);
    background: linear-gradient(90deg, rgba(107, 199, 209, 0.25), rgba(63, 144, 181, 0.08));
}

.tier__stack i:nth-child(odd) {
    background: linear-gradient(90deg, rgba(156, 240, 246, 0.4), rgba(63, 144, 181, 0.12));
}

.tier h3 {
    font-size: 1.12rem;
}

.tier p {
    font-size: 14.5px;
}

.tier-extras {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* solutions grid with server-style headers */
.racks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rack-card {
    overflow: hidden;
}

.rack-card__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
}

.rack-card__bar i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 6px var(--ok);
}

.rack-card img {
    width: 100%;
    aspect-ratio: 669 / 540;
    object-fit: cover;
    background: #050b10;
}

.rack-card div {
    padding: 18px 20px 22px;
}

.rack-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.rack-card p {
    font-size: 14.5px;
}

/* ======================================================================
   Graphic designing
   ====================================================================== */

/* hero: artboard */
.ab {
    --step: 0;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 120px;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--line-2);
    background: linear-gradient(170deg, rgba(16, 30, 42, 0.96), rgba(7, 14, 21, 0.98));
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), 0 0 60px -20px rgba(107, 199, 209, 0.35);
}

.ab-tools {
    display: grid;
    align-content: start;
    gap: 8px;
}

.ab-tools i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background:
        linear-gradient(var(--text-3), var(--text-3)) center / 12px 2px no-repeat,
        rgba(148, 214, 224, 0.04);
}

.ab-tools .t-pen {
    background: radial-gradient(circle, var(--aqua) 3px, transparent 4px) center / 100% no-repeat, rgba(107, 199, 209, 0.14);
    border-color: var(--aqua);
}

.ab-canvas {
    position: relative;
    aspect-ratio: 1.05;
    border-radius: 10px;
    background:
        radial-gradient(rgba(140, 214, 224, 0.12) 1px, transparent 1px) 0 0 / 14px 14px,
        #070f16;
    overflow: hidden;
}

.ab-guide {
    position: absolute;
    background: rgba(255, 92, 170, 0.45);
}

.ab-guide--h {
    left: 0;
    right: 0;
    top: 42%;
    height: 1px;
}

.ab-guide--v {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
}

.ab-mark {
    position: absolute;
    left: 50%;
    top: 42%;
    width: 38%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
}

.ab-mark i {
    position: absolute;
    border-radius: 999px 999px 0 0;
    transition: transform 0.8s var(--ease), opacity 0.5s, background-color 0.6s;
    opacity: 0;
}

/* three strokes that echo the Afluex monogram */
.m-a {
    left: 0;
    top: 10%;
    width: 46%;
    height: 90%;
    border: 7px solid var(--text-3);
    border-bottom: 0;
    transform: translate(-60%, -30%) rotate(-20deg);
}

.m-b {
    left: 30%;
    top: 30%;
    width: 40%;
    height: 70%;
    border: 7px solid var(--text-3);
    border-bottom: 0;
    transform: translate(0, 60%);
}

.m-c {
    right: 0;
    top: 0;
    width: 16%;
    height: 100%;
    background: var(--text-3);
    border-radius: 999px 999px 4px 4px;
    transform: translate(70%, -40%) rotate(20deg);
}

.ab[data-step="1"] .m-a,
.ab[data-step="2"] .m-a,
.ab[data-step="3"] .m-a,
.ab[data-step="4"] .m-a,
.ab[data-step="2"] .m-b,
.ab[data-step="3"] .m-b,
.ab[data-step="4"] .m-b,
.ab[data-step="3"] .m-c,
.ab[data-step="4"] .m-c {
    opacity: 1;
    transform: none;
}

.ab[data-step="4"] .m-a,
.ab[data-step="4"] .m-b {
    border-color: var(--aqua);
}

.ab[data-step="4"] .m-c {
    background: var(--aqua-2);
}

.ab-word {
    position: absolute;
    left: 25%;
    right: 25%;
    bottom: 14%;
    display: grid;
    justify-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.5s;
}

.ab[data-step="4"] .ab-word,
.ab[data-step="3"] .ab-word {
    opacity: 1;
}

.ab-sel {
    position: absolute;
    left: 29%;
    top: 19%;
    width: 42%;
    height: 46%;
    border: 1px dashed var(--aqua-2);
    opacity: 0;
    transition: opacity 0.3s;
}

.ab[data-step="1"] .ab-sel,
.ab[data-step="2"] .ab-sel,
.ab[data-step="3"] .ab-sel {
    opacity: 1;
}

.ab-panel {
    display: grid;
    align-content: start;
    gap: 8px;
}

.ab-panel small {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
}

.ab-layers {
    display: grid;
    gap: 4px;
    margin-bottom: 6px;
}

.ab-layers li {
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 11.5px;
    color: var(--text-2);
    transition: background-color 0.3s, color 0.3s;
}

.ab-layers li.is-on {
    color: var(--text);
    background: rgba(107, 199, 209, 0.16);
}

.ab-swatches {
    display: flex;
    gap: 5px;
    margin-bottom: 6px;
}

.ab-swatches i {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--c);
    border: 1px solid var(--line-2);
}

.ab-type {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
}

/* services: swatch cards */
.swatches {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.swatch {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.swatch__chip {
    height: 70px;
    background: var(--c);
    position: relative;
}

.swatch__chip span {
    position: absolute;
    left: 18px;
    bottom: 17px;
    font-family: var(--mono);
    font-size: 16px;
    color: rgba(3, 20, 26, 0.75);
}

.swatch div {
    padding: 18px 20px 22px;
}

.swatch h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.swatch p {
    font-size: 14.5px;
}

/* solutions: moodboard */
.moodboard {
    columns: 3 300px;
    column-gap: 16px;
}

.mood {
    break-inside: avoid;
    margin-bottom: 16px;
    overflow: hidden;
    display: block;
}

.mood img {
    width: 100%;
    background: #050b10;
    transition: transform 0.6s var(--ease);
}

.mood:hover img {
    transform: scale(1.04);
}

.mood figcaption {
    padding: 16px 20px 20px;
}

.mood h3 {
    font-size: 1.08rem;
    margin-bottom: 6px;
}

.mood p {
    font-size: 14.5px;
}

.mood:nth-child(3n+2) img {
    aspect-ratio: 1;
    object-fit: cover;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1100px) {

    .partner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {

    .posts,
    .racks,
    .swatches,
    .tiers,
    .tier-extras {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chlist {
        grid-template-columns: minmax(0, 1fr);
    }

    .thumbs {
        --n: 3;
    }

    .thumb-panel {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {

    .sitemap__cols {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .sitemap__cols::before {
        display: none;
    }

    .sitemap__col {
        padding-top: 18px;
    }

    .sitemap__col::before {
        bottom: 0;
    }
}

@media (max-width: 640px) {

    .partner,
    .appgrid,
    .posts,
    .racks,
    .swatches,
    .tiers,
    .tier-extras {
        grid-template-columns: minmax(0, 1fr);
    }

    .fn {
        grid-template-columns: minmax(0, 1fr);
    }

    .fn-ch {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .fn-ch li {
        padding: 6px 10px;
        font-size: 11.5px;
    }

    .fn-ch li i {
        display: none;
    }

    .ab {
        grid-template-columns: minmax(0, 1fr);
    }

    .ab-panel {
        grid-template-columns: auto auto;
        justify-content: space-between;
        align-items: center;
        gap: 6px 14px;
    }

    .ab-panel small:first-child,
    .ab-layers {
        display: none;
    }

    .ab-tools {
        display: none;
    }

    .thumbs {
        --n: 2;
    }

    .shelf__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .rs-frame[data-mode="2"] {
        --w: 58%;
    }

    .viz[data-sviz] .float {
        display: none;
    }

    .tw-sync {
        width: 48px;
    }

    .tw-sync span {
        font-size: 10px;
        padding: 4px 5px;
    }
}

/* ---------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {

    .rs-frame,
    .tw-screen,
    .sitemap__cols::before,
    .sitemap__cols::after,
    .sitemap__col::before {
        transition: none;
    }

    .tw-sync.is-pulse i,
    .fn-steps li.is-on .fn-dots,
    .dns-caret,
    .rk-unit > i + i,
    .dns-mon__beat {
        animation: none;
    }

    .fn-line {
        animation: none;
        stroke-dashoffset: 0;
    }

    .dns-mon__beat {
        stroke-dasharray: none;
    }

    .ab-mark i,
    .mood img {
        transition: none;
    }
}

/* 200px animated icons are shown at their own size, never upscaled */
.thumbs [role="tab"] img.is-icon {
    object-fit: contain;
    padding: 14%;
}

.browser img.is-icon {
    width: auto;
    max-width: 200px;
    margin: clamp(28px, 6vw, 60px) auto;
}

.rack-card img.is-icon {
    object-fit: contain;
    padding: 16% 30%;
}
