:root {
    --bg: #07111f;
    --bg-deep: #040b14;
    --surface: #0b1728;
    --surface-2: #101f33;
    --surface-3: #142740;
    --line: rgba(194, 214, 239, 0.13);
    --line-strong: rgba(194, 214, 239, 0.22);
    --text: #f7fbff;
    --muted: #a7b8cc;
    --muted-strong: #cbd7e5;
    --green: #0be3a2;
    --green-soft: #7df9d2;
    --blue: #2e8cff;
    --blue-soft: #8fc4ff;
    --purple: #9b7bff;
    --orange: #ff9f43;
    --danger: #ff7285;
    --success: #30e3a1;
    --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(46, 140, 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(11, 227, 162, 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: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(11, 227, 162, 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(11, 227, 162, 0.08);
    border: 1px solid rgba(11, 227, 162, 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: #03110d;
    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(11, 227, 162, 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(11, 227, 162, 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(11, 227, 162, 0.065);
    border: 1px solid rgba(11, 227, 162, 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(11, 227, 162, 0.1);
    animation: pulse-dot 2.2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 5px rgba(11, 227, 162, 0.08); }
    50% { box-shadow: 0 0 0 9px rgba(11, 227, 162, 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(46, 140, 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(11, 227, 162, 0.04), transparent 32%, rgba(46, 140, 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(11, 227, 162, 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(46, 140, 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(11, 227, 162, 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: #063525;
}

.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(11, 227, 162, 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(11, 227, 162, 0.075);
    border: 1px solid rgba(11, 227, 162, 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(11, 227, 162, 0.5);
    box-shadow: 0 0 0 4px rgba(11, 227, 162, 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(11, 227, 162, 0.08);
    border: 1px solid rgba(11, 227, 162, 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(11, 227, 162, 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(11, 227, 162, 0.06);
    border-color: rgba(11, 227, 162, 0.2);
}

.support-action > span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: var(--green);
    background: rgba(11, 227, 162, 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: #03110d;
        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;
    }
}
