:root {
    --bg: #07111f;
    --bg-soft: #0b1829;
    --surface: #ffffff;
    --surface-soft: #f4f7fb;
    --text: #0d1b2d;
    --text-soft: #536176;
    --text-light: #eef6ff;
    --text-light-soft: #a9b9cb;
    --line: #dce4ee;
    --line-dark: rgba(255, 255, 255, 0.12);
    --primary: #37c6e8;
    --primary-dark: #0c91b2;
    --green: #36d399;
    --purple: #a78bfa;
    --radius: 22px;
    --shadow: 0 22px 70px rgba(11, 31, 54, 0.14);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--surface);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
    font-family: inherit;
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font-size: inherit;
}

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

.narrow {
    width: min(850px, calc(100% - 40px));
}

.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;
}

.metric-pixel,
.honeypot {
    position: absolute !important;
    left: -9999px !important;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 17, 31, 0.9);
    border-bottom: 1px solid var(--line-dark);
    backdrop-filter: blur(16px);
}

.nav-wrap {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--primary);
    color: var(--bg);
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(55, 198, 232, 0.25);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
}

.site-nav a,
.header-phone {
    color: var(--text-light-soft);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.header-phone:hover {
    color: var(--text-light);
}

.header-phone {
    color: var(--text-light);
    border-left: 1px solid var(--line-dark);
    padding-left: 24px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line-dark);
    border-radius: 10px;
    background: transparent;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: white;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 88px;
    background:
        radial-gradient(circle at 75% 10%, rgba(55, 198, 232, 0.16), transparent 32%),
        radial-gradient(circle at 10% 80%, rgba(167, 139, 250, 0.08), transparent 28%),
        var(--bg);
    color: var(--text-light);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    align-items: center;
    gap: 78px;
}

.hero-copy,
.hero-visual {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 24px;
    height: 2px;
    background: currentColor;
}

.hero .eyebrow,
.eyebrow.light {
    color: var(--primary);
}

.hero h1 {
    max-width: 720px;
    margin: 18px 0 23px;
    font-size: clamp(45px, 6vw, 75px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hero h1 em {
    color: var(--primary);
    font-style: normal;
}

.hero-lead {
    max-width: 680px;
    margin: 0 0 16px;
    color: #d1dcea;
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.5;
}

.hero-note {
    max-width: 630px;
    margin: 0;
    color: var(--text-light-soft);
}

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

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 23px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button-primary {
    background: var(--primary);
    color: #07111f;
    box-shadow: 0 14px 36px rgba(55, 198, 232, 0.23);
}

.button-primary:hover {
    background: #62d6ef;
    box-shadow: 0 18px 42px rgba(55, 198, 232, 0.3);
}

.button-ghost {
    border-color: rgba(255, 255, 255, 0.22);
    color: white;
    background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.09);
}

.button-full {
    width: 100%;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    padding: 0;
    margin: 31px 0 0;
    color: var(--text-light-soft);
    font-size: 13px;
    list-style: none;
}

.trust-row li::before {
    content: "✓";
    margin-right: 7px;
    color: var(--green);
    font-weight: 900;
}

.hero-visual {
    position: relative;
    padding: 20px;
}

.photo-card {
    overflow: hidden;
    position: relative;
    aspect-ratio: 0.86;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: #112239;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}

.photo-card::after {
    content: "";
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(transparent, rgba(5, 12, 22, 0.95));
}

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

.photo-caption {
    position: absolute;
    right: 25px;
    bottom: 23px;
    left: 25px;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.photo-caption strong {
    font-size: 21px;
}

.photo-caption span {
    color: var(--text-light-soft);
    font-size: 13px;
}

.floating-card {
    position: absolute;
    z-index: 2;
    padding: 14px 17px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 14px;
    background: rgba(16, 33, 54, 0.92);
    color: white;
    font-size: 13px;
    box-shadow: 0 15px 40px rgba(0,0,0,.3);
    backdrop-filter: blur(12px);
}

.floating-card-top {
    top: 62px;
    left: -18px;
}

.floating-card-bottom {
    right: -17px;
    bottom: 70px;
    display: flex;
    flex-direction: column;
}

.floating-card small {
    color: var(--text-light-soft);
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(54, 211, 153, 0.12);
}

.pain-strip {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.pain-grid > div {
    min-height: 122px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 25px;
    border-right: 1px solid var(--line);
}

.pain-grid > div:first-child {
    border-left: 1px solid var(--line);
}

.pain-grid > div:last-child {
    background: #eafafe;
}

.pain-grid strong {
    font-size: 15px;
}

.pain-grid span {
    color: var(--text-soft);
    font-size: 13px;
}

.section {
    padding: 110px 0;
}

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

.section-heading {
    max-width: 760px;
    margin-bottom: 45px;
}

.section-heading.compact {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2,
.project-copy h2,
.trust-grid h2,
.contact-copy h2 {
    margin: 14px 0 17px;
    font-size: clamp(34px, 4vw, 53px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-heading p,
.project-copy > p,
.contact-copy > p {
    max-width: 700px;
    margin: 0;
    color: var(--text-soft);
    font-size: 18px;
}

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

.solution-card {
    min-height: 285px;
    padding: 31px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 10px 35px rgba(11, 31, 54, 0.05);
}

.solution-card.featured {
    grid-row: span 2;
    min-height: 588px;
    color: var(--text-light);
    background:
        radial-gradient(circle at 100% 0, rgba(55, 198, 232, .2), transparent 37%),
        var(--bg-soft);
    border-color: var(--bg-soft);
}

.card-number {
    display: inline-grid;
    min-width: 40px;
    height: 28px;
    place-items: center;
    border-radius: 20px;
    background: #e8f9fd;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 900;
}

.featured .card-number {
    background: rgba(55, 198, 232, .13);
    color: var(--primary);
}

.solution-card h3 {
    margin: 60px 0 12px;
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.solution-card.featured h3 {
    margin-top: 130px;
    font-size: 32px;
}

.solution-card p {
    margin: 0;
    color: var(--text-soft);
}

.solution-card.featured p {
    color: var(--text-light-soft);
}

.solution-card ul {
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.solution-card li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line-dark);
    color: #d3e0ee;
    font-size: 14px;
}

.solution-card li::before {
    content: "→";
    margin-right: 10px;
    color: var(--primary);
}

.project-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 75px;
}

.project-points {
    display: grid;
    gap: 19px;
    margin: 31px 0;
}

.project-points > div {
    display: flex;
    flex-direction: column;
    padding-left: 17px;
    border-left: 3px solid var(--primary);
}

.project-points span {
    color: var(--text-soft);
    font-size: 14px;
}

.text-link {
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
}

.text-link span {
    color: var(--primary-dark);
    transition: margin .2s ease;
}

.text-link:hover span {
    margin-left: 5px;
}

.dashboard-preview {
    padding: 25px;
    border: 1px solid #d9e4ef;
    border-radius: 27px;
    background: #fff;
    box-shadow: var(--shadow);
}

.preview-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 19px;
    border-bottom: 1px solid var(--line);
}

.preview-logo {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--primary);
    font-weight: 900;
}

.preview-topbar > div,
.preview-client > div {
    display: flex;
    flex-direction: column;
}

.preview-topbar small,
.preview-client small {
    color: #758399;
    font-size: 11px;
}

.preview-add {
    margin-left: auto;
    padding: 9px 12px;
    border-radius: 9px;
    background: #0c1c2f;
    color: white;
    font-size: 11px;
    font-weight: 800;
}

.preview-search {
    margin: 19px 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #929fb0;
    font-size: 12px;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 17px;
}

.preview-stats div {
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-radius: 11px;
    background: #f5f8fb;
}

.preview-stats span {
    color: #738197;
    font-size: 10px;
}

.preview-stats strong {
    font-size: 20px;
}

.preview-client {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.preview-avatar {
    width: 37px;
    height: 37px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 11px;
    background: #e2fbf1;
    color: #167653;
    font-size: 11px;
    font-weight: 900;
}

.preview-avatar.blue { background: #e5f5fc; color: #137494; }
.preview-avatar.purple { background: #f0eafe; color: #6845a7; }

.preview-status {
    margin-left: auto;
    padding: 5px 8px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 900;
}

.preview-status.new { background: #fff2dc; color: #956415; }
.preview-status.work { background: #e5f5fc; color: #137494; }
.preview-status.done { background: #e2fbf1; color: #167653; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 0;
    margin: 52px 0 0;
    list-style: none;
}

.process-grid li {
    display: flex;
    gap: 21px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.process-grid li > span {
    width: 38px;
    height: 38px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #e8f9fd;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 900;
}

.process-grid h3 {
    margin: 1px 0 7px;
    font-size: 18px;
}

.process-grid p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
}

.section-trust {
    color: var(--text-light);
    background: var(--bg);
}

.trust-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}

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

.trust-cards > div {
    min-height: 155px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 23px;
    border: 1px solid var(--line-dark);
    border-radius: 16px;
    background: rgba(255,255,255,.035);
}

.trust-cards span {
    margin-top: 7px;
    color: var(--text-light-soft);
    font-size: 13px;
}

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

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

.faq-list summary {
    position: relative;
    padding: 24px 50px 24px 0;
    font-size: 18px;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 20px;
    right: 3px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--primary-dark);
    font-size: 21px;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list p {
    max-width: 760px;
    padding: 0 55px 24px 0;
    margin: 0;
    color: var(--text-soft);
}

.contact-section {
    color: var(--text-light);
    background:
        radial-gradient(circle at 15% 20%, rgba(55, 198, 232, 0.15), transparent 29%),
        var(--bg-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 80px;
}

.contact-copy > p {
    color: var(--text-light-soft);
}

.direct-contacts {
    display: grid;
    gap: 12px;
    margin-top: 36px;
}

.direct-contacts a {
    display: flex;
    flex-direction: column;
    padding: 15px 18px;
    border: 1px solid var(--line-dark);
    border-radius: 13px;
    text-decoration: none;
    transition: background .2s ease;
}

.direct-contacts a:hover {
    background: rgba(255,255,255,.05);
}

.direct-contacts span {
    color: var(--text-light-soft);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.contact-form {
    padding: 35px;
    border-radius: 24px;
    background: white;
    color: var(--text);
    box-shadow: 0 30px 80px rgba(0,0,0,.23);
}

.contact-form > label:not(.consent) {
    display: block;
    margin-bottom: 17px;
}

.contact-form label > span:first-child {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 750;
}

.contact-form input[type="text"],
.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d6dfe9;
    border-radius: 11px;
    background: #fbfcfe;
    color: var(--text);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 125px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 4px rgba(55,198,232,.12);
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 5px 0 20px;
    color: var(--text-soft);
    font-size: 12px;
}

.consent input {
    margin-top: 4px;
}

.consent a {
    color: var(--primary-dark);
}

.form-note {
    display: block;
    margin-top: 12px;
    color: var(--text-soft);
    text-align: center;
}

.alert {
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 10px;
    font-size: 13px;
}

.alert.success { background: #e5f8f0; color: #176445; }
.alert.error { background: #feecec; color: #9d2929; }

.site-footer {
    padding: 48px 0;
    border-top: 1px solid var(--line-dark);
    background: var(--bg);
    color: var(--text-light-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 45px;
}

.site-footer p {
    max-width: 320px;
    margin: 14px 0 0;
    font-size: 13px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-links a,
.footer-links button,
.footer-contact a {
    padding: 0;
    border: 0;
    background: none;
    color: var(--text-light-soft);
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover,
.footer-contact a:hover {
    color: white;
}

.footer-contact span {
    margin-top: 8px;
    font-size: 12px;
}

.legal-page {
    background: var(--surface-soft);
}

.legal-phone {
    margin-left: auto;
}

.legal-main {
    padding: 75px 0 100px;
}

.legal-content {
    max-width: 850px;
    padding: 50px 55px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow);
}

.legal-back {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.legal-content h1 {
    margin: 25px 0 3px;
    font-size: clamp(37px, 6vw, 56px);
    line-height: 1.08;
    letter-spacing: -.05em;
}

.legal-updated {
    color: var(--text-soft);
    font-size: 13px;
}

.legal-content > p:not(.legal-updated) {
    color: #435167;
}

.legal-content h2 {
    margin: 34px 0 7px;
    font-size: 21px;
}

.legal-content a {
    color: var(--primary-dark);
}

.legal-contact {
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin-top: 38px;
    border-radius: 13px;
    background: #eafafe;
}

.legal-contact span {
    color: var(--text-soft);
    font-size: 14px;
}

@media (max-width: 980px) {
    .hero-grid,
    .project-grid,
    .contact-grid,
    .trust-grid {
        gap: 45px;
    }

    .hero-grid {
        grid-template-columns: 1fr 390px;
    }

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

    .solution-card.featured {
        grid-row: auto;
        min-height: 400px;
    }

    .solution-card.featured h3 {
        margin-top: 75px;
    }

    .site-nav {
        gap: 16px;
    }
}

@media (max-width: 800px) {
    .site-header .header-phone {
        margin-left: auto;
    }

    .nav-toggle {
        display: block;
        order: 3;
    }

    .site-nav {
        position: absolute;
        top: 74px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 20px;
        border-bottom: 1px solid var(--line-dark);
        background: rgba(7, 17, 31, .98);
    }

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

    .site-nav a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }

    .hero-grid,
    .project-grid,
    .contact-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 680px;
    }

    .hero-visual {
        width: min(480px, 100%);
        margin-inline: auto;
    }

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

    .pain-grid > div:nth-child(3) {
        border-left: 1px solid var(--line);
    }

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

    .trust-grid h2 {
        max-width: 650px;
    }

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

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .container,
    .narrow {
        width: min(100% - 28px, 1180px);
    }

    .nav-wrap {
        min-height: 64px;
        gap: 12px;
    }

    .brand {
        gap: 8px;
        min-width: 0;
        font-size: 19px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        margin-left: auto;
    }

    .site-nav {
        top: 64px;
    }

    .site-header .header-phone {
        display: none;
    }

    .hero {
        padding: 54px 0 58px;
    }

    .hero-grid {
        gap: 38px;
    }

    .hero .eyebrow {
        max-width: 100%;
        font-size: 10px;
        letter-spacing: .1em;
        overflow-wrap: anywhere;
    }

    .hero h1 {
        max-width: 100%;
        margin: 15px 0 20px;
        font-size: clamp(34px, 10.8vw, 44px);
        line-height: 1.06;
        letter-spacing: -.04em;
        overflow-wrap: anywhere;
    }

    .hero-lead {
        font-size: 17px;
        line-height: 1.55;
    }

    .hero-note {
        font-size: 14px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 27px;
    }

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

    .trust-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 25px;
    }

    .hero-visual {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        padding: 0;
    }

    .photo-card {
        grid-column: 1 / -1;
        border-radius: 21px;
    }

    .photo-caption {
        right: 18px;
        bottom: 17px;
        left: 18px;
    }

    .photo-caption strong {
        font-size: 19px;
    }

    .floating-card,
    .floating-card-top,
    .floating-card-bottom {
        position: static;
        min-width: 0;
        padding: 12px 13px;
        border-radius: 12px;
        font-size: 11px;
        box-shadow: none;
    }

    .floating-card-bottom strong {
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .pain-grid,
    .solution-grid,
    .process-grid,
    .trust-cards,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .pain-grid > div,
    .pain-grid > div:first-child,
    .pain-grid > div:nth-child(3) {
        min-height: 95px;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        border-left: 1px solid var(--line);
    }

    .section {
        padding: 78px 0;
    }

    .section-heading h2,
    .project-copy h2,
    .trust-grid h2,
    .contact-copy h2 {
        font-size: 35px;
    }

    .solution-card,
    .solution-card.featured {
        min-height: 0;
    }

    .solution-card h3,
    .solution-card.featured h3 {
        margin-top: 55px;
    }

    .dashboard-preview {
        padding: 16px;
    }

    .preview-status {
        display: none;
    }

    .process-grid li {
        padding: 22px;
    }

    .contact-form {
        padding: 23px 18px;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .legal-main {
        padding: 35px 0 65px;
    }

    .legal-content {
        padding: 30px 22px;
        border-radius: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Articles */
.site-nav a.active {
    color: var(--text-light);
}

.articles-hero {
    padding: 92px 0 86px;
    background:
        radial-gradient(circle at 80% 15%, rgba(55, 198, 232, .16), transparent 30%),
        var(--bg);
    color: var(--text-light);
}

.articles-hero-inner {
    max-width: 850px;
}

.articles-hero h1,
.article-head h1,
.article-not-found h1 {
    margin: 16px 0 20px;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.articles-hero h1 em {
    color: var(--primary);
    font-style: normal;
}

.articles-hero p {
    max-width: 750px;
    margin: 0;
    color: var(--text-light-soft);
    font-size: 19px;
}

.article-index-section {
    min-height: 520px;
}

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

.article-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: white;
    box-shadow: 0 12px 38px rgba(11, 31, 54, .06);
}

.article-card-cover {
    aspect-ratio: 16 / 9;
    display: grid;
    overflow: hidden;
    place-items: center;
    background:
        radial-gradient(circle at 70% 20%, rgba(55, 198, 232, .32), transparent 35%),
        var(--bg-soft);
    color: var(--primary);
    font-size: 56px;
    font-weight: 900;
    text-decoration: none;
}

.article-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.article-card:hover .article-card-cover img {
    transform: scale(1.025);
}

.article-card-body {
    padding: 24px 25px 27px;
}

.article-card-body time {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .04em;
}

.article-card-body h2,
.article-card-body h3 {
    margin: 0 0 11px;
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.article-card-body h3 {
    font-size: 21px;
}

.article-card-body h2 a,
.article-card-body h3 a {
    text-decoration: none;
}

.article-card-body p {
    margin: 0 0 19px;
    color: var(--text-soft);
    font-size: 14px;
}

.public-empty-state {
    max-width: 760px;
    padding: 55px 0;
}

.public-empty-state > span {
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.public-empty-state h2 {
    margin: 10px 0 15px;
    font-size: clamp(34px, 5vw, 50px);
    line-height: 1.12;
    letter-spacing: -.04em;
}

.public-empty-state p {
    max-width: 620px;
    margin: 0 0 26px;
    color: var(--text-soft);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 46px;
}

.pagination a,
.pagination span {
    font-size: 13px;
    font-weight: 750;
}

.pagination a {
    color: var(--primary-dark);
    text-decoration: none;
}

.home-articles {
    background: var(--surface-soft);
}

.home-articles-heading {
    max-width: 820px;
}

.home-articles-more {
    margin-top: 30px;
}

.button-ghost-dark {
    border-color: #ccd7e4;
    background: white;
    color: var(--text);
}

.article-hero {
    padding: 72px 0 0;
    background:
        radial-gradient(circle at 75% 10%, rgba(55, 198, 232, .14), transparent 30%),
        var(--bg);
    color: var(--text-light);
}

.article-head {
    width: min(860px, calc(100% - 40px));
    padding-bottom: 55px;
}

.article-back {
    display: inline-block;
    margin-bottom: 34px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    color: var(--text-light-soft);
    font-size: 12px;
}

.article-head h1 {
    max-width: 850px;
    font-size: clamp(40px, 5.6vw, 66px);
}

.article-head > p {
    max-width: 760px;
    margin: 0;
    color: #c8d5e4;
    font-size: 19px;
}

.article-cover {
    width: min(1040px, calc(100% - 40px));
    padding-bottom: 55px;
}

.article-cover img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    border: 1px solid var(--line-dark);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.article-layout {
    width: min(1040px, calc(100% - 40px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: start;
    gap: 75px;
    padding-top: 70px;
    padding-bottom: 90px;
}

.article-content {
    min-width: 0;
    font-size: 18px;
    line-height: 1.82;
}

.article-content p {
    margin: 0 0 26px;
}

.article-content h2 {
    margin: 54px 0 19px;
    font-size: 35px;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.article-content h3 {
    margin: 40px 0 15px;
    font-size: 25px;
    line-height: 1.25;
}

.article-content ul,
.article-content ol {
    padding-left: 25px;
    margin: 0 0 27px;
}

.article-content li {
    padding-left: 4px;
    margin: 7px 0;
}

.article-content a {
    color: var(--primary-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-content blockquote {
    padding: 22px 25px;
    margin: 34px 0;
    border-left: 4px solid var(--primary);
    border-radius: 0 14px 14px 0;
    background: #eefafd;
    font-size: 19px;
    font-weight: 650;
}

.article-aside {
    position: sticky;
    top: 100px;
}

.article-aside > div {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-soft);
}

.article-aside span {
    display: block;
    color: var(--text-soft);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.article-aside strong {
    display: block;
    margin-top: 3px;
}

.article-aside p {
    margin: 8px 0 0;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.55;
}

.article-share-button {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    margin-top: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.article-cta {
    padding: 64px 0;
    background: var(--bg-soft);
    color: var(--text-light);
}

.article-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.article-cta-inner span {
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.article-cta-inner h2 {
    max-width: 760px;
    margin: 8px 0 0;
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.related-articles .section-heading {
    margin-bottom: 30px;
}

.article-not-found {
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 70px 0;
}

.article-not-found h1 {
    color: var(--text);
}

.article-not-found p {
    margin: 0 0 28px;
    color: var(--text-soft);
}

@media (max-width: 900px) {
    .articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .article-aside {
        position: static;
        max-width: 430px;
    }
}

@media (max-width: 600px) {
    .articles-hero {
        padding: 62px 0 58px;
    }

    .articles-hero h1,
    .article-head h1,
    .article-not-found h1 {
        font-size: 38px;
    }

    .articles-hero p,
    .article-head > p {
        font-size: 16px;
    }

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

    .article-card-body {
        padding: 21px 20px 23px;
    }

    .article-hero {
        padding-top: 48px;
    }

    .article-head,
    .article-cover,
    .article-layout {
        width: min(100% - 28px, 1040px);
    }

    .article-head {
        padding-bottom: 38px;
    }

    .article-cover {
        padding-bottom: 38px;
    }

    .article-cover img {
        border-radius: 16px;
    }

    .article-layout {
        padding-top: 48px;
        padding-bottom: 65px;
    }

    .article-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .article-content h2 {
        margin-top: 42px;
        font-size: 29px;
    }

    .article-content h3 {
        font-size: 23px;
    }

    .article-cta-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .article-cta-inner .button {
        width: 100%;
    }

    .pagination {
        gap: 12px;
        justify-content: space-between;
    }

    .pagination span {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .article-card-cover img {
        transition: none !important;
    }
}
