:root {
    --brand-blue: #2f61bf;
    --brand-blue-dark: #234f9f;
    --brand-cyan: #55bfd5;
    --brand-teal: #087184;
    --navy: #0b2239;
    --navy-soft: #12324d;
    --ink: #111b24;
    --muted: #5d6b78;
    --surface: #f4f7fa;
    --surface-strong: #eaf0f4;
    --border: #d9e3ea;
    --white: #ffffff;
    --success: #117a57;
    --danger: #a83f46;
    --container: 1248px;
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 12px 32px rgba(11, 34, 57, 0.08);
    --shadow: 0 24px 64px rgba(11, 34, 57, 0.12);
    --text-xs: 0.8125rem;
    --text-sm: 0.9375rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --h3: clamp(1.3rem, 2vw, 1.75rem);
    --h2: clamp(2rem, 4vw, 3.5rem);
    --h1: clamp(2.6rem, 6vw, 4.75rem);
}

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

html {
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: var(--text-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

picture {
    display: block;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
    margin-top: 0;
}

h1,
h2,
h3 {
    margin-bottom: 0;
    font-weight: 740;
    line-height: 1.06;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

h1 {
    font-size: var(--h1);
}

h2 {
    font-size: var(--h2);
}

h3 {
    font-size: var(--h3);
}

p {
    margin-bottom: 0;
}

ul,
ol {
    margin-bottom: 0;
}

:focus-visible {
    outline: 3px solid var(--brand-cyan);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

.container {
    width: calc(100% - 64px);
    max-width: var(--container);
    margin-inline: auto;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 16px;
    padding: 12px 18px;
    color: var(--white);
    background: var(--navy);
    border-radius: var(--radius-sm);
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

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

.eyebrow {
    margin-bottom: 18px;
    color: var(--brand-teal);
    font-size: var(--text-sm);
    font-weight: 760;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.eyebrow--light {
    color: #88d7e6;
}

.section {
    padding-block: clamp(72px, 8vw, 120px);
}

.section--surface {
    background: var(--surface);
}

.section--dark {
    color: var(--white);
    background: var(--navy);
}

.section-header {
    max-width: 930px;
    margin-bottom: clamp(40px, 5vw, 64px);
}

.section-header--split {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.7fr);
    gap: 48px;
    align-items: end;
    max-width: none;
}

.section-header--split > p,
.section-header--split > .text-link {
    color: var(--muted);
    font-size: var(--text-lg);
}

.section-lead {
    max-width: 700px;
    margin-top: 30px;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 720;
    line-height: 1.2;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

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

.button--primary {
    color: var(--white);
    background: var(--brand-blue);
    box-shadow: 0 12px 24px rgba(47, 97, 191, 0.24);
}

.button--primary:hover {
    background: var(--brand-blue-dark);
    box-shadow: 0 16px 30px rgba(47, 97, 191, 0.3);
}

.button--secondary {
    color: var(--navy);
    background: transparent;
    border-color: var(--border);
}

.button--secondary:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    background: rgba(47, 97, 191, 0.04);
}

.button__icon {
    flex: 0 0 auto;
}

.text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    color: var(--brand-blue);
    font-weight: 720;
    text-decoration: none;
}

.text-link span {
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.section-link {
    margin-top: 36px;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    min-height: 72px;
    border-bottom: 1px solid rgba(217, 227, 234, 0.74);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    text-decoration: none;
}

.site-logo img {
    width: 151px;
    height: auto;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}

.primary-navigation > a:not(.button) {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--muted);
    font-size: var(--text-sm);
    font-weight: 670;
    text-decoration: none;
    transition: color 180ms ease;
}

.primary-navigation > a:not(.button):hover,
.primary-navigation > a[aria-current="page"] {
    color: var(--brand-blue);
}

.button--header {
    min-height: 44px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--navy);
}

.button--header:hover {
    background: var(--brand-blue);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--navy);
    background: var(--white);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin-block: 5px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(72px, 9vw, 138px) clamp(68px, 8vw, 112px);
    background:
        radial-gradient(circle at 83% 12%, rgba(85, 191, 213, 0.18), transparent 28%),
        linear-gradient(180deg, #fbfdff 0%, #f4f8fb 100%);
}

.hero::after {
    position: absolute;
    right: -140px;
    bottom: -180px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(47, 97, 191, 0.12);
    border-radius: 50%;
    content: "";
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(460px, 0.97fr);
    gap: clamp(42px, 7vw, 94px);
    align-items: center;
}

.hero__content {
    max-width: 720px;
}

.hero__lead {
    max-width: 670px;
    margin-top: 30px;
    color: var(--muted);
    font-size: clamp(1.06rem, 1.7vw, 1.28rem);
    line-height: 1.58;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero__formats {
    margin-top: 24px;
    color: var(--muted);
    font-size: var(--text-sm);
}

.hero-visual {
    position: relative;
    min-height: 560px;
}

.hero-visual__case {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.hero-visual__case picture,
.hero-visual__case img {
    width: 100%;
    height: 100%;
}

.hero-visual__case img {
    object-fit: cover;
}

.hero-visual__case > span {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 7px 10px;
    color: var(--white);
    background: rgba(11, 34, 57, 0.88);
    border-radius: 8px;
    font-size: var(--text-xs);
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.hero-visual__case--main {
    top: 0;
    right: 0;
    width: 88%;
    aspect-ratio: 8 / 5;
    transform: rotate(1.5deg);
}

.hero-visual__case--mobile {
    z-index: 2;
    left: 0;
    bottom: 48px;
    width: 54%;
    aspect-ratio: 8 / 5;
    transform: rotate(-2deg);
}

.integration-map {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    display: flex;
    width: 76%;
    min-height: 90px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px;
    color: var(--white);
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.integration-map span {
    padding: 8px 9px;
    color: #dff7fb;
    border: 1px solid rgba(136, 215, 230, 0.3);
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 720;
    white-space: nowrap;
}

.integration-map i {
    position: relative;
    width: 24px;
    height: 1px;
    overflow: hidden;
    background: rgba(136, 215, 230, 0.35);
}

.integration-map i::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent);
    content: "";
    animation: data-flow 2.2s linear infinite;
}

@keyframes data-flow {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

.proof-strip {
    color: var(--white);
    background: var(--navy);
}

.proof-strip .container {
    padding-block: 38px;
}

.proof-strip__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 28px;
}

.proof-strip__metrics > div {
    min-width: 0;
    padding-inline: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.proof-strip__metrics > div:first-child {
    padding-left: 0;
}

.proof-strip__metrics > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.proof-strip dt {
    color: var(--white);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 750;
    line-height: 1.2;
}

.proof-strip dd {
    margin: 5px 0 0;
    color: #adc0ce;
    font-size: var(--text-sm);
    line-height: 1.4;
}

.proof-strip .container > p {
    color: #cbd8e1;
    font-size: var(--text-sm);
}

.task-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.task-card {
    display: flex;
    min-height: 288px;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.task-card:hover {
    transform: translateY(-4px);
    border-color: #b8cde0;
    box-shadow: var(--shadow-sm);
}

.task-card > span,
.scenario-card > span {
    color: var(--brand-teal);
    font-size: var(--text-sm);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.task-card h3 {
    margin-top: auto;
    padding-top: 48px;
}

.task-card p {
    margin-top: 16px;
    color: var(--muted);
}

.task-card--priority {
    grid-column: span 2;
    color: var(--white);
    border-color: var(--brand-blue);
    background: linear-gradient(135deg, var(--brand-blue) 0%, #215694 100%);
}

.task-card--priority > span,
.task-card--priority p {
    color: #dceaff;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.scenario-card {
    min-height: 270px;
    padding: 32px 28px;
    border-right: 1px solid var(--border);
}

.scenario-card:last-child {
    border-right: 0;
}

.scenario-card h3 {
    margin-top: 58px;
}

.scenario-card p {
    margin-top: 16px;
    color: var(--muted);
}

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

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.case-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.case-card:hover {
    transform: translateY(-4px);
    border-color: #b8cde0;
    box-shadow: var(--shadow-sm);
}

.case-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 8 / 5;
    background: var(--surface-strong);
}

.case-card__media picture,
.case-card__media img {
    width: 100%;
    height: 100%;
}

.case-card__media img {
    object-fit: cover;
    transition: transform 250ms ease;
}

.case-card:hover .case-card__media img {
    transform: scale(1.025);
}

.case-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
}

.case-card__category {
    margin-bottom: 12px;
    color: var(--brand-teal);
    font-size: var(--text-xs);
    font-weight: 760;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.case-card h3 {
    font-size: clamp(1.4rem, 2.3vw, 2rem);
}

.case-card h3 a {
    text-decoration: none;
}

.case-card__body > p:not(.case-card__category, .case-card__fact) {
    margin-top: 14px;
    color: var(--muted);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0;
    margin-top: 20px;
    list-style: none;
}

.tag-list li {
    padding: 6px 9px;
    color: #405365;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: var(--text-xs);
    font-weight: 670;
}

.case-card__fact {
    display: grid;
    gap: 3px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.case-card__fact strong {
    color: var(--navy);
}

.case-card__fact span {
    color: var(--muted);
    font-size: var(--text-xs);
}

.case-card .text-link {
    margin-top: auto;
    padding-top: 22px;
}

.source-note {
    margin-top: 24px;
    color: var(--muted);
    font-size: var(--text-sm);
}

.portfolio-list {
    margin-top: 72px;
    padding: clamp(28px, 4vw, 48px);
    color: var(--white);
    background: var(--navy);
    border-radius: var(--radius-lg);
}

.portfolio-list h3 {
    margin-bottom: 30px;
    color: #9fdbe7;
    font-size: var(--text-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-list ul {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    list-style: none;
}

.portfolio-list a {
    display: flex;
    min-height: 56px;
    align-items: center;
    padding: 12px;
    color: #dce8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    font-size: var(--text-sm);
    font-weight: 670;
    text-decoration: none;
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.portfolio-list a:hover {
    color: var(--white);
    border-color: rgba(85, 191, 213, 0.55);
    background: rgba(85, 191, 213, 0.08);
}

.process-list {
    padding: 0;
    border-top: 1px solid var(--border);
    list-style: none;
}

.process-list li {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 32px;
    padding-block: 28px;
    border-bottom: 1px solid var(--border);
}

.process-list li > span {
    color: var(--brand-teal);
    font-weight: 800;
}

.process-list li > div {
    display: grid;
    grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
    gap: 42px;
}

.process-list p {
    color: var(--muted);
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.format-grid article {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.format-grid h3 {
    font-size: 1.15rem;
    line-height: 1.25;
}

.format-grid p {
    margin-top: 12px;
    color: var(--muted);
    font-size: var(--text-sm);
}

.fit-section {
    position: relative;
    overflow: hidden;
}

.fit-section::after {
    position: absolute;
    top: -140px;
    right: -120px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(85, 191, 213, 0.18);
    border-radius: 50%;
    content: "";
}

.fit-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
}

.fit-grid h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.fit-grid ul {
    display: grid;
    gap: 14px;
    padding: 0;
    margin-top: 32px;
    color: #cbd8e1;
    list-style: none;
}

.fit-grid li {
    position: relative;
    padding-left: 28px;
}

.fit-grid li::before {
    position: absolute;
    top: 0.64em;
    left: 0;
    width: 9px;
    height: 9px;
    background: var(--brand-cyan);
    border-radius: 50%;
    content: "";
}

.fit-card {
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
}

.fit-card--muted {
    background: rgba(255, 255, 255, 0.04);
}

.fit-card--muted li::before {
    background: #8497a6;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: clamp(48px, 8vw, 110px);
    align-items: start;
}

.tech-groups {
    border-top: 1px solid var(--border);
}

.tech-groups > div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 24px;
    padding-block: 20px;
    border-bottom: 1px solid var(--border);
}

.tech-groups dt {
    color: var(--brand-teal);
    font-weight: 760;
}

.tech-groups dd {
    margin: 0;
    color: var(--muted);
}

.cta-section {
    padding-block: clamp(64px, 8vw, 104px);
    color: var(--white);
    background: linear-gradient(125deg, #081b2f 0%, #103a57 100%);
}

.cta-section__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.55fr);
    gap: 70px;
    align-items: end;
}

.cta-section h2 {
    max-width: 850px;
}

.cta-section__inner > div:first-child > p:last-child {
    max-width: 760px;
    margin-top: 24px;
    color: #c2d0da;
    font-size: var(--text-lg);
}

.cta-section__action {
    display: grid;
    gap: 14px;
    justify-items: start;
}

.cta-section__action > p {
    color: #aabcc9;
    font-size: var(--text-sm);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(78px, 9vw, 132px);
    background: var(--surface);
}

.page-hero::after {
    position: absolute;
    right: -70px;
    bottom: -210px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(47, 97, 191, 0.14);
    border-radius: 50%;
    content: "";
}

.page-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.55fr);
    gap: 64px;
    align-items: end;
}

.page-hero__lead {
    max-width: 760px;
    margin-top: 28px;
    color: var(--muted);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.page-hero .button {
    margin-top: 32px;
}

.page-hero__aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 24px;
    color: var(--white);
    background: var(--navy);
    border-radius: var(--radius);
}

.page-hero__aside span {
    display: flex;
    min-height: 54px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 9px;
    font-size: var(--text-xs);
    font-weight: 680;
}

.page-hero__note {
    padding-left: 22px;
    color: var(--muted);
    border-left: 2px solid var(--brand-cyan);
}

.page-hero--compact .container {
    max-width: 980px;
}

.anchor-navigation {
    position: sticky;
    z-index: 50;
    top: 72px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.anchor-navigation .container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding-block: 12px;
}

.anchor-navigation a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: 680;
    text-decoration: none;
}

.anchor-navigation a:hover {
    color: var(--brand-blue);
}

.service-detail-list {
    border-top: 1px solid var(--border);
}

.service-detail {
    padding-block: clamp(42px, 6vw, 72px);
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 150px;
}

.service-detail > header {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 36px;
}

.service-detail > header > span {
    color: var(--brand-teal);
    font-weight: 800;
}

.service-detail > header p {
    max-width: 780px;
    margin-top: 18px;
    color: var(--muted);
    font-size: var(--text-lg);
}

.service-detail__content {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.65fr);
    gap: 58px;
    margin-top: 38px;
    padding-left: 116px;
}

.service-detail__content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
    padding: 0;
    list-style: none;
}

.service-detail__content li {
    position: relative;
    padding-left: 20px;
    color: #3d4f5f;
}

.service-detail__content li::before {
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--brand-cyan);
    border-radius: 50%;
    content: "";
}

.service-result {
    align-self: start;
    padding: 24px;
    color: #dce9f1;
    background: var(--navy);
    border-radius: var(--radius);
}

.service-result strong {
    display: block;
    margin-bottom: 8px;
    color: #8ed8e6;
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.format-grid--large article {
    min-height: 190px;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
    gap: clamp(48px, 8vw, 110px);
}

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

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 18px;
    font-size: 1.08rem;
    font-weight: 720;
    cursor: pointer;
    list-style: none;
}

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

.faq-item summary i {
    position: relative;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.faq-item summary i::before,
.faq-item summary i::after {
    position: absolute;
    top: 9px;
    left: 3px;
    width: 14px;
    height: 2px;
    background: var(--brand-blue);
    content: "";
    transition: transform 180ms ease;
}

.faq-item summary i::after {
    transform: rotate(90deg);
}

.faq-item[open] summary i::after {
    transform: rotate(0);
}

.faq-item > div {
    padding: 0 48px 24px 0;
    color: var(--muted);
}

.case-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 42px;
}

.case-filters button {
    min-height: 44px;
    padding: 9px 15px;
    color: var(--muted);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: var(--text-sm);
    font-weight: 680;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.case-filters button:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.case-filters button[aria-pressed="true"] {
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
}

.case-filter-empty {
    padding: 32px;
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius);
}

.breadcrumbs {
    padding-block: 24px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    color: var(--muted);
    font-size: var(--text-sm);
    list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
    margin-left: 8px;
    color: #9aacb9;
    content: "/";
}

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

.case-detail__hero {
    padding-block: clamp(52px, 7vw, 96px);
    color: var(--white);
    background: var(--navy);
}

.case-detail__hero h1 {
    max-width: 900px;
}

.case-detail__lead {
    max-width: 780px;
    margin-top: 28px;
    color: #c8d7e1;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.case-detail__neutral {
    margin-top: 22px;
    color: #8fa6b7;
    font-size: var(--text-sm);
}

.case-detail__media {
    margin-top: clamp(32px, 5vw, 72px);
}

.case-detail__picture {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.case-detail__picture img {
    width: 100%;
    height: auto;
}

.case-detail__content {
    display: grid;
    gap: 0;
    max-width: 980px;
    padding-block: 48px clamp(80px, 10vw, 140px);
}

.case-detail__content section {
    padding-block: 44px;
    border-bottom: 1px solid var(--border);
}

.case-detail__content section > p:not(.eyebrow, .source-note) {
    max-width: 760px;
    margin-top: 22px;
    color: var(--muted);
}

.tag-list--large {
    gap: 10px;
    margin-top: 24px;
}

.tag-list--large li {
    padding: 9px 13px;
    font-size: var(--text-sm);
}

.case-facts {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.case-facts > div {
    padding: 24px;
    background: var(--surface);
    border-radius: var(--radius);
}

.case-facts dt {
    color: var(--navy);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 750;
}

.case-facts dd {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: var(--text-sm);
}

.case-contact {
    padding-block: clamp(52px, 7vw, 88px);
    color: var(--white);
    background: linear-gradient(120deg, var(--brand-blue-dark), var(--brand-teal));
}

.case-contact__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: end;
}

.case-contact h2 {
    max-width: 850px;
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.case-contact .button--primary {
    color: var(--navy);
    background: var(--white);
    box-shadow: none;
}

.case-neighbors {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding-block: 42px 72px;
}

.case-neighbors a {
    display: grid;
    gap: 4px;
    min-height: 96px;
    align-content: center;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.case-neighbors a:last-child {
    text-align: right;
}

.case-neighbors a:hover {
    border-color: var(--brand-blue);
    background: var(--surface);
}

.case-neighbors span {
    color: var(--muted);
    font-size: var(--text-xs);
}

.legal-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 760px);
    gap: clamp(48px, 8vw, 110px);
    justify-content: center;
    padding-block: clamp(64px, 8vw, 112px);
}

.legal-navigation {
    position: sticky;
    top: 104px;
    display: grid;
    align-self: start;
    gap: 8px;
}

.legal-navigation a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 12px;
    color: var(--muted);
    border-left: 2px solid var(--border);
    font-size: var(--text-sm);
    text-decoration: none;
}

.legal-navigation a:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.legal-content {
    min-width: 0;
}

.legal-content section {
    padding-bottom: 46px;
    margin-bottom: 46px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 110px;
}

.legal-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.legal-content p,
.legal-content ul {
    margin-top: 20px;
    color: #405362;
}

.legal-content li + li {
    margin-top: 8px;
}

.legal-content a {
    color: var(--brand-blue);
}

.not-found {
    display: grid;
    min-height: 72vh;
    align-items: center;
    padding-block: 72px;
    background: var(--surface);
}

.not-found__inner {
    position: relative;
    max-width: 920px;
}

.not-found__code {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: 0;
    color: rgba(47, 97, 191, 0.08);
    font-size: clamp(10rem, 24vw, 22rem);
    font-weight: 850;
    line-height: 0.7;
    transform: translateY(-50%);
}

.not-found h1,
.not-found .eyebrow,
.not-found__inner > p:not(.not-found__code) {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.not-found__inner > p:not(.not-found__code, .eyebrow) {
    margin-top: 24px;
    color: var(--muted);
    font-size: var(--text-lg);
}

.not-found__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.site-footer {
    padding-top: 70px;
    color: #d6e2ea;
    background: #071827;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.45fr) minmax(240px, 0.65fr);
    gap: 72px;
    padding-bottom: 56px;
}

.site-logo--footer {
    padding: 8px 12px;
    background: var(--white);
    border-radius: 10px;
}

.site-footer__about p {
    max-width: 460px;
    margin-top: 24px;
    color: #9eb1bf;
}

.site-footer h2 {
    margin-bottom: 18px;
    color: #8ed8e6;
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__nav,
.site-footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.site-footer__nav a,
.site-footer__contacts a:not(.footer-telegram) {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    color: #c5d3dc;
    text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__contacts a:hover {
    color: var(--white);
}

.footer-telegram {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 9px 14px;
    color: var(--navy);
    background: var(--brand-cyan);
    border-radius: 10px;
    font-weight: 750;
    text-decoration: none;
}

.site-footer__legal {
    display: flex;
    min-height: 80px;
    align-items: center;
    gap: 26px;
    padding-block: 18px;
    color: #8197a7;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--text-xs);
}

.site-footer__legal p:nth-child(2) {
    margin-right: auto;
}

.site-footer__legal a {
    color: #b7c8d3;
}

.metrics-pixel {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

@media (max-width: 1100px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.75fr);
        gap: 42px;
    }

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

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

    .scenario-card:nth-child(2) {
        border-right: 0;
    }

    .scenario-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .portfolio-list ul {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .service-detail__content {
        grid-template-columns: 1fr;
    }

    .service-result {
        max-width: 640px;
    }
}

@media (max-width: 900px) {
    .container {
        width: calc(100% - 48px);
    }

    .menu-toggle {
        display: block;
    }

    .primary-navigation {
        position: fixed;
        z-index: 90;
        top: 72px;
        right: 0;
        display: flex;
        width: min(420px, 100%);
        height: calc(100dvh - 72px);
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        padding: 24px;
        background: var(--white);
        border-left: 1px solid var(--border);
        box-shadow: -20px 30px 50px rgba(11, 34, 57, 0.13);
        visibility: hidden;
        opacity: 0;
        transform: translateX(100%);
        transition: visibility 0s linear 200ms, opacity 200ms ease, transform 200ms ease;
    }

    .primary-navigation.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0s;
    }

    .primary-navigation > a:not(.button) {
        min-height: 56px;
        padding-inline: 10px;
        color: var(--ink);
        border-bottom: 1px solid var(--border);
        font-size: 1.1rem;
    }

    .primary-navigation .button {
        width: 100%;
        margin-top: 18px;
    }

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

    .hero__content {
        max-width: 780px;
    }

    .hero-visual {
        width: min(100%, 700px);
        min-height: 510px;
    }

    .proof-strip__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 0;
    }

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

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

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

    .section-header--split,
    .about-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .section-header--split {
        align-items: start;
        gap: 22px;
    }

    .portfolio-list ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .page-hero__grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .page-hero__aside {
        max-width: 580px;
    }

    .service-detail__content {
        padding-left: 0;
    }

    .case-detail__content {
        width: calc(100% - 48px);
        max-width: 980px;
    }

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

    .legal-navigation {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__grid {
        grid-template-columns: 1fr repeat(2, minmax(0, 1fr));
        gap: 46px;
    }

    .site-footer__about {
        grid-column: 1 / -1;
    }

    .site-footer__legal {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 700px) {
    .container,
    .case-detail__content {
        width: calc(100% - 32px);
    }

    .section {
        padding-block: 72px;
    }

    .eyebrow {
        margin-bottom: 14px;
        font-size: 0.75rem;
    }

    .button {
        width: 100%;
    }

    .text-link {
        width: auto;
    }

    .hero {
        padding-block: 64px 72px;
    }

    .hero__lead {
        margin-top: 24px;
    }

    .hero__actions {
        display: grid;
        gap: 10px;
        margin-top: 28px;
    }

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

    .hero-visual__case--main {
        width: 94%;
    }

    .hero-visual__case--mobile {
        bottom: 54px;
        width: 62%;
    }

    .integration-map {
        width: 88%;
        min-height: 76px;
        padding: 12px;
    }

    .integration-map span {
        padding: 6px;
        font-size: 0.62rem;
    }

    .integration-map i {
        width: 14px;
    }

    .task-grid,
    .featured-case-grid,
    .case-grid,
    .fit-grid,
    .case-neighbors {
        grid-template-columns: 1fr;
    }

    .task-card--priority {
        grid-column: auto;
    }

    .task-card {
        min-height: 250px;
    }

    .scenario-card {
        min-height: 240px;
    }

    .portfolio-list {
        margin-top: 52px;
        border-radius: var(--radius);
    }

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

    .process-list li {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 16px;
    }

    .process-list li > div {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-grid {
        gap: 48px;
    }

    .tech-groups > div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .cta-section__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cta-section__action {
        justify-items: stretch;
    }

    .page-hero {
        padding-block: 64px 72px;
    }

    .page-hero__grid {
        gap: 38px;
    }

    .anchor-navigation {
        position: static;
    }

    .anchor-navigation .container {
        gap: 4px 14px;
    }

    .service-detail {
        scroll-margin-top: 24px;
    }

    .service-detail > header {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-detail__content {
        gap: 28px;
        margin-top: 30px;
    }

    .service-detail__content ul {
        grid-template-columns: 1fr;
    }

    .case-filters {
        gap: 8px;
    }

    .case-filters button {
        flex: 1 1 auto;
    }

    .case-detail__media {
        width: calc(100% - 24px);
    }

    .case-contact__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .case-neighbors a:last-child {
        text-align: left;
    }

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

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__about {
        grid-column: auto;
    }
}

@media (max-width: 440px) {
    h1 {
        font-size: clamp(2.35rem, 12vw, 3.25rem);
    }

    h2 {
        font-size: clamp(1.9rem, 10vw, 2.65rem);
    }

    .site-logo img {
        width: 132px;
    }

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

    .hero-visual__case--mobile {
        bottom: 60px;
    }

    .integration-map {
        width: 100%;
    }

    .integration-map span {
        white-space: normal;
        text-align: center;
    }

    .proof-strip__metrics {
        grid-template-columns: 1fr;
    }

    .proof-strip__metrics > div {
        padding: 0 0 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .proof-strip__metrics > div:last-child {
        border-bottom: 0;
    }

    .scenario-grid,
    .format-grid {
        grid-template-columns: 1fr;
    }

    .scenario-card {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .scenario-card:last-child {
        border-bottom: 0;
    }

    .portfolio-list ul {
        grid-template-columns: 1fr;
    }

    .page-hero__aside {
        grid-template-columns: 1fr;
    }

    .not-found__actions {
        display: grid;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .site-header,
    .site-footer,
    .cta-section,
    .case-contact,
    .anchor-navigation,
    .case-filters {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }
}
