:root {
    color-scheme: dark;
    --bg: #080b10;
    --bg-soft: #0d1118;
    --surface: #111722;
    --surface-soft: #151c27;
    --line: rgba(255, 255, 255, 0.11);
    --line-soft: rgba(255, 255, 255, 0.07);
    --text: #f6f8fb;
    --text-soft: #b9c1cf;
    --text-muted: #7f8999;
    --accent: #3858d6;
    --accent-strong: #5c76f2;
    --teal: #5ebfc4;
    --white: #ffffff;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(180deg, #070a0f 0%, #0b0f16 44%, #10151e 100%);
    background-size: 48px 48px, 48px 48px, auto;
    color: var(--text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(56, 88, 214, 0.12), transparent 34%),
        linear-gradient(310deg, rgba(94, 191, 196, 0.06), transparent 30%);
}

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

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

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

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

.site-header,
main,
.site-footer {
    width: min(var(--max-width), calc(100% - 36px));
    margin-inline: auto;
    position: relative;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    position: relative;
    padding: 10px 12px;
    margin: -10px -12px;
    border-radius: 8px;
}

.brand::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 50%, rgba(3, 8, 20, 0.9) 0%, rgba(3, 8, 20, 0.56) 48%, rgba(3, 8, 20, 0) 74%);
    filter: blur(8px);
}

.brand img {
    position: relative;
    width: 188px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-lines {
    position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-lines::before {
    top: -7px;
}

.nav-toggle-lines::after {
    top: 7px;
}

.site-header.nav-open .nav-toggle-lines {
    transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle-lines::before {
    transform: translateY(7px) rotate(90deg);
}

.site-header.nav-open .nav-toggle-lines::after {
    opacity: 0;
}

.site-nav a,
.site-footer a {
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
}

.site-nav a:hover,
.site-footer a:hover,
.site-nav a[aria-current="page"] {
    color: var(--white);
    border-color: var(--line-soft);
    background: rgba(255, 255, 255, 0.035);
}

.section {
    padding: 76px 0;
    border-top: 1px solid var(--line-soft);
}

.hero {
    min-height: 660px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    align-items: center;
    gap: 56px;
    border-top: 0;
    padding-top: 82px;
}

.hero-content {
    max-width: 760px;
}

.eyebrow {
    margin-bottom: 16px;
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: 0;
}

h1 {
    max-width: 13ch;
    font-size: clamp(2.55rem, 6.8vw, 5.8rem);
    line-height: 0.98;
    font-weight: 760;
}

.hero-title {
    max-width: 17ch;
    font-size: clamp(1.95rem, 3.6vw, 3.35rem);
    line-height: 1.08;
}

h2 {
    font-size: clamp(1.72rem, 3vw, 2.7rem);
    line-height: 1.08;
    font-weight: 720;
}

.home-main h2 {
    font-size: clamp(1.45rem, 2.35vw, 2.18rem);
    line-height: 1.14;
}

h3 {
    font-size: 1.08rem;
    line-height: 1.24;
}

.lead {
    max-width: 720px;
    margin-top: 24px;
    color: var(--text-soft);
    font-size: clamp(1.02rem, 1.7vw, 1.28rem);
    line-height: 1.7;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.035);
}

.button:hover {
    border-color: rgba(92, 118, 242, 0.72);
    background: rgba(92, 118, 242, 0.13);
}

.button-primary {
    border-color: rgba(92, 118, 242, 0.6);
    background: var(--accent);
    color: var(--white);
}

.button-primary:hover {
    background: #4664e2;
}

.button-quiet {
    color: var(--text-soft);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.02);
}

.hero-signal {
    min-height: 430px;
    position: relative;
    border-left: 1px solid var(--line-soft);
}

.signal-grid {
    position: absolute;
    inset: 18px 0 18px 42px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.signal-grid span {
    min-height: 72px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.018);
}

.signal-grid span:nth-child(3n) {
    background: rgba(56, 88, 214, 0.11);
    border-color: rgba(92, 118, 242, 0.24);
}

.signal-panel {
    position: absolute;
    right: 22px;
    width: min(78%, 320px);
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(9, 13, 20, 0.86);
    backdrop-filter: blur(12px);
}

.signal-panel strong,
.signal-panel span {
    display: block;
}

.signal-panel strong {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.signal-panel span {
    color: var(--text-soft);
    line-height: 1.55;
}

.panel-a {
    top: 82px;
}

.panel-b {
    bottom: 82px;
}

.signal-line {
    position: absolute;
    left: 16px;
    top: 48px;
    bottom: 48px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--accent-strong), transparent);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    gap: 58px;
}

.copy-block {
    display: grid;
    gap: 18px;
    color: var(--text-soft);
    font-size: 1.03rem;
    line-height: 1.78;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 20px;
    margin-bottom: 28px;
}

.section-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -8px;
}

.text-link {
    color: var(--text);
    font-weight: 700;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--accent-strong);
}

.section-intro {
    max-width: 760px;
    margin: -8px 0 28px;
    color: var(--text-soft);
    font-size: 1.03rem;
    line-height: 1.74;
}

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

.cards-five .card:first-child,
.cards-five .card:nth-child(2) {
    grid-column: span 1;
}

.card,
.project-row,
.tool-card,
.service-block,
.profile-fact,
.contact-form {
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(17, 23, 34, 0.72);
}

.card {
    min-height: 210px;
    padding: 22px;
}

.card-index,
.tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 18px;
    color: var(--teal);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.card p,
.project-row p,
.tool-card p,
.service-block p,
.profile-fact p,
.cta-band p {
    margin-top: 12px;
    color: var(--text-soft);
    line-height: 1.68;
}

.muted-section {
    margin-inline: calc(50% - 50vw);
    padding-inline: max(18px, calc((100vw - var(--max-width)) / 2));
    background: rgba(255, 255, 255, 0.028);
}

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

.project-row {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 20px 22px;
}

.project-row .tag {
    margin-bottom: 8px;
}

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

.principle-list li {
    min-height: 58px;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--line-soft);
    color: var(--text-soft);
    line-height: 1.5;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    border-top: 1px solid rgba(92, 118, 242, 0.28);
    border-bottom: 1px solid rgba(92, 118, 242, 0.28);
}

.cta-band div {
    max-width: 720px;
}

.cta-band .button-row {
    margin-top: 0;
    flex: 0 0 auto;
}

.page-hero {
    padding: 74px 0 38px;
    border-top: 1px solid var(--line-soft);
}

.page-hero + .section {
    padding-top: 44px;
}

.page-hero h1 {
    max-width: 760px;
    font-size: clamp(2.4rem, 5.2vw, 4.7rem);
}

.page-hero .lead {
    max-width: 780px;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 150px);
    gap: 44px;
    align-items: center;
}

.about-hero-copy {
    min-width: 0;
}

.service-list {
    display: grid;
    gap: 14px;
}

.service-block {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
    gap: 34px;
    padding: 28px;
}

.service-points,
.compact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.service-points li,
.compact-list li {
    color: var(--text-soft);
    line-height: 1.45;
    padding: 10px 0;
    border-top: 1px solid var(--line-soft);
}

.project-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.project-categories span {
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    padding: 9px 11px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.025);
}

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

.tool-card,
.profile-fact {
    padding: 24px;
}

.tool-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
}

.tool-card .button {
    margin-top: auto;
    align-self: flex-start;
}

.profile-text {
    display: grid;
    gap: 18px;
    max-width: 800px;
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.78;
}

.profile-section {
    display: grid;
    grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.profile-photo {
    margin: 0;
}

.profile-photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    filter: saturate(0.92);
}

.profile-photo figcaption {
    display: grid;
    gap: 2px;
    margin-top: 9px;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.profile-photo figcaption span {
    white-space: nowrap;
}

.hero-profile-photo {
    justify-self: end;
    align-self: start;
    width: 150px;
    max-width: 150px;
    margin-top: 12px;
}

.hero-profile-photo img {
    display: block;
    width: 150px;
    height: 150px;
    max-width: 150px;
    object-fit: cover;
    object-position: center center;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
    gap: 34px;
}

.contact-note {
    color: var(--text-soft);
    line-height: 1.75;
}

.contact-note p + p {
    margin-top: 14px;
}

.email-line {
    overflow-wrap: anywhere;
}

.contact-note .button {
    margin-top: 22px;
    color: var(--text);
}

.contact-address {
    margin-top: 18px;
    color: var(--text-soft);
    font-style: normal;
    line-height: 1.65;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 24px;
}

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

label {
    display: grid;
    gap: 8px;
    color: var(--text-soft);
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

select option {
    color: #111722;
}

.legal-copy {
    max-width: 860px;
    color: var(--text-soft);
    line-height: 1.78;
}

.legal-copy h2 {
    margin-top: 34px;
    margin-bottom: 12px;
    color: var(--text);
    font-size: 1.35rem;
}

.legal-copy p + p {
    margin-top: 14px;
}

.legal-address {
    color: var(--text-soft);
    font-style: normal;
    line-height: 1.55;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    padding: 36px 0 44px;
    border-top: 1px solid var(--line-soft);
}

.footer-powered {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    min-width: min(100%, 360px);
}

.footer-powered img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: contain;
    flex: 0 0 auto;
    background: #030814;
}

.footer-powered p {
    margin: 0;
    color: #d9e6fb;
    font-size: clamp(0.92rem, 1.55vw, 1.18rem);
    line-height: 1.2;
    letter-spacing: 0;
}

.site-footer nav {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 2px;
}

.assistant-widget {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 30;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.assistant-widget.is-footer-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
}

.assistant-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 15px 0 10px;
    border: 1px solid rgba(92, 118, 242, 0.45);
    border-radius: 8px;
    color: var(--text);
    background: rgba(10, 14, 22, 0.94);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
    font: inherit;
    font-size: 0.96rem;
    font-weight: 800;
    cursor: pointer;
}

.assistant-toggle-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 32px;
    border-radius: 8px;
    background: #030814;
    color: var(--white);
    overflow: hidden;
}

.assistant-toggle-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.assistant-panel {
    position: absolute;
    right: 0;
    bottom: 74px;
    width: min(460px, calc(100vw - 36px));
    max-height: min(760px, calc(100vh - 120px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(10, 14, 22, 0.97);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
    overflow: hidden;
}

.assistant-panel[hidden] {
    display: none;
}

.assistant-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 20px;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.025);
}

.assistant-header div {
    display: grid;
    gap: 6px;
}

.assistant-header strong {
    color: var(--text);
    font-size: 1.14rem;
}

.assistant-header span {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.35;
}

.assistant-close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-soft);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.assistant-messages {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 20px;
    overflow-y: auto;
}

.assistant-message {
    max-width: 92%;
    padding: 14px 15px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.035);
    font-size: 1rem;
    line-height: 1.58;
}

.assistant-message.user {
    justify-self: end;
    color: var(--white);
    border-color: rgba(92, 118, 242, 0.34);
    background: rgba(56, 88, 214, 0.2);
}

.assistant-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px 18px;
}

.assistant-chip {
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.03);
    font: inherit;
    font-size: 0.94rem;
    cursor: pointer;
}

.assistant-chip:hover {
    color: var(--white);
    border-color: rgba(92, 118, 242, 0.55);
}

.assistant-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 18px 20px;
    border-top: 1px solid var(--line-soft);
}

.assistant-input-row input {
    min-height: 46px;
    font-size: 1rem;
}

.assistant-input-row button {
    min-height: 46px;
    border: 1px solid rgba(92, 118, 242, 0.58);
    border-radius: 8px;
    padding: 0 16px;
    color: var(--white);
    background: var(--accent);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.assistant-privacy {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.assistant-form {
    display: grid;
    gap: 18px;
    padding: 20px;
    overflow-y: auto;
}

.assistant-field {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--text-soft);
}

.assistant-field legend,
.assistant-field > span {
    color: var(--text);
    font-weight: 800;
}

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

.assistant-option {
    min-height: 42px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    padding: 9px 10px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.03);
    font: inherit;
    font-size: 0.9rem;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.assistant-option:hover,
.assistant-option.is-active {
    color: var(--white);
    border-color: rgba(92, 118, 242, 0.58);
    background: rgba(56, 88, 214, 0.18);
}

.assistant-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.assistant-field textarea {
    min-height: 110px;
}

.assistant-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.assistant-actions .button {
    min-height: 44px;
}

@media (max-width: 980px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .hero,
    .split-section,
    .profile-section,
    .service-block,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 0;
        gap: 30px;
        padding-top: 54px;
    }

    .hero-signal {
        min-height: 340px;
        border-left: 0;
        border-top: 1px solid var(--line-soft);
    }

    .signal-grid {
        inset: 30px 0 0;
    }

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

    .project-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .profile-photo {
        max-width: 132px;
    }
}

@media (max-width: 660px) {
    .site-header,
    main,
    .site-footer {
        width: min(var(--max-width), calc(100% - 28px));
    }

    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
    }

    .brand img {
        width: 158px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        grid-column: 1 / -1;
        width: 100%;
        display: none;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 8px 0 4px;
    }

    .site-header.nav-open .site-nav {
        display: grid;
    }

    .site-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding-inline: 14px;
        text-align: left;
    }

    .section,
    .page-hero {
        padding: 52px 0;
    }

    .page-hero {
        padding-bottom: 30px;
    }

    .page-hero + .section {
        padding-top: 34px;
    }

    .about-hero {
        grid-template-columns: minmax(0, 1fr) 96px;
        gap: 18px;
        align-items: start;
    }

    .about-hero-copy {
        display: contents;
    }

    .about-hero .eyebrow {
        grid-column: 1;
    }

    .about-hero h1,
    .about-hero .lead {
        grid-column: 1 / -1;
    }

    .hero-profile-photo {
        grid-column: 2;
        grid-row: 1;
        width: 96px;
        max-width: 96px;
        margin-top: 0;
        justify-self: end;
    }

    .hero-profile-photo img {
        width: 96px;
        height: 96px;
        max-width: 96px;
    }

    .hero-profile-photo figcaption {
        display: none;
    }

    h1 {
        max-width: none;
        font-size: clamp(2.35rem, 13vw, 3.55rem);
    }

    .button-row,
    .cta-band,
    .site-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .hero-signal {
        min-height: 300px;
    }

    .signal-panel {
        right: 0;
        width: 86%;
    }

    .signal-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .card-grid,
    .tool-grid,
    .profile-grid,
    .principle-list,
    .service-points,
    .compact-list,
    .field-grid {
        grid-template-columns: 1fr;
    }

    .card,
    .service-block,
    .tool-card,
    .profile-fact,
    .contact-form {
        padding: 20px;
    }

    .site-footer nav {
        justify-content: flex-start;
    }

    .footer-powered {
        gap: 8px;
    }

    .footer-powered img {
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }

    .assistant-widget {
        right: 14px;
        bottom: 14px;
    }

    .assistant-widget.is-open {
        left: 14px;
    }

    .assistant-toggle {
        min-height: 48px;
        font-size: 0.94rem;
    }

    .assistant-panel {
        width: calc(100vw - 28px);
        max-height: min(82vh, 680px);
        bottom: 64px;
    }

    .assistant-options {
        grid-template-columns: 1fr;
    }

    .assistant-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
