@charset "UTF-8";

:root {
    --tw-ink: #071a33;
    --tw-navy: #0b2b4d;
    --tw-blue: #2f7df6;
    --tw-blue-soft: #eef5ff;
    --tw-amber: #f5b335;
    --tw-green: #159669;
    --tw-red: #d65b4c;
    --tw-paper: #f7f9fc;
    --tw-line: #e3e9f0;
    --tw-text: #10243e;
    --tw-muted: #66798d;
    --tw-display: "Space Grotesk", sans-serif;
    --tw-body: "DM Sans", sans-serif;
}

.tw-page {
    color: var(--tw-text);
    background: #fff;
    font-family: var(--tw-body);
    overflow: hidden;
}

.tw-page h1,
.tw-page h2,
.tw-page h3,
.tw-page h4,
.tw-page h5 {
    font-family: var(--tw-display);
    letter-spacing: -.04em;
    line-height: 1.04;
}

.tw-page h2.text-primary,
.tw-page h3.text-primary,
.tw-page h4.text-primary {
    color: var(--tw-navy) !important;
}

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

.tw-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--tw-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.tw-kicker::before {
    content: "";
    width: 25px;
    height: 2px;
    background: currentColor;
}

.tw-kicker--light {
    color: var(--tw-amber);
}

.tw-lead {
    color: var(--tw-muted);
    font-size: 16px;
    line-height: 1.8;
}

.tw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 23px;
    border: 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.tw-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.tw-btn--amber {
    color: #10243e !important;
    background: var(--tw-amber);
    box-shadow: 0 12px 28px rgba(245, 179, 53, .22);
}

.tw-btn--amber:hover {
    color: #10243e !important;
    background: #ffc34e;
}

.tw-btn--white {
    color: var(--tw-text) !important;
    background: #fff;
}

.tw-btn--outline {
    color: var(--tw-blue) !important;
    background: #fff;
    border: 1px solid #d8e3ef;
}

/* HERO */
.tw-hero {
    position: relative;
    padding: 94px 0 92px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(47, 125, 246, .25), transparent 30%),
        linear-gradient(135deg, #06172c 0%, #0b294b 56%, #10385f 100%);
    overflow: hidden;
}

.tw-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .075;
    background-image:
        linear-gradient(rgba(255, 255, 255, .8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .8) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000 15%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, #000 15%, transparent 90%);
}

.tw-hero__inner {
    position: relative;
    z-index: 2;
}

.tw-hero__grid {
    display: grid;
    grid-template-columns: .96fr 1.04fr;
    gap: 64px;
    align-items: center;
}

.tw-hero h1 {
    max-width: 620px;
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(42px, 4.4vw, 62px);
    font-weight: 700;
}

.tw-hero h1 em {
    color: #78aaff;
    font-style: normal;
}

.tw-hero__copy {
    max-width: 590px;
    margin: 0 0 30px;
    color: #bdccdc;
    font-size: 17px;
    line-height: 1.8;
}

.tw-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tw-hero__note {
    margin-top: 14px;
    color: #8da5bf;
    font-size: 11px;
}

/* PRODUCT PREVIEW */
.tw-product {
    position: relative;
}

.tw-product__panel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 38px 100px rgba(0, 0, 0, .34);
}

.tw-window {
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    background: #f3f6fa;
    border-bottom: 1px solid #e2e8ef;
}

.tw-window__dots {
    display: flex;
    gap: 6px;
}

.tw-window__dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c7d1dc;
}

.tw-window__label {
    margin-left: auto;
    color: #7e8d9e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.tw-product img {
    display: block;
    width: 100%;
    height: auto;
}

.tw-float {
    position: absolute;
    z-index: 3;
    min-width: 155px;
    padding: 15px 17px;
    border-radius: 14px;
    color: var(--tw-text);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .23);
}

.tw-float--top {
    top: -22px;
    right: -24px;
}

.tw-float--bottom {
    bottom: -25px;
    left: -24px;
}

.tw-float small {
    display: block;
    margin-bottom: 5px;
    color: #7c8d9f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tw-float strong {
    display: block;
    font-family: var(--tw-display);
    font-size: 25px;
    line-height: 1;
}

.tw-float span {
    color: var(--tw-green);
    font-size: 10px;
    font-weight: 700;
}

/* ROLES */
.tw-roles {
    border-bottom: 1px solid var(--tw-line);
    background: #fff;
}

.tw-roles__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 21px 0;
    list-style: none;
}

.tw-roles__list li {
    padding: 4px 23px;
    color: #738499;
    border-left: 1px solid var(--tw-line);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.tw-roles__list li:first-child {
    border-left: 0;
}

/* GENERIC SECTIONS */
.tw-section {
    padding: 105px 0;
}

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

.tw-section__heading {
    max-width: 780px;
    margin-bottom: 52px;
}

.tw-section__heading h2 {
    margin: 0 0 16px;
    font-size: clamp(38px, 5vw, 56px);
}

/* QUESTION CARDS */
.tw-question-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tw-q {
    min-height: 230px;
    padding: 29px;
    border: 1px solid var(--tw-line);
    border-top: 3px solid var(--tw-blue);
    border-radius: 16px;
    background: #fff;
    transition: .25s ease;
}

.tw-q:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(16, 36, 62, .08);
}

.tw-q__num {
    margin-bottom: 28px;
    color: #9aabba;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.tw-q h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.tw-q p {
    margin: 0;
    color: var(--tw-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* CAPABILITY GRID */
.tw-cap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tw-cap {
    min-height: 205px;
    padding: 26px;
    border: 1px solid var(--tw-line);
    border-radius: 16px;
    background: #fff;
    transition: .25s ease;
}

.tw-cap:hover {
    transform: translateY(-4px);
    border-color: #b7d1fa;
    box-shadow: 0 18px 45px rgba(16, 36, 62, .07);
}

.tw-cap__tag {
    display: block;
    margin-bottom: 19px;
    color: var(--tw-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
}

.tw-cap h3 {
    margin: 0 0 9px;
    font-size: 20px;
}

.tw-cap p {
    margin: 0;
    color: var(--tw-muted);
    font-size: 13px;
    line-height: 1.75;
}

/* WORKFLOW */
.tw-dark {
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(47, 125, 246, .22), transparent 30%),
        var(--tw-ink);
}

.tw-dark h2 {
    color: #fff;
}

.tw-dark p {
    color: #b8c8d6;
}

.tw-dark h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 3.6vw, 46px);
}

.tw-rule {
    width: 42px;
    height: 3px;
    margin-bottom: 22px;
    background: var(--tw-amber);
}

.tw-chain {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: tw-step;
}

.tw-chain li {
    position: relative;
    padding: 0 0 30px 68px;
    counter-increment: tw-step;
}

.tw-chain li::before {
    content: counter(tw-step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .23);
    border-radius: 50%;
    color: var(--tw-amber);
    background: rgba(255, 255, 255, .035);
    font-size: 10px;
    font-weight: 800;
}

.tw-chain li::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 42px;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, .15);
}

.tw-chain li:last-child {
    padding-bottom: 0;
}

.tw-chain li:last-child::after {
    display: none;
}

.tw-chain h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 20px;
}

.tw-chain p {
    margin: 0;
    color: #91a9c0;
    font-size: 14px;
    line-height: 1.7;
}

/* PRODUCT FEATURE ROW */
.tw-product-row {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 78px;
    align-items: center;
}

.tw-product-row--reverse {
    grid-template-columns: 1.18fr .82fr;
}

.tw-product-copy h2 {
    margin: 0 0 18px;
    font-size: clamp(38px, 4vw, 52px);
}

.tw-product-copy p {
    color: var(--tw-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* ---- included Front-theme blocks, brought into this page's system ---- */
.tw-page .tw-legacy .w-md-80,
.tw-page .tw-legacy .w-lg-80 {
    width: 100% !important;
    max-width: 640px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

/* the theme's mint pill becomes the same kicker used everywhere else */
.tw-page .tw-legacy .btn-soft-success {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--tw-blue);
    font-family: var(--tw-body);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    pointer-events: none;
}

.tw-page .tw-legacy .btn-soft-success::before {
    content: "";
    width: 25px;
    height: 2px;
    background: currentColor;
}

/* the theme's blue tick circles match .tw-checks */
.tw-page .tw-legacy .btn-soft-primary {
    background: var(--tw-green);
    box-shadow: none;
    color: #fff;
}

.tw-page .tw-legacy .media-body {
    color: #40566e !important;
    font-size: 14px;
}

.tw-page .tw-legacy h2,
.tw-page .tw-legacy h3 {
    letter-spacing: -.03em;
}

/* section heading reads above the block titles under it */
.tw-page .tw-legacy .w-md-80 h3,
.tw-page .tw-legacy .w-lg-80 h2 {
    margin-bottom: 14px;
    font-size: clamp(34px, 3.4vw, 44px);
}

.tw-page .tw-legacy .w-md-80 p,
.tw-page .tw-legacy .w-lg-80 p {
    color: var(--tw-muted);
    font-size: 16px;
    line-height: 1.8;
}

.tw-page .tw-legacy h2.text-primary {
    font-size: clamp(26px, 2.4vw, 32px);
}

.tw-checks {
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.tw-checks li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 28px;
    color: #40566e;
    font-size: 14px;
}

.tw-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 19px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--tw-green);
    font-size: 11px;
    font-weight: 800;
}

.tw-screen {
    overflow: hidden;
    border: 1px solid #dce5ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(16, 36, 62, .12);
}

.tw-screen img {
    display: block;
    width: 100%;
    height: auto;
}

/* SUBCONTRACTOR PANEL */
.tw-subcontractor-card {
    padding: 34px;
    border-radius: 18px;
    background: var(--tw-navy);
    box-shadow: 0 25px 65px rgba(16, 36, 62, .14);
}

.tw-subcontractor-card h2 {
    color: #fff;
}

.tw-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tw-list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 28px;
    color: #c9d7e4;
    font-size: 14px;
    line-height: 1.7;
}

.tw-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 11px;
    height: 11px;
    border: 2px solid var(--tw-amber);
}

/* TESTIMONIALS */
.tw-quote {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--tw-line);
    border-radius: 16px;
    background: #fff;
    transition: .25s ease;
}

.tw-quote:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(16, 36, 62, .07);
}

.tw-stars {
    margin-bottom: 17px;
    color: #ffb300;
    font-size: 12px;
    letter-spacing: 2px;
}

.tw-quote blockquote {
    flex: 1;
    margin: 0 0 22px;
    color: #40566e;
    font-size: 14px;
    line-height: 1.8;
}

.tw-quote figcaption {
    color: #8493a3;
    font-size: 11px;
}

.tw-quote figcaption strong {
    display: block;
    margin-bottom: 3px;
    color: var(--tw-text);
    font-family: var(--tw-display);
    font-size: 14px;
}

/* OFFER */
.tw-offer {
    padding: 30px;
    border: 1px solid rgba(245, 179, 53, .35);
    border-left: 3px solid var(--tw-amber);
    border-radius: 14px;
    background: rgba(245, 179, 53, .055);
}

.tw-offer__num {
    color: var(--tw-amber);
    font-family: var(--tw-display);
    font-size: 68px;
    font-weight: 700;
    line-height: .85;
}

.tw-offer__label {
    margin: 11px 0 10px;
    color: var(--tw-amber);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tw-offer p {
    margin: 0;
    color: #cbd8e4;
    font-size: 14px;
    line-height: 1.75;
}

/* EXISTING SHARED COMPONENTS */
.tw-page .js-slick-carousel,
.tw-page .u-carousel-v5 {
    border-radius: 18px;
}

.tw-page .btn-primary {
    background: var(--tw-blue);
    border-color: var(--tw-blue);
}

.tw-page .btn-primary:hover {
    background: #1668ed;
    border-color: #1668ed;
}

.tw-page a:focus-visible,
.tw-page button:focus-visible {
    outline: 2px solid var(--tw-amber);
    outline-offset: 3px;
}

@media (max-width: 991.98px) {

    /* the header nav wraps to two rows at this width, so the hero starts lower */
    .tw-hero {
        padding: 150px 0 88px;
    }

    /* the floating stats hang outside the panel and would be clipped here */
    .tw-float {
        display: none;
    }

    .tw-hero__grid,
    .tw-product-row,
    .tw-product-row--reverse {
        grid-template-columns: 1fr;
        gap: 55px;
    }

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

    .tw-product-row--reverse .tw-product-copy {
        order: -1;
    }

    .tw-roles__list li {
        border-left: 0;
        padding: 4px 11px;
    }
}

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

    .tw-section {
        padding: 76px 0;
    }

    .tw-hero {
        padding: 64px 0 84px;
    }

    .tw-hero h1 {
        font-size: 46px;
    }

    .tw-question-grid,
    .tw-cap-grid {
        grid-template-columns: 1fr;
    }

    .tw-float {
        display: none;
    }

    .tw-hero__actions {
        flex-direction: column;
    }

    .tw-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tw-btn,
    .tw-q,
    .tw-cap,
    .tw-quote {
        transition: none !important;
    }
}

.logo_footer {
    height: 70px;
    /* the footer's logo column is narrower since the Features column was added */
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

html[dir="rtl"] .logo_footer {
    object-position: right center;
}

/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 992px) {
    .logo_footer {
        height: 50px;
    }
}

/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 991.98px) {

    .u-header__navbar-brand,
    .u-header__navbar-brand>img {
        padding-top: 0;
        padding-bottom: 0;
        width: 6rem;
    }
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.tw-facts {
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .05);
}

.tw-facts__label {
    margin-bottom: 22px;
    color: var(--tw-amber);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.tw-facts dl {
    margin: 0;
}

.tw-facts dt {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    font-family: var(--tw-display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.tw-facts dd {
    margin: 6px 0 20px;
    color: #b8c8d9;
    font-size: 14px;
    line-height: 1.7;
}

.tw-facts dd:last-child {
    margin-bottom: 0;
}

/* two-column prose */
/* CSS columns, not a grid: sequential prose has to read down one column first */
.tw-prose {
    columns: 2;
    column-gap: 54px;
}

.tw-prose p {
    margin: 0 0 20px;
    color: var(--tw-muted);
    font-size: 16px;
    line-height: 1.85;
}

.tw-prose p:last-child {
    margin-bottom: 0;
}

.tw-prose p strong {
    color: var(--tw-text);
    font-weight: 600;
}

/* mission statement */
.tw-statement {
    max-width: 940px;
}

.tw-statement blockquote {
    margin: 0 0 26px;
    color: #fff;
    font-family: var(--tw-display);
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1.18;
}

.tw-statement blockquote em {
    color: var(--tw-amber);
    font-style: normal;
}

.tw-statement footer {
    color: #8fa8c2;
    font-size: 14px;
    line-height: 1.8;
}

/* project lifecycle rail */
.tw-lifecycle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    gap: 8px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: tw-stage;
}

.tw-lifecycle li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 18px 13px 14px;
    border: 1px solid var(--tw-line);
    border-radius: 12px;
    background: #fff;
    color: var(--tw-text);
    font-size: 14px;
    font-weight: 500;
    counter-increment: tw-stage;
}

.tw-lifecycle li::before {
    content: counter(tw-stage, decimal-leading-zero);
    color: var(--tw-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.tw-lifecycle li:last-child {
    border-color: rgba(245, 179, 53, .5);
    background: rgba(245, 179, 53, .07);
}

.tw-lifecycle li:last-child::before {
    color: #a97a12;
}

@media (max-width: 767px) {
    .tw-prose {
        columns: 1;
    }

    .tw-lifecycle {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }

    .tw-facts {
        padding: 26px;
    }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.tw-product-row--top {
    align-items: start;
}

.tw-form-card {
    padding: 38px;
    border: 1px solid var(--tw-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(16, 36, 62, .08);
}

.tw-form-card .form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--tw-text);
    font-family: var(--tw-body);
    font-size: 13px;
    font-weight: 600;
    /* the theme uppercases and letterspaces form labels; this reads as a sentence */
    text-transform: none;
    letter-spacing: 0;
}

.tw-form-card .form-label .text-danger {
    color: var(--tw-amber) !important;
}

.tw-form-card .form-control {
    height: auto;
    min-height: 50px;
    padding: 13px 16px;
    border: 1px solid var(--tw-line);
    border-radius: 12px;
    background: var(--tw-paper);
    color: var(--tw-text);
    font-family: var(--tw-body);
    font-size: 15px;
    box-shadow: none;
    transition: border-color .18s ease, background .18s ease;
}

.tw-form-card textarea.form-control {
    min-height: 150px;
    line-height: 1.7;
}

.tw-form-card .form-control::placeholder {
    color: #9aabbb;
}

.tw-form-card .form-control:focus {
    border-color: var(--tw-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(47, 125, 246, .13);
    outline: none;
}

.tw-form-card .invalid-feedback {
    margin-top: 7px;
    color: var(--tw-red);
    font-size: 12.5px;
}

.tw-form-card .tw-btn {
    width: 100%;
}

.tw-form-note {
    margin: 16px 0 0;
    color: var(--tw-muted);
    font-size: 13px;
    line-height: 1.7;
}

/* what to expect / sent confirmation */
.tw-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: tw-step-n;
}

.tw-steps li {
    position: relative;
    padding: 0 0 26px 44px;
    counter-increment: tw-step-n;
}

.tw-steps li::before {
    content: counter(tw-step-n, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--tw-line);
    border-radius: 50%;
    background: #fff;
    color: var(--tw-blue);
    font-size: 10px;
    font-weight: 800;
}

.tw-steps li:last-child {
    padding-bottom: 0;
}

.tw-steps li::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 30px;
    bottom: 8px;
    width: 1px;
    background: var(--tw-line);
}

.tw-steps li:last-child::after {
    display: none;
}

.tw-steps h3 {
    margin: 4px 0 6px;
    font-size: 18px;
}

.tw-steps p {
    margin: 0;
    color: var(--tw-muted);
    font-size: 14px;
    line-height: 1.75;
}

.tw-sent {
    padding: 44px 38px;
    border: 1px solid rgba(21, 150, 105, .3);
    border-left: 3px solid var(--tw-green);
    border-radius: 18px;
    background: rgba(21, 150, 105, .05);
}

.tw-sent__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--tw-green);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.tw-sent h2 {
    margin: 0 0 12px;
    font-size: 30px;
}

.tw-sent p {
    margin: 0 0 24px;
    color: var(--tw-muted);
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .tw-form-card {
        padding: 26px;
    }
}

/* MATERIAL CHAIN — supplier to actual cost */
.tw-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 36px;
}

.tw-flow {
    position: relative;
    padding: 26px;
    border: 1px solid var(--tw-line);
    border-radius: 16px;
    background: #fff;
    transition: .25s ease;
}

.tw-flow:hover {
    transform: translateY(-4px);
    border-color: #b7d1fa;
    box-shadow: 0 18px 45px rgba(16, 36, 62, .07);
}

/* the connector between one step and the next; the last card in a row
   flows down to the start of the next row, so it carries no arrow */
.tw-flow::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -28px;
    transform: translateY(-50%);
    color: #b9c6d4;
    font-size: 18px;
    line-height: 1;
}

.tw-flow:nth-child(3n)::after,
.tw-flow:last-child::after {
    content: none;
}

.tw-flow__num {
    display: block;
    margin-bottom: 17px;
    color: var(--tw-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
}

.tw-flow h3 {
    margin: 0 0 9px;
    font-size: 20px;
}

.tw-flow p {
    margin: 0;
    color: var(--tw-muted);
    font-size: 13px;
    line-height: 1.75;
}

.tw-flow__tag {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--tw-paper);
    color: var(--tw-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
}

.tw-flow__tag--up {
    background: rgba(21, 150, 105, .1);
    color: var(--tw-green);
}

.tw-flow__tag--down {
    background: rgba(214, 91, 76, .1);
    color: var(--tw-red);
}

.tw-flow__tag--muted {
    background: #eef1f5;
    color: #8595a6;
}

.tw-flow-note {
    max-width: 780px;
    margin: 40px 0 0;
    color: var(--tw-muted);
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 991.98px) {
    .tw-flow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 32px;
    }

    .tw-flow::after {
        right: -25px;
    }

    .tw-flow:nth-child(3n)::after {
        content: "→";
    }

    .tw-flow:nth-child(2n)::after {
        content: none;
    }
}

@media (max-width: 767px) {
    .tw-flow-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* stacked: the arrow turns down and sits between the cards */
    .tw-flow::after,
    .tw-flow:nth-child(3n)::after {
        content: "↓";
        top: auto;
        right: auto;
        bottom: -19px;
        left: 26px;
        transform: none;
    }

    .tw-flow:nth-child(2n)::after {
        content: "↓";
    }

    .tw-flow:last-child::after {
        content: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tw-flow {
        transition: none !important;
    }
}

/* PARTNERS */
/* A plain grid of logo cells separated by hairlines. The 1px gap over a
   line-coloured background paints every divider, so no cell needs its own
   border and the outer edge stays even. */
.tw-partners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--tw-line);
    border: 1px solid var(--tw-line);
}

.tw-partner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    padding: 28px 24px;
    background: #fff;
}

/* Every logo gets an identical box and the artwork is fitted inside it, so a
   wide wordmark and a square emblem occupy the same footprint. Without a fixed
   height, `object-fit` is inert and each image falls back to its own aspect
   ratio, which is what left the short ones sitting high. */
.tw-partner__logo {
    display: block;
    width: 100%;
    max-width: 200px;
    height: 110px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 991px) {
    .tw-partners {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .tw-partners {
        grid-template-columns: repeat(2, 1fr);
    }

    .tw-partner {
        min-height: 120px;
        padding: 18px 14px;
    }

    .tw-partner__logo {
        max-width: 140px;
        height: 70px;
    }
}

/* ==========================================================================
   Feature pages (home/features): /features and /features/{slug}, in English,
   Arabic and German
   ========================================================================== */

/* where the page sits: Home › Features › this feature, over the dark hero */
.tw-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 22px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .62);
}

.tw-crumbs a {
    color: rgba(255, 255, 255, .78);
}

.tw-crumbs a:hover {
    color: #fff;
}

.tw-crumbs>*+*::before {
    content: "/";
    margin-inline-end: 10px;
    color: rgba(255, 255, 255, .35);
}

/* a capability card that is a link to its page */
.tw-cap--link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.tw-cap--link:hover {
    color: inherit;
    text-decoration: none;
}

.tw-cap__more {
    margin-top: auto;
    padding-top: 16px;
    color: var(--tw-blue);
    font-size: 13px;
    font-weight: 700;
}

.tw-cap__more::after {
    content: " →";
}

/* the last card of the related row: back to every feature */
.tw-cap--all {
    background: var(--tw-blue-soft);
    border-style: dashed;
}

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

/* questions people ask, opened one at a time */
.tw-faq {
    max-width: 860px;
    border-top: 1px solid var(--tw-line);
}

.tw-faq__item {
    border-bottom: 1px solid var(--tw-line);
}

.tw-faq__item summary {
    position: relative;
    padding: 20px 36px 20px 0;
    padding-inline: 0 36px;
    cursor: pointer;
    list-style: none;
    font-family: var(--tw-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--tw-ink);
}

.tw-faq__item summary::-webkit-details-marker {
    display: none;
}

.tw-faq__item summary::after {
    content: "+";
    position: absolute;
    inset-inline-end: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tw-blue);
    font-size: 22px;
    font-weight: 400;
}

.tw-faq__item[open] summary::after {
    content: "−";
}

.tw-faq__item p {
    margin: 0 0 22px;
    max-width: 760px;
    color: var(--tw-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* the header menus: Features and Languages */
.tw-menu__globe {
    margin-inline-end: 4px;
    font-size: 13px;
    opacity: .85;
}

.u-header__sub-menu .is-current {
    font-weight: 700;
    color: var(--tw-blue) !important;
}

/* the last line of the Features menu: back to the hub */
.tw-menu__all {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--tw-line);
}

.tw-menu__all a {
    font-weight: 700;
    color: var(--tw-blue) !important;
}

/* the theme opens submenus from the left; the Arabic menu opens them from the right */
html[dir="rtl"] .u-header__sub-menu {
    left: auto;
    right: 0;
    text-align: right;
}

@media (max-width: 991.98px) {

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

@media (max-width: 767.98px) {

    .tw-cap-grid--3,
    .tw-question-grid--3 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Right to left: the Arabic pages
   ==========================================================================
   The grids and flex rows mirror by themselves under dir="rtl"; what is
   written with left/right below is turned round, and the type is set in the
   Arabic faces. Latin letter-spacing is dropped: it breaks joined letters. */

html[dir="rtl"] {
    --tw-display: "Noto Kufi Arabic", sans-serif;
    --tw-body: "IBM Plex Sans Arabic", sans-serif;
}

html[dir="rtl"] body {
    text-align: right;
    font-family: var(--tw-body);
}

html[dir="rtl"] .tw-page,
html[dir="rtl"] .tw-page h1,
html[dir="rtl"] .tw-page h2,
html[dir="rtl"] .tw-page h3,
html[dir="rtl"] .tw-page h4,
html[dir="rtl"] .tw-page p {
    letter-spacing: 0;
}

html[dir="rtl"] .tw-kicker,
html[dir="rtl"] .tw-cap__tag,
html[dir="rtl"] .tw-q__num,
html[dir="rtl"] .tw-facts__label,
html[dir="rtl"] .tw-roles__list li {
    letter-spacing: 0;
    font-size: 12px;
}

html[dir="rtl"] .tw-steps li {
    padding: 0 44px 26px 0;
}

html[dir="rtl"] .tw-steps li::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] .tw-steps li::after {
    left: auto;
    right: 15px;
}

html[dir="rtl"] .tw-checks li,
html[dir="rtl"] .tw-list li {
    padding-left: 0;
    padding-right: 28px;
}

html[dir="rtl"] .tw-checks li::before,
html[dir="rtl"] .tw-list li::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] .tw-offer {
    border-left: 1px solid rgba(245, 179, 53, .35);
    border-right: 3px solid var(--tw-amber);
}

html[dir="rtl"] .tw-cap__more::after {
    content: " ←";
}

/* the Front theme's header was written for left to right */
html[dir="rtl"] .u-header__navbar-nav {
    padding-right: 0;
}

html[dir="rtl"] .u-header__navbar-brand {
    margin-right: 0;
    margin-left: 1rem;
}

html[dir="rtl"] .list-group {
    padding-right: 0;
}

/* the arrow inside a button points the way the text reads */
html[dir="rtl"] .tw-btn>span:not([class]) {
    display: inline-block;
    transform: scaleX(-1);
}

/* the menu holds three languages: an item never breaks over two lines, and on
   desktop widths the items sit a little closer so the longer German words fit */
.u-header__nav-link {
    white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    .u-header__navbar-nav .u-header__nav-item>.u-header__nav-link {
        padding-left: .6rem;
        padding-right: .6rem;
    }
}

/* ==========================================================================
   The drawing set: /features and /features/{slug}
   ==========================================================================
   Every feature is a sheet of a construction drawing set: a double frame on
   drafting-table grid, a drawing made with the draughtsman's marks (dimension
   lines with end ticks, hatching for what is planned, solid fill for what is
   done), a note that says what the drawing shows, and a title block. The
   hub is the set's drawing register. Paper, ink and three pens only: red for
   what needs attention, green for what is approved, blue for neutral data.
   ========================================================================== */

.tw-set {
    --s-paper: #fbfaf7;
    --s-sheet: #ffffff;
    --s-ink: #16202b;
    --s-ink-2: #4a5561;
    --s-ink-3: #7b8694;
    --s-grid: #e6e9ec;
    --s-rule: #cdd3d9;
    --s-mark: #c8372d;
    --s-ok: #1f7a4d;
    --s-data: #1d4ed8;
    --s-amber: #b8791f;
    --s-hatch: rgba(29, 78, 216, .16);
    --s-mono: "IBM Plex Mono", ui-monospace, monospace;

    padding: 56px 0 72px;
    color: var(--s-ink);
    background-color: var(--s-paper);
    /* the drafting table: an 8 mm grid, faint enough to be felt rather than read */
    background-image:
        linear-gradient(var(--s-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--s-grid) 1px, transparent 1px);
    background-size: 32px 32px;
}

.tw-mono {
    font-family: var(--tw-mono, "IBM Plex Mono", ui-monospace, monospace);
    font-variant-numeric: tabular-nums;
}

/* the sheet: white face, double frame */
.tw-sheet {
    background: var(--s-sheet);
    border: 1px solid var(--s-ink);
    box-shadow: 0 1px 0 rgba(22, 32, 43, .06), 0 18px 34px -26px rgba(22, 32, 43, .55);
}

.tw-sheet+.tw-sheet {
    margin-top: 28px;
}

.tw-sheet__inner {
    margin: 7px;
    border: 1px solid var(--s-rule);
}

.tw-sheet__head {
    padding: 26px 28px 0;
}

.tw-sheet__code {
    display: inline-block;
    margin-bottom: 12px;
    padding-bottom: 3px;
    border-bottom: 2px solid var(--s-data);
    color: var(--s-data);
    font-family: var(--s-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
}

.tw-sheet__head h2 {
    margin: 0 0 8px;
    color: var(--s-ink);
    font-size: clamp(20px, 2.4vw, 26px);
}

.tw-sheet__lead {
    max-width: 64ch;
    margin: 0;
    color: var(--s-ink-2);
    font-size: 15px;
    line-height: 1.75;
}

.tw-sheet__body {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: start;
    padding: 24px 28px 28px;
}

/* the drawing area */
.tw-draw {
    padding: 20px 18px 16px;
    border: 1px solid var(--s-rule);
    background: linear-gradient(180deg, #fdfdfc, #fafaf8);
}

.tw-draw+.tw-draw {
    margin-top: 16px;
}

.tw-draw__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--s-rule);
}

.tw-draw__title b {
    font-size: 13px;
    font-weight: 600;
}

.tw-draw__scale {
    color: var(--s-ink-3);
    font-family: var(--s-mono);
    font-size: 10.5px;
    letter-spacing: .06em;
}

.tw-draw__caption {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px dashed var(--s-rule);
    color: var(--s-ink-2);
    font-size: 12.5px;
}

/* the note beside the drawing */
.tw-note h3 {
    margin: 0 0 10px;
    color: var(--s-ink);
    font-size: 14px;
}

.tw-note p {
    margin: 0 0 14px;
    color: var(--s-ink-2);
    font-size: 14px;
    line-height: 1.75;
}

.tw-note ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--s-rule);
}

.tw-note li {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px solid var(--s-rule);
    color: var(--s-ink-2);
    font-size: 13.5px;
}

.tw-note li::before {
    content: "—";
    color: var(--s-data);
}

/* the title block */
.tw-tblock {
    display: grid;
    grid-template-columns: 130px 1fr 1.5fr 150px;
    border-top: 1px solid var(--s-ink);
}

.tw-tblock__cell {
    padding: 9px 14px;
    border-inline-start: 1px solid var(--s-rule);
}

.tw-tblock__cell:first-child {
    border-inline-start: 0;
}

.tw-tblock__cell span {
    display: block;
    margin-bottom: 2px;
    color: var(--s-ink-3);
    font-size: 9.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tw-tblock__cell b {
    font-size: 12px;
    font-weight: 600;
}

.tw-tblock__cell b.is-demo {
    color: var(--s-mark);
}

/* ---- the draughtsman's marks ---- */

/* dimension line: |———— 85% ————| */
.tw-dim {
    display: grid;
    grid-template-columns: minmax(96px, 1fr) 3fr auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 11px;
}

.tw-dim__k {
    color: var(--s-ink-2);
    font-size: 12.5px;
}

.tw-dim__line {
    position: relative;
    display: flex;
    align-items: center;
    height: 13px;
}

.tw-dim__line::before,
.tw-dim__line::after {
    content: "";
    position: absolute;
    top: 0;
    width: 1px;
    height: 13px;
    background: var(--s-rule);
}

.tw-dim__line::before {
    inset-inline-start: 0;
}

.tw-dim__line::after {
    inset-inline-end: 0;
}

.tw-dim__track {
    position: relative;
    width: 100%;
    height: 1px;
    background: var(--s-rule);
}

.tw-dim__fill {
    position: absolute;
    inset-inline-start: 0;
    top: -4px;
    height: 9px;
    color: var(--tone, var(--s-data));
    background: var(--tone, var(--s-data));
}

.tw-dim__fill::after {
    content: "";
    position: absolute;
    inset-inline-end: -1px;
    top: -2px;
    width: 1px;
    height: 13px;
    background: currentColor;
}

.tw-dim__v {
    min-width: 58px;
    font-family: var(--s-mono);
    font-size: 12px;
    font-weight: 600;
}

/* paired columns: planned hatched, done solid */
.tw-cols {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    height: 172px;
}

.tw-col {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    gap: 7px;
    height: 100%;
}

.tw-col__pair {
    display: flex;
    flex: 1;
    align-items: flex-end;
    gap: 3px;
}

.tw-col__bar {
    flex: 1;
    border: 1px solid var(--s-data);
}

.tw-col__bar--plan {
    background: repeating-linear-gradient(45deg, var(--s-hatch) 0 2px, transparent 2px 5px);
}

.tw-col__bar--done {
    border-color: var(--s-ok);
    background: var(--s-ok);
}

.tw-col__k {
    color: var(--s-ink-3);
    font-size: 11px;
    text-align: center;
}

/* the key, square swatches as on a drawing legend */
.tw-key {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 14px;
    color: var(--s-ink-2);
    font-size: 11.5px;
}

.tw-key i {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-inline-end: 6px;
    vertical-align: -1px;
    border: 1px solid var(--tone, var(--s-data));
    background: var(--tone, var(--s-data));
}

.tw-key i.is-plan {
    background: repeating-linear-gradient(45deg, rgba(29, 78, 216, .45) 0 1.5px, transparent 1.5px 3.5px);
}

.tw-key i.is-dashed {
    border-style: dashed;
    background: none;
}

/* a request's route: boxes joined by a leader */
.tw-route {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.tw-route__node {
    flex: 1;
    min-width: 104px;
    padding: 14px 8px;
    border: 1px solid var(--s-rule);
    text-align: center;
}

.tw-route__node.is-end {
    border-color: var(--s-ok);
    background: rgba(31, 122, 77, .05);
}

.tw-route__n {
    display: block;
    font-family: var(--s-mono);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
}

.tw-route__node.is-end .tw-route__n {
    color: var(--s-ok);
}

.tw-route__l {
    display: block;
    margin-top: 3px;
    color: var(--s-ink-3);
    font-size: 11px;
}

.tw-route__arrow {
    align-self: center;
    padding: 0 9px;
    color: var(--s-ink-3);
    font-size: 13px;
}

html[dir="rtl"] .tw-route__arrow {
    transform: scaleX(-1);
}

/* a schedule table, as a door or finishes schedule on a drawing set */
.tw-schedtable {
    overflow-x: auto;
}

.tw-schedtable table {
    width: 100%;
    min-width: 420px;
    border-collapse: collapse;
    font-size: 12.5px;
}

.tw-schedtable th,
.tw-schedtable td {
    padding: 8px 10px;
    border: 1px solid var(--s-rule);
    text-align: center;
}

.tw-schedtable th {
    background: #fafaf8;
    color: var(--s-ink-3);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .06em;
}

.tw-schedtable td:first-child,
.tw-schedtable th:first-child {
    text-align: start;
}

.tw-schedtable .is-yes {
    color: var(--s-ok);
    font-weight: 700;
}

.tw-schedtable .is-no {
    color: var(--s-ink-3);
}

.tw-schedtable .is-when {
    color: var(--s-data);
    font-weight: 600;
    width: 36%;
}

/* the risk matrix */
.tw-matrix {
    display: grid;
    grid-template-columns: 84px repeat(5, 1fr);
    gap: 3px;
}

.tw-matrix__cell {
    display: grid;
    place-items: center;
    aspect-ratio: 2.5 / 1;
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    font-family: var(--s-mono);
    font-size: 12.5px;
    font-weight: 600;
}

.tw-matrix__cell.is-empty {
    color: transparent;
    opacity: .22;
}

.tw-matrix__lbl {
    display: grid;
    place-items: center;
    color: var(--s-ink-3);
    font-size: 10.5px;
    text-align: center;
}

/* a programme: bars on a time line */
.tw-gantt__row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 9px;
}

.tw-gantt__k {
    color: var(--s-ink-2);
    font-size: 12.5px;
}

.tw-gantt__track {
    position: relative;
    height: 15px;
    border-bottom: 1px solid var(--s-rule);
}

.tw-gantt__plan {
    position: absolute;
    top: 1px;
    height: 11px;
    border: 1px solid var(--s-data);
    background: repeating-linear-gradient(45deg, var(--s-hatch) 0 2px, transparent 2px 5px);
}

.tw-gantt__done {
    position: absolute;
    top: 4px;
    height: 5px;
    background: var(--s-ok);
}

.tw-gantt__scale {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    padding-inline-start: 152px;
    color: var(--s-ink-3);
    font-family: var(--s-mono);
    font-size: 10px;
}

/* single figures, small hairline cards */
.tw-figs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
    gap: 12px;
}

.tw-fig {
    padding: 13px 14px;
    border: 1px solid var(--s-rule);
}

.tw-fig b {
    display: block;
    color: var(--tone, var(--s-ink));
    font-family: var(--s-mono);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.15;
}

.tw-fig span {
    display: block;
    margin-top: 2px;
    color: var(--s-ink-3);
    font-size: 11.5px;
}

/* one bar, divided by state */
.tw-split {
    display: flex;
    height: 38px;
    border: 1px solid var(--s-rule);
}

.tw-split span {
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--s-mono);
    font-size: 12.5px;
    font-weight: 600;
}

/* an ordered procedure, numbered as the steps it is */
.tw-procedure {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: tw-proc;
}

.tw-procedure li {
    position: relative;
    padding: 8px 0 8px 40px;
    padding-inline: 40px 0;
    border-bottom: 1px dashed var(--s-rule);
    color: var(--s-ink-2);
    font-size: 13.5px;
    counter-increment: tw-proc;
}

.tw-procedure li:last-child {
    border-bottom: 0;
}

.tw-procedure li::before {
    content: counter(tw-proc, decimal-leading-zero);
    position: absolute;
    inset-inline-start: 0;
    top: 8px;
    color: var(--s-data);
    font-family: var(--s-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .06em;
}

/* the request codes */
.tw-codes-wrap {
    padding: 0 28px 26px;
}

.tw-codes {
    display: flex;
    flex-wrap: wrap;
    margin-top: 12px;
    border-top: 1px solid var(--s-rule);
    border-inline-start: 1px solid var(--s-rule);
}

.tw-code {
    display: flex;
    flex: 1 1 210px;
    align-items: baseline;
    gap: 9px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--s-rule);
    border-inline-end: 1px solid var(--s-rule);
    color: var(--s-ink-2);
    font-size: 12.5px;
}

.tw-code b {
    min-width: 34px;
    color: var(--s-data);
    font-family: var(--s-mono);
    font-size: 11px;
    letter-spacing: .08em;
}

/* the curve */
.tw-curve {
    width: 100%;
    height: auto;
}

/* ---- the hub: the drawing register ---- */

.tw-register .tw-sheet__head {
    padding-bottom: 6px;
}

.tw-register__group {
    padding: 0 28px;
}

.tw-register__group+.tw-register__group {
    margin-top: 8px;
}

.tw-register__gh {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0 14px 8px;
    color: var(--s-ink-3);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tw-register__gh span {
    font-family: var(--s-mono);
    letter-spacing: .04em;
}

.tw-register__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--s-ink);
}

.tw-register__list li {
    border-bottom: 1px solid var(--s-rule);
}

.tw-register__list a {
    display: grid;
    grid-template-columns: 96px 1.1fr 1.6fr 22px;
    gap: 14px;
    align-items: baseline;
    padding: 13px 14px;
    color: var(--s-ink);
    text-decoration: none;
    transition: background .15s ease;
}

.tw-register__list a:hover {
    background: #f4f6f9;
    color: var(--s-ink);
    text-decoration: none;
}

.tw-register__list a:focus-visible {
    outline: 2px solid var(--s-data);
    outline-offset: -2px;
}

.tw-register__c {
    color: var(--s-data);
    font-family: var(--s-mono);
    font-size: 11.5px;
    letter-spacing: .1em;
}

.tw-register__t {
    font-weight: 600;
}

.tw-register__m {
    color: var(--s-ink-3);
    font-size: 13px;
}

.tw-register__go {
    color: var(--s-ink-3);
    text-align: end;
    transition: transform .15s ease, color .15s ease;
}

.tw-register__list a:hover .tw-register__go {
    color: var(--s-data);
    transform: translateX(3px);
}

html[dir="rtl"] .tw-register__go {
    transform: scaleX(-1);
}

html[dir="rtl"] .tw-register__list a:hover .tw-register__go {
    transform: scaleX(-1) translateX(3px);
}

.tw-register__foot {
    margin-top: 26px;
}

/* the sticky strip of sheet codes */
.tw-rail {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--s-rule, #cdd3d9);
    background: rgba(251, 250, 247, .94);
    backdrop-filter: blur(6px);
}

.tw-rail__in {
    display: flex;
    gap: 4px;
    padding: 8px 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.tw-rail a {
    flex: none;
    padding: 4px 8px;
    border: 1px solid transparent;
    color: #7b8694;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: .06em;
    text-decoration: none;
}

.tw-rail a:hover,
.tw-rail a.is-current {
    border-color: #cdd3d9;
    color: #1d4ed8;
    text-decoration: none;
}

.tw-rail a.is-current {
    background: #fff;
    font-weight: 600;
}

/* the approval stamp in the hub's hero: what the set is for, pressed once */
.tw-stamp {
    justify-self: center;
    padding: 18px 28px;
    border: 3px double #3fbf85;
    color: #3fbf85;
    text-align: center;
    transform: rotate(-7deg);
}

.tw-stamp b {
    display: block;
    font-family: var(--tw-display);
    font-size: 30px;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tw-stamp span {
    display: block;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid currentColor;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: .14em;
}

@media (prefers-reduced-motion: no-preference) {
    .tw-stamp {
        animation: tw-press .55s cubic-bezier(.2, .9, .3, 1.4) .25s both;
    }

    @keyframes tw-press {
        from {
            opacity: 0;
            transform: rotate(-14deg) scale(1.5);
        }

        to {
            opacity: 1;
            transform: rotate(-7deg) scale(1);
        }
    }

    /* the drawing's bars are drawn in once the sheet is on screen */
    .js-draw .tw-dim__fill,
    .js-draw .tw-gantt__plan,
    .js-draw .tw-gantt__done {
        clip-path: inset(0 100% 0 0);
        transition: clip-path .8s cubic-bezier(.2, .7, .2, 1);
    }

    html[dir="rtl"] .js-draw .tw-dim__fill,
    html[dir="rtl"] .js-draw .tw-gantt__plan,
    html[dir="rtl"] .js-draw .tw-gantt__done {
        clip-path: inset(0 0 0 100%);
    }

    .js-draw .is-drawn .tw-dim__fill,
    .js-draw .is-drawn .tw-gantt__plan,
    .js-draw .is-drawn .tw-gantt__done {
        clip-path: inset(0 0 0 0);
    }

    .js-draw .tw-col__bar {
        transform: scaleY(0);
        transform-origin: bottom;
        transition: transform .7s cubic-bezier(.2, .7, .2, 1);
    }

    .js-draw .is-drawn .tw-col__bar {
        transform: none;
    }
}

/* the sheet's neighbours in the set */
.tw-sheetnav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.tw-sheetnav a {
    display: block;
    padding: 16px 18px;
    border: 1px solid var(--s-ink);
    background: var(--s-sheet);
    color: var(--s-ink);
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.tw-sheetnav a:hover {
    border-color: var(--s-data);
    box-shadow: 0 10px 22px -18px rgba(22, 32, 43, .6);
    color: var(--s-ink);
    text-decoration: none;
}

.tw-sheetnav a.is-next {
    text-align: end;
}

.tw-sheetnav small {
    display: block;
    margin-bottom: 4px;
    color: var(--s-ink-3);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tw-sheetnav b {
    display: block;
    font-size: 15px;
}

.tw-sheetnav .tw-mono {
    color: var(--s-data);
    font-size: 11px;
    letter-spacing: .1em;
}

/* the sheet code in the dark hero */
.tw-hero__code {
    display: inline-block;
    margin-bottom: 16px;
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, .28);
    color: #9ec0ff;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: .14em;
}

.tw-hero--sheet {
    padding-bottom: 70px;
}

@media (max-width: 991.98px) {
    .tw-sheet__body {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 20px;
    }

    .tw-sheet__head {
        padding: 20px 20px 0;
    }

    .tw-codes-wrap {
        padding: 0 20px 20px;
    }

    .tw-tblock {
        grid-template-columns: 1fr 1fr;
    }

    .tw-tblock__cell:nth-child(3),
    .tw-tblock__cell:nth-child(4) {
        border-top: 1px solid var(--s-rule);
    }

    .tw-tblock__cell:nth-child(odd) {
        border-inline-start: 0;
    }

    .tw-register__group {
        padding: 0 16px;
    }

    .tw-register__list a {
        grid-template-columns: 78px 1fr 18px;
    }

    .tw-register__m {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .tw-set {
        padding: 32px 0 48px;
    }

    .tw-dim {
        grid-template-columns: 1fr 2fr auto;
    }

    .tw-gantt__row {
        grid-template-columns: 96px 1fr;
    }

    .tw-gantt__scale {
        padding-inline-start: 108px;
    }

    .tw-sheetnav {
        grid-template-columns: 1fr;
    }

    .tw-matrix {
        grid-template-columns: 58px repeat(5, 1fr);
    }
}

/* a sheet printed is a sheet: one to a page, landscape, colours kept */
@media print {

    .tw-rail,
    .u-header,
    #SVGFooter,
    .tw-sheetnav,
    .js-go-to {
        display: none !important;
    }

    .tw-set {
        padding: 0;
        background: #fff;
    }

    .tw-sheet {
        break-inside: avoid;
        box-shadow: none;
    }

    .tw-set * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* the set's closing sheet */
.tw-close {
    padding: 46px 28px;
    text-align: center;
}

.tw-close h2 {
    margin: 0 0 10px;
    color: var(--s-ink);
    font-size: clamp(22px, 3vw, 30px);
}

.tw-close p {
    max-width: 58ch;
    margin: 0 auto 22px;
    color: var(--s-ink-2);
    font-size: 15px;
    line-height: 1.75;
}

html[dir="rtl"] .tw-sheetnav__arrow {
    display: inline-block;
    transform: scaleX(-1);
}

@media (max-width: 991.98px) {
    .tw-stamp {
        justify-self: start;
        margin-top: 8px;
        transform: rotate(-4deg);
    }
}

/* the Features menu: the drawing set by section */
.tw-megamenu {
    padding: 20px 22px 14px !important;
}

.tw-megamenu__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 26px;
}

.tw-megamenu__gh {
    display: block;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--tw-line);
    color: var(--tw-muted);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

html[dir="rtl"] .tw-megamenu__gh {
    letter-spacing: 0;
    font-size: 12px;
}

.tw-megamenu__link {
    display: flex;
    align-items: baseline;
    gap: 9px;
    padding: 5px 0;
    color: var(--tw-ink);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.tw-megamenu__link .tw-mono {
    min-width: 50px;
    color: var(--tw-blue);
    font-size: 10.5px;
    letter-spacing: .06em;
}

.tw-megamenu__link:hover {
    color: var(--tw-blue);
    text-decoration: none;
}

.tw-megamenu__all {
    display: block;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--tw-line);
    color: var(--tw-blue);
    font-size: 13.5px;
    font-weight: 700;
}

/* the mega menu hangs from the whole bar, centred under it, so it stays on
   screen in either reading direction */
/* (the menu folds into the burger below 992px: home/appHeader, layouts/guest) */
@media (min-width: 992px) {
    #logoAndNav .u-header__navbar {
        position: relative;
    }

    .u-header__nav-item.tw-has-mega {
        position: static;
    }

    /* centred by margins, not a transform: the menu's slide-in animation
       owns the transform and would undo it */
    .u-header__nav-item.tw-has-mega .tw-megamenu {
        left: 0 !important;
        right: 0 !important;
        width: min(880px, 100%);
        margin-inline: auto;
    }
}

@media (max-width: 991.98px) {
    .tw-megamenu {
        min-width: 0;
    }

    .tw-megamenu__grid {
        grid-template-columns: 1fr;
    }

    .tw-megamenu__link {
        white-space: normal;
    }
}

/* a home capability card names its sheet in the drawing set */
.tw-cap__tag {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.tw-cap__code {
    color: #7b8694;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-weight: 500;
    letter-spacing: .06em;
}

.tw-cap-grid__foot {
    margin-top: 28px;
    text-align: center;
}

/* ---- the Front theme in Arabic: what it writes as left/right, turned round ---- */

@media (min-width: 992px) {

    /* logo first on the right, then the menu pushed to the far end (the left) */
    html[dir="rtl"] .u-header__navbar-nav {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    html[dir="rtl"] .u-header__navbar-brand {
        margin-left: 2.5rem;
    }
}

/* the dropdown arrow sits after its word, with a little space */
html[dir="rtl"] .u-header__nav-link-toggle::after {
    margin-left: 0;
    margin-right: .45rem;
}

/* the theme's margin helpers (mr-3 = space on the right) are written for left
   to right: on the Arabic pages the space moves to the other side, so a check
   mark, a map pin or a logo keeps its gap towards the text beside it */
html[dir="rtl"] .tw-page .mr-1 {
    margin-right: 0 !important;
    margin-left: .25rem !important;
}

html[dir="rtl"] .tw-page .ml-1 {
    margin-left: 0 !important;
    margin-right: .25rem !important;
}

html[dir="rtl"] .tw-page .mr-2 {
    margin-right: 0 !important;
    margin-left: .5rem !important;
}

html[dir="rtl"] .tw-page .ml-2 {
    margin-left: 0 !important;
    margin-right: .5rem !important;
}

html[dir="rtl"] .tw-page .mr-3 {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

html[dir="rtl"] .tw-page .ml-3 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

html[dir="rtl"] .tw-page .mr-4 {
    margin-right: 0 !important;
    margin-left: 1.5rem !important;
}

html[dir="rtl"] .tw-page .ml-4 {
    margin-left: 0 !important;
    margin-right: 1.5rem !important;
}

html[dir="rtl"] .tw-page .mr-5 {
    margin-right: 0 !important;
    margin-left: 3rem !important;
}

html[dir="rtl"] .tw-page .ml-5 {
    margin-left: 0 !important;
    margin-right: 3rem !important;
}

/* ==========================================================================
   The site footer (home/appFooter)
   ==========================================================================
   A dark band like the page headers, on the same faint drafting grid, ending
   in a title block: the strip every sheet of the drawing set ends with. */

.tw-footer {
    position: relative;
    padding: 72px 0 34px;
    color: #c4d1df;
    background-color: #06172c;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(135deg, #06172c 0%, #0a2341 60%, #0d2f52 100%);
    background-size: 32px 32px, 32px 32px, auto;
    border-top: 3px solid var(--tw-amber);
    font-family: var(--tw-body);
}

.tw-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1.3fr .9fr 1fr;
    gap: 40px 48px;
}

.tw-footer__logo {
    height: 44px;
    width: auto;
}

.tw-footer__tagline {
    max-width: 34ch;
    margin: 18px 0 20px;
    color: #c4d1df;
    font-size: 14.5px;
    line-height: 1.7;
}

.tw-footer__mail {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 22px;
    color: #fff;
    text-decoration: none;
}

.tw-footer__mail span {
    color: #8fa3ba;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tw-footer__mail b {
    font-size: 15px;
    font-weight: 600;
}

.tw-footer__mail:hover {
    color: var(--tw-amber);
    text-decoration: none;
}

.tw-footer__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tw-footer__cta .tw-btn {
    padding: 10px 18px;
    font-size: 13.5px;
}

.tw-footer__ghost {
    border: 1px solid rgba(255, 255, 255, .28);
    background: transparent;
    color: #fff;
}

.tw-footer__ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.tw-footer__col h4 {
    margin: 4px 0 16px;
    color: #fff;
    font-family: var(--tw-display);
    font-size: 15px;
    font-weight: 700;
}

.tw-footer__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tw-footer__col li+li {
    margin-top: 10px;
}

.tw-footer__col a {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    color: #c4d1df;
    font-size: 14px;
    text-decoration: none;
    transition: color .15s ease;
}

.tw-footer__col a:hover {
    color: #fff;
    text-decoration: none;
}

.tw-footer__col a:focus-visible,
.tw-footer__mail:focus-visible {
    outline: 2px solid var(--tw-amber);
    outline-offset: 3px;
}

.tw-footer__code {
    min-width: 50px;
    color: #9ec0ff;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 10.5px;
    letter-spacing: .06em;
}

.tw-footer__all {
    color: var(--tw-amber) !important;
    font-weight: 700;
}

html[dir="rtl"] .tw-footer__arrow {
    display: inline-block;
    transform: scaleX(-1);
}

.tw-footer__langs {
    margin-top: 28px;
}

.tw-footer__langs a.is-current {
    color: #fff;
    font-weight: 700;
}

.tw-footer__langs a.is-current::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tw-amber);
    align-self: center;
}

/* the title block */
.tw-footer__tblock {
    display: grid;
    grid-template-columns: 120px 1fr 1.6fr 140px;
    margin-top: 56px;
    border: 1px solid rgba(255, 255, 255, .22);
}

.tw-footer__tblock>div {
    padding: 10px 14px;
    border-inline-start: 1px solid rgba(255, 255, 255, .14);
}

.tw-footer__tblock>div:first-child {
    border-inline-start: 0;
}

.tw-footer__tblock span {
    display: block;
    margin-bottom: 2px;
    color: #7f94ab;
    font-size: 9.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tw-footer__tblock b {
    color: #e6edf5;
    font-size: 12.5px;
    font-weight: 600;
}

.tw-footer__built {
    margin: 14px 0 0;
    color: #7f94ab;
    font-size: 12.5px;
}

html[dir="rtl"] .tw-footer__mail span,
html[dir="rtl"] .tw-footer__tblock span {
    letter-spacing: 0;
    font-size: 12px;
}

@media (max-width: 991.98px) {
    .tw-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .tw-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .tw-footer {
        padding-top: 52px;
    }

    .tw-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tw-footer__tblock {
        grid-template-columns: 1fr 1fr;
    }

    .tw-footer__tblock>div:nth-child(3),
    .tw-footer__tblock>div:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .tw-footer__tblock>div:nth-child(3) {
        border-inline-start: 0;
    }
}

/* columns may shrink below their longest word on a phone, and long words wrap */
.tw-footer__grid>*,
.tw-footer__tblock>div {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .tw-footer__cta .tw-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* ==========================================================================
   LEGAL DOCUMENTS — /terms and /privacy (resources/views/home/legal.blade.php)
   One sheet of long text: the contents follow the reader on the side, every
   clause has its number and its own address, tables turn into cards on
   phones, and the page prints as a clean document.
   ========================================================================== */

/* "hidden" would make the page its own scroller and stop the contents sticking */
.tw-page.tw-legal-page {
    overflow: visible;
    overflow-x: clip;
}

.tw-hero--legal {
    padding-bottom: 64px;
}

.tw-hero--legal h1 {
    max-width: 760px;
}

.tw-hero--legal .tw-hero__copy {
    max-width: 680px;
}

.tw-legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.tw-legal-meta li {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 4px;
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
}

.tw-legal-meta b {
    color: #fff;
    font-weight: 600;
}

.tw-legal {
    padding-top: 0;
}

/* the binder tabs */
.tw-legal-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 6px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--s-ink);
}

.tw-legal-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: -1px;
    padding: 14px 18px 12px;
    border: 1px solid var(--s-rule);
    border-bottom-color: var(--s-ink);
    background: #f1f2f0;
    color: var(--s-ink-2);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.tw-legal-tabs a:hover {
    color: var(--s-ink);
    background: #fff;
    text-decoration: none;
}

.tw-legal-tabs a.is-current {
    border-color: var(--s-ink);
    border-bottom-color: var(--s-sheet);
    background: var(--s-sheet);
    color: var(--s-ink);
}

.tw-legal-tabs a .tw-mono {
    color: var(--s-data);
    font-size: 10.5px;
    letter-spacing: .12em;
}

.tw-legal-print {
    margin-inline-start: auto;
    margin-bottom: 8px;
    padding: 8px 12px;
    border: 1px solid var(--s-rule);
    border-radius: 4px;
    background: #fff;
    color: var(--s-ink-2);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.tw-legal-print:hover {
    border-color: var(--s-ink);
    color: var(--s-ink);
}

.tw-legal-print .fas {
    margin-inline-end: 6px;
}

.tw-legal__grid {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

/* contents */
.tw-legal-toc {
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

.tw-legal-toc details {
    border: 1px solid var(--s-rule);
    background: var(--s-sheet);
}

.tw-legal-toc summary {
    padding: 12px 16px;
    border-bottom: 1px solid var(--s-rule);
    color: var(--s-ink-3);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}

.tw-legal-toc summary::-webkit-details-marker {
    display: none;
}

.tw-legal-toc ol {
    margin: 0;
    padding: 8px 0;
    list-style: none;
}

.tw-legal-toc a {
    display: flex;
    gap: 10px;
    padding: 7px 16px;
    border-inline-start: 2px solid transparent;
    color: var(--s-ink-2);
    font-size: 13.5px;
    line-height: 1.35;
    text-decoration: none;
}

.tw-legal-toc a .tw-mono {
    flex: none;
    width: 20px;
    color: var(--s-ink-3);
    font-size: 11px;
    line-height: 1.6;
}

.tw-legal-toc a:hover {
    color: var(--s-ink);
    background: #f6f7f5;
    text-decoration: none;
}

.tw-legal-toc a.is-current {
    border-inline-start-color: var(--s-data);
    color: var(--s-data);
    background: #f2f5fd;
    font-weight: 600;
}

.tw-legal-toc a.is-current .tw-mono {
    color: var(--s-data);
}

/* the document */
.tw-legal-doc .tw-sheet__inner {
    padding: 0;
}

.tw-legal-summary {
    margin: 28px 32px 8px;
    padding: 20px 24px;
    border-inline-start: 3px solid var(--s-amber);
    background: #fdf8ee;
}

.tw-legal-summary h2 {
    margin: 0 0 12px;
    color: var(--s-ink);
    font-size: 17px;
    font-weight: 700;
}

.tw-legal-summary ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tw-legal-summary li {
    position: relative;
    margin-bottom: 8px;
    padding-inline-start: 26px;
    color: var(--s-ink);
    font-size: 15px;
    line-height: 1.55;
}

.tw-legal-summary li::before {
    content: "";
    position: absolute;
    inset-inline-start: 2px;
    top: .42em;
    width: 12px;
    height: 7px;
    /* a tick reads the same way in every script, so its sides are physical */
    border-bottom: 2px solid var(--s-ok);
    border-left: 2px solid var(--s-ok);
    transform: rotate(-45deg);
}

.tw-legal-summary p {
    margin: 12px 0 0;
    color: var(--s-ink-3);
    font-size: 12.5px;
}

.tw-legal-sec {
    padding: 28px 32px 6px;
    scroll-margin-top: 24px;
    border-top: 1px solid var(--s-grid);
}

.tw-legal-summary+.tw-legal-sec {
    border-top: 0;
}

.tw-legal-sec:target {
    background: linear-gradient(90deg, #f2f5fd, transparent 60%);
}

.tw-legal-sec h2 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 14px;
    color: var(--s-ink);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.tw-legal-sec__n {
    flex: none;
    color: var(--s-data);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
}

.tw-legal-sec__link {
    position: relative;
    color: var(--s-ink-3);
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    opacity: 0;
    transition: opacity .15s ease;
}

.tw-legal-sec h2:hover .tw-legal-sec__link,
.tw-legal-sec__link:focus-visible,
.tw-legal-sec__link.is-copied {
    opacity: 1;
}

.tw-legal-sec__link:hover {
    color: var(--s-data);
    text-decoration: none;
}

.tw-legal-sec__link.is-copied::after {
    content: attr(data-copied);
    position: absolute;
    inset-inline-start: 18px;
    top: -2px;
    padding: 3px 8px;
    border-radius: 3px;
    background: var(--s-ink);
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
}

.tw-legal-sec p,
.tw-legal-list li {
    max-width: 72ch;
    color: var(--s-ink-2);
    font-size: 15.5px;
    line-height: 1.75;
}

.tw-legal-sec p {
    margin: 0 0 14px;
}

.tw-legal-sec a:not(.tw-legal-sec__link) {
    color: var(--s-data);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tw-legal-sec strong {
    color: var(--s-ink);
}

.tw-legal-list {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.tw-legal-list li {
    position: relative;
    margin-bottom: 8px;
    padding-inline-start: 22px;
}

.tw-legal-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 4px;
    top: .72em;
    width: 7px;
    height: 7px;
    border: 1.5px solid var(--s-data);
}

.tw-legal-table {
    margin: 4px 0 18px;
}

.tw-legal-table table {
    font-size: 14px;
}

.tw-legal-table th,
.tw-legal-table td {
    padding: 11px 14px;
    text-align: start;
    vertical-align: top;
    line-height: 1.55;
}

.tw-legal-table th {
    text-transform: uppercase;
}

.tw-legal-table td {
    color: var(--s-ink-2);
}

.tw-legal-table td:first-child {
    color: var(--s-ink);
    font-weight: 600;
}

/* questions */
.tw-legal-ask {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 22px 32px 32px;
    padding: 22px 24px;
    background: var(--tw-ink);
    color: #fff;
}

.tw-legal-ask h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.tw-legal-ask p {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
}

.tw-legal-ask__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

html[dir="rtl"] .tw-legal-sec p,
html[dir="rtl"] .tw-legal-list li {
    font-size: 16px;
    line-height: 1.9;
}

html[dir="rtl"] .tw-legal-toc summary,
html[dir="rtl"] .tw-legal-table th {
    letter-spacing: 0;
}

@media (max-width: 991.98px) {
    .tw-legal__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .tw-legal-toc {
        position: static;
        max-height: none;
    }

    .tw-legal-toc summary {
        display: flex;
        justify-content: space-between;
        border-bottom: 0;
    }

    .tw-legal-toc summary::after {
        content: "+";
        font-size: 16px;
        line-height: 1;
    }

    .tw-legal-toc details[open] summary {
        border-bottom: 1px solid var(--s-rule);
    }

    .tw-legal-toc details[open] summary::after {
        content: "−";
    }

    .tw-legal-sec {
        padding: 22px 20px 4px;
    }

    .tw-legal-summary {
        margin: 20px 20px 4px;
        padding: 18px;
    }

    .tw-legal-ask {
        margin: 18px 20px 20px;
    }
}

@media (max-width: 767.98px) {
    .tw-legal-tabs {
        gap: 4px;
    }

    .tw-legal-tabs a {
        flex: 1 1 0;
        padding: 12px 10px 10px;
        font-size: 13px;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .tw-legal-print {
        order: -1;
        flex-basis: 100%;
        margin: 0 0 10px;
    }

    .tw-legal-sec h2 {
        font-size: 18px;
    }

    .tw-legal-sec__link {
        opacity: 1;
    }

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

    .tw-legal-doc .tw-tblock__cell:nth-child(3) {
        border-inline-start: 0;
    }

    .tw-legal-doc .tw-tblock__cell:nth-child(n + 3) {
        border-top: 1px solid var(--s-rule);
    }

    /* tables become one card per row, each cell with its column's name */
    .tw-legal-table {
        overflow: visible;
    }

    .tw-legal-table table,
    .tw-legal-table tbody,
    .tw-legal-table tr,
    .tw-legal-table td {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .tw-legal-table thead {
        display: none;
    }

    .tw-legal-table tr {
        margin-bottom: 10px;
        border: 1px solid var(--s-rule);
    }

    .tw-legal-table td {
        border: 0;
        border-top: 1px solid var(--s-grid);
        padding: 8px 12px;
    }

    .tw-legal-table td:first-child {
        border-top: 0;
        background: #fafaf8;
    }

    .tw-legal-table td:not(:first-child)::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        color: var(--s-ink-3);
        font-size: 10.5px;
        font-weight: 600;
        letter-spacing: .06em;
        text-transform: uppercase;
    }
}

@media print {

    .tw-hero--legal .tw-crumbs,
    .tw-hero--legal .tw-kicker,
    .tw-hero--legal::before,
    .tw-legal-tabs,
    .tw-legal-toc,
    .tw-legal-ask,
    .tw-legal-sec__link,
    .tw-whatsapp {
        display: none !important;
    }

    .tw-hero--legal {
        padding: 0 0 12px;
        background: none;
        color: #000;
    }

    .tw-hero--legal h1,
    .tw-hero--legal .tw-hero__copy,
    .tw-legal-meta li,
    .tw-legal-meta b {
        color: #000;
    }

    .tw-legal-meta li {
        border-color: #999;
    }

    .tw-legal__grid {
        display: block;
    }

    .tw-legal-doc {
        border: 0;
        box-shadow: none;
    }

    .tw-legal-doc .tw-sheet__inner {
        margin: 0;
        border: 0;
    }

    .tw-legal-sec {
        break-inside: avoid-page;
        padding: 14px 0 0;
    }

    .tw-legal-summary {
        margin: 0 0 8px;
    }

    .tw-legal-sec p,
    .tw-legal-list li,
    .tw-legal-table table {
        font-size: 11pt;
    }

    .tw-legal-sec a:not(.tw-legal-sec__link) {
        color: inherit;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tw-legal-sec__link {
        transition: none;
    }
}

/* Slick carousels run without its rtl option, so on Arabic pages the track
   is laid out left to right as slick expects; each slide's own text stays
   right to left. */
html[dir="rtl"] .slick-list,
html[dir="rtl"] .slick-track {
    direction: ltr;
}

html[dir="rtl"] .slick-slide {
    direction: rtl;
    /* slick.css floats slides right under dir="rtl", which only suits its rtl option */
    float: left;
}

/* the section headings of the older blocks sit at the start of the line:
   on Arabic pages that is the right */
html[dir="rtl"] .tw-page .tw-legacy .w-md-80,
html[dir="rtl"] .tw-page .tw-legacy .w-lg-80 {
    margin-left: auto !important;
    text-align: right !important;
}

/* in the burger menu (below 992px) the theme hides its last item, the
   sign-in button: keep it, under the links */
@media (max-width: 991.98px) {
    .u-header__navbar-nav .u-header__nav-last-item {
        display: block !important;
        padding: .75rem 0 1rem;
    }

    .u-header__navbar-nav .u-header__nav-last-item .btn {
        border: 1px solid #d8e3ef;
    }
}

/* just above the burger, the full menu is tight: the longer German and
   Arabic words still fit on one row with smaller gaps, logo and button */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .u-header__navbar-nav .u-header__nav-item>.u-header__nav-link {
        padding-left: .45rem;
        padding-right: .45rem;
        font-size: .875rem;
    }

    .u-header__navbar-brand,
    .u-header__navbar-brand>img {
        width: 7.5rem;
    }

    .u-header__navbar-brand {
        margin-right: 1rem;
    }

    html[dir="rtl"] .u-header__navbar-brand {
        margin-right: 0;
        margin-left: 1rem;
    }

    .u-header__nav-last-item {
        padding-left: .5rem;
    }

    html[dir="rtl"] .u-header__nav-last-item {
        padding-left: 0;
        padding-right: .5rem;
    }

    .u-header__nav-last-item .btn-sm-wide {
        min-width: 0;
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }
}
/* project photos come in slightly different shapes: crop them all to one,
   so the cards of the portfolio line up */
#projects .card-img-top {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
