:root {
    --bg: #010820;
    --bg-deep: #000514;
    --surface: #05122a;
    --surface-2: #081a38;
    --surface-3: #0c264b;
    --line: rgba(194, 214, 239, 0.13);
    --line-strong: rgba(194, 214, 239, 0.22);
    --text: #f7fbff;
    --muted: #a7b8cc;
    --muted-strong: #cbd7e5;
    --green: #0a84ff;
    --green-soft: #62c8ff;
    --blue: #006cff;
    --blue-soft: #8fd3ff;
    --purple: #4f7dff;
    --orange: #18a8ff;
    --danger: #ff7285;
    --success: #22a8ff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius: 24px;
    --radius-sm: 14px;
    --container: 1180px;
    --header-height: 84px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -20%, rgba(0, 108, 255, 0.1), transparent 32%),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

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

::selection {
    color: var(--bg-deep);
    background: var(--green-soft);
}

:focus-visible {
    outline: 3px solid rgba(10, 132, 255, 0.9);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    padding: 10px 16px;
    color: var(--bg-deep);
    background: var(--green);
    border-radius: 10px;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 112px 0;
}

.section-grid {
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 52px 52px;
    background-position: center;
}

.section-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.1), var(--bg) 96%);
}

.section-grid > * {
    position: relative;
    z-index: 1;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
}

.site-shell {
    min-height: 100vh;
}

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled,
.site-header.menu-visible {
    background: rgba(4, 11, 20, 0.86);
    border-color: var(--line);
    backdrop-filter: blur(20px);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(10, 132, 255, 0.13));
}

.brand-copy {
    display: grid;
    line-height: 1;
}

.brand-copy strong {
    font-size: 15px;
    letter-spacing: 0.18em;
}

.brand-copy small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    /* margin-left: auto; */
}

.desktop-nav > a,
.nav-popover > button,
.header-actions .text-link {
    position: relative;
    padding: 12px 0;
    color: var(--muted-strong);
    background: transparent;
    border: 0;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    transition: color 0.2s ease;
}

.desktop-nav > a::after,
.header-actions .text-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.22s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a[aria-current="page"],
.nav-popover > button:hover,
.header-actions .text-link:hover {
    color: var(--text);
}

.desktop-nav > a:hover::after,
.desktop-nav > a[aria-current="page"]::after,
.header-actions .text-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-popover {
    position: relative;
}

/* Invisible bridge between the trigger and submenu, preventing hover loss. */
.nav-popover::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -12px;
    right: -12px;
    height: 18px;
}

.nav-popover > button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nav-popover > button span {
    color: var(--green);
    font-size: 15px;
    transition: transform 0.2s ease;
}

.nav-popover > button[aria-expanded="true"] span {
    transform: rotate(180deg);
}

.services-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: min(790px, calc(100vw - 48px));
    padding: 24px;
    background: rgba(8, 20, 34, 0.98);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-menu.open,
.nav-popover:hover > .nav-menu,
.nav-popover:focus-within > .nav-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-popover:hover > button span,
.nav-popover:focus-within > button span {
    transform: rotate(180deg);
}


.about-menu {
    width: min(520px, calc(100vw - 48px));
}

.about-menu-grid {
    grid-template-columns: 1fr;
}

.services-menu-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 0 4px 18px;
    border-bottom: 1px solid var(--line);
}

.services-menu-head span {
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.services-menu-head strong {
    color: var(--muted-strong);
    font-size: 13px;
    font-weight: 600;
}

.services-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding-top: 14px;
}

.services-menu-grid a {
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 12px;
    border-radius: 13px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.services-menu-grid a:hover {
    background: rgba(255, 255, 255, 0.055);
    transform: translateX(3px);
}

.menu-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--green-soft);
    background: rgba(10, 132, 255, 0.08);
    border: 1px solid rgba(10, 132, 255, 0.15);
    border-radius: 11px;
}

.services-menu-grid a > span:last-child {
    display: grid;
}

.services-menu-grid strong {
    font-size: 13px;
}

.services-menu-grid small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    color: #ffffff;
    background: var(--green);
    border: 1px solid var(--green);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(10, 132, 255, 0.12);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    background: var(--green-soft);
    box-shadow: 0 14px 36px rgba(10, 132, 255, 0.2);
    transform: translateY(-2px);
}

.button .icon {
    transition: transform 0.2s ease;
}

.button:hover .icon {
    transform: translateX(3px);
}

.button-small {
    min-height: 42px;
    padding: 0 17px;
    font-size: 13px;
}

.button-ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.025);
    border-color: var(--line-strong);
    box-shadow: none;
}

.button-ghost:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.button-light {
    color: #06101a;
    background: #fff;
    border-color: #fff;
}

.button-light:hover {
    background: #eaf2f9;
}

.menu-button {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    cursor: pointer;
}

.mobile-panel {
    display: none;
}

.hero {
    min-height: 950px;
    padding-top: calc(var(--header-height) + 78px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
    gap: 66px;
    align-items: center;
    min-height: 650px;
}

.hero-copy {
    padding: 42px 0 60px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-bottom: 24px;
    padding: 8px 12px;
    color: var(--green-soft);
    background: rgba(10, 132, 255, 0.065);
    border: 1px solid rgba(10, 132, 255, 0.16);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow.simple {
    padding: 0;
    color: var(--green);
    background: transparent;
    border: 0;
    border-radius: 0;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(10, 132, 255, 0.1);
    animation: pulse-dot 2.2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 5px rgba(10, 132, 255, 0.08); }
    50% { box-shadow: 0 0 0 9px rgba(10, 132, 255, 0.01); }
}

.hero h1,
.service-hero h1,
.inner-hero h1,
.contact-hero h1,
.support-hero h1,
.not-found h1 {
    margin: 0;
    font-size: clamp(52px, 5.6vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.hero h1 span {
    color: transparent;
    background: linear-gradient(90deg, var(--green-soft), var(--blue-soft));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-lead {
    max-width: 650px;
    margin: 30px 0 0;
    color: var(--muted-strong);
    font-size: 19px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 35px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 25px;
    margin-top: 32px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-proof .icon {
    color: var(--green);
}

.hero-glow {
    position: absolute;
    z-index: 0;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.16;
    pointer-events: none;
}

.hero-glow-a {
    top: -320px;
    right: -220px;
    background: var(--green);
}

.hero-glow-b {
    bottom: -380px;
    left: -240px;
    background: var(--blue);
}

.code-stage {
    position: relative;
    perspective: 1200px;
}

.code-window {
    position: relative;
    overflow: hidden;
    background: rgba(7, 18, 31, 0.95);
    border: 1px solid rgba(172, 205, 236, 0.2);
    border-radius: 20px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5), 0 0 80px rgba(0, 108, 255, 0.08);
    transform: rotateY(-5deg) rotateX(2deg);
    transform-origin: center;
}

.code-window::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.04), transparent 32%, rgba(0, 108, 255, 0.05));
}

.code-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 52px;
    padding: 0 17px;
    color: #7690a8;
    background: #091523;
    border-bottom: 1px solid var(--line);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots i {
    width: 8px;
    height: 8px;
    background: #33465a;
    border-radius: 50%;
}

.window-dots i:nth-child(1) { background: #ff6f78; }
.window-dots i:nth-child(2) { background: #f4c85a; }
.window-dots i:nth-child(3) { background: #2fdb9b; }

.code-live {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    color: #9fb0c2;
}

.code-live i {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
}

.code-body {
    display: grid;
    grid-template-columns: 120px 1fr;
    min-height: 410px;
}

.code-body aside {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 20px 14px;
    color: #70849b;
    background: #08121e;
    border-right: 1px solid var(--line);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 9px;
}

.code-body aside > span {
    margin-bottom: 4px;
    color: #8094ab;
    letter-spacing: 0.14em;
}

.code-body aside b {
    color: #c2d0de;
    font-weight: 500;
}

.code-body aside em {
    padding-left: 10px;
    font-style: normal;
}

.editor {
    overflow: hidden;
}

.editor-tabs {
    display: flex;
    min-height: 40px;
    color: #71869d;
    background: #0a1624;
    border-bottom: 1px solid var(--line);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 9px;
}

.editor-tabs span {
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-right: 1px solid var(--line);
}

.editor-tabs span:first-child {
    color: #d6e2ed;
    background: #0c1929;
    border-top: 1px solid var(--green);
}

.editor pre {
    margin: 0;
    padding: 25px 24px;
    overflow: hidden;
    color: #cbd7e3;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    line-height: 2;
    white-space: pre;
}

.editor .line-no {
    display: inline-block;
    width: 28px;
    color: #3f5367;
    user-select: none;
}

.editor .kw { color: #c99bff; }
.editor .str { color: #82e6bd; }
.editor .fn { color: #73b9ff; }
.editor .bool { color: #ffbd7d; }

.code-terminal {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 52px;
    padding: 0 20px;
    color: #91a4b7;
    background: #06101b;
    border-top: 1px solid var(--line);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 9px;
}

.code-terminal div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.code-terminal span {
    color: var(--green);
}

.floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 165px;
    padding: 11px 14px;
    background: rgba(12, 27, 45, 0.94);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

.floating-card small,
.floating-card strong {
    display: block;
    line-height: 1.3;
}

.floating-card small {
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.floating-card strong {
    margin-top: 3px;
    font-size: 12px;
}

.mini-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--green-soft);
    background: rgba(10, 132, 255, 0.09);
    border-radius: 10px;
}

.float-card-one {
    right: -30px;
    bottom: 75px;
    animation: float 5s ease-in-out infinite;
}

.float-card-two {
    top: 76px;
    left: -45px;
    animation: float 5.7s 0.8s ease-in-out infinite;
}

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

.metric-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 40px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.metric-strip > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 112px;
    padding: 23px 30px;
    border-right: 1px solid var(--line);
}

.metric-strip > div:first-child {
    padding-left: 0;
}

.metric-strip > div:last-child {
    border-right: 0;
}

.metric-strip strong {
    color: var(--text);
    font-size: 25px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.metric-strip span {
    max-width: 190px;
    margin-top: 9px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.section-heading {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 52px;
}

.section-heading.compact {
    grid-template-columns: 1fr;
    margin-bottom: 38px;
}

.section-heading h2,
.sticky-copy h2,
.stack-copy h2,
.cta-panel h2,
.story-card h2,
.opening-card h2 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(38px, 4vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.section-heading p,
.sticky-copy > p,
.stack-copy > p,
.cta-panel p,
.story-card p,
.opening-card p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.section-services {
    padding-top: 135px;
    background: linear-gradient(180deg, var(--bg), #081421 50%, var(--bg));
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 28px;
    overflow: hidden;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    top: -160px;
    right: -160px;
    width: 300px;
    height: 300px;
    background: var(--card-accent, var(--green));
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.07;
    transition: opacity 0.24s ease;
}

.accent-green { --card-accent: var(--green); }
.accent-blue { --card-accent: var(--blue); }
.accent-purple { --card-accent: var(--purple); }
.accent-orange { --card-accent: var(--orange); }

.service-card:hover {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.067), rgba(255, 255, 255, 0.025));
    border-color: color-mix(in srgb, var(--card-accent) 45%, transparent);
    transform: translateY(-6px);
}

.service-card:hover::after {
    opacity: 0.13;
}

.service-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 40px;
    color: var(--card-accent, var(--green-soft));
    background: color-mix(in srgb, var(--card-accent, var(--green)) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--card-accent, var(--green)) 22%, transparent);
    border-radius: 15px;
}

.service-icon .icon {
    width: 24px;
    height: 24px;
}

.service-card > div:nth-child(2) {
    position: relative;
    z-index: 1;
}

.service-card > div:nth-child(2) > span {
    color: var(--card-accent, var(--green));
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
}

.service-card h3 {
    margin: 8px 0 12px;
    font-size: 22px;
    letter-spacing: -0.035em;
}

.service-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-link {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 30px;
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 750;
}

.service-card:hover .card-link {
    color: var(--text);
}

.service-card:hover .card-link .icon {
    transform: translateX(4px);
}

.card-link .icon {
    transition: transform 0.2s ease;
}

.section-development {
    padding-top: 145px;
}

.split-grid {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 100px;
    align-items: start;
}

.sticky-copy {
    position: sticky;
    top: calc(var(--header-height) + 40px);
}

.sticky-copy h2 {
    font-size: clamp(36px, 3.6vw, 54px);
}

.sticky-copy > p {
    margin-top: 24px;
}

.text-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 30px;
    color: var(--green-soft);
    font-size: 13px;
    font-weight: 750;
}

.text-cta:hover .icon {
    transform: translateX(4px);
}

.text-cta .icon {
    transition: transform 0.2s ease;
}

.steps-list {
    border-top: 1px solid var(--line);
}

.steps-list article {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 24px;
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
}

.steps-list article > span {
    color: var(--green);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
}

.steps-list h3 {
    margin: 0 0 9px;
    font-size: 25px;
    letter-spacing: -0.035em;
}

.steps-list p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.section-stack {
    padding-top: 70px;
}

.stack-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
    padding: 68px;
    background:
        radial-gradient(circle at 80% 0%, rgba(0, 108, 255, 0.12), transparent 38%),
        linear-gradient(145deg, #0b1a2c, #081522);
    border: 1px solid var(--line);
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.stack-copy h2 {
    font-size: clamp(34px, 3.5vw, 50px);
}

.stack-copy > p {
    margin-top: 20px;
}

.stack-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: center;
}

.stack-cloud span {
    padding: 11px 15px;
    color: #c8d7e7;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.stack-cloud span:hover {
    color: var(--green-soft);
    border-color: rgba(10, 132, 255, 0.25);
    transform: translateY(-2px);
}

.section-why {
    padding-top: 145px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.value-grid article {
    min-height: 265px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.value-grid article > .icon {
    width: 30px;
    height: 30px;
    color: var(--green);
}

.value-grid h3 {
    margin: 45px 0 12px;
    font-size: 20px;
    letter-spacing: -0.035em;
}

.value-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.cta-section {
    padding-top: 80px;
    padding-bottom: 125px;
}

.cta-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.28fr 0.72fr;
    gap: 80px;
    align-items: end;
    overflow: hidden;
    padding: 70px;
    color: #06101a;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.55), transparent 24%),
        linear-gradient(120deg, var(--green), #63e8ff);
    border-radius: 32px;
}

.cta-panel::after {
    content: "</>";
    position: absolute;
    top: -25px;
    right: 20px;
    color: rgba(6, 16, 26, 0.055);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 190px;
    font-weight: 900;
    line-height: 1;
}

.cta-panel > * {
    position: relative;
    z-index: 1;
}

.cta-panel .eyebrow.simple {
    color: #06152f;
}

.cta-panel h2 {
    font-size: clamp(38px, 4vw, 56px);
}

.cta-panel p {
    color: rgba(6, 16, 26, 0.72);
}

.cta-panel .button {
    margin-top: 24px;
}

/* Service pages */
.service-hero {
    min-height: 820px;
    padding: calc(var(--header-height) + 90px) 0 0;
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
    min-height: 570px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
}

.back-link:hover {
    color: var(--text);
}

.service-hero .eyebrow {
    display: flex;
}

.service-icon.small {
    width: 27px;
    height: 27px;
    margin: 0;
    border: 0;
    border-radius: 50%;
}

.service-icon.small .icon {
    width: 14px;
    height: 14px;
}

.service-hero h1 {
    max-width: 760px;
    font-size: clamp(48px, 5.2vw, 78px);
}

.service-hero-grid > div:first-child > p {
    max-width: 690px;
    margin: 27px 0 0;
    color: var(--muted-strong);
    font-size: 18px;
    line-height: 1.75;
}

.service-visual {
    display: grid;
    place-items: center;
    min-height: 500px;
}

.service-orbit {
    position: relative;
    width: 420px;
    height: 420px;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.service-orbit::before,
.service-orbit::after {
    content: "";
    position: absolute;
    inset: 65px;
    border: 1px dashed var(--line-strong);
    border-radius: 50%;
}

.service-orbit::after {
    inset: 130px;
    border-style: solid;
}

.orbit-center {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    color: var(--card-accent);
    background: #0d1c2f;
    border: 1px solid color-mix(in srgb, var(--card-accent) 35%, transparent);
    border-radius: 32px;
    box-shadow: 0 0 70px color-mix(in srgb, var(--card-accent) 16%, transparent);
    transform: translate(-50%, -50%) rotate(45deg);
}

.orbit-center .icon {
    width: 48px;
    height: 48px;
    transform: rotate(-45deg);
}

.service-orbit > span {
    --angle: calc(var(--i) * 60deg - 90deg);
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 110px;
    min-height: 42px;
    padding: 7px 10px;
    color: var(--muted-strong);
    background: rgba(10, 24, 40, 0.95);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    transform:
        translate(-50%, -50%)
        rotate(var(--angle))
        translateX(210px)
        rotate(calc(var(--angle) * -1));
}

.outcome-strip {
    display: flex;
    justify-content: center;
    gap: 55px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    margin-top: 40px;
}

.outcome-strip span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 650;
}

.outcome-strip .icon {
    color: var(--card-accent);
}

.deliverable-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.deliverable-grid article {
    min-height: 280px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.027);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.deliverable-grid article > span {
    color: var(--green);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
}

.deliverable-grid h3 {
    margin: 55px 0 13px;
    font-size: 21px;
    letter-spacing: -0.035em;
}

.deliverable-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.product-section {
    background: #081421;
}

.product-grid {
    align-items: center;
}

.product-grid h2 {
    margin: 0;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.product-grid > div:first-child > p {
    margin: 24px 0;
    color: var(--muted);
}

.check-list {
    display: grid;
    gap: 13px;
    margin: 27px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted-strong);
    font-size: 13px;
}

.check-list .icon {
    color: var(--green);
}

.sprint-board {
    padding: 24px;
    background: #0a1828;
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.board-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3px 18px;
    border-bottom: 1px solid var(--line);
}

.board-head strong {
    font-size: 14px;
}

.board-head span {
    color: var(--green);
    font-size: 10px;
}

.board-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 18px;
}

.board-columns > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.board-columns small {
    color: #71869a;
    font-size: 8px;
    letter-spacing: 0.1em;
}

.board-columns article {
    padding: 13px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.board-columns b,
.board-columns span {
    display: block;
}

.board-columns b {
    font-size: 10px;
    line-height: 1.4;
}

.board-columns span {
    margin-top: 14px;
    color: #7790a8;
    font-size: 8px;
}

.board-columns .done {
    border-color: rgba(10, 132, 255, 0.18);
}

.board-columns .done span {
    color: var(--green);
}

.service-method {
    padding-bottom: 60px;
}

.method-line {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
}

.method-line article {
    min-height: 185px;
    padding: 27px 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.method-line article:first-child {
    padding-left: 0;
}

.method-line article:last-child {
    border-right: 0;
}

.method-line article > span {
    color: var(--green);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
}

.method-line h3 {
    margin: 32px 0 8px;
    font-size: 20px;
}

.method-line p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

/* Inner pages */
.inner-hero {
    padding: calc(var(--header-height) + 120px) 0 110px;
}

.inner-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 100px;
    align-items: end;
}

.inner-hero h1 {
    max-width: 800px;
    font-size: clamp(50px, 5.5vw, 82px);
}

.inner-hero-grid > div:last-child p {
    margin: 0 0 17px;
    color: var(--muted-strong);
    font-size: 17px;
    line-height: 1.75;
}

.inner-hero-grid > div:last-child .button {
    margin-top: 20px;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.story-card {
    min-height: 430px;
    padding: 34px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.story-index {
    color: var(--green);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
}

.story-card h2 {
    margin-top: 155px;
    font-size: 30px;
}

.story-card p {
    margin-top: 18px;
    font-size: 14px;
}

.culture-section {
    background: #081421;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.principles-grid article {
    min-height: 245px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.principles-grid article > span {
    color: var(--green);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
}

.principles-grid h3 {
    margin: 55px 0 10px;
    font-size: 22px;
}

.principles-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.metric-strip.large {
    margin-top: 0;
}

.metric-strip.large > div {
    min-height: 165px;
}

.metric-strip.large strong {
    font-size: 45px;
}

.reason-list {
    border-top: 1px solid var(--line);
}

.reason-list article {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 30px;
    align-items: start;
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
}

.reason-list article > span {
    color: var(--green);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
}

.reason-list h2 {
    margin: 0 0 10px;
    font-size: 29px;
    letter-spacing: -0.04em;
}

.reason-list p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
}

.reason-tag {
    padding: 8px 11px;
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 10px;
    white-space: nowrap;
}

.opening-section {
    padding-top: 30px;
}

.opening-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    padding: 55px 60px;
    background: linear-gradient(145deg, #0d1c2f, #0a1828);
    border: 1px solid var(--line);
    border-radius: 30px;
}

.opening-card h2 {
    font-size: clamp(36px, 4vw, 52px);
}

.opening-card p {
    max-width: 740px;
    margin-top: 15px;
}

.opening-card .button {
    flex: 0 0 auto;
}

/* Contact */
.contact-hero {
    min-height: 900px;
    padding: calc(var(--header-height) + 95px) 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 75px;
    align-items: start;
}

.contact-copy {
    position: sticky;
    top: calc(var(--header-height) + 45px);
    padding-top: 24px;
}

.contact-hero h1 {
    max-width: 650px;
    font-size: clamp(47px, 5vw, 72px);
}

.contact-copy > p {
    max-width: 590px;
    margin: 27px 0 0;
    color: var(--muted-strong);
    font-size: 17px;
}

.contact-channels {
    display: grid;
    gap: 10px;
    margin-top: 45px;
}

.contact-channels > a,
.contact-channels > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 15px;
    transition: background 0.2s ease;
}

.contact-channels > a:hover {
    background: rgba(255, 255, 255, 0.035);
}

.contact-channels > a > span,
.contact-channels > div > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--green);
    background: rgba(10, 132, 255, 0.075);
    border: 1px solid rgba(10, 132, 255, 0.15);
    border-radius: 12px;
}

.contact-channels small,
.contact-channels strong {
    display: block;
}

.contact-channels small {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-channels strong {
    margin-top: 2px;
    font-size: 13px;
}

.form-card {
    padding: 34px;
    background: rgba(10, 24, 40, 0.92);
    border: 1px solid var(--line-strong);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.form-card form {
    display: grid;
    gap: 19px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.form-card label {
    display: grid;
    gap: 8px;
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 700;
}

.form-card label > span {
    color: var(--green);
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    color: var(--text);
    background: #081522;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    outline: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-card input,
.form-card select {
    min-height: 49px;
    padding: 0 14px;
}

.form-card textarea {
    min-height: 140px;
    padding: 13px 14px;
    resize: vertical;
}

.form-card input::placeholder,
.form-card textarea::placeholder {
    color: #60758b;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: rgba(10, 132, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.07);
}

.form-card select {
    color-scheme: dark;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 4px;
}

.form-submit p {
    max-width: 340px;
    margin: 0;
    color: var(--muted);
    font-size: 10px;
}

.form-submit p a {
    color: var(--muted-strong);
    text-decoration: underline;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 650;
}

.form-alert.success {
    color: var(--green-soft);
    background: rgba(10, 132, 255, 0.08);
    border: 1px solid rgba(10, 132, 255, 0.2);
}

.form-alert.error {
    color: #ffb6c0;
    background: rgba(255, 114, 133, 0.08);
    border: 1px solid rgba(255, 114, 133, 0.2);
}

.contact-info-section {
    padding-top: 20px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.info-cards article {
    min-height: 210px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.info-cards article > span {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    color: var(--green);
    background: rgba(10, 132, 255, 0.08);
    border-radius: 12px;
}

.info-cards h2 {
    margin: 28px 0 8px;
    font-size: 19px;
}

.info-cards p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* Support */
.support-hero {
    min-height: 760px;
    padding: calc(var(--header-height) + 115px) 0 100px;
}

.support-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 90px;
    align-items: center;
}

.support-hero h1 {
    max-width: 620px;
    font-size: clamp(50px, 5vw, 75px);
}

.support-grid > div:first-child > p {
    max-width: 570px;
    margin: 25px 0 0;
    color: var(--muted-strong);
    font-size: 17px;
}

.support-actions {
    display: grid;
    gap: 12px;
}

.support-action {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 19px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.support-action:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--line-strong);
    transform: translateX(5px);
}

.support-action.primary {
    background: rgba(10, 132, 255, 0.06);
    border-color: rgba(10, 132, 255, 0.2);
}

.support-action > span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: var(--green);
    background: rgba(10, 132, 255, 0.08);
    border-radius: 14px;
}

.support-action small,
.support-action strong {
    display: block;
}

.support-action small {
    color: var(--muted);
    font-size: 10px;
}

.support-action strong {
    margin-top: 3px;
    font-size: 14px;
}

.support-action > .icon {
    color: var(--muted);
}

/* Legal */
.legal-hero {
    padding: calc(var(--header-height) + 110px) 0 85px;
}

.legal-header {
    max-width: 900px;
}

.legal-header h1 {
    margin: 0;
    font-size: clamp(50px, 5vw, 76px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.legal-header p {
    max-width: 780px;
    margin: 25px 0 14px;
    color: var(--muted-strong);
    font-size: 17px;
}

.legal-header small {
    color: var(--muted);
    font-size: 11px;
}

.legal-section {
    padding-top: 75px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 80px;
    align-items: start;
}

.legal-layout aside {
    position: sticky;
    top: calc(var(--header-height) + 35px);
    display: grid;
    gap: 8px;
    padding: 23px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 17px;
}

.legal-layout aside strong {
    margin-bottom: 8px;
    font-size: 12px;
}

.legal-layout aside a {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.legal-layout aside a:hover {
    color: var(--green-soft);
}

.legal-content {
    max-width: 800px;
}

.legal-content section {
    padding: 0 0 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--line);
}

.legal-content section > span {
    color: var(--green);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
}

.legal-content h2 {
    margin: 12px 0 15px;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.legal-content p {
    margin: 0;
    color: var(--muted-strong);
    line-height: 1.85;
}

/* 404 */
.not-found {
    display: grid;
    place-items: center;
    min-height: 800px;
    padding: calc(var(--header-height) + 80px) 0 100px;
    text-align: center;
}

.not-found .container {
    display: grid;
    justify-items: center;
}

.error-code {
    color: var(--green);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 18px;
}

.not-found h1 {
    margin-top: 20px;
}

.not-found p {
    margin: 20px 0 0;
    color: var(--muted);
}

/* Footer */
.site-footer {
    padding: 80px 0 25px;
    background: var(--bg-deep);
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.65fr 0.9fr 0.9fr 1.2fr;
    gap: 60px;
    padding-bottom: 65px;
}

.footer-brand > p {
    max-width: 350px;
    margin: 24px 0;
    color: var(--muted);
    font-size: 13px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--muted-strong);
    font-size: 10px;
}

.social-links a:hover {
    color: var(--green-soft);
}

.social-links .icon {
    width: 10px;
    height: 10px;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-grid h2 {
    margin: 0 0 13px;
    color: var(--text);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) a,
.footer-contact span {
    color: var(--muted);
    font-size: 11px;
    transition: color 0.2s ease;
}

.footer-grid > div:not(.footer-brand) a:hover {
    color: var(--text);
}

.footer-contact a,
.footer-contact span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact .icon {
    margin-top: 2px;
    color: var(--green);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: #657a90;
    font-size: 10px;
}

.footer-bottom > div {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
}

.footer-bottom a:hover,
.link-button:hover {
    color: var(--text);
}

.link-button {
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.cookie-banner {
    position: fixed;
    z-index: 2000;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: min(calc(100% - 44px), 900px);
    margin-left: auto;
    padding: 20px;
    background: rgba(10, 24, 40, 0.98);
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner strong {
    font-size: 13px;
}

.cookie-banner p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

/* Reveal */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1120px) {
    :root {
        --container: 960px;
    }

    .desktop-nav {
        gap: 20px;
    }

    .header-actions .text-link {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 35px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .code-body {
        grid-template-columns: 95px 1fr;
    }

    .editor pre {
        padding: 23px 18px;
        font-size: 10px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-grid,
    .contact-grid {
        gap: 60px;
    }

    .value-grid,
    .deliverable-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-hero-grid {
        gap: 40px;
    }

    .service-orbit {
        width: 350px;
        height: 350px;
    }

    .service-orbit > span {
        transform:
            translate(-50%, -50%)
            rotate(var(--angle))
            translateX(175px)
            rotate(calc(var(--angle) * -1));
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-contact {
        grid-column: 2 / 4;
    }
}

@media (max-width: 900px) {
    html:not(.js) .site-header {
        position: relative;
        height: auto;
        background: var(--bg-deep);
    }

    html:not(.js) .menu-button {
        display: none;
    }

    html:not(.js) .mobile-panel {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        border-top: 1px solid var(--line);
    }

    :root {
        --header-height: 74px;
    }

    /* Keep the mobile panel relative to the viewport. Backdrop filters can
       turn fixed descendants into elements constrained by the header box. */
    .site-header.scrolled,
    .site-header.menu-visible {
        background: #040b14;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .section {
        padding: 85px 0;
    }

    .desktop-nav,
    .header-actions .button,
    .hide-mobile {
        display: none;
    }

    .menu-button {
        display: grid;
    }

    .mobile-panel {
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1001;
        display: block;
        height: calc(100vh - var(--header-height));
        height: calc(100dvh - var(--header-height));
        max-height: calc(100vh - var(--header-height));
        max-height: calc(100dvh - var(--header-height));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        background: #040b14;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .mobile-panel.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-panel-inner {
        display: grid;
        gap: 4px;
        padding-top: 28px;
        padding-bottom: 40px;
    }

    .mobile-panel a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 11px 4px;
        color: var(--muted-strong);
        border-bottom: 1px solid var(--line);
        font-size: 14px;
    }

    .mobile-panel .icon {
        color: var(--green);
    }

    .mobile-panel .button {
        margin-top: 18px;
        color: #ffffff;
        border-bottom: 0;
    }

    .mobile-label {
        margin-top: 15px;
        padding: 10px 4px 4px;
        color: var(--green);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 55px);
    }

    .hero-grid,
    .service-hero-grid,
    .inner-hero-grid,
    .contact-grid,
    .support-grid,
    .split-grid,
    .stack-panel,
    .cta-panel {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 5px;
    }

    .hero-copy {
        padding-bottom: 35px;
    }

    .hero h1,
    .service-hero h1,
    .inner-hero h1,
    .contact-hero h1,
    .support-hero h1 {
        font-size: clamp(47px, 10vw, 70px);
    }

    .code-stage {
        width: min(100%, 660px);
        margin: 15px auto 0;
    }

    .code-window {
        transform: none;
    }

    .float-card-two {
        left: -10px;
    }

    .float-card-one {
        right: -10px;
    }

    .metric-strip {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 70px;
    }

    .metric-strip > div:nth-child(2) {
        border-right: 0;
    }

    .metric-strip > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .metric-strip > div:nth-child(3) {
        padding-left: 0;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .sticky-copy,
    .contact-copy,
    .legal-layout aside {
        position: static;
    }

    .section-development .split-grid,
    .culture-section .split-grid {
        gap: 45px;
    }

    .stack-panel {
        gap: 35px;
        padding: 45px;
    }

    .cta-panel {
        gap: 25px;
        padding: 48px;
    }

    .service-hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 65px);
    }

    .service-visual {
        min-height: 430px;
    }

    .outcome-strip {
        flex-wrap: wrap;
        gap: 15px 30px;
    }

    .inner-hero-grid {
        gap: 35px;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-card {
        min-height: 320px;
    }

    .story-card h2 {
        margin-top: 90px;
    }

    .reason-list article {
        grid-template-columns: 55px 1fr;
    }

    .reason-tag {
        grid-column: 2;
        justify-self: start;
    }

    .opening-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }

    .contact-hero {
        padding-top: calc(var(--header-height) + 70px);
    }

    .contact-grid {
        gap: 45px;
    }

    .contact-copy {
        padding-top: 0;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .legal-layout aside {
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-layout aside strong {
        grid-column: 1 / -1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-contact {
        grid-column: auto;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .brand-copy small {
        display: none;
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .hero {
        padding-top: calc(var(--header-height) + 42px);
    }

    .hero h1,
    .service-hero h1,
    .inner-hero h1,
    .contact-hero h1,
    .support-hero h1,
    .not-found h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .hero-lead,
    .service-hero-grid > div:first-child > p,
    .inner-hero-grid > div:last-child p,
    .contact-copy > p,
    .support-grid > div:first-child > p {
        font-size: 15px;
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-proof {
        display: grid;
    }

    .code-body {
        grid-template-columns: 1fr;
        min-height: 325px;
    }

    .code-body aside {
        display: none;
    }

    .code-topbar {
        grid-template-columns: auto 1fr;
        gap: 12px;
    }

    .code-topbar > span:nth-child(2) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .code-live {
        display: none;
    }

    .editor pre {
        padding: 18px 13px;
        font-size: 8.7px;
        line-height: 1.95;
    }

    .code-terminal {
        gap: 10px;
        overflow: hidden;
        font-size: 7px;
    }

    .floating-card {
        display: none;
    }

    .metric-strip {
        margin-top: 42px;
    }

    .metric-strip > div {
        min-height: 104px;
        padding: 18px;
    }

    .metric-strip strong {
        font-size: 22px;
    }

    .metric-strip span {
        font-size: 9px;
    }

    .section-heading h2,
    .sticky-copy h2,
    .stack-copy h2,
    .cta-panel h2,
    .story-card h2,
    .opening-card h2,
    .product-grid h2 {
        font-size: clamp(34px, 10vw, 47px);
    }

    .service-grid,
    .value-grid,
    .deliverable-grid,
    .principles-grid,
    .info-cards,
    .form-row,
    .board-columns {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 330px;
    }

    .steps-list article {
        grid-template-columns: 45px 1fr;
    }

    .stack-panel,
    .cta-panel,
    .opening-card {
        padding: 32px 25px;
        border-radius: 23px;
    }

    .stack-cloud span {
        padding: 9px 12px;
        font-size: 9px;
    }

    .service-visual {
        min-height: 370px;
        overflow: hidden;
    }

    .service-orbit {
        width: 280px;
        height: 280px;
    }

    .service-orbit::before {
        inset: 45px;
    }

    .service-orbit::after {
        inset: 92px;
    }

    .orbit-center {
        width: 90px;
        height: 90px;
        border-radius: 25px;
    }

    .orbit-center .icon {
        width: 38px;
        height: 38px;
    }

    .service-orbit > span {
        width: 88px;
        min-height: 34px;
        padding: 5px 7px;
        font-size: 8px;
        transform:
            translate(-50%, -50%)
            rotate(var(--angle))
            translateX(140px)
            rotate(calc(var(--angle) * -1));
    }

    .outcome-strip {
        justify-content: flex-start;
    }

    .deliverable-grid article {
        min-height: 230px;
    }

    .deliverable-grid h3 {
        margin-top: 38px;
    }

    .method-line {
        grid-template-columns: repeat(2, 1fr);
    }

    .method-line article:nth-child(2) {
        border-right: 0;
    }

    .method-line article:nth-child(3) {
        padding-left: 0;
    }

    .story-card {
        min-height: 285px;
    }

    .metric-strip.large strong {
        font-size: 34px;
    }

    .reason-list article {
        grid-template-columns: 35px 1fr;
        gap: 18px;
        padding: 35px 0;
    }

    .reason-list h2 {
        font-size: 24px;
    }

    .form-card {
        padding: 22px;
        border-radius: 20px;
    }

    .form-submit {
        align-items: stretch;
        flex-direction: column;
    }

    .support-action {
        grid-template-columns: 44px 1fr auto;
        padding: 15px;
    }

    .support-action > span {
        width: 44px;
        height: 44px;
    }

    .legal-layout aside {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
    }

    .cookie-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* Local SEO pages */
.local-hero .hero-glow-b {
    top: 34%;
    right: 12%;
    left: auto;
    width: 360px;
    height: 360px;
    background: var(--card-accent);
    opacity: 0.08;
}

.local-solutions .deliverable-grid article {
    display: flex;
    flex-direction: column;
}

.local-solutions .deliverable-grid p {
    flex: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--green-soft);
    font-size: 11px;
    font-weight: 700;
}

.card-link .icon {
    width: 15px;
    height: 15px;
}

.local-ribeirao-preto .card-link {
    color: #8fc7ff;
}

.local-business-section {
    padding-bottom: 70px;
}

.local-method {
    padding-top: 80px;
}

.local-faq-section {
    padding-top: 80px;
    padding-bottom: 70px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018), transparent);
}

.local-faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 90px;
    align-items: start;
}

.local-faq-copy {
    position: sticky;
    top: calc(var(--header-height) + 36px);
}

.local-faq-copy h2 {
    max-width: 570px;
    margin: 0;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.055em;
}

.local-faq-copy p {
    max-width: 520px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.local-faq-list {
    border-top: 1px solid var(--line);
}

.local-faq-list details {
    border-bottom: 1px solid var(--line);
}

.local-faq-list summary {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 28px 0;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.local-faq-list summary::-webkit-details-marker {
    display: none;
}

.local-faq-list summary span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: var(--green);
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.local-ribeirao-preto .local-faq-list summary span {
    color: var(--blue);
}

.local-faq-list details[open] summary span {
    transform: rotate(45deg);
}

.local-faq-list details p {
    max-width: 720px;
    margin: -4px 55px 27px 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 980px) {
    .local-faq-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .local-faq-copy {
        position: static;
    }
}

@media (max-width: 620px) {
    .local-faq-section,
    .local-method {
        padding-top: 55px;
    }

    .local-faq-copy h2 {
        font-size: clamp(34px, 10vw, 47px);
    }

    .local-faq-list summary {
        padding: 23px 0;
        font-size: 15px;
    }

    .local-faq-list details p {
        margin-right: 0;
    }
}

/* ============================================================
   TAH TECNOLOGIA - IDENTIDADE 2026
   Azul elétrico + azul-marinho, mantendo a estrutura responsiva.
   ============================================================ */

:root {
    --tah-navy: #010820;
    --tah-navy-2: #020d28;
    --tah-blue: #0a84ff;
    --tah-blue-deep: #0064ff;
    --tah-cyan: #62c8ff;
    --tah-ice: #eaf6ff;
}

body {
    background:
        radial-gradient(circle at 78% -8%, rgba(0, 108, 255, 0.16), transparent 28%),
        radial-gradient(circle at 18% 18%, rgba(98, 200, 255, 0.05), transparent 24%),
        var(--bg);
}

::selection {
    color: #fff;
    background: var(--tah-blue);
}

:focus-visible {
    outline-color: rgba(98, 200, 255, 0.95);
}

.site-header.scrolled,
.site-header.menu-visible {
    background: rgba(1, 8, 32, 0.9);
    border-color: rgba(98, 200, 255, 0.12);
}

.brand-tah {
    gap: 0;
}

.brand-tah img,
.brand-tah .brand-wordmark {
    width: 120px;
    height: auto;
    max-height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 12px 30px rgba(0, 108, 255, 0.22));
}

.footer-logo img {
    width: 220px;
    max-height: none;
}

.desktop-nav > a::after,
.header-actions .text-link::after {
    background: linear-gradient(90deg, var(--tah-blue), var(--tah-cyan));
}

.nav-popover > button span,
.services-menu-head span,
.eyebrow.simple,
.card-link,
.text-cta,
.value-grid article > .icon,
.error-code,
.local-faq-list summary span {
    color: var(--tah-blue);
}

.services-menu {
    background: rgba(2, 13, 40, 0.98);
    border-color: rgba(98, 200, 255, 0.16);
}

.menu-icon,
.mini-icon {
    color: var(--tah-cyan);
    background: rgba(10, 132, 255, 0.09);
    border-color: rgba(98, 200, 255, 0.17);
}

.button {
    color: #fff;
    background: linear-gradient(135deg, var(--tah-blue-deep), var(--tah-blue));
    border-color: rgba(98, 200, 255, 0.35);
    box-shadow: 0 14px 38px rgba(0, 108, 255, 0.22);
}

.button:hover {
    color: #fff;
    background: linear-gradient(135deg, #0876ff, #24a2ff);
    box-shadow: 0 18px 44px rgba(0, 108, 255, 0.3);
}

.button-ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(98, 200, 255, 0.18);
    box-shadow: none;
}

.button-light {
    color: #03102c;
    background: #fff;
    border-color: #fff;
    box-shadow: 0 15px 38px rgba(0, 0, 0, 0.14);
}

.tah-hero {
    background-image:
        linear-gradient(rgba(98, 200, 255, 0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(98, 200, 255, 0.024) 1px, transparent 1px);
}

.hero-brandline {
    margin: 0 0 14px;
    color: rgba(143, 211, 255, 0.72);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3em;
}

.tah-hero .hero-copy h1 {
    font-size: clamp(50px, 5.1vw, 78px);
}

.tah-hero .hero-copy h1 span {
    background: linear-gradient(90deg, #ffffff 0%, var(--tah-cyan) 40%, var(--tah-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-glow-a {
    background: var(--tah-blue);
}

.hero-glow-b {
    background: var(--tah-cyan);
}

.tah-stage {
    padding-top: 96px;
}

.tah-code-window {
    border-color: rgba(98, 200, 255, 0.18);
    background: rgba(2, 12, 36, 0.96);
    box-shadow: 0 42px 125px rgba(0, 0, 0, 0.5), 0 0 90px rgba(0, 108, 255, 0.12);
}

.tah-orbit {
    position: absolute;
    z-index: 5;
    top: -14px;
    left: 50%;
    width: 310px;
    height: 210px;
    transform: translateX(-50%);
    pointer-events: none;
}

.tah-orbit::before,
.tah-orbit::after {
    content: "";
    position: absolute;
    inset: 28px 34px;
    border: 1px solid rgba(98, 200, 255, 0.18);
    border-radius: 50%;
    transform: rotate(-9deg);
}

.tah-orbit::after {
    inset: 50px 64px;
    border-color: rgba(10, 132, 255, 0.13);
    transform: rotate(14deg);
}

.tah-orbit-logo {
    position: absolute;
    z-index: 2;
    top: 63px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.07em;
    text-shadow: 0 0 35px rgba(10, 132, 255, 0.45);
}

.orbit-node {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    color: var(--tah-ice);
    background: rgba(4, 20, 53, 0.92);
    border: 1px solid rgba(98, 200, 255, 0.17);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
    font-size: 9px;
}

.orbit-node .icon { color: var(--tah-cyan); }
.orbit-node small { font-size: 9px; }
.node-dev { top: 12px; left: 40px; }
.node-cloud { top: 24px; right: 26px; }
.node-infra { bottom: 30px; left: 2px; }
.node-auto { right: 0; bottom: 22px; }

.section-services {
    background:
        radial-gradient(circle at 82% 15%, rgba(0, 108, 255, 0.08), transparent 30%),
        linear-gradient(180deg, var(--bg), #03102a 50%, var(--bg));
}

.service-card {
    background: linear-gradient(150deg, rgba(10, 132, 255, 0.055), rgba(255, 255, 255, 0.016));
    border-color: rgba(143, 211, 255, 0.11);
}

.accent-green { --card-accent: #0a84ff; }
.accent-blue { --card-accent: #38a9ff; }
.accent-purple { --card-accent: #597cff; }
.accent-orange { --card-accent: #62c8ff; }

.tah-manifesto-section {
    padding-top: 58px;
    padding-bottom: 58px;
}

.tah-manifesto {
    display: grid;
    grid-template-columns: 0.52fr 1fr;
    gap: 72px;
    align-items: center;
    padding: 62px 68px;
    background:
        radial-gradient(circle at 12% 50%, rgba(10, 132, 255, 0.2), transparent 32%),
        linear-gradient(135deg, rgba(7, 29, 66, 0.96), rgba(2, 11, 33, 0.96));
    border: 1px solid rgba(98, 200, 255, 0.15);
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.tah-manifesto-mark {
    display: grid;
    place-items: center;
    min-height: 245px;
    color: transparent;
    background: linear-gradient(135deg, #fff, var(--tah-cyan) 48%, var(--tah-blue));
    -webkit-background-clip: text;
    background-clip: text;
    border: 1px solid rgba(98, 200, 255, 0.14);
    border-radius: 26px;
    font-size: clamp(76px, 10vw, 150px);
    font-weight: 950;
    letter-spacing: -0.09em;
    box-shadow: inset 0 0 70px rgba(0, 108, 255, 0.06);
    padding: 20px;
}

.tah-manifesto h2,
.tah-origin-grid h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.tah-manifesto p,
.tah-origin-grid p {
    color: var(--muted);
    line-height: 1.8;
}

.tah-manifesto .text-cta { margin-top: 12px; }

.stack-panel {
    background:
        radial-gradient(circle at 82% 0%, rgba(0, 108, 255, 0.18), transparent 38%),
        linear-gradient(145deg, #061632, #020d24);
    border-color: rgba(98, 200, 255, 0.13);
}

.cta-panel {
    color: #fff;
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.2), transparent 24%),
        linear-gradient(120deg, #0059dc, #0a84ff 58%, #49baff);
}

.cta-panel::after {
    content: "TAH";
    color: rgba(255, 255, 255, 0.08);
    font-size: 170px;
    letter-spacing: -0.08em;
}

.cta-panel .eyebrow.simple,
.cta-panel p {
    color: rgba(255, 255, 255, 0.82);
}

.tah-inner-hero {
    background-image:
        linear-gradient(rgba(98, 200, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(98, 200, 255, 0.02) 1px, transparent 1px);
}

.tah-origin-section {
    padding-top: 78px;
    padding-bottom: 78px;
}

.tah-origin-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.75fr) 1.25fr;
    gap: 80px;
    align-items: center;
}

.tah-origin-mark {
    display: grid;
    place-items: center;
    min-height: 330px;
    padding: 42px;
    background:
        radial-gradient(circle at 50% 40%, rgba(0, 108, 255, 0.2), transparent 42%),
        #020b22;
    border: 1px solid rgba(98, 200, 255, 0.14);
    border-radius: 30px;
}

.tah-origin-mark img {
    width: min(100%, 430px);
    filter: drop-shadow(0 20px 45px rgba(0, 108, 255, 0.24));
}

.tah-footer {
    background:
        radial-gradient(circle at 15% 0%, rgba(0, 108, 255, 0.08), transparent 22%),
        var(--bg-deep);
}

.floating-whatsapp {
    position: fixed;
    z-index: 950;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 16px;
    color: #fff;
    background: rgba(4, 27, 65, 0.94);
    border: 1px solid rgba(98, 200, 255, 0.22);
    border-radius: 999px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32), 0 0 32px rgba(0, 108, 255, 0.12);
    backdrop-filter: blur(14px);
    font-size: 12px;
    font-weight: 800;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
    background: rgba(0, 100, 225, 0.96);
    border-color: rgba(143, 211, 255, 0.45);
}

.floating-whatsapp .icon {
    color: var(--tah-cyan);
}

@media (max-width: 1100px) {
    .tah-orbit { display: none; }
    .tah-stage { padding-top: 0; }
    .tah-manifesto { grid-template-columns: 1fr; gap: 35px; }
    .tah-manifesto-mark { min-height: 190px; }
}

@media (max-width: 980px) {
    .brand-tah img,
    .brand-tah .brand-wordmark { width: 150px; }
    .tah-origin-grid { grid-template-columns: 1fr; gap: 38px; }
    .tah-origin-mark { min-height: 250px; }
}

@media (max-width: 620px) {
    .brand-tah img,
    .brand-tah .brand-wordmark { width: 128px; }
    .tah-hero .hero-copy h1 { font-size: clamp(42px, 13vw, 58px); }
    .hero-brandline { letter-spacing: 0.2em; }
    .tah-manifesto { padding: 38px 24px; border-radius: 24px; }
    .tah-manifesto-mark { min-height: 150px; font-size: 78px; }
    .tah-origin-mark { min-height: 210px; padding: 28px; }
    .floating-whatsapp { right: 14px; bottom: 14px; padding: 0 13px; }
    .floating-whatsapp span { display: none; }
}

/* =========================================================
   TAH - SCROLL DRIVEN HOME HERO
   ========================================================= */
.sd-hero {
    --sd-progress: 0;
    --sd-accent: #0a84ff;
    position: relative;
    min-height: 430svh;
    padding: 0;
    overflow: clip;
    background:
        radial-gradient(circle at 82% 24%, rgba(0, 108, 255, 0.14), transparent 27%),
        radial-gradient(circle at 16% 65%, rgba(98, 200, 255, 0.07), transparent 30%),
        #010820;
}

.sd-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(98, 200, 255, 0.021) 1px, transparent 1px),
        linear-gradient(90deg, rgba(98, 200, 255, 0.021) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, #000 0 30%, transparent 78%);
}

.sd-hero.section-grid::after {
    position: fixed;
    height: 100svh;
    background: linear-gradient(180deg, transparent 65%, rgba(1, 8, 32, 0.7));
}

.sd-hero-glow {
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.13;
    pointer-events: none;
}

.sd-glow-one {
    top: 4%;
    right: -350px;
    background: #006cff;
}

.sd-glow-two {
    top: 48%;
    left: -420px;
    background: #62c8ff;
}

.sd-sticky {
    position: sticky;
    z-index: 3;
    top: 0;
    height: 100svh;
    min-height: 690px;
    padding: calc(var(--header-height) + 18px) 0 22px;
}

.sd-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%;
}

.sd-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 28px;
    color: rgba(143, 211, 255, 0.55);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.24em;
}

.sd-topline-counter {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    letter-spacing: 0.08em;
}

.sd-topline-counter b {
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

.sd-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(530px, 1.08fr);
    gap: 68px;
    min-height: 0;
    align-items: center;
}

.sd-copy-stack {
    display: grid;
    grid-template-rows: auto minmax(360px, 1fr) auto;
    min-width: 0;
    min-height: 555px;
    padding: 26px 0 20px;
}

.sd-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 8px 12px;
    color: #8fd3ff;
    background: rgba(10, 132, 255, 0.065);
    border: 1px solid rgba(98, 200, 255, 0.17);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.105em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.sd-copy-panel {
    grid-row: 2;
    grid-column: 1;
    align-self: center;
    max-width: 610px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(34px);
    filter: blur(8px);
    transition: opacity 0.5s ease, transform 0.58s cubic-bezier(.2,.78,.2,1), filter 0.5s ease;
}

.sd-copy-panel.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    filter: blur(0);
}

.sd-service-index {
    display: block;
    margin-bottom: 17px;
    color: #62c8ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.sd-copy-panel h1 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(49px, 4.85vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.063em;
}

.sd-copy-panel h1 span {
    color: transparent;
    background: linear-gradient(95deg, #bce8ff 0%, #4eb8ff 38%, #277dff 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.sd-copy-panel p {
    max-width: 590px;
    margin: 25px 0 0;
    color: #b7c7da;
    font-size: 17px;
    line-height: 1.72;
}

.sd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 23px;
}

.sd-tags span {
    padding: 6px 10px;
    color: #9fc7e7;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(143, 211, 255, 0.12);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
}

.sd-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    grid-row: 3;
    margin-top: 10px;
}

.sd-actions .button {
    min-height: 48px;
}

.sd-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c7d8e8;
    font-size: 12px;
    font-weight: 800;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sd-text-link:hover {
    color: #fff;
    transform: translateX(3px);
}

.sd-visual {
    position: relative;
    min-width: 0;
    height: min(59vh, 570px);
    min-height: 470px;
    perspective: 1300px;
}

.sd-stage-chip {
    position: absolute;
    z-index: 20;
    top: 2px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 10px;
    color: #dff3ff;
    background: rgba(3, 18, 50, 0.88);
    border: 1px solid rgba(98, 200, 255, 0.19);
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(15px);
    font-size: 10px;
    font-weight: 800;
}

.sd-stage-chip .icon { color: #62c8ff; }
.sd-stage-chip i {
    margin-left: 4px;
    padding-left: 8px;
    color: #66d8a0;
    border-left: 1px solid rgba(143, 211, 255, 0.14);
    font-size: 8px;
    font-style: normal;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sd-scene {
    position: absolute;
    inset: 40px 0 0;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(45px, 0, -90px) scale(0.955);
    filter: blur(9px);
    transition: opacity 0.52s ease, transform 0.68s cubic-bezier(.2,.78,.2,1), filter 0.48s ease;
}

.sd-scene.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.sd-window {
    position: relative;
    width: 94%;
    height: 88%;
    overflow: hidden;
    background: rgba(2, 12, 36, 0.97);
    border: 1px solid rgba(98, 200, 255, 0.18);
    border-radius: 20px;
    box-shadow: 0 42px 120px rgba(0, 0, 0, 0.48), 0 0 70px rgba(0, 108, 255, 0.11);
    transform: rotateY(-3.5deg) rotateX(1deg);
    transform-origin: center;
}

.sd-window::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(98, 200, 255, 0.035), transparent 30%, rgba(0, 108, 255, 0.03));
}

.sd-window-bar {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 45px;
    padding: 0 14px;
    color: #6f87a5;
    background: #06142f;
    border-bottom: 1px solid rgba(143, 211, 255, 0.1);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 8px;
}

.sd-window-bar b {
    justify-self: end;
    color: #76a0c5;
    font-weight: 600;
}

.sd-window-bar b::first-letter { color: #4bd68c; }

.sd-dots { display: flex; gap: 5px; }
.sd-dots i { width: 6px; height: 6px; background: #294364; border-radius: 50%; }
.sd-dots i:first-child { background: #ff7285; }
.sd-dots i:nth-child(2) { background: #f2c35e; }
.sd-dots i:nth-child(3) { background: #43cc91; }

.sd-window-foot {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    min-height: 38px;
    padding: 0 13px;
    color: #6483a3;
    background: #06142f;
    border-top: 1px solid rgba(143, 211, 255, 0.09);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 7px;
}

.sd-window-foot span::first-letter { color: #5dc6ff; }

.sd-float-card {
    position: absolute;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 135px;
    padding: 10px 12px;
    color: #dceeff;
    background: rgba(6, 23, 52, 0.94);
    border: 1px solid rgba(143, 211, 255, 0.17);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(14px);
}

.sd-float-card .icon { color: #62c8ff; }
.sd-float-card > span { display: grid; }
.sd-float-card small { color: #7691ad; font-size: 7px; font-weight: 800; letter-spacing: 0.08em; }
.sd-float-card strong { font-size: 10px; line-height: 1.3; }
.sd-float-card > span:last-child:not(:first-child) { color: #62c8ff; font-size: 8px; }

/* Development visual */
.sd-dev-body {
    display: grid;
    grid-template-columns: 105px 1fr;
    height: calc(100% - 83px);
}

.sd-dev-body aside {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 12px;
    color: #637e9d;
    background: #040f26;
    border-right: 1px solid rgba(143, 211, 255, 0.08);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 7px;
    font-style: normal;
}

.sd-dev-body aside span { margin-bottom: 4px; color: #496682; font-size: 6px; letter-spacing: 0.1em; }
.sd-dev-body aside b { color: #b6ccdf; font-weight: 600; }
.sd-dev-body aside em { padding-left: 7px; font-style: normal; }
.sd-editor { min-width: 0; }
.sd-tabs { display: flex; min-height: 33px; color: #7890ad; background: #071632; border-bottom: 1px solid rgba(143, 211, 255, 0.08); font-size: 7px; }
.sd-tabs span { display:flex; align-items:center; padding:0 12px; border-right:1px solid rgba(143,211,255,.08); }
.sd-tabs span:first-child { color:#d6e8f7; background:#091b3b; }
.sd-editor pre { margin:0; padding:22px 18px; overflow:hidden; color:#a9bad0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 9px; line-height: 2; }
.sd-editor code > span { display:inline-block; width:28px; color:#3c5a7d; }
.sd-editor code b { color:#d994ff; font-weight:600; }
.sd-editor code i { color:#7fc6ff; font-style:normal; }
.sd-editor code u { color:#76a7ff; text-decoration:none; }
.sd-editor code q { color:#69e1b2; quotes:none; }
.sd-editor code strong { color:#ff9ad7; font-weight:600; }
.sd-dev-card-one { top: 8%; right: -8px; display:grid; gap:2px; }
.sd-dev-card-two { bottom: 11%; left: -8px; }

/* Infrastructure visual */
.sd-infra-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 14px;
    height: calc(100% - 83px);
    padding: 18px;
}

.sd-rack,
.sd-network-map,
.sd-health-panel,
.sd-ticket-panel {
    background: rgba(4, 16, 40, 0.84);
    border: 1px solid rgba(143, 211, 255, 0.09);
    border-radius: 13px;
}

.sd-rack { padding: 13px; }
.sd-rack-head { display:flex; justify-content:space-between; margin-bottom:12px; color:#9bb3cb; font-size:7px; font-weight:800; }
.sd-rack-head small { color:#4c6b8b; font-size:6px; }
.sd-server-unit { display:grid; grid-template-columns:8px 1fr auto; align-items:center; gap:7px; min-height:42px; margin-bottom:8px; padding:0 10px; color:#9eb5cc; background:#071b3e; border:1px solid rgba(143,211,255,.08); border-radius:7px; font-size:7px; }
.sd-server-unit i { width:6px; height:6px; background:#48d593; border-radius:50%; box-shadow:0 0 12px rgba(72,213,147,.45); }
.sd-server-unit b { font-size:7px; }
.sd-server-unit span { color:#62c8ff; }
.sd-switch-unit { display:flex; gap:5px; align-items:center; justify-content:center; min-height:52px; background:#061631; border-radius:8px; }
.sd-switch-unit i { width:9px; height:7px; background:#0c356a; border:1px solid #1760a9; border-radius:2px; }
.sd-switch-unit i:nth-child(2n) { background:#0a84ff; box-shadow:0 0 10px rgba(10,132,255,.35); }

.sd-network-map { position:relative; overflow:hidden; }
.sd-network-map::before { content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(98,200,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(98,200,255,.035) 1px,transparent 1px); background-size:24px 24px; }
.sd-map-title { position:absolute; z-index:3; top:12px; left:14px; color:#7895b3; font-size:7px; font-weight:800; letter-spacing:.08em; }
.sd-map-title span { color:#50d591; }
.sd-net-node { position:absolute; z-index:4; display:grid; place-items:center; gap:3px; width:58px; height:58px; color:#62c8ff; background:#071c41; border:1px solid rgba(98,200,255,.18); border-radius:50%; box-shadow:0 0 24px rgba(0,108,255,.08); }
.sd-net-node .icon { width:16px; height:16px; }
.sd-net-node small { color:#a7bdd1; font-size:6px; }
.net-cloud { top:18%; right:15%; }
.net-firewall { top:43%; left:16%; }
.net-core { top:50%; right:17%; }
.net-users { bottom:12%; left:43%; }
.net-line { position:absolute; z-index:2; height:1px; background:linear-gradient(90deg,rgba(98,200,255,.05),rgba(98,200,255,.55),rgba(98,200,255,.05)); transform-origin:left center; }
.line-a { top:45%; left:32%; width:115px; transform:rotate(-26deg); }
.line-b { top:57%; left:35%; width:100px; transform:rotate(10deg); }
.line-c { top:66%; left:53%; width:85px; transform:rotate(-32deg); }
.sd-infra-card-one { top:10%; left:-8px; }
.sd-infra-card-two { right:-7px; bottom:13%; display:grid; gap:1px; }
.sd-infra-card-two strong { color:#62c8ff; font-size:18px; }

/* Support visual */
.sd-support-body {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 14px;
    height: calc(100% - 83px);
    padding: 18px;
}

.sd-health-panel { padding:16px; }
.sd-health-score { display:grid; margin-bottom:15px; }
.sd-health-score span { color:#fff; font-size:34px; font-weight:900; line-height:1; letter-spacing:-.06em; }
.sd-health-score small { margin-top:5px; color:#6483a2; font-size:7px; }
.sd-health-bars { display:flex; align-items:end; gap:5px; height:72px; margin:8px 0 16px; padding:10px; background:#061631; border-radius:9px; }
.sd-health-bars i { flex:1; height:var(--h); min-height:10px; background:linear-gradient(180deg,#62c8ff,#0a84ff); border-radius:2px 2px 0 0; opacity:.8; }
.sd-health-row { display:flex; align-items:center; justify-content:space-between; padding:8px 0; color:#7793af; border-top:1px solid rgba(143,211,255,.07); font-size:7px; }
.sd-health-row b { color:#54d79a; font-size:6px; text-transform:uppercase; }
.sd-ticket-panel { padding:14px; }
.sd-ticket-title { display:flex; justify-content:space-between; margin-bottom:11px; color:#8da8c1; font-size:7px; font-weight:800; }
.sd-ticket-title small { color:#52d594; font-size:6px; }
.sd-ticket { display:grid; grid-template-columns:7px 1fr auto; align-items:center; gap:8px; min-height:55px; margin-bottom:8px; padding:0 9px; background:#071a3b; border:1px solid rgba(143,211,255,.07); border-radius:8px; }
.sd-ticket i { width:6px; height:6px; background:#4bd68c; border-radius:50%; }
.sd-ticket:first-of-type i { background:#62c8ff; box-shadow:0 0 10px rgba(98,200,255,.35); }
.sd-ticket div { display:grid; }
.sd-ticket strong { color:#b7cbdd; font-size:7px; }
.sd-ticket span { color:#587491; font-size:6px; }
.sd-ticket > b { color:#62c8ff; font-size:7px; }
.sd-support-card-one { top:8%; right:-6px; }
.sd-support-card-two { bottom:11%; left:-8px; display:grid; gap:1px; }
.sd-support-card-two strong { color:#62c8ff; font-size:18px; }

/* Automation visual */
.sd-flow-canvas {
    position: relative;
    height: calc(100% - 83px);
    overflow: hidden;
    background-image:
        linear-gradient(rgba(98,200,255,.033) 1px,transparent 1px),
        linear-gradient(90deg,rgba(98,200,255,.033) 1px,transparent 1px);
    background-size: 26px 26px;
}

.sd-flow-label { position:absolute; top:15px; left:17px; color:#6683a1; font-size:7px; font-weight:800; letter-spacing:.09em; }
.sd-flow-node { position:absolute; z-index:5; display:flex; align-items:center; gap:8px; min-width:128px; padding:10px 11px; color:#d7eaff; background:#071d42; border:1px solid rgba(98,200,255,.18); border-radius:10px; box-shadow:0 12px 30px rgba(0,0,0,.22); }
.sd-flow-node .icon { color:#62c8ff; }
.sd-flow-node span { display:grid; }
.sd-flow-node small { color:#5d7a9a; font-size:6px; font-weight:800; }
.sd-flow-node strong { font-size:8px; }
.flow-trigger { top:24%; left:7%; }
.flow-ai { top:23%; right:7%; }
.flow-data { bottom:16%; left:8%; }
.flow-action { right:7%; bottom:15%; }
.sd-ai-core { position:absolute; z-index:6; top:50%; left:50%; display:grid; place-items:center; width:105px; height:105px; color:#fff; background:radial-gradient(circle,#0a3b83,#061837 65%); border:1px solid rgba(98,200,255,.25); border-radius:50%; box-shadow:0 0 55px rgba(0,108,255,.22),inset 0 0 28px rgba(98,200,255,.08); transform:translate(-50%,-50%); }
.sd-ai-core::before,.sd-ai-core::after { content:""; position:absolute; inset:-16px; border:1px solid rgba(98,200,255,.12); border-radius:50%; animation:sd-orbit-pulse 3s ease-in-out infinite; }
.sd-ai-core::after { inset:-34px; animation-delay:-1.5s; }
.sd-ai-core span { font-size:25px; font-weight:950; letter-spacing:-.08em; }
.sd-ai-core small { margin-top:-28px; color:#6f9ec6; font-size:5px; letter-spacing:.12em; }
@keyframes sd-orbit-pulse { 0%,100%{transform:scale(.96);opacity:.4}50%{transform:scale(1.04);opacity:1} }
.sd-flow-line { position:absolute; z-index:2; width:1px; background:linear-gradient(180deg,transparent,#268eff,#62c8ff,transparent); transform-origin:center; }
.flow-line-one { top:30%; left:32%; height:125px; transform:rotate(60deg); }
.flow-line-two { top:53%; left:28%; height:115px; transform:rotate(-57deg); }
.flow-line-three { top:54%; right:28%; height:115px; transform:rotate(57deg); }
.sd-auto-card-one { top:9%; left:-8px; }
.sd-auto-card-two { right:-5px; bottom:12%; display:grid; gap:1px; }
.sd-auto-card-two strong { color:#62c8ff; font-size:18px; }

.sd-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: end;
}

.sd-progress-nav {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 830px;
    border-bottom: 1px solid rgba(143, 211, 255, 0.11);
}

.sd-progress-nav button {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 41px;
    padding: 0 8px 10px 0;
    color: #526d8b;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    transition: color 0.25s ease;
}

.sd-progress-nav button b {
    color: #456584;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 8px;
}

.sd-progress-nav button span { font-size: 9px; font-weight: 800; }
.sd-progress-nav button.is-active,
.sd-progress-nav button.is-past { color: #d6eaff; }
.sd-progress-nav button.is-active b,
.sd-progress-nav button.is-past b { color: #62c8ff; }

.sd-progress-fill {
    position: absolute;
    z-index: 3;
    bottom: -1px;
    left: 0;
    width: calc(var(--sd-progress) * 100%);
    height: 2px;
    background: linear-gradient(90deg, #0a84ff, #62c8ff);
    box-shadow: 0 0 12px rgba(98, 200, 255, 0.35);
    transition: width 0.08s linear;
}

.sd-scroll-cue {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 9px;
    color: #516d8b;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sd-scroll-cue i {
    position: relative;
    width: 18px;
    height: 29px;
    border: 1px solid rgba(143, 211, 255, 0.2);
    border-radius: 999px;
}

.sd-scroll-cue i::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 50%;
    width: 2px;
    height: 6px;
    background: #62c8ff;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: sd-scroll-dot 1.5s ease-in-out infinite;
}

@keyframes sd-scroll-dot {
    0% { opacity: 0; transform: translate(-50%, 0); }
    35% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 9px); }
}

.sd-metrics {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -1px;
    margin-bottom: 18px;
    border: 1px solid rgba(143, 211, 255, 0.11);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(7, 27, 61, 0.94), rgba(2, 12, 35, 0.94));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.sd-metrics > div {
    display: grid;
    gap: 2px;
    min-height: 83px;
    padding: 19px 22px;
    border-right: 1px solid rgba(143, 211, 255, 0.09);
}

.sd-metrics > div:last-child { border-right: 0; }
.sd-metrics strong { color: #eef8ff; font-size: 20px; letter-spacing: -0.04em; }
.sd-metrics span { color: #66829f; font-size: 9px; font-weight: 700; }

@media (max-width: 1120px) {
    .sd-layout { grid-template-columns: minmax(0, .9fr) minmax(470px, 1.1fr); gap: 34px; }
    .sd-copy-panel h1 { font-size: clamp(46px, 5vw, 62px); }
    .sd-visual { height: min(56vh, 535px); min-height: 450px; }
}

@media (max-width: 900px) {
    .sd-hero { min-height: 390svh; }
    .sd-sticky { min-height: 100svh; height: 100svh; padding: calc(var(--header-height) + 12px) 0 13px; }
    .sd-shell { grid-template-rows: auto minmax(0, 1fr) auto; }
    .sd-topline { display: none; }
    .sd-layout { grid-template-columns: 1fr; gap: 4px; align-content: stretch; }
    .sd-copy-stack { grid-template-rows: auto minmax(240px, .82fr) auto; min-height: 0; padding: 10px 0 4px; }
    .sd-kicker { font-size: 8px; padding: 6px 9px; }
    .sd-copy-panel { align-self:center; }
    .sd-service-index { margin-bottom: 9px; font-size: 9px; }
    .sd-copy-panel h1 { max-width: 660px; font-size: clamp(36px, 8vw, 55px); }
    .sd-copy-panel p { max-width: 690px; margin-top: 13px; font-size: 13px; line-height: 1.55; }
    .sd-tags { margin-top: 12px; }
    .sd-tags span { padding: 4px 7px; font-size: 8px; }
    .sd-actions { gap: 16px; }
    .sd-actions .button { min-height: 42px; padding: 0 15px; font-size: 11px; }
    .sd-text-link { font-size: 10px; }
    .sd-visual { height: min(39vh, 380px); min-height: 300px; width: min(100%, 650px); margin-inline:auto; }
    .sd-scene { inset: 27px 0 0; }
    .sd-window { width: 95%; height: 94%; transform:none; }
    .sd-stage-chip { top:-2px; left:12px; min-height:29px; font-size:8px; }
    .sd-float-card { transform: scale(.84); }
    .sd-progress-nav button span { display:none; }
    .sd-progress-nav button { min-height:30px; padding-bottom:7px; }
    .sd-scroll-cue span { display:none; }
    .sd-scroll-cue { padding-bottom:5px; }
    .sd-scroll-cue i { width:15px; height:24px; }
    .sd-metrics { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
    .sd-metrics > div:nth-child(2) { border-right:0; }
    .sd-metrics > div:nth-child(-n+2) { border-bottom:1px solid rgba(143,211,255,.09); }
}

@media (max-width: 620px) {
    .sd-hero { min-height: 380svh; }
    .sd-sticky { padding-top: calc(var(--header-height) + 7px); }
    .sd-kicker { max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .sd-copy-stack { grid-template-rows:auto minmax(270px,.9fr) auto; }
    .sd-copy-panel h1 { font-size: clamp(35px, 10.4vw, 49px); line-height:.96; }
    .sd-copy-panel p { font-size:12px; }
    .sd-tags span:nth-child(3) { display:none; }
    .sd-actions { flex-wrap:nowrap; }
    .sd-text-link { display:none; }
    .sd-visual { height:min(36vh,330px); min-height:265px; }
    .sd-window-bar { min-height:35px; }
    .sd-window-foot { min-height:30px; }
    .sd-dev-body,.sd-infra-grid,.sd-support-body,.sd-flow-canvas { height:calc(100% - 65px); }
    .sd-dev-body { grid-template-columns:76px 1fr; }
    .sd-dev-body aside { padding:12px 8px; gap:7px; }
    .sd-editor pre { padding:14px 10px; font-size:6.8px; line-height:1.8; }
    .sd-infra-grid,.sd-support-body { gap:7px; padding:9px; }
    .sd-server-unit { min-height:31px; margin-bottom:5px; }
    .sd-switch-unit { min-height:35px; }
    .sd-net-node { width:43px; height:43px; }
    .sd-health-score span { font-size:26px; }
    .sd-health-bars { height:48px; margin:5px 0 8px; }
    .sd-ticket { min-height:39px; margin-bottom:5px; }
    .sd-flow-node { min-width:92px; padding:7px; gap:5px; }
    .sd-flow-node strong { font-size:6px; }
    .sd-ai-core { width:74px; height:74px; }
    .sd-ai-core span { font-size:20px; }
    .sd-float-card { display:none; }
    .sd-stage-chip i { display:none; }
    .sd-bottom { gap:10px; }
    .sd-progress-nav { max-width:none; }
    .sd-metrics { width:min(calc(100% - 28px),var(--container)); }
    .sd-metrics > div { min-height:70px; padding:14px; }
    .sd-metrics strong { font-size:17px; }
}

@media (prefers-reduced-motion: reduce) {
    .sd-hero { min-height: auto; }
    .sd-sticky { position: relative; height: auto; min-height: 0; padding-top: calc(var(--header-height) + 50px); }
    .sd-layout { grid-template-columns: 1fr; }
    .sd-copy-stack { display:block; min-height:0; }
    .sd-copy-panel { display:none; margin:30px 0; opacity:1; filter:none; transform:none; }
    .sd-copy-panel:first-of-type { display:block; }
    .sd-visual { margin-top:30px; }
    .sd-scene { opacity:0; transform:none; filter:none; }
    .sd-scene:first-of-type { opacity:1; }
    .sd-bottom { display:none; }
}
