:root {
    --bg: #060914;
    --bg-soft: #0a1022;
    --surface: #0d1530;
    --surface-2: #111a3a;
    --surface-3: #162148;
    --line: rgba(148, 163, 184, 0.14);
    --line-strong: rgba(148, 163, 184, 0.26);
    --text: #f4f7ff;
    --muted: #9aa8c7;
    --muted-2: #7180a3;
    --blue: #6d8dff;
    --cyan: #4be1c3;
    --violet: #b18cff;
    --pink: #f472b6;
    --amber: #ffc46b;
    --grad: linear-gradient(120deg, #6d8dff 0%, #b18cff 48%, #4be1c3 100%);
    --grad-soft: linear-gradient(135deg, rgba(109, 141, 255, 0.2), rgba(177, 140, 255, 0.1) 55%, rgba(75, 225, 195, 0.12));
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
    --radius: 24px;
    --radius-sm: 16px;
    --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
    --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

::selection {
    background: rgba(109, 141, 255, 0.35);
    color: #fff;
}

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

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

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

button {
    cursor: pointer;
}

h1, h2, h3, h4, p, ul, ol, figure {
    margin-top: 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

h1 {
    font-size: clamp(42px, 6vw, 82px);
    margin-bottom: 24px;
    text-wrap: balance;
}

h2 {
    font-size: clamp(30px, 4vw, 50px);
    margin-bottom: 18px;
    text-wrap: balance;
}

h3 {
    font-size: clamp(20px, 2vw, 25px);
    margin-bottom: 12px;
}

p {
    color: var(--muted);
}

svg {
    display: block;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

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

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

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}

.section-head h2 {
    margin-bottom: 0;
    max-width: 760px;
}

.section-head-center {
    display: block;
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-head-center .eyebrow {
    justify-content: center;
}

.section-lead {
    max-width: 620px;
    margin: 20px auto 0;
    font-size: 17px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #dce6ff;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 6px rgba(75, 225, 195, 0.12);
    animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(75, 225, 195, 0.1); }
    50% { box-shadow: 0 0 0 9px rgba(75, 225, 195, 0.03); }
}

.grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-link,
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dfe7ff;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s ease, gap 0.2s ease;
}

.text-link:hover,
.card-link:hover {
    color: var(--cyan);
    gap: 12px;
}

.text-link .icon,
.card-link .icon {
    width: 17px;
    height: 17px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
    background: var(--grad);
    color: #07101f;
    box-shadow: 0 16px 38px rgba(109, 141, 255, 0.24);
}

.btn-primary:hover {
    box-shadow: 0 20px 48px rgba(109, 141, 255, 0.36);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.035);
    border-color: var(--line-strong);
    color: var(--text);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(177, 140, 255, 0.55);
}

.btn-light {
    background: #f4f7ff;
    color: #07101f;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-sm {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 13px;
}

.btn-lg {
    min-height: 56px;
    padding: 15px 24px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

.skip-link {
    position: fixed;
    z-index: 200;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    color: #07101f;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

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

/* Background */
.site-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(1100px 700px at 12% -10%, rgba(58, 79, 170, 0.35), transparent 62%),
        radial-gradient(900px 700px at 92% 8%, rgba(102, 50, 150, 0.26), transparent 60%),
        var(--bg);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
}

.orb-a {
    width: 520px;
    height: 520px;
    top: -220px;
    right: 4%;
    background: rgba(109, 141, 255, 0.3);
}

.orb-b {
    width: 420px;
    height: 420px;
    top: 42%;
    left: -220px;
    background: rgba(177, 140, 255, 0.22);
}

.orb-c {
    width: 360px;
    height: 360px;
    bottom: -180px;
    right: 18%;
    background: rgba(75, 225, 195, 0.16);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}

/* Header */
.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(6, 9, 20, 0.78);
    border-bottom-color: var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

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

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--grad);
    color: #07101f;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(109, 141, 255, 0.24);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.brand-tag {
    margin-top: 4px;
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    position: relative;
    padding: 10px 13px;
    border-radius: 999px;
    color: #c4cde3;
    font-size: 13px;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
}

.main-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cyan);
    transform: translateX(-50%);
}

.nav-cta-mobile {
    display: none;
}

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

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    padding: 154px 0 34px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 52px;
}

.hero-copy h1 {
    max-width: 760px;
}

.hero-text {
    max-width: 620px;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-stack span,
.stack-cloud span {
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #aeb9d6;
    font-size: 12px;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
}

.hero-ring {
    position: absolute;
    width: min(100%, 470px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(109, 141, 255, 0.18);
    box-shadow:
        0 0 0 30px rgba(109, 141, 255, 0.025),
        0 0 0 70px rgba(177, 140, 255, 0.02);
}

.terminal-card {
    position: relative;
    z-index: 2;
    width: min(100%, 470px);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(19, 29, 58, 0.95), rgba(8, 13, 30, 0.98));
    box-shadow: var(--shadow);
}

.terminal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(109, 141, 255, 0.65), transparent 42%, rgba(75, 225, 195, 0.45));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-red { background: #ff6b7a; }
.dot-yellow { background: #ffc46b; }
.dot-green { background: #4be1c3; }

.terminal-title {
    margin-left: 8px;
    color: var(--muted-2);
    font-family: var(--mono);
    font-size: 10px;
}

.terminal-body {
    padding: 24px 22px 26px;
    font-family: var(--mono);
    font-size: 12.5px;
}

.code-line {
    margin-bottom: 12px;
    color: #b9c5e3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-muted { color: #58658a; }
.c-cmd { color: #fff; }
.c-arg { color: #a7b4d6; }
.c-ok { color: var(--cyan); }
.c-accent { color: var(--violet); }

.cursor {
    display: inline-block;
    width: 7px;
    height: 14px;
    margin-left: 5px;
    vertical-align: -2px;
    background: var(--cyan);
    animation: blink 1.1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.terminal-progress {
    height: 4px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.07);
}

.terminal-progress span {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: var(--grad);
    animation: progress 5s ease-in-out infinite alternate;
}

@keyframes progress {
    from { width: 38%; }
    to { width: 78%; }
}

.float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 15px;
    background: rgba(13, 21, 48, 0.86);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    animation: float 6s ease-in-out infinite;
}

.float-card-a {
    top: 12%;
    right: -3%;
}

.float-card-b {
    bottom: 9%;
    left: -6%;
    animation-delay: -2.5s;
}

.float-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: rgba(75, 225, 195, 0.1);
    color: var(--cyan);
}

.float-card b {
    display: block;
    font-size: 13px;
}

.float-card small {
    display: block;
    color: var(--muted-2);
    font-size: 10px;
}

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

.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 72px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat {
    padding: 24px 30px;
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.stat span {
    color: var(--muted-2);
    font-size: 12px;
    font-weight: 600;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.services-grid--wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(18, 28, 58, 0.78), rgba(8, 13, 30, 0.82));
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(109, 141, 255, 0.13);
    filter: blur(38px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(109, 141, 255, 0.42);
    background: linear-gradient(160deg, rgba(23, 36, 74, 0.9), rgba(9, 15, 34, 0.9));
}

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

.service-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border: 1px solid rgba(109, 141, 255, 0.24);
    border-radius: 14px;
    background: rgba(109, 141, 255, 0.09);
    color: var(--cyan);
}

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

.service-card h3 {
    margin-bottom: 10px;
}

.service-card h3 a:hover {
    color: var(--cyan);
}

.service-card p {
    margin-bottom: 18px;
    font-size: 14px;
}

.mini-list {
    display: grid;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.mini-list li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #b5c1dd;
    font-size: 12.5px;
}

.mini-list .icon {
    width: 14px;
    height: 14px;
    margin-top: 3px;
    color: var(--cyan);
}

.service-card .card-link {
    margin-top: auto;
}

/* Approach */
.section-approach {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(13, 21, 48, 0.35), transparent);
}

.approach-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 70px;
    align-items: start;
}

.approach-copy {
    position: sticky;
    top: 110px;
}

.approach-copy h2 {
    margin-bottom: 20px;
}

.approach-copy p {
    margin-bottom: 26px;
    font-size: 16px;
}

.approach-cards {
    display: grid;
    gap: 14px;
}

.feature-card {
    position: relative;
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(13, 21, 48, 0.58);
}

.feature-num {
    display: block;
    margin-bottom: 20px;
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
}

.feature-card h3 {
    margin-bottom: 8px;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 14px;
}

/* Cases */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cases-grid--wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cases-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(16, 25, 52, 0.8), rgba(7, 12, 28, 0.9));
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    border-color: rgba(177, 140, 255, 0.42);
}

.case-cover {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0b1227;
}

.case-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-card:hover .case-cover img {
    transform: scale(1.04);
}

.case-cover--violet { background: radial-gradient(800px 500px at 20% 0%, rgba(177, 140, 255, 0.45), transparent 60%), linear-gradient(135deg, #1b1640, #0b1227); }
.case-cover--cyan { background: radial-gradient(800px 500px at 20% 0%, rgba(75, 225, 195, 0.34), transparent 60%), linear-gradient(135deg, #0d2a35, #0b1227); }
.case-cover--blue { background: radial-gradient(800px 500px at 20% 0%, rgba(109, 141, 255, 0.4), transparent 60%), linear-gradient(135deg, #101c45, #0b1227); }
.case-cover--amber { background: radial-gradient(800px 500px at 20% 0%, rgba(255, 196, 107, 0.3), transparent 60%), linear-gradient(135deg, #2d2111, #0b1227); }

.case-cover-grid,
.post-cover-lines {
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at 30% 30%, black, transparent 72%);
}

.case-cover-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    background: rgba(7, 12, 28, 0.35);
    color: #fff;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(8px);
}

.case-cover-icon .icon {
    width: 40px;
    height: 40px;
}

.case-cover-label {
    position: absolute;
    left: 18px;
    bottom: 16px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(7, 12, 28, 0.45);
    color: #eef2ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.case-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 24px;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.case-body h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

.case-body h3 a:hover {
    color: var(--cyan);
}

.case-body p {
    margin-bottom: 16px;
    font-size: 13.5px;
}

.case-body .card-link {
    margin-top: auto;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.tag {
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: #aab6d4;
    font-size: 10.5px;
    font-weight: 700;
}

/* Process */
.section-process {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(13, 21, 48, 0.25), transparent);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.process-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-step {
    position: relative;
    padding: 28px 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(13, 21, 48, 0.5);
}

.process-num {
    display: block;
    margin-bottom: 36px;
    color: rgba(109, 141, 255, 0.55);
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.process-step h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.process-step p {
    margin-bottom: 0;
    font-size: 13px;
}

/* Stack */
.stack-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: center;
}

.stack-inner h2 {
    margin-bottom: 14px;
}

.stack-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.stack-cloud span {
    padding: 10px 14px;
    font-size: 13px;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.stack-cloud span:hover {
    border-color: rgba(75, 225, 195, 0.45);
    color: #fff;
    transform: translateY(-2px);
}

/* Blog */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.posts-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(13, 21, 48, 0.55);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(75, 225, 195, 0.38);
}

.post-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0b1227;
}

.post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-cover img {
    transform: scale(1.04);
}

.post-cover--violet { background: radial-gradient(700px 420px at 20% 0%, rgba(177, 140, 255, 0.4), transparent 60%), linear-gradient(135deg, #1b1640, #0b1227); }
.post-cover--cyan { background: radial-gradient(700px 420px at 20% 0%, rgba(75, 225, 195, 0.3), transparent 60%), linear-gradient(135deg, #0d2a35, #0b1227); }
.post-cover--blue { background: radial-gradient(700px 420px at 20% 0%, rgba(109, 141, 255, 0.38), transparent 60%), linear-gradient(135deg, #101c45, #0b1227); }
.post-cover--amber { background: radial-gradient(700px 420px at 20% 0%, rgba(255, 196, 107, 0.28), transparent 60%), linear-gradient(135deg, #2d2111, #0b1227); }

.post-cover-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    color: rgba(255, 255, 255, 0.18);
    font-family: var(--font-display);
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    transform: translate(-50%, -50%);
}

.post-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(7, 12, 28, 0.48);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.post-category--inline {
    position: static;
    display: inline-flex;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--cyan);
    backdrop-filter: none;
}

.post-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 22px 22px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 700;
}

.post-body h3 {
    margin-bottom: 9px;
    font-size: 19px;
}

.post-body h3 a:hover {
    color: var(--cyan);
}

.post-body p {
    margin-bottom: 16px;
    font-size: 13px;
}

.post-body .card-link {
    margin-top: auto;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.filter-chip {
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    border-color: rgba(75, 225, 195, 0.4);
    background: rgba(75, 225, 195, 0.08);
    color: #fff;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 70px;
    align-items: start;
}

.faq-copy {
    position: sticky;
    top: 110px;
}

.faq-copy h2 {
    margin-bottom: 16px;
}

.faq-copy p {
    margin-bottom: 24px;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(13, 21, 48, 0.48);
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: rgba(109, 141, 255, 0.4);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    color: #eef2ff;
    font-size: 15px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

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

.faq-plus {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.faq-plus::before,
.faq-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--cyan);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.faq-plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-plus::after {
    transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: 14px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* CTA */
.cta-section {
    padding-top: 40px;
}

.cta-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    background:
        radial-gradient(700px 400px at 80% 0%, rgba(75, 225, 195, 0.24), transparent 60%),
        linear-gradient(120deg, #1b2c6e, #321b5e 55%, #0d2a35);
    box-shadow: var(--shadow);
}

.cta-glow {
    position: absolute;
    top: -120px;
    right: -60px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(177, 140, 255, 0.35);
    filter: blur(80px);
    pointer-events: none;
}

.cta-copy {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.cta-copy h2 {
    margin-bottom: 12px;
}

.cta-copy p {
    margin-bottom: 0;
    color: #c8d3ee;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Footer */
.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background: rgba(5, 8, 18, 0.72);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
    gap: 42px;
    padding: 64px 0 48px;
}

.footer-brand p {
    max-width: 340px;
    margin: 18px 0 20px;
    font-size: 13px;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #bcc7e2;
    font-size: 13px;
}

.footer-socials a:hover {
    color: var(--cyan);
}

.footer-socials .icon {
    width: 16px;
    height: 16px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-col h3 {
    margin-bottom: 12px;
    color: #eef2ff;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-col a,
.footer-col span {
    color: var(--muted);
    font-size: 13px;
}

.footer-col a:hover {
    color: var(--cyan);
}

.footer-contacts span {
    display: block;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0 26px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 11px;
}

/* Page hero and breadcrumbs */
.page-hero {
    position: relative;
    padding: 152px 0 58px;
}

.page-hero--compact {
    padding-bottom: 34px;
}

.page-hero h1 {
    max-width: 980px;
    margin-bottom: 20px;
}

.page-lead {
    max-width: 760px;
    margin-bottom: 0;
    font-size: 17px;
    line-height: 1.7;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--muted-2);
    font-size: 12px;
}

.breadcrumbs a:hover {
    color: var(--cyan);
}

/* Detail pages */
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
    align-items: start;
}

.detail-sidebar {
    position: sticky;
    top: 106px;
    display: grid;
    gap: 14px;
}

.sidebar-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(20, 31, 64, 0.8), rgba(8, 13, 30, 0.8));
}

.sidebar-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

.sidebar-card p {
    margin-bottom: 18px;
    font-size: 13px;
}

.sidebar-link {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.sidebar-link:hover {
    color: var(--cyan);
}

.sidebar-note {
    display: block;
    margin-top: 12px;
    color: var(--muted-2);
    font-size: 11px;
    text-align: center;
}

.sidebar-note-card {
    display: flex;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(75, 225, 195, 0.04);
}

.sidebar-note-card .icon {
    color: var(--cyan);
}

.sidebar-note-card p {
    margin: 0;
    font-size: 12px;
}

.metric-list,
.check-list {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.metric-list li,
.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #bdc8e3;
    font-size: 14px;
}

.metric-list .icon,
.check-list .icon {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--cyan);
}

.service-detail-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.service-detail-icon {
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    flex: 0 0 auto;
    border: 1px solid rgba(109, 141, 255, 0.3);
    border-radius: 30px;
    background: rgba(109, 141, 255, 0.1);
    color: var(--cyan);
}

.service-detail-icon .icon {
    width: 52px;
    height: 52px;
}

.case-detail-head h1 {
    max-width: 1000px;
}

.case-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
}

.case-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-visual-caption {
    position: relative;
    z-index: 1;
    margin: 28px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(7, 12, 28, 0.45);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.case-visual-mark {
    position: absolute;
    top: 24px;
    right: 30px;
    color: rgba(255, 255, 255, 0.16);
    font-family: var(--font-display);
    font-size: 96px;
    font-weight: 700;
    line-height: 1;
}

/* Prose */
.prose {
    color: #c3cee8;
    font-size: 16px;
    line-height: 1.8;
}

.prose > p:first-child {
    font-size: 18px;
    color: #d8e1f4;
}

.prose p {
    margin-bottom: 18px;
}

.prose h2 {
    margin: 42px 0 16px;
    color: var(--text);
    font-size: clamp(25px, 3vw, 34px);
}

.prose h3 {
    margin: 30px 0 12px;
    color: var(--text);
    font-size: 21px;
}

.prose ul,
.prose ol {
    margin: 0 0 22px;
    padding-left: 22px;
}

.prose li {
    margin-bottom: 8px;
}

.prose a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-left: 2px solid var(--violet);
    border-radius: 0 14px 14px 0;
    background: rgba(177, 140, 255, 0.06);
    color: #d7dff2;
}

.prose code {
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    font-family: var(--mono);
    font-size: 0.9em;
}

.prose pre {
    overflow-x: auto;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #080d1d;
}

.prose pre code {
    padding: 0;
    background: none;
}

.prose img {
    margin: 30px 0;
    border-radius: 18px;
}

/* About */
.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 60px;
    align-items: center;
}

.about-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 250px;
    height: 250px;
    margin-left: auto;
}

.about-mark-inner {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 150px;
    height: 150px;
    border-radius: 44px;
    background: var(--grad);
    color: #07101f;
    font-family: var(--font-display);
    font-size: 74px;
    font-weight: 700;
    box-shadow: 0 30px 80px rgba(109, 141, 255, 0.35);
}

.about-mark-orbit {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(109, 141, 255, 0.28);
    border-radius: 50%;
    animation: spin 22s linear infinite;
}

.about-mark-orbit::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 18px var(--cyan);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

.values-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 70px;
    align-items: start;
}

.values-list {
    display: grid;
    gap: 12px;
}

.values-list > div {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(13, 21, 48, 0.5);
    color: #c3cee8;
    font-size: 14px;
}

.values-list .icon {
    color: var(--cyan);
}

/* Article */
.article-page {
    padding-top: 132px;
}

.article-container {
    width: min(900px, calc(100% - 48px));
}

.article-head {
    margin-bottom: 34px;
}

.article-head h1 {
    font-size: clamp(34px, 5vw, 62px);
}

.article-cover {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    margin-bottom: 42px;
    border: 1px solid var(--line);
    border-radius: 26px;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    max-width: 760px;
    margin-inline: auto;
}

.article-tags {
    max-width: 760px;
    margin: 32px auto 0;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 48px;
    align-items: start;
}

.contact-form-wrap {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(18, 28, 58, 0.72), rgba(8, 13, 30, 0.8));
}

.contact-aside {
    display: grid;
    gap: 14px;
}

.contact-card {
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(13, 21, 48, 0.55);
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    color: var(--text);
}

.contact-line .icon {
    width: 19px;
    height: 19px;
    margin-top: 3px;
    color: var(--cyan);
}

.contact-line b {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-line small {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.contact-note {
    display: flex;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(75, 225, 195, 0.04);
}

.contact-note .icon {
    color: var(--cyan);
}

.contact-note p {
    margin: 0;
    font-size: 12px;
}

.contact-note a {
    color: var(--cyan);
}

/* Forms */
.lead-form {
    display: grid;
    gap: 18px;
}

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

.form-field {
    display: grid;
    gap: 7px;
}

.form-field label {
    color: #cdd7ed;
    font-size: 12px;
    font-weight: 700;
}

.form-field label span {
    color: var(--cyan);
}

.field-input,
.lead-form select,
.lead-form textarea,
.lead-form input[type="text"],
.lead-form input[type="email"] {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    outline: none;
    background: rgba(5, 9, 21, 0.55);
    color: #f4f7ff;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lead-form textarea {
    min-height: 130px;
    resize: vertical;
}

.field-input::placeholder,
.lead-form textarea::placeholder {
    color: #5e6c8d;
}

.field-input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    border-color: rgba(109, 141, 255, 0.7);
    background: rgba(9, 15, 34, 0.8);
    box-shadow: 0 0 0 4px rgba(109, 141, 255, 0.12);
}

.lead-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #8e9ab8 50%), linear-gradient(135deg, #8e9ab8 50%, transparent 50%);
    background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--blue);
    flex: 0 0 auto;
}

.checkbox-row a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.field-error {
    color: #ff9cac;
    font-size: 11px;
}

.form-alert,
.message {
    padding: 12px 14px;
    border: 1px solid rgba(255, 156, 172, 0.3);
    border-radius: 12px;
    background: rgba(255, 107, 122, 0.08);
    color: #ffb9c4;
    font-size: 13px;
}

.message--success {
    border-color: rgba(75, 225, 195, 0.3);
    background: rgba(75, 225, 195, 0.08);
    color: #9df3e2;
}

.messages {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.form-note {
    color: var(--muted-2);
    font-size: 11px;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

/* Thanks */
.thanks-section {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding-top: 150px;
}

.thanks-card {
    max-width: 720px;
    padding: 48px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(160deg, rgba(20, 31, 64, 0.8), rgba(8, 13, 30, 0.9));
    text-align: center;
}

.thanks-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 24px;
    border-radius: 20px;
    background: rgba(75, 225, 195, 0.12);
    color: var(--cyan);
}

.thanks-icon .icon {
    width: 30px;
    height: 30px;
}

.thanks-card h1 {
    font-size: clamp(32px, 5vw, 52px);
}

.thanks-card p {
    max-width: 520px;
    margin: 0 auto 26px;
}

.thanks-card a {
    color: var(--cyan);
}

.thanks-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Legal */
.legal-page {
    max-width: 820px;
    margin-inline: auto;
}

/* Empty and errors */
.empty-state {
    padding: 60px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}

.empty-state h2 {
    font-size: 30px;
}

.error-page {
    min-height: 72vh;
    display: grid;
    place-items: center;
    padding-top: 120px;
}

.error-card {
    max-width: 620px;
    padding: 48px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(13, 21, 48, 0.6);
    text-align: center;
}

.error-code {
    display: block;
    margin-bottom: 12px;
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
}

.error-card h1 {
    font-size: clamp(42px, 7vw, 76px);
}

.error-card p {
    margin-bottom: 24px;
}

/* Reveal
   Content stays readable without JavaScript: only a small upward shift is
   animated, never opacity. */
.js [data-reveal] {
    transform: translateY(18px);
    transition: transform 0.65s ease;
}

.js [data-reveal].is-visible {
    transform: none;
}

/* Responsive */
@media (max-width: 1120px) {
    .hero-grid {
        gap: 30px;
    }

    .hero-copy h1 {
        font-size: clamp(40px, 4.7vw, 58px);
    }

    .float-card-a {
        right: 0;
    }

    .float-card-b {
        left: 0;
    }

    .services-grid,
    .services-grid--wide,
    .cases-grid,
    .cases-grid--wide,
    .posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .footer-contacts {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px 24px;
    }

    .footer-contacts h3 {
        width: 100%;
        margin-bottom: 0;
    }
}

@media (max-width: 900px) {
    .main-nav {
        position: fixed;
        top: 78px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px;
        border: 1px solid var(--line-strong);
        border-radius: 20px;
        background: rgba(7, 12, 26, 0.97);
        box-shadow: var(--shadow);
        backdrop-filter: blur(20px);
    }

    .nav-open .main-nav {
        display: flex;
    }

    .main-nav a {
        padding: 13px 14px;
    }

    .main-nav a.is-active::after {
        display: none;
    }

    .nav-cta-mobile {
        display: block;
        margin-top: 4px;
        text-align: center;
        background: var(--grad);
        color: #07101f !important;
    }

    .header-actions .btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding-top: 130px;
    }

    .hero-grid,
    .approach-grid,
    .stack-inner,
    .faq-grid,
    .detail-grid,
    .contact-grid,
    .values-grid,
    .about-hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 380px;
    }

    .approach-copy,
    .faq-copy,
    .detail-sidebar {
        position: static;
    }

    .about-mark {
        display: none;
    }

    .detail-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px;
    }

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

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

@media (max-width: 640px) {
    .container {
        width: min(100% - 32px, 1200px);
    }

    .section {
        padding: 74px 0;
    }

    .header-inner {
        min-height: 68px;
    }

    .main-nav {
        top: 68px;
    }

    .brand-tag {
        display: none;
    }

    .hero {
        padding-top: 112px;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 330px;
    }

    .float-card {
        display: none;
    }

    .terminal-body {
        padding: 18px 16px 22px;
        font-size: 11px;
    }

    .stats-strip {
        grid-template-columns: 1fr;
        margin-top: 48px;
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 18px 0;
    }

    .stat:last-child {
        border-bottom: 0;
    }

    .section-head {
        display: block;
    }

    .section-head .text-link {
        margin-top: 18px;
    }

    .services-grid,
    .services-grid--wide,
    .cases-grid,
    .cases-grid--wide,
    .cases-grid--two,
    .posts-grid,
    .posts-grid--two,
    .process-grid,
    .process-grid--three,
    .principles-grid,
    .form-grid,
    .detail-sidebar,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding-top: 112px;
    }

    .service-detail-head {
        display: block;
    }

    .service-detail-icon {
        width: 76px;
        height: 76px;
        margin-top: 24px;
        border-radius: 22px;
    }

    .service-detail-icon .icon {
        width: 34px;
        height: 34px;
    }

    .contact-form-wrap,
    .thanks-card,
    .cta-panel,
    .error-card {
        padding: 24px;
    }

    .case-visual {
        min-height: 240px;
    }

    .case-visual-mark {
        font-size: 64px;
    }

    .footer-main {
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .article-container {
        width: calc(100% - 32px);
    }

    .post-cover-mark {
        font-size: 86px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

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