/* Company website theme. Brand palette and layout follow the approved design file. */

:root {
    --pink: #FB7B9B;
    --navy: #172948;
    --ink: #2C3A52;
    --text: #3E4A60;
    --muted: #6B7688;
    --soft: #93A0B4;
    --line: #ECEFF3;
    --border: #E7EAEF;
    --field: #E3E7ED;
    --bg-soft: #FAFBFC;
    --chip: #F3F5F8;
    --shell: 1220px;
    --pad-x: 40px;
    --header-h: 76px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #FFFFFF;
    font-family: 'Be Vietnam Pro', system-ui, sans-serif;
    color: var(--navy);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--pink);
    text-decoration: none;
}

a:hover {
    color: var(--navy);
}

img {
    max-width: 100%;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.shell {
    max-width: var(--shell);
    margin: 0 auto;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* ─── Header ─────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header .shell {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand__logo {
    display: block;
    width: auto;
    max-width: 100%;
}

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

.main-nav__link {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
}

.main-nav__link:hover {
    color: var(--pink);
}

.lang-switch {
    display: flex;
    align-items: center;
    border: 1px solid var(--field);
    border-radius: 999px;
    padding: 3px;
}

.lang-switch__item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--soft);
}

.lang-switch__item--active {
    background: var(--navy);
    color: #fff;
}

/* ─── Shared blocks ──────────────────────────────── */
.section {
    border-top: 1px solid var(--line);
}

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

.section__inner {
    padding-top: 88px;
    padding-bottom: 96px;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.section__head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 700px;
}

.eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    letter-spacing: 0.2em;
    color: var(--soft);
}

h1,
h2 {
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 36px;
}

.lead {
    margin: 0;
    font-size: 16.5px;
    line-height: 1.65;
    font-weight: 300;
    color: #5A6678;
    text-wrap: pretty;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 500;
    padding: 15px 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.btn--primary {
    background: var(--pink);
    color: #fff;
}

.btn--primary:hover {
    background: var(--navy);
    color: #fff;
}

.btn--ghost {
    border-color: #DDE2E9;
    color: var(--navy);
    background: none;
}

.btn--ghost:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.grid {
    display: grid;
    gap: 22px;
}

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

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

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

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.card--compact {
    padding: 32px;
    gap: 12px;
}

.card__title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.card__title--sm {
    font-size: 19px;
}

.card__text {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--muted);
}

.card__link {
    align-self: flex-start;
    font-size: 14.5px;
    font-weight: 500;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.chip {
    font-size: 13px;
    color: #5A6678;
    background: var(--chip);
    padding: 7px 14px;
    border-radius: 999px;
}

/* ─── Hero ───────────────────────────────────────── */
.hero {
    padding-top: 104px;
    padding-bottom: 88px;
}

.hero__inner {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.hero__rule {
    width: 28px;
    height: 2px;
    background: var(--pink);
}

.hero h1 {
    font-size: 58px;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-wrap: pretty;
}

.hero__lead {
    margin: 0;
    max-width: 680px;
    font-size: 19px;
    line-height: 1.65;
    font-weight: 300;
    color: #5A6678;
    text-wrap: pretty;
}

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

/* ─── Process steps ──────────────────────────────── */
.step {
    border-top: 2px solid var(--border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step--first {
    border-top-color: var(--pink);
}

.step__no {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--soft);
}

.step--first .step__no {
    color: var(--pink);
}

.step__title {
    font-size: 17px;
    font-weight: 600;
}

.step__text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    font-weight: 300;
    color: var(--muted);
}

/* ─── Product cards ──────────────────────────────── */
.product {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: inherit;
}

.product:hover {
    border-color: var(--product-color, var(--navy));
}

.product__name {
    font-size: 22px;
}

.product__name-prefix {
    font-weight: 300;
    color: var(--soft);
}

.product__name-core {
    font-weight: 700;
    color: var(--product-color, var(--navy));
}

.product__name-suffix {
    font-weight: 400;
    color: var(--text);
}

.product__tagline {
    font-size: 14.5px;
    font-weight: 300;
    color: var(--muted);
}

.product__more {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: var(--product-color, var(--navy));
    margin-top: auto;
}

.product-cta {
    background: var(--navy);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.product-cta__title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-wrap: pretty;
}

/* ─── Client projects ────────────────────────────── */
.project-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: inherit;
}

.project-card:hover {
    border-color: var(--pink);
}

.project-card__rule {
    width: 26px;
    height: 2px;
    background: var(--project-color, var(--pink));
}

.project-card__name {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.project-card__text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--muted);
}

.project-card__meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: var(--soft);
    margin-top: auto;
}

.placeholder-box {
    border: 1px dashed #DDE2E9;
    border-radius: 20px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    background: var(--bg-soft);
}

/* ─── Contact ────────────────────────────────────── */
.contact {
    background: var(--navy);
    color: #fff;
}

.contact .shell {
    padding-top: 88px;
    padding-bottom: 88px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 72px;
    align-items: start;
}

.contact__intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 520px;
}

.contact__eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    letter-spacing: 0.2em;
    color: #7E8DA6;
}

.contact__lead {
    margin: 0;
    font-size: 16.5px;
    line-height: 1.7;
    font-weight: 300;
    color: #A9B6C9;
}

.contact__links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14.5px;
    font-weight: 500;
    padding: 13px 22px;
    border-radius: 999px;
}

.pill:hover {
    background: var(--pink);
    color: #fff;
}

.pill--outline {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.pill--outline:hover {
    background: none;
    border-color: #fff;
}

.form-card {
    background: #fff;
    border-radius: 22px;
    padding: 34px;
    color: var(--navy);
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.field__label {
    font-size: 13px;
    font-weight: 500;
    color: #5A6678;
}

.field input,
.field select,
.field textarea {
    border: 1px solid var(--field);
    border-radius: 12px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 15px;
    color: var(--navy);
    background: #fff;
    outline: none;
}

.field input,
.field select {
    height: 48px;
    padding: 0 16px;
}

.field select {
    padding: 0 12px;
}

.field textarea {
    padding: 14px 16px;
    line-height: 1.6;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--pink);
}

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

.form-error {
    font-size: 13.5px;
    color: #C24A6B;
}

.form-note {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--soft);
}

.form-submit {
    height: 52px;
    width: 100%;
    background: var(--pink);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.form-submit:hover {
    background: var(--navy);
}

.form-sent {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 20px 0;
}

.form-sent__title {
    font-size: 20px;
    font-weight: 600;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ─── Project detail ─────────────────────────────── */
.detail-hero {
    border-bottom: 1px solid var(--line);
}

.detail-hero .shell {
    padding-top: 34px;
    padding-bottom: 72px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 40px;
}

.back-link:hover {
    color: var(--navy);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 72px;
    align-items: center;
}

.detail-head {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.detail-head h1 {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.detail-head__tagline {
    font-size: 21px;
    font-weight: 400;
    color: var(--ink);
}

.detail-head__text {
    margin: 0;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
    color: #5A6678;
    text-wrap: pretty;
}

.tag-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #5A6678;
    background: #fff;
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 999px;
}

.store-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #DDE2E9;
    color: var(--navy);
    font-size: 14.5px;
    font-weight: 500;
    padding: 14px 24px;
    border-radius: 999px;
}

.store-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.store-btn--brand {
    border: 0;
    color: #fff;
    font-size: 15px;
    padding: 15px 28px;
    background: var(--project-color, var(--navy));
}

.store-btn--brand:hover {
    opacity: 0.88;
    color: #fff;
}

.detail-tile-wrap {
    display: flex;
    justify-content: center;
}

.detail-tile {
    width: 220px;
    height: 220px;
    max-width: 100%;
    border-radius: 50px;
    background-size: cover;
    box-shadow: 0 40px 80px -50px rgba(23, 41, 72, 0.6);
}

.detail-body {
    padding-top: 76px;
    padding-bottom: 76px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 72px;
    align-items: start;
}

.detail-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.scope-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.scope-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.scope-item__rule {
    width: 18px;
    height: 2px;
    background: var(--project-color, var(--pink));
    margin-top: 12px;
    flex: none;
}

.scope-item__text {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text);
}

.other-projects {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.other-project {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 12px 24px 12px 14px;
    color: var(--ink);
}

.other-project:hover {
    border-color: var(--navy);
    color: var(--ink);
}

.other-project__icon {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.other-project__label {
    font-size: 15px;
    font-weight: 500;
}

/* ─── Footer ─────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.site-footer .shell {
    padding-top: 52px;
    padding-bottom: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-footer__copy {
    font-size: 13.5px;
    color: var(--soft);
}

.site-footer__links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 13.5px;
}

.site-footer__links a {
    color: var(--muted);
}

.site-footer__links a:hover {
    color: var(--navy);
}

/* ─── Bottom tab bar, small screens only ─────────── */
.tab-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}

.tab-bar__item {
    flex: 1;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #5A6678;
    cursor: pointer;
    background: none;
    border: 0;
    font-family: inherit;
}

.tab-bar__label {
    font-size: 10.5px;
    font-weight: 500;
}

@media (max-width: 859px) {
    :root {
        --pad-x: 20px;
    }

    /* Room under the footer for the floating buttons stack (two 50 buttons and a 12 gap, lifted 78 above the bottom edge): 140 keeps the last footer link clear of the upper button (drawing sheet 07) */
    body {
        padding-bottom: calc(140px + env(safe-area-inset-bottom));
    }

    .main-nav__link {
        display: none;
    }

    .main-nav {
        gap: 0;
    }

    .hero {
        padding-top: 56px;
    }

    .hero h1 {
        font-size: 34px;
    }

    h2,
    .detail-head h1 {
        font-size: 26px;
    }

    .detail-head h1 {
        font-size: 32px;
    }

    .grid--2,
    .grid--3,
    .grid--5,
    .contact .shell,
    .detail-grid,
    .detail-body,
    .field-row {
        grid-template-columns: 1fr;
    }

    .contact .shell,
    .detail-grid,
    .detail-body {
        gap: 38px;
    }

    /* The floating buttons of the package stay on a phone, lifted above the tab bar (its height plus a gap) so they never cover a tab */
    [data-k="fab-stack"] {
        bottom: calc(78px + env(safe-area-inset-bottom)) !important;
    }

    .tab-bar {
        display: flex;
        align-items: stretch;
    }
}

/* ─── Static pages, long-form legal text ──────────── */
.doc-head {
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}

.doc-head .shell {
    padding-top: 44px;
    padding-bottom: 52px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doc-head h1 {
    font-size: 48px;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.doc-head__sub {
    margin: 0;
    max-width: 680px;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
    color: #5A6678;
    text-wrap: pretty;
}

.doc-head__updated {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    color: #B7C1D0;
}

.doc-body {
    padding-top: 56px;
    padding-bottom: 88px;
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.doc-toc {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doc-toc__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--soft);
    margin-bottom: 4px;
}

.doc-toc__item {
    display: flex;
    gap: 12px;
    align-items: stretch;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.doc-toc__item:hover {
    color: var(--navy);
}

.doc-toc__item span:last-child {
    padding: 3px 0;
}

.doc-toc__bar {
    width: 2px;
    flex: none;
    border-radius: 2px;
    background: var(--border);
}

.doc-toc__item--active {
    color: var(--navy);
    font-weight: 600;
}

.doc-toc__item--active .doc-toc__bar {
    background: var(--pink);
}

.prose {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 16px;
    line-height: 1.85;
    font-weight: 300;
    color: var(--text);
}

.prose h2 {
    margin: 26px 0 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--navy);
    scroll-margin-top: 96px;
    text-wrap: pretty;
}

.prose p {
    margin: 0;
    text-wrap: pretty;
}

.prose ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prose li {
    position: relative;
    padding-left: 20px;
    font-size: 15.5px;
    line-height: 1.75;
    text-wrap: pretty;
}

.prose li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pink);
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    font-size: 15px;
}

.prose th,
.prose td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.prose th {
    background: var(--chip);
    font-weight: 600;
    color: var(--navy);
}

.prose tr:last-child td {
    border-bottom: 0;
}

.prose strong {
    font-weight: 600;
    color: var(--navy);
}

.doc-crosslink {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.doc-crosslink__note {
    margin: 0;
    font-size: 14.5px;
    color: var(--muted);
}

@media (max-width: 859px) {
    .doc-head h1 {
        font-size: 30px;
    }

    .doc-body {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 36px;
    }

    .doc-toc {
        position: static;
    }

    .prose table {
        display: block;
        overflow-x: auto;
    }
}

/* ─── Error pages ─────────────────────────────────── */
.error-main {
    flex: 1;
    display: flex;
    align-items: center;
}

.error-grid {
    width: 100%;
    padding-top: 88px;
    padding-bottom: 88px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 72px;
    align-items: center;
}

.error-col {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.error-col h1 {
    font-size: 58px;
    line-height: 1.12;
    letter-spacing: -0.025em;
    text-wrap: pretty;
}

.error-body {
    margin: 0;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.75;
    font-weight: 300;
    color: #5A6678;
    text-wrap: pretty;
}

.error-hint {
    margin: 0;
    max-width: 560px;
    font-size: 14.5px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--soft);
    text-wrap: pretty;
}

.error-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.error-links__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #B7C1D0;
}

.error-links__row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.error-link {
    font-size: 14px;
    font-weight: 500;
    color: #5A6678;
    background: var(--chip);
    padding: 10px 18px;
    border-radius: 999px;
}

.error-link:hover {
    background: var(--navy);
    color: #fff;
}

.error-badge-wrap {
    display: flex;
    justify-content: center;
}

.error-badge {
    width: 100%;
    max-width: 420px;
    background: var(--navy);
    border-radius: 32px;
    padding: 56px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.error-badge__code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 132px;
    line-height: 0.95;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.04em;
}

.error-badge__kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--pink);
    text-align: center;
}

@media (max-width: 859px) {
    .error-grid {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 48px;
    }

    .error-col h1 {
        font-size: 34px;
    }

    .error-badge__code {
        font-size: 88px;
    }
}

/* ─── Projects list page ──────────────────────────── */
.list-body {
    padding-top: 44px;
    padding-bottom: 88px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.list-filters {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chips--filter {
    margin-top: 0;
}

.filter-chip {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
}

.filter-chip:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.filter-chip--active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.filter-chip--active:hover {
    color: #fff;
}

.list-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #B7C1D0;
}

.list-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: inherit;
}

.list-card:hover {
    border-color: var(--pink);
}

.list-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.list-card__icon {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.list-card__badge {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--muted);
    background: var(--chip);
    padding: 6px 12px;
    border-radius: 999px;
}

.list-card__sector {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--project-color, var(--pink));
}

.list-card__desc {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.pager__item {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: 14.5px;
    font-weight: 500;
}

.pager__item:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.pager__item--active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.pager__item--active:hover {
    color: #fff;
}

/* ─── Client project detail ───────────────────────── */
.detail-grid--client {
    align-items: start;
}

.client-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
}

.client-kicker__icon {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.client-kicker__text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    letter-spacing: 0.18em;
}

.fact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.fact {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.fact__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    color: var(--soft);
}

.fact__value {
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
}

.fact__value--strong {
    font-weight: 600;
    color: var(--navy);
}

.shots {
    padding-top: 64px;
    padding-bottom: 64px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.shots__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shots__note {
    font-size: 14px;
    font-weight: 300;
    color: var(--soft);
}

.shots__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    align-items: start;
}

.shot {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shot img {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 20px;
    object-fit: cover;
    background: var(--bg-soft);
}

.shot--phone {
    max-width: 300px;
}

.shot__caption {
    display: flex;
    gap: 10px;
    font-size: 14px;
    font-weight: 300;
    color: var(--muted);
}

.shot__no {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--soft);
}

.no-shots {
    padding-top: 64px;
    padding-bottom: 64px;
}

.no-shots__box {
    background: var(--navy);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.no-shots__text {
    margin: 0;
    max-width: 700px;
    font-size: 16.5px;
    line-height: 1.7;
    font-weight: 300;
    color: #A9B6C9;
    text-wrap: pretty;
}

.no-shots__figures {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 10px;
}

.figures {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.figure {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.figure__value {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
}

.figure--light .figure__value {
    color: var(--navy);
}

.figure__label {
    font-size: 14px;
    font-weight: 300;
    color: #A9B6C9;
    max-width: 220px;
}

.figure--light .figure__label {
    color: var(--muted);
}

.quote {
    margin: 8px 0 0;
    padding: 26px 28px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quote__text {
    margin: 0;
    font-size: 16.5px;
    line-height: 1.75;
    font-weight: 300;
    color: var(--text);
    text-wrap: pretty;
}

.quote__author {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    letter-spacing: 0.14em;
    color: var(--soft);
}

@media (max-width: 859px) {
    .fact-card,
    .shots__grid {
        grid-template-columns: 1fr;
    }

    .no-shots__box {
        padding: 32px 24px;
    }
}

/* ─── Service pages (blocks of a Page, drawing sheet 08) ─── */
.svc-hero {
    padding-top: 104px;
    padding-bottom: 80px;
}

.svc-hero__inner {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.svc-hero h1 {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-wrap: pretty;
}

.svc-hero .hero__actions {
    margin-top: 6px;
}

.svc-back {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
}

.svc-back:hover {
    color: var(--navy);
}

.section__head--narrow {
    max-width: 640px;
}

.section__inner--even {
    padding-top: 96px;
}

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

.svc-tile {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.svc-tile__title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.svc-tile__text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    font-weight: 300;
    color: var(--muted);
}

.svc-pricing__inner {
    padding-top: 88px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.svc-table-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.svc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    text-align: left;
}

.svc-table__col-label {
    width: 220px;
}

.svc-table__plan {
    padding: 28px 24px;
    vertical-align: top;
    font-weight: inherit;
    text-align: left;
}

.svc-table__plan.is-recommended,
.svc-table__cell.is-recommended,
.svc-card.is-recommended {
    background: var(--chip);
}

.svc-table__label,
.svc-table__cell {
    padding: 18px 24px;
    border-top: 1px solid var(--border);
    vertical-align: top;
    text-align: left;
}

.svc-table__label {
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    color: #5A6678;
}

.svc-table__cell {
    font-size: 14.5px;
    line-height: 1.6;
    font-weight: 300;
    color: var(--text);
}

.svc-table__cell.is-none {
    color: var(--soft);
}

.svc-plan {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.svc-plan__name {
    font-size: 18px;
    font-weight: 600;
}

.svc-plan__price {
    font-size: 30px;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.svc-plan__unit {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
}

.svc-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    line-height: 1.5;
    color: #fff;
    background: var(--navy);
    padding: 4px 10px;
    border-radius: 999px;
}

.svc-badge--hidden {
    visibility: hidden;
}

.svc-cards {
    display: none;
    flex-direction: column;
    gap: 18px;
}

.svc-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.svc-badge--card {
    align-self: flex-start;
    margin-bottom: 6px;
    /* The drawing sets no line height on the badge of a stacked block (the table head badge has 1.5) */
    line-height: normal;
}

.svc-card__price {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.svc-card__unit {
    margin-bottom: 10px;
}

.svc-card__row {
    border-top: 1px solid var(--border);
    padding: 14px 0 2px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.svc-card__label {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: #5A6678;
}

.svc-card__value {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 300;
    color: var(--text);
}

.svc-note {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
    line-height: 1.65;
    color: #5A6678;
}

.svc-quote {
    background: var(--navy);
    color: #fff;
    margin-top: 24px;
}

.svc-quote__inner {
    padding-top: 36px;
    padding-bottom: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.svc-quote__text {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.01em;
    max-width: 440px;
    line-height: 1.4;
}

.svc-quote__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.svc-quote__button,
.svc-quote__phone {
    display: inline-flex;
    align-items: center;
    font-size: 14.5px;
    font-weight: 500;
    border-radius: 999px;
    color: #fff;
}

.svc-quote__button {
    background: var(--pink);
    padding: 13px 24px;
}

.svc-quote__button:hover {
    background: #fff;
    color: var(--navy);
}

.svc-quote__phone {
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 13px 22px;
}

.svc-quote__phone:hover {
    border-color: #fff;
    color: #fff;
}

.svc-faq {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 72px;
}

.svc-faq__item {
    border-top: 2px solid var(--border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.svc-faq__question {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.svc-faq__answer {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--muted);
}

/* Number style of the price (mobile app page): a number with small words around it */
.svc-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.svc-pricing--from .svc-plan__price {
    font-size: 26px;
}

.svc-price__affix {
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0;
}

.svc-card__price.svc-price {
    gap: 8px;
    flex-wrap: wrap;
    white-space: normal;
}

/* The table needs room: below 1000 each plan is a stacked block; the price drops a size under 1200 so it never wraps */
@media (max-width: 1199px) {
    .svc-plan__price {
        font-size: 24px;
    }

    /* The number style has a longer price, so its table gives the first column and the cell padding back */
    .svc-pricing--from .svc-plan__price {
        font-size: 19px;
    }

    .svc-pricing--from .svc-table__col-label {
        width: 180px;
    }

    .svc-pricing--from .svc-table__plan,
    .svc-pricing--from .svc-table__label,
    .svc-pricing--from .svc-table__cell {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 999px) {
    .svc-table-wrap {
        display: none;
    }

    .svc-cards {
        display: flex;
    }
}

@media (max-width: 859px) {
    .svc-hero {
        padding-top: 56px;
    }

    .svc-hero h1 {
        font-size: 32px;
    }

    .grid--4,
    .svc-faq {
        grid-template-columns: 1fr;
    }

    .svc-faq {
        gap: 36px;
    }
}
