:root {
    --ink: #0A1A30;
    --ink-2: #33445C;
    --muted: #6A7890;
    --line: #DCE3EC;
    --paper: #F3F6FA;
    --white: #FFFFFF;
    --blue: #2F6FD6;
    --blue-deep: #1E4FA8;
    --sky: #3FB0EA;
    --gold: #F4B41A;
    --gold-deep: #E39A0C;
    --ok: #1F9D6B;
    --wait: #C98A06;
    --f-display: "Tajawal", system-ui, sans-serif;
    --f-body: "Tajawal", system-ui, sans-serif;
    --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
    --wrap: 1180px;
    --gut: clamp(16px, 4vw, 40px);
    color-scheme: light;
}

* {
    box-sizing: border-box
}

[hidden] {
    display: none !important
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased
}

#app {
    overflow-x: clip
}

#app[dir="ltr"] {
    --f-body: "Tajawal", system-ui, sans-serif
}

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

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

h1,
h2,
h3 {
    font-family: var(--f-display);
    margin: 0;
    text-wrap: balance;
    line-height: 1.3;
    letter-spacing: -.01em
}

p {
    margin: 0
}

.wrap {
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gut)
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px
}

/* ---------- header ---------- */
.top {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 20;
    background: rgba(243, 246, 250, .86);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s
}

.top.scrolled {
    border-bottom-color: var(--line)
}

.top .wrap {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 72px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0
}

.brand img {
    height: 38px;
    width: auto
}

.brand b {
    display: block;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2
}

.brand small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.3
}

.nav {
    display: flex;
    gap: 26px;
    margin-inline-start: auto;
    font-size: 15px;
    color: var(--ink-2)
}

.nav a {
    position: relative;
    padding-block: 6px
}

.nav a:hover {
    color: var(--blue)
}

.tools {
    display: flex;
    align-items: center;
    gap: 10px
}

.lang {
    font-family: var(--f-mono);
    font-size: 13px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    height: 38px;
    padding-inline: 12px;
    border-radius: 8px;
    cursor: pointer
}

.lang:hover {
    border-color: var(--blue);
    color: var(--blue)
}

.menu-btn {
    display: none;
    width: 40px;
    height: 38px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer
}

.menu-btn span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--ink);
    margin: 4px auto
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding-inline: 22px;
    border-radius: 10px;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s, background .15s, border-color .15s;
    white-space: nowrap
}

.btn:active {
    transform: translateY(1px)
}

.btn-gold {
    background: var(--gold);
    color: var(--ink)
}

.btn-gold:hover {
    background: var(--gold-deep)
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: #C5D0DE
}

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

.btn-sm {
    height: 38px;
    padding-inline: 16px;
    font-size: 14px;
    border-radius: 8px
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0
}

[dir="ltr"] .flip {
    transform: scaleX(-1)
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 104px)
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--blue-deep);
    letter-spacing: .02em
}

.eyebrow i {
    width: 26px;
    height: 2px;
    background: var(--gold);
    display: block;
    border-radius: 2px
}

.hero h1 {
    font-size: clamp(34px, 5.2vw, 60px);
    font-weight: 800;
    margin-top: 18px;
    line-height: 1.22
}

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

.hero .lead {
    margin-top: 22px;
    font-size: clamp(16px, 1.6vw, 18px);
    color: var(--ink-2);
    max-width: 52ch
}

.hero .ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px
}

.hero .fine {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 14px;
    color: var(--muted)
}

.hero .fine span {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.hero .fine svg {
    width: 16px;
    height: 16px;
    color: var(--blue)
}

/* flight path motif */
.path {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden
}

.path svg {
    position: absolute;
    width: 120%;
    height: 100%;
    inset-inline-start: -10%;
    top: 0
}

[dir="ltr"] .path svg {
    transform: scaleX(-1)
}

/* ledger panel */
.ledger {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 30px 60px -30px rgba(10, 26, 48, .28), 0 2px 6px rgba(10, 26, 48, .04);
    overflow: hidden
}

.ledger-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line)
}

.ledger-head b {
    font-family: var(--f-display);
    font-size: 15px;
    font-weight: 600
}

.ledger-head small {
    font-size: 12px;
    color: var(--muted)
}

.tag {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--muted);
    border: 1px dashed #C5D0DE;
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap
}

.ledger-sum {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line)
}

.ledger-sum div {
    padding: 14px 20px
}

.ledger-sum div+div {
    border-inline-start: 1px solid var(--line)
}

.ledger-sum small {
    display: block;
    font-size: 12px;
    color: var(--muted)
}

.ledger-sum strong {
    font-family: var(--f-display);
    font-size: 24px;
    font-weight: 700;
    font-variant-numeric: tabular-nums
}

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

.rows li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 13px 20px;
    border-bottom: 1px solid #EEF2F7
}

.rows li:last-child {
    border-bottom: 0
}

.ref {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--muted);
    direction: ltr
}

.who {
    min-width: 0
}

.who b {
    display: block;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.who small {
    display: block;
    font-size: 12px;
    color: var(--muted)
}

.st {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap
}

.st::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor
}

.st.ok {
    color: var(--ok);
    background: #E6F5EE
}

.st.wait {
    color: var(--wait);
    background: #FCF3DE
}

.st.rev {
    color: var(--blue);
    background: #E8F0FC
}

/* ---------- facts strip ---------- */
.facts {
    background: var(--ink);
    color: #DDE6F2
}

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

.fact {
    padding: 28px 24px;
    display: grid;
    gap: 4px
}

.fact+.fact {
    border-inline-start: 1px solid rgba(255, 255, 255, .1)
}

.fact strong {
    font-family: var(--f-display);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    color: var(--white)
}

.fact strong span {
    color: var(--gold)
}

.fact small {
    font-size: 14px;
    color: #9FB0C6
}

/* ---------- sections ---------- */
section.block {
    padding-block: clamp(64px, 9vw, 112px)
}

.sec-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 56px;
    align-items: end;
    margin-bottom: clamp(36px, 5vw, 56px)
}

.sec-head h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 700;
    margin-top: 14px
}

.sec-head p {
    color: var(--ink-2);
    max-width: 52ch
}

/* about */
.about {
    background: var(--white)
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: start
}

.about-grid h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 700;
    margin-top: 14px
}

.about-copy p {
    color: var(--ink-2);
    margin-top: 18px;
    max-width: 60ch
}

.about-copy p:first-of-type {
    margin-top: 22px;
    font-size: 18px;
    color: var(--ink)
}

.office {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
    background: var(--paper)
}

.office dl {
    margin: 0;
    display: grid;
    gap: 18px
}

.office dt {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .02em
}

.office dd {
    margin: 4px 0 0;
    font-weight: 600
}

.office .coord {
    font-family: var(--f-mono);
    font-size: 13px;
    font-weight: 400;
    color: var(--ink-2);
    direction: ltr;
    text-align: start;
    unicode-bidi: plaintext
}

/* services */
.svc-table {
    border-top: 1px solid var(--ink)
}

.svc {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 20px;
    align-items: center;
    padding: 22px 4px;
    border-bottom: 1px solid var(--line);
    transition: background .15s
}

.svc:hover {
    background: var(--white)
}

.svc.th {
    padding-block: 12px;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .03em
}

.svc.th:hover {
    background: none
}

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

.svc h3+p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 2px
}

.svc .v {
    font-size: 15px;
    color: var(--ink-2)
}

.svc .v b {
    font-family: var(--f-display);
    font-weight: 600;
    color: var(--ink);
    font-variant-numeric: tabular-nums
}

.svc .lbl {
    display: none
}

.chip {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 6px;
    background: #E8F0FC;
    color: var(--blue-deep)
}

.extra {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px
}

.extra>span {
    font-size: 14px;
    color: var(--muted);
    margin-inline-end: 6px
}

.extra b {
    font-weight: 500;
    font-size: 14px;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 8px 14px;
    border-radius: 8px
}

/* why */
.why {
    background: var(--white)
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line)
}

.why-item {
    padding: 30px 26px 8px 0;
    display: grid;
    gap: 12px;
    align-content: start
}

[dir="ltr"] .why-item {
    padding: 30px 0 8px 26px
}

.why-item+.why-item {
    border-inline-start: 1px solid var(--line);
    padding-inline-start: 26px
}

.why-item svg {
    width: 28px;
    height: 28px;
    color: var(--blue)
}

.why-item h3 {
    font-size: 18px;
    font-weight: 600
}

.why-item p {
    font-size: 15px;
    color: var(--ink-2)
}

/* steps */
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    padding-top: 40px
}

.steps::before {
    content: "";
    position: absolute;
    top: 13px;
    inset-inline: 6px;
    height: 0;
    border-top: 2px dashed #B9C8DC
}

.step {
    position: relative;
    display: grid;
    gap: 10px;
    align-content: start
}

.step .n {
    position: absolute;
    top: -40px;
    inset-inline-start: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--blue);
    display: grid;
    place-items: center;
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--blue)
}

.step:last-child .n {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink)
}

.step .plane {
    position: absolute;
    top: -47px;
    inset-inline-end: -6px;
    width: 24px;
    height: 24px;
    color: var(--blue)
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px
}

.step p {
    font-size: 15px;
    color: var(--ink-2)
}

/* partner form */
.join {
    background: var(--ink);
    color: #DDE6F2;
    position: relative;
    overflow: hidden
}

.join .eyebrow {
    color: var(--sky)
}

.join-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: start
}

.join h2 {
    color: var(--white);
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 700;
    margin-top: 14px
}

.join-copy>p {
    margin-top: 18px;
    color: #A9B8CC;
    max-width: 44ch
}

.join-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: grid;
    gap: 14px
}

.join-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px
}

.join-list svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 4px
}

.direct {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: grid;
    gap: 6px
}

.direct small {
    color: #8FA1B9;
    font-size: 13px
}

.direct a {
    font-family: var(--f-mono);
    font-size: 20px;
    color: var(--white);
    direction: ltr;
    unicode-bidi: plaintext;
    text-align: start
}

.direct a:hover {
    color: var(--gold)
}

form.card {
    background: var(--white);
    color: var(--ink);
    border-radius: 16px;
    padding: clamp(22px, 3vw, 36px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 18px
}

.field {
    display: grid;
    gap: 6px
}

.field.full {
    grid-column: 1/-1
}

.field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2)
}

.field label span {
    color: var(--muted);
    font-weight: 400
}

.field input,
.field select,
.field textarea {
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    height: 48px;
    padding-inline: 14px;
    width: 100%;
    transition: border-color .15s, background .15s
}

.field textarea {
    height: auto;
    min-height: 96px;
    padding-block: 12px;
    resize: vertical
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--white)
}

.field input[type="tel"],
.field input[type="email"] {
    direction: ltr;
    text-align: start
}

[dir="rtl"] .field input[type="tel"],
[dir="rtl"] .field input[type="email"] {
    text-align: right
}

.field .err {
    font-size: 12px;
    color: #C23B32;
    display: none
}

.field.bad input,
.field.bad select {
    border-color: #C23B32
}

.field.bad .err {
    display: block
}

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

.vols input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.vols label {
    font-weight: 500;
    font-size: 14px;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 9px 14px;
    border-radius: 8px;
    cursor: pointer
}

.vols input:checked+label {
    border-color: var(--blue);
    background: #E8F0FC;
    color: var(--blue-deep)
}

.vols input:focus-visible+label {
    outline: 2px solid var(--blue);
    outline-offset: 2px
}

.form-foot {
    grid-column: 1/-1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 6px
}

.form-foot small {
    color: var(--muted);
    font-size: 13px;
    max-width: 36ch
}

.done {
    grid-column: 1/-1;
    display: grid;
    gap: 10px;
    padding: 26px;
    border-radius: 12px;
    background: #E6F5EE;
    color: #0F5B3D
}

.done b {
    font-family: var(--f-display);
    font-size: 18px
}

/* contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: stretch
}

.map {
    position: relative;
    min-height: 380px;
    border-radius: 16px;
    overflow: hidden;
    background: #E3EAF3;
    border: 1px solid var(--line)
}

.map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0
}

.map-actions {
    position: absolute;
    inset-inline-start: 16px;
    bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.map-actions .btn-ghost {
    background: var(--white)
}

.contact-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--ink);
    align-content: start
}

.c-row {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--line)
}

.c-row small {
    font-size: 13px;
    color: var(--muted)
}

.c-row .val {
    font-weight: 600;
    font-size: 16px
}

.c-row .val.ltr {
    font-family: var(--f-mono);
    font-weight: 500;
    direction: ltr;
    unicode-bidi: plaintext;
    text-align: start
}

.copy {
    font-size: 12px;
    font-family: var(--f-body);
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
    color: var(--ink-2)
}

.copy:hover {
    border-color: var(--blue);
    color: var(--blue)
}

/* footer */
footer {
    background: #07111F;
    color: #8FA1B9;
    padding-block: 48px 32px
}

.foot {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-between;
    align-items: flex-start
}

.foot .brand b {
    color: var(--white)
}

.foot .brand small {
    color: #8FA1B9
}

.foot nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    font-size: 14px
}

.foot nav a:hover {
    color: var(--white)
}

.social {
    display: flex;
    gap: 10px
}

.social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #C9D5E4
}

.social a:hover {
    border-color: var(--gold);
    color: var(--gold)
}

.social svg {
    width: 18px;
    height: 18px
}

.legal {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px
}

.wa-float {
    position: fixed;
    inset-inline-start: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35)
}

.wa-float svg {
    width: 26px;
    height: 26px
}

/* reveal */
.rv {
    transition: opacity .6s ease, transform .6s ease
}

.js .rv.pre {
    opacity: .001;
    transform: translateY(14px)
}

/* ---------- responsive ---------- */
@media (max-width:1020px) {
    .nav {
        display: none
    }

    .menu-btn {
        display: block
    }

    .tools {
        margin-inline-start: auto
    }

    .nav.open {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 72px;
        inset-inline: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        padding: 8px var(--gut) 16px
    }

    .nav.open a {
        padding-block: 12px;
        border-bottom: 1px solid #EEF2F7
    }

    .hero .wrap,
    .about-grid,
    .join-grid,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .sec-head {
        grid-template-columns: 1fr
    }

    .why-grid {
        grid-template-columns: 1fr 1fr
    }

    .why-item:nth-child(3) {
        border-inline-start: 0;
        padding-inline-start: 0
    }

    .facts .wrap {
        grid-template-columns: 1fr 1fr
    }

    .fact:nth-child(3) {
        border-inline-start: 0
    }

    .fact:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, .1)
    }
}

@media (max-width:760px) {
    .top-cta {
        display: none
    }

    .brand small {
        display: none
    }

    .svc.th {
        display: none
    }

    .svc {
        grid-template-columns: 1fr 1fr;
        gap: 10px 16px;
        padding-block: 20px
    }

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

    .svc .lbl {
        display: block;
        font-size: 11px;
        color: var(--muted)
    }

    .svc>.req {
        grid-column: 1/-1
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-top: 0;
        padding-inline-start: 44px
    }

    .steps::before {
        top: 6px;
        bottom: 6px;
        inset-inline: 13px auto;
        width: 0;
        height: auto;
        border-top: 0;
        border-inline-start: 2px dashed #B9C8DC
    }

    .step .n {
        top: 0;
        inset-inline-start: -44px
    }

    .step .plane {
        display: none
    }

    .step h3 {
        margin-top: 0
    }

    form.card {
        grid-template-columns: 1fr
    }

    .c-row {
        grid-template-columns: 1fr auto
    }

    .c-row small {
        grid-column: 1/-1
    }
}

@media (max-width:520px) {
    .why-grid {
        grid-template-columns: 1fr
    }

    .why-item+.why-item {
        border-inline-start: 0;
        padding-inline-start: 0;
        border-top: 1px solid var(--line)
    }

    [dir="ltr"] .why-item {
        padding-inline-start: 0
    }

    .facts .wrap {
        grid-template-columns: 1fr
    }

    .fact+.fact {
        border-inline-start: 0;
        border-top: 1px solid rgba(255, 255, 255, .1)
    }

    .ledger-sum div {
        padding: 12px 14px
    }

    .rows li {
        padding: 12px 14px;
        gap: 10px
    }

    .rows .ref {
        display: none
    }

    .rows li {
        grid-template-columns: 1fr auto
    }

    .hero .ctas .btn {
        flex: 1 1 100%
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .rv,
    .js .rv.pre {
        transition: none;
        opacity: 1;
        transform: none
    }
}

/* Illustrated application journey */
.journey {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px 28px 19px;
    box-shadow: 0 20px 45px #0a1a3008;
    align-self: center
}

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

.journey-top .eyebrow {
    margin: 0;
    font-size: 12px
}

.journey-code {
    font: 11px var(--f-mono);
    color: var(--muted);
    direction: ltr;
    letter-spacing: 1px
}

.journey h2 {
    font: 600 clamp(19px, 2vw, 25px)/1.7 var(--f-display);
    margin: 18px 0 0;
    max-width: 400px
}

.journey-art svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px
}

.journey-plane {
    animation: journeyFlight 7s ease-in-out infinite
}

@keyframes journeyFlight {

    0%,
    100% {
        transform: translate(-8px, 5px)
    }

    50% {
        transform: translate(12px, -8px)
    }
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    gap: 12px
}

.journey-steps li {
    position: relative;
    min-width: 0
}

.journey-steps li:not(:last-child):after {
    content: '';
    position: absolute;
    top: 15px;
    inset-inline-start: 43px;
    inset-inline-end: 0;
    border-top: 1px dashed #b8cbe5
}

.journey-number {
    display: flex;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #edf3fc;
    color: var(--blue);
    align-items: center;
    justify-content: center;
    font: 11px var(--f-mono);
    margin-bottom: 10px
}

.journey-steps b {
    display: block;
    font-size: 13px;
    font-weight: 600
}

.journey-steps small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px
}

.journey-bottom {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 12px
}

.journey-bottom button {
    font: inherit;
    color: var(--blue);
    background: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 5px 9px;
    cursor: pointer
}

.journey.motion-paused .journey-plane {
    animation-play-state: paused
}

@media(max-width:520px) {
    .journey {
        padding: 20px 16px 16px;
        border-radius: 16px
    }

    .journey-code {
        font-size: 9px
    }

    .journey-top .eyebrow {
        font-size: 11px
    }

    .journey-steps {
        gap: 8px
    }

    .journey-steps b {
        font-size: 12px
    }

    .journey-steps small {
        font-size: 10px
    }

    .journey h2 {
        font-size: 20px
    }

    .journey-art svg {
        max-height: 245px
    }
}

@media(prefers-reduced-motion:reduce) {
    .journey-plane {
        animation: none !important
    }

    #journeyMotion {
        display: none
    }
}
