:root {
    --ink: #171122;
    --muted: #6c6178;
    --deep: #2b1f45;
    --deep-2: #3b2a5d;
    --lilac: #d8bcff;
    --lilac-2: #eee3ff;
    --peach: #f5dca4;
    --cream: #f5e9cf;
    --surface: #fffdf8;
    --surface-2: #f9f4ea;
    --line: rgba(43, 31, 69, 0.12);
    --shadow: 0 24px 70px rgba(43, 31, 69, 0.16);
    --radius: 28px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 20% 0%, rgba(216, 188, 255, 0.36), transparent 34rem),
        linear-gradient(180deg, var(--cream), #fffaf0 32rem, #fffdf8);
    font-size: 16px;
    line-height: 1.5;
}

body.modal-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 10px;
    z-index: 20;
    width: min(1180px, calc(100% - 32px));
    margin: 10px auto 0;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.86);
    box-shadow: 0 18px 48px rgba(43, 31, 69, 0.12);
    backdrop-filter: blur(18px);
}

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

.brand-mark {
    width: 42px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: var(--deep);
    font-size: 12px;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 14px;
    line-height: 1.1;
}

.brand small {
    color: var(--muted);
    font-size: 11px;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.main-nav a {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.main-nav a:hover {
    color: var(--deep);
    background: var(--lilac-2);
}

.header-action,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-action,
.btn-primary {
    color: #fff;
    background: var(--deep);
    box-shadow: 0 16px 36px rgba(43, 31, 69, 0.22);
}

.btn-secondary {
    color: var(--deep);
    background: var(--lilac-2);
}

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

.section-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: calc(100svh - 92px);
    padding: 26px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero {
    min-height: calc(100svh - 92px);
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
    gap: 34px;
    align-items: center;
    padding-top: 28px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--deep);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero .eyebrow {
    font-size: 18px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 16px;
    font-size: clamp(32px, 3.45vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 3.6vw, 50px);
    line-height: 1;
    letter-spacing: -0.025em;
}

h3 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.12;
}

.lead {
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 44px 0 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.hero-stats div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 253, 248, 0.72);
}

.hero-stats dt {
    margin-bottom: 5px;
    font-size: 19px;
    font-weight: 900;
}

.hero-stats dd {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.dashboard-hero {
    min-height: 500px;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: 36px;
    background: rgba(255, 253, 248, 0.76);
    box-shadow: var(--shadow);
}

.dashboard-sidebar {
    min-height: 100%;
    padding: 20px 16px;
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(180deg, var(--deep), #211735);
}

.sidebar-logo {
    margin-bottom: 26px;
    font-size: 15px;
    font-weight: 900;
}

.sidebar-item {
    display: block;
    margin-bottom: 8px;
    padding: 12px 14px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 700;
}

.sidebar-item.is-active,
.sidebar-item:hover {
    color: var(--deep);
    background: var(--lilac);
}

.sidebar-contact {
    display: block;
    margin-top: 110px;
    padding: 12px;
    border-radius: 18px;
    color: var(--deep);
    background: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.dashboard-main {
    display: grid;
    gap: 16px;
}

.dashboard-topline,
.metric-card,
.finance-route,
.soft-card,
.profile-card,
.price-card,
.portfolio-card,
.case-card,
.workflow-card,
.faq-item,
.contact-form,
.contact-copy {
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 12px 36px rgba(43, 31, 69, 0.07);
}

.dashboard-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 20px;
    border-radius: 24px;
}

.dashboard-topline span,
.metric-card span,
.soft-card span,
.portfolio-card span,
.case-card span,
.tag {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dashboard-topline strong {
    display: block;
    font-size: 22px;
    line-height: 1.05;
}

.dashboard-topline img {
    width: 108px;
    height: 108px;
    border-radius: 26px;
    object-fit: cover;
    object-position: top center;
    transition: transform 420ms ease, box-shadow 420ms ease;
    will-change: transform;
}

.dashboard-topline img:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 34px rgba(43, 31, 69, 0.22);
}

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

.metric-card {
    min-height: 112px;
    padding: 15px;
    border-radius: 22px;
}

.metric-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 28px;
    line-height: 1;
}

.metric-card small,
.soft-card small {
    color: var(--muted);
}

.finance-route {
    width: 66%;
    justify-self: end;
    min-height: 130px;
    padding: 18px 22px;
    border-radius: 26px;
    background: linear-gradient(135deg, #fffdf8 0%, #f8dfef 48%, var(--lilac) 100%);
}

.route-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.route-header span {
    color: var(--deep);
    font-weight: 900;
}

.route-header strong {
    font-size: 14px;
}

.route-line {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.route-line::before {
    content: "";
    position: absolute;
    left: 36px;
    right: 36px;
    top: 50%;
    border-top: 2px dashed rgba(43, 31, 69, 0.34);
}

.route-line span {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    border: 8px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: var(--deep);
    box-shadow: 0 8px 18px rgba(43, 31, 69, 0.22);
}

.dashboard-bottom {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 14px;
}

.soft-card {
    padding: 16px 18px;
    border-radius: 24px;
}

.soft-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.accent-card {
    background: var(--deep);
    color: #fff;
}

.accent-card span,
.accent-card small {
    color: rgba(255, 255, 255, 0.72);
}

.section-heading {
    max-width: 820px;
    margin-bottom: 24px;
}

.section-heading.compact {
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: 22px;
    text-align: center;
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 18px;
}

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

.problem-grid article {
    min-height: 250px;
    padding: 26px;
    border-radius: 28px;
    background: var(--deep);
    color: #fff;
}

.problem-grid article:nth-child(2) {
    background: var(--deep-2);
}

.problem-grid article:nth-child(3) {
    color: var(--ink);
    background: var(--peach);
}

.problem-index {
    display: block;
    margin-bottom: 54px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 900;
}

.problem-grid article:nth-child(3) .problem-index {
    color: rgba(43, 31, 69, 0.55);
}

.problem-grid p,
.case-card p,
.portfolio-card p,
.about p {
    color: var(--muted);
}

.problem-grid article:not(:nth-child(3)) p {
    color: rgba(255, 255, 255, 0.74);
}

.video-frame {
    width: min(760px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 8px solid var(--surface);
    border-radius: 34px;
    background: var(--deep);
    box-shadow: var(--shadow);
}

.video-frame video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (min-width: 761px) {
    .hero-copy .eyebrow {
        position: relative;
        top: -58px;
    }

    .hero-copy h1 {
        position: relative;
        top: -48px;
    }
}

.profile-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
    gap: 32px;
    align-items: center;
    padding: 26px;
    border-radius: 34px;
}

.profile-card img {
    width: 100%;
    max-height: 540px;
    border-radius: 28px;
    object-fit: cover;
    object-position: top center;
}

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

.price-card {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    padding: 20px;
    border-radius: 28px;
}

.price-card.featured {
    border-color: rgba(216, 188, 255, 0.9);
    background: linear-gradient(180deg, #fffdf8, var(--lilac-2));
    transform: translateY(-14px);
}

.price {
    display: block;
    margin: 14px 0;
    font-size: 25px;
    line-height: 1;
}

.price small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.price-card ul {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.price-card li {
    position: relative;
    margin-bottom: 9px;
    padding-left: 18px;
    color: var(--muted);
    font-size: 14px;
}

.price-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lilac);
}

.price-card .btn {
    margin-top: auto;
}

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

.workflow-card {
    min-height: 310px;
    padding: 24px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(249, 244, 234, 0.94));
}

.workflow-card span {
    display: inline-grid;
    width: 46px;
    height: 46px;
    margin-bottom: 40px;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: var(--deep);
    font-weight: 900;
}

.workflow-card p {
    color: var(--muted);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 18px;
}

.portfolio-card {
    min-height: 260px;
    padding: 26px;
    border-radius: 28px;
    text-align: left;
}

.portfolio-card.wide {
    grid-row: span 2;
}

.portfolio-action {
    cursor: pointer;
    border: 1px solid var(--line);
    color: inherit;
    font: inherit;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.portfolio-action:hover {
    transform: translateY(-4px);
    border-color: rgba(43, 31, 69, 0.24);
    box-shadow: 0 20px 46px rgba(43, 31, 69, 0.14);
}

.portfolio-action strong {
    display: inline-flex;
    margin-top: 22px;
    color: var(--deep);
    font-size: 14px;
}

.portfolio-card.gradient .portfolio-action,
.portfolio-card.gradient strong,
.portfolio-action.gradient strong {
    color: #fff;
}

.portfolio-placeholder {
    opacity: 0.82;
}

.portfolio-card.gradient {
    background: linear-gradient(135deg, var(--deep), #5d3e87);
    color: #fff;
}

.portfolio-card.gradient span,
.portfolio-card.gradient p {
    color: rgba(255, 255, 255, 0.76);
}

.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    padding: 28px;
}

.portfolio-modal.is-open {
    display: grid;
    place-items: center;
}

.portfolio-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 17, 34, 0.78);
    backdrop-filter: blur(10px);
}

.portfolio-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    max-height: calc(100svh - 56px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.portfolio-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px 14px;
    border-bottom: 1px solid var(--line);
}

.portfolio-modal__header h2 {
    margin-bottom: 0;
    font-size: clamp(24px, 3vw, 38px);
}

.portfolio-modal__close {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--deep);
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
}

.portfolio-modal__body {
    min-height: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    gap: 14px;
    align-items: center;
    padding: 18px 24px 24px;
}

.portfolio-modal__figure {
    min-width: 0;
    min-height: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    justify-items: center;
}

.portfolio-modal__figure img {
    max-width: 100%;
    max-height: calc(100svh - 220px);
    object-fit: contain;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(43, 31, 69, 0.14);
}

.portfolio-modal__figure figcaption {
    width: min(100%, 920px);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
}

.portfolio-modal__figure figcaption strong {
    color: var(--ink);
}

.portfolio-modal__nav {
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--deep);
    cursor: pointer;
    font-size: 42px;
    line-height: 1;
}

.mini-table {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
    margin-top: 28px;
    padding: 18px;
    border-radius: 20px;
    background: var(--surface-2);
}

.mini-table span {
    margin: 0;
    color: var(--muted);
    text-transform: none;
    letter-spacing: 0;
}

.case-card {
    min-height: 260px;
    padding: 26px;
    border-radius: 28px;
}

.carousel-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.carousel-block {
    min-width: 0;
}

.carousel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.carousel-head h3 {
    margin: 0;
}

.carousel-controls {
    display: flex;
    gap: 8px;
}

.carousel-controls button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--deep);
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 28px;
    touch-action: pan-y;
}

.carousel-track {
    display: flex;
    transition: transform 260ms ease;
}

.carousel-slide {
    width: 100%;
    flex: 0 0 100%;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.carousel-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(43, 31, 69, 0.24);
    cursor: pointer;
}

.carousel-dots button.is-active {
    width: 28px;
    background: var(--deep);
}

.review-card {
    color: #fff;
    background: var(--deep);
}

.review-card span,
.review-card cite {
    color: rgba(255, 255, 255, 0.72);
}

.review-card blockquote {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.35;
}

.faq-list {
    display: grid;
    gap: 12px;
    width: min(840px, 100%);
    margin: 0 auto;
}

.faq-item {
    overflow: hidden;
    border-radius: 22px;
}

.faq-item button {
    width: 100%;
    padding: 20px 24px;
    border: 0;
    color: var(--ink);
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-weight: 900;
}

.faq-item p {
    display: none;
    margin: 0;
    padding: 0 24px 22px;
    color: var(--muted);
}

.faq-item.is-open p {
    display: block;
}

.contacts {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 20px;
    align-items: stretch;
}

.contact-copy,
.contact-form {
    padding: 26px;
    border-radius: 32px;
}

.contact-copy {
    color: #fff;
    background: var(--deep);
}

.contact-copy .eyebrow,
.contact-copy p {
    color: rgba(255, 255, 255, 0.76);
}

.direct-links {
    display: grid;
    gap: 10px;
    margin-top: 30px;
}

.direct-links a {
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--deep);
    background: #fff;
    font-weight: 800;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.contact-form input,
.contact-form select {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--ink);
    background: var(--surface-2);
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus {
    border-color: var(--lilac);
    box-shadow: 0 0 0 4px rgba(216, 188, 255, 0.32);
}

.consent,
.contact-form button,
.form-note {
    grid-column: 1 / -1;
}

.consent {
    grid-template-columns: auto 1fr;
    align-items: start;
    font-weight: 600;
}

.consent input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.consent a {
    color: var(--deep);
    text-decoration: underline;
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.form-note.is-success {
    color: #3b6f4b;
    font-weight: 800;
}

.form-note.is-error {
    color: #a33b3b;
    font-weight: 800;
}

.contact-form button:disabled {
    cursor: wait;
    opacity: 0.68;
    transform: none;
}

.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 28px;
    padding: 24px 0 36px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.legal-page {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0 42px;
}

.legal-hero {
    margin-bottom: 24px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.9);
    box-shadow: var(--shadow);
}

.legal-hero h1 {
    max-width: 760px;
    margin-bottom: 16px;
    font-size: clamp(38px, 5vw, 64px);
}

.legal-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.legal-hero span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.legal-content {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 12px 36px rgba(43, 31, 69, 0.07);
}

.legal-content h2 {
    margin: 30px 0 12px;
    font-size: 24px;
    line-height: 1.15;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--muted);
}

.legal-content a {
    color: var(--deep);
    font-weight: 800;
    text-decoration: underline;
}

.legal-note {
    margin-top: 30px;
    padding: 20px;
    border-radius: 20px;
    background: var(--lilac-2);
}

.legal-note strong {
    display: block;
    margin-bottom: 6px;
}

.legal-note p {
    margin-bottom: 0;
}

@media (max-width: 1080px) {
    .hero,
    .contacts,
    .profile-card {
        grid-template-columns: 1fr;
    }

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

    .dashboard-sidebar {
        min-height: auto;
    }

    .sidebar-contact {
        margin-top: 20px;
    }

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

    .workflow-grid,
    .carousel-layout {
        grid-template-columns: 1fr 1fr;
    }

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

    .legal-page {
        padding-top: 36px;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 15px;
    }

    .site-header {
        position: static;
        align-items: flex-start;
        width: min(100% - 20px, 1180px);
        margin-top: 8px;
        padding: 8px;
        border-radius: 24px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        font-size: 11px;
    }

    .brand strong {
        font-size: 14px;
    }

    .main-nav {
        display: none;
    }

    .header-action {
        min-height: 40px;
        padding-inline: 14px;
        font-size: 12px;
    }

    .section-shell {
        width: min(100% - 24px, 1180px);
        min-height: auto;
        padding: 34px 0;
    }

    .hero {
        gap: 22px;
        padding-top: 28px;
    }

    .eyebrow {
        font-size: 13px;
    }

    .hero .eyebrow {
        font-size: 15px;
    }

    h1 {
        margin-bottom: 14px;
        font-size: clamp(30px, 10vw, 40px);
        line-height: 1.08;
    }

    h2 {
        font-size: clamp(25px, 8vw, 34px);
        line-height: 1.06;
    }

    h3 {
        font-size: 19px;
    }

    .lead {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
        margin: 28px 0 0;
    }

    .btn {
        width: 100%;
        min-height: 44px;
        padding-inline: 14px;
        text-align: center;
    }

    .dashboard-hero {
        min-height: auto;
        padding: 12px;
        border-radius: 26px;
    }

    .dashboard-sidebar {
        display: none;
    }

    .dashboard-main {
        gap: 10px;
    }

    .metric-grid,
    .dashboard-bottom,
    .problem-grid,
    .pricing-grid,
    .portfolio-grid,
    .case-grid,
    .workflow-grid,
    .carousel-layout,
    .contact-form,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-topline {
        align-items: flex-start;
        padding: 15px;
    }

    .dashboard-topline strong {
        font-size: 20px;
    }

    .dashboard-topline img {
        width: 74px;
        height: 74px;
        border-radius: 18px;
    }

    .metric-card,
    .soft-card,
    .price-card,
    .portfolio-card,
    .case-card,
    .workflow-card,
    .contact-copy,
    .contact-form,
    .legal-hero,
    .legal-content {
        padding: 20px;
    }

    .legal-page {
        padding-top: 28px;
    }

    .legal-hero,
    .legal-content {
        border-radius: 22px;
    }

    .legal-hero p {
        font-size: 16px;
    }

    .legal-content h2 {
        font-size: 21px;
    }

    .metric-card,
    .finance-route,
    .workflow-card,
    .portfolio-card,
    .case-card,
    .price-card {
        width: 100%;
        min-height: auto;
    }

    .problem-grid article {
        min-height: auto;
        padding: 22px;
    }

    .problem-index,
    .workflow-card span {
        margin-bottom: 20px;
    }

    .section-heading,
    .section-heading.compact {
        margin-bottom: 18px;
    }

    .video-frame {
        width: 100%;
        border-width: 6px;
        border-radius: 24px;
    }

    .portfolio-modal {
        padding: 0;
    }

    .portfolio-modal__dialog {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
    }

    .portfolio-modal__header {
        padding: 14px 14px 10px;
    }

    .portfolio-modal__header h2 {
        font-size: 24px;
    }

    .portfolio-modal__close {
        width: 44px;
        height: 44px;
        font-size: 30px;
    }

    .portfolio-modal__body {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) auto;
        padding: 12px 14px 18px;
    }

    .portfolio-modal__figure {
        align-self: center;
    }

    .portfolio-modal__figure img {
        max-height: calc(100svh - 190px);
        border-radius: 14px;
    }

    .portfolio-modal__figure figcaption {
        display: grid;
        gap: 4px;
        text-align: center;
    }

    .portfolio-modal__nav {
        width: 46px;
        height: 46px;
        font-size: 34px;
    }

    .portfolio-modal__nav--prev,
    .portfolio-modal__nav--next {
        position: fixed;
        bottom: 16px;
        z-index: 2;
    }

    .portfolio-modal__nav--prev {
        left: 16px;
    }

    .portfolio-modal__nav--next {
        right: 16px;
    }

    .contact-form input,
    .contact-form select {
        min-height: 48px;
    }

    .consent {
        grid-template-columns: 22px 1fr;
    }

    .price-card.featured {
        transform: none;
    }

    .portfolio-card.wide {
        grid-row: auto;
    }

    .route-header {
        display: block;
    }
}
